/* Modern Design System - Updated: 2025-09-23 15:30 */
/* Headings fixed to display white color */
:root {
    /* Gradient Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --hero-gradient: linear-gradient(135deg, #4c63d2 0%, #1e3799 50%, #2c2c54 100%);
    --card-gradient: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Neon Colors */
    --neon-blue: #00d4ff;
    --neon-purple: #8c7ae6;
    --neon-pink: #ff6b9d;
    --neon-green: #20bf6b;
    --neon-orange: #fd7e14;
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(10px);
    
    /* Modern Spacing */
    --section-padding: 120px 0;
    --card-padding: 2rem;
    --border-radius: 20px;
    --small-radius: 12px;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--hero-gradient);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Container Headings Override */
.container h1, .container h2, .container h3, .container h4, .container h5, .container h6,
.container-fluid h1, .container-fluid h2, .container-fluid h3, .container-fluid h4, .container-fluid h5, .container-fluid h6 {
    color: #ffffff !important;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 70%;
    right: 10%;
    animation-delay: -2s;
    background: var(--secondary-gradient);
}

.floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 70%;
    animation-delay: -4s;
}

.floating-shape:nth-child(4) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 30%;
    animation-delay: -1s;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
}

.floating-shape:nth-child(5) {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: -3s;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
}

.floating-shape:nth-child(6) {
    width: 90px;
    height: 90px;
    bottom: 60%;
    right: 20%;
    animation-delay: -5s;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(30px) rotate(180deg);
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* Glass Morphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Modern Navigation */
.navbar-modern {
    background: rgba(20, 25, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: #ffffff !important;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brain-icon {
    color: var(--neon-pink);
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.glass-nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--small-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.glass-nav-link:hover:before {
    left: 100%;
}

.glass-nav-link:hover,
.glass-nav-link.active {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hamburger Menu Styles */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--small-radius);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    border-color: var(--neon-blue);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Custom Hamburger Icon */
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px;
    height: 18px;
    display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    content: '';
    background: #ffffff;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.navbar-toggler-icon::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.navbar-toggler-icon {
    background: #ffffff;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Animated Hamburger - X Transform */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1.5px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: -1.5px;
}

.glass-dropdown {
    background: rgba(20, 25, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--small-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.glass-dropdown-item:hover {
    background: var(--glass-bg);
    color: #ffffff !important;
}

.glass-button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--small-radius);
    backdrop-filter: blur(10px);
}

/* Neon Text Effects */
.neon-text {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 40px rgba(140, 122, 230, 0.4);
    }
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Alerts */
.modern-alert {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--small-radius);
    color: #ffffff;
    margin: 1rem 0;
}

/* Modern Toast Messages */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.modern-toast {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    margin-bottom: 1rem;
    min-width: 300px;
    overflow: hidden;
    position: relative;
    animation: toast-slide-in 0.5s ease-out;
}

.modern-toast.success {
    background: linear-gradient(135deg, rgba(32, 191, 107, 0.9), rgba(46, 213, 115, 0.8));
    border-left: 4px solid var(--neon-green);
}

.modern-toast.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.8));
    border-left: 4px solid #e74c3c;
}

.modern-toast.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.8));
    border-left: 4px solid var(--neon-blue);
}

.modern-toast.warning {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.9), rgba(243, 156, 18, 0.8));
    border-left: 4px solid #f39c12;
}

.toast-header-modern {
    padding: 1rem 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.toast-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    animation: toast-icon-bounce 0.6s ease;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

.toast-body-modern {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    animation: toast-progress 5s linear;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes toast-icon-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.2);
    }
    60% {
        transform: scale(1.1);
    }
}

@keyframes toast-progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Toast Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .modern-toast {
        min-width: auto;
        width: 100%;
    }
    
    .toast-header-modern {
        padding: 0.8rem 0.8rem 0.4rem;
    }
    
    .toast-body-modern {
        padding: 0 0.8rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Filters Container Styles */
.filters-container {
    margin-bottom: 4rem;
}

.filters-container .form-control-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.filters-container .form-control-modern:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Select and Option Styling for better readability */
.filters-container select.form-control-modern {
    background: var(--primary-gradient);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filters-container select.form-control-modern option {
    background: rgba(30, 40, 60, 0.95);
    color: #ffffff;
    padding: 8px 12px;
    border: none;
}

.filters-container select.form-control-modern option:hover,
.filters-container select.form-control-modern option:focus,
.filters-container select.form-control-modern option:checked {
    background: rgba(100, 150, 200, 0.8);
    color: #ffffff;
}

/* For better contrast on different browsers */
.filters-container select.form-control-modern option:selected {
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 600;
}

/* Modern Footer */
.footer-modern {
    background: rgba(15, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-section {
    height: 100%;
}

.footer-section-title {
    color: var(--neon-blue);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.glass-footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.glass-footer-link:hover {
    color: var(--neon-blue);
    transform: translateX(5px);
    text-decoration: none;
}

.glass-footer-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-contact {
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-icon {
    color: var(--neon-purple);
    margin-right: 0.8rem;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.glass-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.glass-social-link:hover {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-legal-links .glass-footer-link {
    font-size: 0.85rem;
    padding: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-modern {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-section-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .glass-social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        margin-top: 0.8rem;
    }
    
    .footer-contact {
        margin-top: 1rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
}

/* Modern Buttons */
.btn-modern {
    background: var(--primary-gradient);
    border: none;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: var(--small-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Tarayıcı varsayılanlarını override et */
    height: auto;
    min-height: unset;
    max-height: unset;
    line-height: 1.5;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Bootstrap ripple'ı tamamen engelle */
    --bs-btn-hover-border-color: none !important;
    --bs-btn-active-border-color: none !important;
    --bs-btn-disabled-border-color: none !important;
}

.btn-modern:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover:before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.btn-modern:active,
.btn-modern:focus {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
    outline: none !important;
    border: none !important;
    padding: 1rem 2rem !important;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
}

/* Form içindeki butonlar için ekstra koruma */
form .btn-modern,
button.btn-modern {
    height: auto !important;
    padding: 1rem 2rem !important;
    border: none !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

form .btn-modern:active,
form .btn-modern:focus,
button.btn-modern:active,
button.btn-modern:focus {
    height: auto !important;
    padding: 1rem 2rem !important;
    border: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Bootstrap Ripple Efektini Devre Dışı Bırak */
.btn-modern .ripple,
.btn-modern .ripple-surface,
.btn-modern .btn-ripple,
.btn-modern::after,
.btn-modern::before {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Bootstrap'ın ripple span'lerini tamamen kaldır */
.btn-modern span[class*="ripple"] {
    display: none !important;
}

/* Tüm ripple animasyonlarını durdur */
.btn-modern * {
    animation: none !important;
    transition: none !important;
}

.btn-modern {
    /* Sadece kendi transition'ımızı kullan */
    transition: all 0.3s ease !important;
}

/* Tüm child elementlerin boyutlarını sabitle */
.btn-modern *,
.btn-modern *::before,
.btn-modern *::after {
    height: auto !important;
    width: auto !important;
    position: static !important;
    transform: none !important;
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: var(--small-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Micro Interactions */
.micro-bounce {
    animation: micro-bounce 0.6s ease;
}

@keyframes micro-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s ease forwards;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --card-padding: 1.5rem;
    }
    
    .floating-shape {
        display: none;
    }
    
    .navbar-modern {
        padding: 0.75rem 0;
    }
    
    /* Mobile Hamburger Enhancements */
    .navbar-toggler {
        padding: 0.6rem;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--neon-blue);
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    }
    
    .navbar-toggler-icon {
        width: 26px;
        height: 20px;
    }
    
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after,
    .navbar-toggler-icon {
        height: 3px;
        background: #ffffff;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    
    .brand-logo {
        height: 32px;
        margin-right: 0.5rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .glass-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Dark Mode Optimizations */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.05);
        --glass-border: rgba(255, 255, 255, 0.1);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Hero Section Styles */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding);
    position: relative;
}

/* Course Hero Section Specific Styles */
.hero-section.courses-hero {
    min-height: 100vh;
    padding-top: 120px; /* Space for fixed navbar */
    padding-bottom: 60px;
    position: relative;
    background: var(--hero-gradient);
    background-attachment: fixed;
}

.hero-section.courses-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero-section.courses-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-section.courses-hero .gradient-text {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-animation {
    position: relative;
    width: 300px;
    height: 200px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    overflow: hidden;
}

.code-line {
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: code-typing 2s ease-in-out infinite;
}

.code-line:nth-child(1) {
    width: 80%;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    width: 60%;
    animation-delay: 0.5s;
}

.code-line:nth-child(3) {
    width: 90%;
    animation-delay: 1s;
}

.code-line:nth-child(4) {
    width: 70%;
    animation-delay: 1.5s;
}

@keyframes code-typing {
    0%, 50% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Section Titles */
.section-title-modern {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 4rem;
}

/* Courses Section */
.courses-modern {
    padding: var(--section-padding);
}

.course-card-modern {
    height: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
}

.course-image-modern {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.course-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.course-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.course-level-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-startdate-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-content-modern {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.course-title-modern {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.course-title-modern a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-title-modern a:hover {
    color: var(--neon-blue);
    text-decoration: none;
}

.course-description-modern {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-category {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-category i {
    color: var(--neon-purple);
}

.course-meta {
    margin-top: auto;
    padding-top: 0.5rem;
}

.course-meta-modern {
    margin-top: auto;
    padding-top: 0.5rem;
}

.course-meta-modern .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.course-meta-modern .fw-bold {
    color: rgba(255, 255, 255, 0.95) !important;
}

.course-meta-modern .badge {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    border: none;
}

.course-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.course-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-price-modern .price-amount {
    font-size: 1.8rem;
    font-weight: 700;
}

.btn-course-detail {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--small-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-course-detail:hover {
    background: var(--primary-gradient);
    transform: translateX(5px);
    color: #ffffff;
}

/* About Section */
.about-modern {
    padding: var(--section-padding);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
}

.stat-item-modern {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-content-modern {
    padding-left: 2rem;
}

.about-description-modern {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-features {
    margin: 2rem 0;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.feature-icon {
    color: var(--neon-green);
    font-size: 1.2rem;
}

/* Blog Section */
.blog-modern {
    padding: var(--section-padding);
}

.blog-card-modern {
    height: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image-modern {
    height: 250px;
    background: var(--secondary-gradient);
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-placeholder-modern {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--neon-orange);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-content-modern {
    padding: 2rem;
    background: #ffffff;
}

.blog-title-modern {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.4;
}

.blog-excerpt {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.blog-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Blog Read Button - with high specificity to override Bootstrap */
a.btn-blog-read,
.blog-footer-modern a.btn-blog-read {
    background: #3498db !important;
    border: 1px solid #3498db !important;
    color: #f8f9fa !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: var(--small-radius) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

a.btn-blog-read:hover,
.blog-footer-modern a.btn-blog-read:hover {
    background: var(--secondary-gradient) !important;
    color: #f8f9fa !important;
    text-decoration: none !important;
    transform: translateX(3px) !important;
}

/* Contact Section */
.contact-modern {
    padding: var(--section-padding);
}

.contact-form-modern {
    padding: 3rem;
}

.modern-form {
    width: 100%;
}

.form-group-modern {
    position: relative;
    margin-bottom: 2rem;
}

.form-label-modern {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-modern {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--small-radius);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.form-control-modern:focus + .form-focus-line {
    width: 100%;
}

.contact-info-modern {
    padding: 3rem 2rem;
}

.contact-info-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--small-radius);
    border-left: 3px solid var(--neon-blue);
}

.contact-icon-modern {
    background: var(--primary-gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design Improvements */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title-modern {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
        height: 300px;
    }
    
    .code-animation {
        width: 250px;
        height: 150px;
        padding: 1.5rem;
    }
    
    .about-content-modern {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .stats-grid {
        padding: 2rem;
        max-width: 300px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .course-card-modern:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .contact-form-modern,
    .contact-info-modern {
        padding: 2rem;
    }
    
    .contact-item-modern {
        padding: 1rem;
    }
}

/* Search and Filter Components */
.search-filters {
    padding: 2rem;
    margin-bottom: 3rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modern-search-form {
    width: 100%;
}

.modern-search-form .form-label-modern {
    color: #2c3e50;
    font-weight: 500;
}

.modern-search-form .form-control-modern {
    background: #ffffff;
    border: 1px solid #ced4da;
    color: #2c3e50;
}

.modern-search-form .form-control-modern:focus {
    background: #ffffff;
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    color: #2c3e50;
}

.modern-search-form .form-control-modern::placeholder {
    color: #6c757d;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.empty-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-description {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Modern Pagination */
.pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-link-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: var(--small-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.page-link-modern:hover {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-number.active {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: scale(1.1);
}

/* Course Page Styles */
.course-content-section {
    padding: 2rem 0 4rem;
}

.badge-modern {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.course-placeholder-modern {
    height: 250px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.course-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.price-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-badge.paid {
    background: rgba(39, 174, 96, 0.9);
    color: #ffffff;
}

.price-badge.free {
    background: rgba(52, 152, 219, 0.9);
    color: #ffffff;
}

.course-category {
    margin-bottom: 1rem;
}

.category-link {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-link:hover {
    background: var(--neon-blue);
    color: #ffffff;
    transform: translateY(-1px);
}

.course-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-link:hover {
    color: var(--neon-blue);
}

.course-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--small-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item-course {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Alignment fix: keep meta just above CTA and anchor CTA to bottom */
.course-content-modern .course-meta-modern {
    margin-top: 1rem !important; /* ensure it's not auto so CTA can anchor bottom */
}

.course-content-modern a.btn-modern {
    margin-top: auto !important; /* push CTA to the bottom consistently across cards */
}

/* Layout fixes: align course meta and CTA buttons across course cards */
.course-card-modern {
    display: flex;
    flex-direction: column;
}

.course-content-modern {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto; /* allow content area to stretch and push meta/cta to bottom */
}

/* Push meta section to the bottom so CTA sits consistently below it */
.course-meta-modern {
    margin-top: auto;
    padding-top: 0.5rem; /* slight spacing from description/title */
}

/* Ensure CTA spans full width neatly when used inside cards */
.course-content-modern a.btn-modern {
    width: 100%;
}

/* Responsive tweak to preserve alignment on small screens as well */
@media (max-width: 768px) {
    .course-card-modern {
        display: flex;
    }
    .course-content-modern {
        display: flex;
    }
}

/* Particle Animation Enhanced */
@keyframes float-enhanced {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-40px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.05);
    }
}

.floating-shape:hover {
    animation-duration: 3s;
    opacity: 0.2;
}

/* Course Details Page Styles */
.course-details-hero {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue), var(--neon-green));
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.course-details-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.course-details-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
}

.course-details-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 1.5rem 0;
}

/* Course Details Card Headings */
.course-details-card h1,
.course-details-card h2,
.course-details-card h3,
.course-details-card h4,
.course-details-card h5,
.course-details-card h6 {
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.course-details-container h1,
.course-details-container h2,
.course-details-container h3,
.course-details-container h4,
.course-details-container h5,
.course-details-container h6 {
    color: #ffffff !important;
    margin-bottom: 1rem;
}

/* Course Modules Styles */
.course-modules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-module-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-module-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.module-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.module-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.module-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.module-info {
    flex: 1;
}

.module-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.module-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.module-video-badge,
.module-content-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.module-video-badge {
    background: linear-gradient(135deg, var(--neon-green), #27ae60);
    color: #ffffff;
}

.module-content-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.module-content-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.module-content-preview {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.3s ease-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.module-content-preview.show {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem;
}

.content-preview {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.content-preview p {
    margin-bottom: 1rem;
}

.content-preview p:last-child {
    margin-bottom: 0;
}

/* Empty Modules State */
.empty-modules-state {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.empty-modules-state i {
    animation: pulse 2s ease-in-out infinite;
}

.empty-modules-state h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.empty-modules-state p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

/* Module Animation */
@keyframes module-expand {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

@keyframes module-collapse {
    from {
        max-height: 500px;
        opacity: 1;
    }
    to {
        max-height: 0;
        opacity: 0;
    }
}

/* Course Details Gradient Buttons */
.btn-course-register {
    background: linear-gradient(135deg, var(--neon-green), #27ae60);
    border: none;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.3);
}

.btn-course-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 213, 115, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #27ae60, var(--neon-green));
}

.btn-course-free {
    background: linear-gradient(135deg, var(--neon-blue), #3498db);
    border: none;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-course-free:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #3498db, var(--neon-blue));
}

.btn-course-favorite {
    background: linear-gradient(135deg, var(--neon-pink), #e91e63);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.btn-course-favorite:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #e91e63, var(--neon-pink));
}

.btn-course-share {
    background: linear-gradient(135deg, var(--neon-orange), #ff6b35);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-course-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #ff6b35, var(--neon-orange));
}

.btn-course-outline {
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-course-outline:hover {
    background: var(--neon-purple);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(140, 122, 230, 0.4);
}

/* Course Details Typography */
.course-details-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.course-details-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.course-details-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.course-meta-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--small-radius);
    border-left: 3px solid var(--neon-blue);
    text-align: center;
}

.meta-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.course-price-display {
    background: linear-gradient(135deg, var(--neon-green), #27ae60);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.2);
}

.price-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-value {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-currency {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Course Details Breadcrumb */
.course-breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--small-radius);
    margin-bottom: 2rem;
}

.breadcrumb-modern {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: #6c757d;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2980b9;
}

.breadcrumb-separator {
    color: #6c757d;
    margin: 0 0.5rem;
}

/* Course Details Responsive */
@media (max-width: 768px) {
    .course-details-title {
        font-size: 2rem;
    }
    
    .course-details-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-course-register,
    .btn-course-free {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .course-details-card,
    .course-details-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    /* Module Responsive Styles */
    .module-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .module-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0;
    }
    
    .module-info {
        width: 100%;
    }
    
    .module-title {
        font-size: 1rem;
    }
    
    .module-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }
    
    .module-content-preview.show {
        padding: 1rem;
    }
    
    .content-preview {
        font-size: 0.9rem;
    }
}

/* Children Education Section */
.children-education-modern {
    padding: var(--section-padding);
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.1) 0%, 
        rgba(138, 122, 230, 0.1) 50%, 
        rgba(32, 191, 107, 0.1) 100%);
}

.children-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.children-interactive-demo {
    position: relative;
    width: 350px;
    height: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coding-robot {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: robot-bounce 2s ease-in-out infinite;
}

.coding-robot i {
    font-size: 2.5rem;
    color: #ffffff;
}

@keyframes robot-bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.code-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.code-block {
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    animation: block-glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.code-block:nth-child(1) {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    animation-delay: 0s;
}

.code-block:nth-child(2) {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    animation-delay: 0.5s;
}

.code-block:nth-child(3) {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
    animation-delay: 1s;
}

.code-block:nth-child(4) {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    animation-delay: 1.5s;
}

.code-block:nth-child(5) {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    animation-delay: 2s;
}

.code-block:nth-child(6) {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    animation-delay: 2.5s;
}

@keyframes block-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
        transform: scale(1.05);
    }
}

.children-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.children-feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.children-feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.children-feature-card:hover:before {
    transform: scaleX(1);
}

.children-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.children-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    animation: feature-icon-float 3s ease-in-out infinite;
}

.children-feature-icon.icon-1 {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    animation-delay: 0s;
}

.children-feature-icon.icon-2 {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    animation-delay: 0.5s;
}

.children-feature-icon.icon-3 {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
    animation-delay: 1s;
}

.children-feature-icon.icon-4 {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    animation-delay: 1.5s;
}

@keyframes feature-icon-float {
     0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.children-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.children-feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.children-age-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.age-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.age-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.age-badge:hover:before {
    left: 100%;
}

.age-badge:hover {
    background: var(--primary-gradient);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.children-cta-section {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.children-cta-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.children-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.children-cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.children-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.btn-children-primary {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border: none;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: var(--small-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-children-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-children-primary:hover:before {
    left: 100%;
}

.btn-children-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-children-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: var(--small-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-children-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-blue);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

/* Children Section Responsive */
@media (max-width: 768px) {
    .children-education-modern {
        padding: 60px 0;
    }
    
    .children-hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .children-interactive-demo {
        width: 280px;
        height: 250px;
        padding: 1.5rem;
    }
    
    .coding-robot {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .coding-robot i {
        font-size: 2rem;
    }
    
    .code-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .children-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .children-feature-card {
        padding: 1.5rem;
    }
    
    .children-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .children-age-badges {
        gap: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .age-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .children-cta-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .children-cta-title {
        font-size: 1.8rem;
    }
    
    .children-cta-description {
        font-size: 1rem;
    }
    
    .children-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-children-primary,
    .btn-children-secondary {
        padding: 0.8rem 2rem;
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}

/* ============================================================================ */
/* ADMIN LOGIN STYLES */
/* ============================================================================ */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.login-card {
    max-width: 450px;
    width: 100%;
    margin: 0 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.login-logo {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.login-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.login-body {
    padding: 2rem;
}

.login-container .form-floating {
    margin-bottom: 1.5rem;
}

.login-container .form-floating .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    border-radius: var(--small-radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-container .form-floating .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    color: #ffffff;
}

.login-container .form-floating .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.login-container .form-floating label {
    color: rgba(255,255,255,0.7);
}

.login-container .form-floating .form-control:focus ~ label,
.login-container .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--neon-blue);
}

.btn-login {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--small-radius);
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-login:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.5);
    color: white;
}

.login-container .form-check {
    margin-bottom: 1.5rem;
}

.login-container .form-check-input {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

.login-container .form-check-input:checked {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
}

.login-container .form-check-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

.login-container .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.login-container .alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b9d;
    border-radius: var(--small-radius);
    backdrop-filter: blur(10px);
}

/* Loading Animation */
.btn-login.loading {
    pointer-events: none;
}

.btn-login.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================================ */
/* FEATURED BLOG ON COURSE PAGE STYLES */
/* ============================================================================ */

/* Blog Section Animations */
@keyframes blogSlideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        max-height: 1000px;
        transform: translateY(0);
    }
}

@keyframes blogSlideUp {
    from {
        opacity: 1;
        max-height: 1000px;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-20px);
    }
}

@keyframes expandContent {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 2000px;
        transform: translateY(0);
    }
}

@keyframes collapseContent {
    from {
        opacity: 1;
        max-height: 2000px;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

/* Featured Blog Section */
.blog-section-featured {
    animation: blogSlideDown 0.8s ease-out;
}

/* Featured Blog Card - Full Width Enhanced */
.blog-card-featured {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s ease;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    margin: 0;
}

.blog-card-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Blog Image - Featured Enhanced */
.blog-image-featured {
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: var(--small-radius);
    background: var(--primary-gradient);
}

.blog-image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--small-radius);
}

.blog-card-featured:hover .blog-image-featured img {
    transform: scale(1.05);
}

/* Blog Content - Featured Enhanced */
.blog-content-featured {
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Blog Meta - Featured Enhanced */
.blog-meta-featured {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta-featured span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.blog-meta-featured i {
    color: var(--neon-blue);
    font-size: 1rem;
}

/* Blog Title - Featured Enhanced - H1 Style */
.blog-title-featured {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Excerpt - Featured Enhanced */
.blog-excerpt-featured {
    margin-bottom: 2rem;
}

.blog-excerpt-featured p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Blog Full Content Enhanced */
.blog-full-content {
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.blog-full-content.expanding {
    animation: expandContent 0.4s ease-out;
}

.blog-full-content.collapsing {
    animation: collapseContent 0.3s ease-in;
}

/* Blog Full Content Typography Enhanced */
.blog-full-content h1,
.blog-full-content h2,
.blog-full-content h3,
.blog-full-content h4,
.blog-full-content h5,
.blog-full-content h6 {
    color: var(--neon-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Hide first heading if it's the same as the main title */
.blog-full-content h1:first-child,
.blog-full-content h2:first-child,
.blog-full-content h3:first-child {
    display: none;
}

.blog-full-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-full-content ul,
.blog-full-content ol {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-full-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-full-content strong,
.blog-full-content b {
    color: var(--neon-purple);
    font-weight: 600;
}

.blog-full-content blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--neon-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--small-radius);
    font-style: italic;
}

.blog-full-content code {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-green);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.blog-full-content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--small-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.blog-full-content pre code {
    background: none;
    color: #ffffff;
    padding: 0;
    font-size: 0.95rem;
}

/* Blog Actions - Featured Enhanced */
.blog-actions-featured {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

/* Read More Button - Enhanced */
.btn-read-more {
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--small-radius);
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-read-more:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-read-more:hover:before {
    left: 100%;
}

.btn-read-more:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--secondary-gradient);
    text-decoration: none;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more.expanded i {
    transform: rotate(180deg);
}

/* Blog Page Button - Enhanced Readability */
.btn-blog-page {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--small-radius);
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-blog-page:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--neon-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    text-decoration: none;
}

/* Blog Section Header Enhanced */
.blog-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.blog-section .section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Course Page Blog Section Responsive Enhanced */
@media (max-width: 1200px) {
    .blog-card-featured {
        padding: 2rem;
    }
    
    .blog-content-featured {
        padding: 0 1rem;
    }
    
    .blog-title-featured {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-card-featured {
        padding: 1.5rem;
    }
    
    .blog-content-featured {
        padding: 1rem 0 0 0;
    }
    
    .blog-title-featured {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .blog-excerpt-featured p {
        font-size: 1rem;
    }
    
    .blog-actions-featured {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .btn-read-more,
    .btn-blog-page {
        width: 100%;
        justify-content: center;
    }
    
    .blog-image-featured {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .blog-section .section-title {
        font-size: 1.8rem;
    }
    
    .blog-section .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .blog-card-featured {
        padding: 1rem;
    }
    
    .blog-title-featured {
        font-size: 1.5rem;
    }
    
    .blog-excerpt-featured p {
        font-size: 0.95rem;
    }
    
    .blog-image-featured {
        height: 180px;
    }
    
    .blog-full-content,
    .blog-excerpt-featured {
        font-size: 0.9rem;
    }
    
    .btn-read-more,
    .btn-blog-page {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ============================================================================ */
/* BLOG DETAILS PAGE STYLES - MEDIUM.COM INSPIRED */
/* ============================================================================ */

/* Blog Details Hero Section */
.blog-details-hero {
    background: #ffffff;
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #e9ecef;
}

/* Blog Breadcrumb */
.blog-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-modern {
    background: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #6c757d;
    margin: 0 0.5rem;
}

/* Blog Content Section */
.blog-content-section {
    background: #ffffff;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Blog Post Modern Card */
.blog-post-modern {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Blog Header */
.blog-header-modern {
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
}

.featured-badge-modern {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b9d, #ff8a65);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.blog-title-details {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Blog Meta Details */
.blog-meta-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #f1f3f4;
    border-bottom: 1px solid #f1f3f4;
}

.meta-item-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.meta-item-details i {
    color: #3498db;
    font-size: 1rem;
}

.category-badge-modern {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Blog Featured Image */
.blog-featured-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-featured-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Blog Content */
.blog-content-modern {
    padding: 2.5rem;
    background: #ffffff;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    font-family: Georgia, 'Times New Roman', serif;
}

.blog-content-modern h1,
.blog-content-modern h2,
.blog-content-modern h3,
.blog-content-modern h4,
.blog-content-modern h5,
.blog-content-modern h6 {
    color: #1a1a1a;
    margin: 2rem 0 1rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.blog-content-modern h1 { font-size: 2.2rem; }
.blog-content-modern h2 { font-size: 1.8rem; }
.blog-content-modern h3 { font-size: 1.5rem; }
.blog-content-modern h4 { font-size: 1.3rem; }
.blog-content-modern h5 { font-size: 1.1rem; }
.blog-content-modern h6 { font-size: 1rem; }

.blog-content-modern p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.blog-content-modern ul,
.blog-content-modern ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content-modern li {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.blog-content-modern strong,
.blog-content-modern b {
    color: #1a1a1a;
    font-weight: 700;
}

.blog-content-modern em,
.blog-content-modern i {
    font-style: italic;
}

.blog-content-modern blockquote {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #495057;
}

.blog-content-modern code {
    background: #f1f3f4;
    color: #e91e63;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.blog-content-modern pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
    font-size: 0.9rem;
}

.blog-content-modern pre code {
    background: none;
    color: #2c3e50;
    padding: 0;
    font-size: inherit;
}

.blog-content-modern a {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-content-modern a:hover {
    color: #2980b9;
}

.blog-content-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-content-modern table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.blog-content-modern th,
.blog-content-modern td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.blog-content-modern th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

/* Blog Interactions */
.blog-interactions {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.like-section-modern {
    display: flex;
    align-items: center;
}

.btn-like-modern {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-like-modern:hover {
    border-color: #e91e63;
    color: #e91e63;
    background: #fff5f8;
}

.btn-like-modern.liked {
    border-color: #e91e63;
    color: #e91e63;
    background: #fff5f8;
}

.btn-like-modern i {
    font-size: 1.1rem;
}

.share-section-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-share.twitter {
    background: #1da1f2;
}

.btn-share.twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
}

.btn-share.facebook {
    background: #1877f2;
}

.btn-share.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.btn-share.linkedin {
    background: #0077b5;
}

.btn-share.linkedin:hover {
    background: #006fa6;
    transform: translateY(-2px);
}

.btn-share.copy {
    background: #6c757d;
}

.btn-share.copy:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Tags Section */
.tags-section-modern {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.tags-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-modern {
    background: #ffffff;
    color: #3498db;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-modern:hover {
    background: #3498db;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Related Posts Section */
.related-posts-section {
    background: #ffffff;
    padding: 3rem 0;
    border-top: 1px solid #e9ecef;
}

.related-posts-title {
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Related Posts Modern */
.related-posts-modern {
    background: #ffffff;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
}

.related-post-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.related-post-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.related-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-img {
    transform: scale(1.05);
}

.related-post-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6c757d;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-link:hover {
    color: #3498db;
    text-decoration: none;
}

.related-post-date {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Sidebar Cards */
.sidebar-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.sidebar-card-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-title {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.sidebar-card-body {
    padding: 1.5rem;
}

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e9ecef;
}

.newsletter-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.newsletter-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.newsletter-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: #ffffff;
}

.newsletter-input::placeholder {
    color: #6c757d;
}

.btn-newsletter {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-newsletter:hover {
    background: linear-gradient(135deg, #2980b9, #1e6e91);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-newsletter:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-newsletter.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
}

/* Recent Posts */
.recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-post-thumb-placeholder {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.recent-post-info {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.recent-post-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-link:hover {
    color: #3498db;
    text-decoration: none;
}

.recent-post-date {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Quick Links */
.quick-link {
    display: flex;
    align-items: center;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    color: #3498db;
    background: #e3f2fd;
    text-decoration: none;
    transform: translateX(5px);
}

.quick-link i {
    color: #3498db;
    transition: color 0.3s ease;
}

.quick-link:hover i {
    color: #2980b9;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    margin-left: auto;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.toast-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.toast-success {
    border-left: 4px solid #27ae60;
}

.toast-success i {
    color: #27ae60;
}

.toast-error {
    border-left: 4px solid #e74c3c;
}

.toast-error i {
    color: #e74c3c;
}

.toast-warning {
    border-left: 4px solid #f39c12;
}

.toast-warning i {
    color: #f39c12;
}

.toast-info {
    border-left: 4px solid #3498db;
}

.toast-info i {
    color: #3498db;
}

/* Responsive Design for Blog Details */
@media (max-width: 768px) {
    .blog-title-details {
        font-size: 2rem;
    }
    
    .blog-header-modern,
    .blog-content-modern,
    .tags-section-modern {
        padding: 1.5rem;
    }
    
    .blog-interactions {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .blog-meta-details {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .share-section-modern {
        justify-content: center;
    }
    
    .blog-content-modern {
        font-size: 1rem;
    }
    
    .blog-content-modern h1 { font-size: 1.8rem; }
    .blog-content-modern h2 { font-size: 1.5rem; }
    .blog-content-modern h3 { font-size: 1.3rem; }
    .blog-content-modern h4 { font-size: 1.1rem; }
}

@media (max-width: 576px) {
    .blog-header-modern,
    .blog-content-modern,
    .tags-section-modern {
        padding: 1rem;
    }
    
    .blog-title-details {
        font-size: 1.75rem;
    }
    
    .breadcrumb-modern {
        font-size: 0.85rem;
    }
    
    .blog-content-modern {
        font-size: 0.95rem;
    }
}
