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

/* Universal logo rounding - applies to all logo images across the site */
img[src*="logo"],
img[alt*="Logo" i],
img[alt*="logo" i],
img.logo,
img.nav-logo,
img.login-logo,
img.admin-logo,
img.portal-logo,
img.icard-logo,
img.admit-card-logo,
img#loginLogo,
img#loginLogoImg,
img#loginBoxLogo,
img#adminLogo,
img#adminPrintLogo,
img#applyLogoImg,
img#portalLogo {
    border-radius: 12px !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #e94560 75%, #1a1a2e 100%);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.popup-modal.active {
    display: flex;
}

.popup-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.5s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.popup-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.popup-modal-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.popup-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.popup-modal-description {
    font-size: 16px;
    color: #475569;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.popup-modal-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.popup-modal-buttons .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.popup-modal-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.popup-modal-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.popup-modal-buttons .btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.popup-modal-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 87, 108, 0.4);
}

.popup-modal-buttons .btn-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.popup-modal-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.4);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-brand a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-brand a:hover {
    color: #667eea;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 45px;
    max-width: 45px;
    object-fit: contain;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-cta {
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    color: white !important;
    transition: all 0.3s ease !important;
    background: rgba(102, 126, 234, 0.3) !important;
    border: 1px solid rgba(102, 126, 234, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-cta:hover {
    background: rgba(102, 126, 234, 0.5) !important;
    border-color: rgba(102, 126, 234, 0.7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
    color: #fff !important;
}

.nav-cta i {
    margin-right: 4px;
    font-size: 0.85rem;
}

.nav-student {
    background: rgba(22, 163, 74, 0.3) !important;
    border: 1px solid rgba(22, 163, 74, 0.5) !important;
}

.nav-student:hover {
    background: rgba(22, 163, 74, 0.5) !important;
    border-color: rgba(22, 163, 74, 0.7) !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4) !important;
    color: #fff !important;
}

.nav-faculty {
    background: rgba(245, 158, 11, 0.3) !important;
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
}

.nav-faculty:hover {
    background: rgba(245, 158, 11, 0.5) !important;
    border-color: rgba(245, 158, 11, 0.7) !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4) !important;
    color: #fff !important;
}

.nav-admin {
    background: rgba(220, 38, 38, 0.3) !important;
    border: 1px solid rgba(220, 38, 38, 0.5) !important;
}

.nav-admin:hover {
    background: rgba(220, 38, 38, 0.5) !important;
    border-color: rgba(220, 38, 38, 0.7) !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4) !important;
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

@media (max-width: 769px) {
    /* Admin Dashboard Mobile */
    .admin-dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 15px;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .admin-logo {
        margin-bottom: 20px;
    }
    
    .admin-logo img {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-menu li {
        margin-bottom: 8px;
    }
    
    .sidebar-menu a {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .main-content {
        width: 100%;
        padding: 15px;
    }
    
    /* Add mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1001;
        background: rgba(102, 126, 234, 0.95);
        color: white;
        border: none;
        padding: 10px 12px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        max-width: calc(100vw - 20px);
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(102, 126, 234, 1);
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 15px;
        height: auto;
    }
    
    .navbar .container {
        padding: 5px 0;
        flex-wrap: wrap;
    }
    
    .nav-brand {
        flex: 1;
        min-width: auto;
    }
    
    .nav-brand a {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        gap: 5px;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        margin: 0;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }
    
    .nav-menu a:hover {
        background: rgba(102, 126, 234, 0.2);
    }
    
    .nav-cta {
        margin-top: 10px;
        text-align: center;
        padding: 12px 20px !important;
        min-height: 48px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1000;
        padding: 10px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
        transition: all 0.3s ease;
    }
    
    .hamburger:hover span {
        background: #667eea;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2563eb;
    white-space: nowrap;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.82rem;
    white-space: nowrap;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

.admin-btn {
    background: #2563eb;
    color: white !important;
    padding: 6px 12px;
    border-radius: 5px;
}

.apply-btn {
    background: #16a34a !important;
    color: white !important;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
}

.apply-btn:hover { background: #15803d !important; }

.portal-btn {
    background: #7c3aed !important;
    color: white !important;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
}

.portal-btn:hover { background: #6d28d9 !important; }

.btn-hero-apply {
    background: rgba(22, 163, 74, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    margin-left: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero-apply:hover {
    background: rgba(22, 163, 74, 0.6);
    border-color: rgba(22, 163, 74, 0.8);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.5), 0 0 30px rgba(22, 163, 74, 0.2);
    transform: translateY(-2px);
}

.btn-hero-apply::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 ease;
}

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

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Hero + Carousel merged */
.carousel-hero {
    position: relative;
    padding: 70px 0 0 0;
    background: transparent;
    overflow: hidden;
    margin: 0;
}

.carousel-hero .carousel-wrapper {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-hero .carousel-slide img {
    height: 500px;
    filter: brightness(0.7);
    opacity: 1;
    margin: 0;
    display: block;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 769px) {
    .carousel-hero {
        padding: 60px 0 0 0;
        margin: 0;
    }
    
    .carousel-hero .carousel-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .carousel-hero .carousel-slide img {
        height: 300px;
        width: 100%;
        margin: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.hero-overlay .hero-content {
    pointer-events: all;
    text-align: center;
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid rgba(255,255,255,0.85);
    width: 0;
    display: inline-block;
    max-width: 100%;
}

.hero-overlay p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    animation: heroFadeUp 1s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-overlay .btn {
    animation: heroFadeUp 1s 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes cursorBlink {
    0%, 100% { border-color: rgba(255,255,255,0.85); }
    50%       { border-color: transparent; }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-overlay.animate p {
    animation: none;
    animation: heroFadeUp 1s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-overlay.animate .btn {
    animation: none;
    animation: heroFadeUp 1s 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

/* When no carousel images — fallback to solid bg */
.carousel-hero:not(:has(.carousel-slide)) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 150px 20px 100px;
}

.carousel-hero:not(:has(.carousel-slide)) .hero-overlay {
    position: static;
    display: block;
}

@media (max-width: 769px) {
    .carousel-hero .carousel-slide img { height: 280px; }
    .hero-overlay h1 { 
        font-size: 1.5rem; 
        white-space: nowrap;
        width: auto;
        max-width: 100%;
        border: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-overlay p { font-size: 1rem; }
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    background: rgba(37, 99, 235, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.6);
    color: white;
}

.btn-primary:hover {
    background: rgba(37, 99, 235, 0.6);
    border-color: rgba(37, 99, 235, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), 0 0 20px rgba(37, 99, 235, 0.2);
}

.btn-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 ease;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary::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 ease;
}

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

.btn-success {
    background: rgba(22, 163, 74, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: white;
}

.btn-success:hover {
    background: rgba(22, 163, 74, 0.6);
    border-color: rgba(22, 163, 74, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3), 0 0 20px rgba(22, 163, 74, 0.2);
}

.btn-success::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 ease;
}

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

.btn-danger {
    background: rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.6);
    color: white;
}

.btn-danger:hover {
    background: rgba(220, 38, 38, 0.6);
    border-color: rgba(220, 38, 38, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3), 0 0 20px rgba(220, 38, 38, 0.2);
}

.btn-danger::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 ease;
}

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

.btn:hover {
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.courses, .about, .contact, .blog-section {
    padding: 20px 20px;
}

.courses {
    background: transparent;
}

/* Blog Section */
.blog-section {
    background: transparent;
    padding-top: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.blog-grid .blogs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.blog-grid .blog-card {
    padding: 18px;
}

.blog-grid .blog-title {
    font-size: 16px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all .3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.blog-card:hover::after {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-date {
    color: #fff;
    font-size: 13px;
}

.blog-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.blog-content {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.blog-author {
    color: #fff;
    font-size: 13px;
}

.blog-author i {
    margin-right: 6px;
}

.btn-read-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.blog-card {
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.05);
    border-radius: 16px 16px 0 0;
}

.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-body .blog-content { flex: 1; }

.blog-pinned-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta-info {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ===== Mobile Blog Carousel (Horizontal Swipe) ===== */
.blog-carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.blog-carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.blog-carousel-dots .dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 769px) {
    .blog-section .blog-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 8px 4px 16px 4px;
        margin: 20px -16px 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none;
    }
    .blog-section .blog-grid::-webkit-scrollbar {
        display: none;
    }
    .blog-section .blog-grid .blog-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    .blog-section .blog-card-image {
        height: 160px;
    }
    .blog-section .blog-card-body {
        padding: 16px;
    }
    .blog-section .blog-title {
        font-size: 16px;
    }
    .blog-section .blog-content {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .blog-carousel-dots {
        display: flex;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #fff;
    white-space: pre-line;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
}

.team-section {
    margin-top: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.team-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.team-card p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

.about-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (max-width: 769px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery {
    padding: 30px 20px;
    background: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.masonry-grid .gallery-item {
    height: 250px;
    overflow: hidden;
}

.gallery-carousel {
    position: relative;
    max-width: 1270px;
    margin: 0 auto;
    overflow: hidden;
    height: 450px;
    perspective: 1500px;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    align-items: center;
    height: 100%;
    padding: 20px 0;
}

.carousel-item {
    min-width: 280px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.75) translateX(0) translateZ(-100px);
    opacity: 0.4;
    margin: 0 15px;
    height: 380px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.carousel-item.active {
    min-width: 650px;
    max-width: 650px;
    transform: scale(1) translateX(0) translateZ(0);
    opacity: 1;
    z-index: 10;
}

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

.carousel-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-item:hover .gallery-overlay {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.carousel-btn:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn {
    left: 20px;
}

.carousel-btn.next-btn {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: rgba(59, 130, 246, 1);
    transform: scale(1.2);
}

.gallery-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.gallery-category-badge {
    background: rgba(59, 130, 246, 0.85);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    font-weight: 500;
    color: #fff;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.course-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all .3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.course-card:hover::after {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}

.course-preview {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Course Modal Styles */
.course-modal-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-modal-body {
    color: rgba(255, 255, 255, 0.9);
}

.course-modal-body h4 {
    color: #fff;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.course-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-card-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 22px 24px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-card-header .course-emoji {
    font-size: 2rem;
    line-height: 1;
}

.course-card-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
}

.course-card-body {
    padding: 18px 24px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.course-meta .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.course-meta .meta-tag i { font-size: 0.7rem; }

.course-card .price {
    font-size: 1.35rem;
    color: #667eea;
    font-weight: 800;
    margin-bottom: 14px;
}

.course-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.course-card-actions .btn-view {
    flex: 1;
    padding: 9px 0;
    border: 1.5px solid rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card-actions .btn-view:hover {
    background: rgba(102, 126, 234, 0.5);
    border-color: rgba(102, 126, 234, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), 0 0 20px rgba(102, 126, 234, 0.2);
}

.course-card-actions .btn-view::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 ease;
}

.course-card-actions .btn-view:hover::before {
    left: 100%;
}

.course-card-actions .btn-enroll {
    flex: 1;
    padding: 9px 0;
    border: 1.5px solid rgba(22, 163, 74, 0.5);
    background: rgba(22, 163, 74, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card-actions .btn-enroll:hover {
    background: rgba(22, 163, 74, 0.6);
    border-color: rgba(22, 163, 74, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3), 0 0 20px rgba(22, 163, 74, 0.2);
}

.course-card-actions .btn-enroll::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 ease;
}

.course-card-actions .btn-enroll:hover::before {
    left: 100%;
}

/* Course Detail Modal */
.course-detail-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-detail-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.course-detail-header {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    padding: 24px 28px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.course-detail-header .course-emoji { font-size: 2.5rem; }
.course-detail-header h2 { margin: 0; font-size: 1.3rem; }

.course-detail-body {
    padding: 24px 28px 28px;
}

.course-detail-body .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.course-detail-body .detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    color: #fff;
}

.course-detail-body .detail-desc {
    white-space: pre-line;
    line-height: 1.7;
    font-size: 0.92rem;
    color: #fff;
    margin-bottom: 22px;
}

.course-detail-body .detail-actions {
    display: flex;
    gap: 10px;
}

.course-detail-body .detail-actions .btn-enroll {
    flex: 1;
    padding: 12px;
    background: rgba(22, 163, 74, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-detail-body .detail-actions .btn-enroll:hover {
    background: rgba(22, 163, 74, 0.6);
    border-color: rgba(22, 163, 74, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3), 0 0 20px rgba(22, 163, 74, 0.2);
}

.course-detail-body .detail-actions .btn-enroll::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 ease;
}

.course-detail-body .detail-actions .btn-enroll:hover::before {
    left: 100%;
}

.course-detail-body .detail-actions .btn-close-detail {
    padding: 12px 20px;
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-detail-body .detail-actions .btn-close-detail:hover {
    background: rgba(102, 126, 234, 0.5);
    border-color: rgba(102, 126, 234, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), 0 0 20px rgba(102, 126, 234, 0.2);
}

.course-detail-body .detail-actions .btn-close-detail::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 ease;
}

.course-detail-body .detail-actions .btn-close-detail:hover::before {
    left: 100%;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-item i {
    font-size: 24px;
    color: #2563eb;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.info-item p {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 20px;
}

.social-links h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact-form-wrapper .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.contact-form-wrapper .form-group input,
.contact-form-wrapper .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    color: #fff;
}

.contact-form-wrapper .form-group input:focus,
.contact-form-wrapper .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.contact-form-wrapper .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-map {
    margin-top: 40px;
}

/* Course Cards */
.course-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 769px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact input,
.contact textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    color: #fff;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

/* Floating Social Sidebar (Desktop) */
.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: scale(1.15);
    color: #fff;
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.9), 0 0 40px rgba(24, 119, 242, 0.5);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 0 20px rgba(220, 39, 67, 0.9), 0 0 40px rgba(220, 39, 67, 0.5);
}

.social-icon.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.9), 0 0 40px rgba(37, 211, 102, 0.5);
}

.social-icon.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9), 0 0 40px rgba(255, 0, 0, 0.5);
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.9), 0 0 40px rgba(0, 119, 181, 0.5);
}

/* Sticky Bottom Bar (Mobile) */
.mobile-social-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-social-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.mobile-social-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(100px);
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.mobile-social-bar.active {
    transform: translateY(-50%) translateX(0);
}

.mobile-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-social-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.mobile-social-icon.facebook:hover {
    background: rgba(24, 119, 242, 0.8);
    border-color: rgba(24, 119, 242, 0.9);
}

.mobile-social-icon.instagram:hover {
    background: rgba(225, 48, 108, 0.8);
    border-color: rgba(225, 48, 108, 0.9);
}

.mobile-social-icon.whatsapp:hover {
    background: rgba(37, 211, 102, 0.8);
    border-color: rgba(37, 211, 102, 0.9);
}

.mobile-social-icon.youtube:hover {
    background: rgba(255, 0, 0, 0.8);
    border-color: rgba(255, 0, 0, 0.9);
}

.mobile-social-icon.linkedin:hover {
    background: rgba(0, 119, 181, 0.8);
    border-color: rgba(0, 119, 181, 0.9);
}

@media (max-width: 769px) {
    .social-sidebar {
        display: none;
    }
    
    .mobile-social-toggle {
        display: flex;
    }
    
    .mobile-social-bar {
        display: flex;
    }
}

/* Footer */
.footer {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-accordion-toggle {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
}

.footer-accordion-toggle .accordion-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
    display: none !important;
}

.footer-section.active .accordion-icon {
    transform: rotate(180deg);
}

.footer-accordion-content {
    display: block;
    transition: max-height 0.3s ease;
}

@media (max-width: 769px) {
    .footer-accordion-toggle {
        cursor: pointer;
        justify-content: space-between;
    }
    
    .footer-accordion-toggle .accordion-icon {
        display: inline-block !important;
    }
    
    .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        display: none;
    }
    
    .footer-section.active .footer-accordion-content {
        max-height: 500px;
        display: block;
    }
    
    .footer-section h3 {
        margin-bottom: 10px;
    }
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-section p {
    color: #e2e8f0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

/* Legal Pages */
.legal-page {
    padding: 80px 20px;
    min-height: 60vh;
}

.legal-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.legal-content p {
    color: #fff;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li {
    color: #fff;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-content ul li a {
    color: #2563eb;
    text-decoration: none;
}

.legal-content ul li a:hover {
    text-decoration: underline;
}

.last-updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-style: italic;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 30px;
}

/* Admin Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.login-box input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #fff;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.login-box input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

.login-box button {
    width: 100%;
    padding: 15px;
    background: rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.6);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-box button:hover {
    background: rgba(102, 126, 234, 0.6);
    border-color: rgba(102, 126, 234, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), 0 0 20px rgba(102, 126, 234, 0.2);
}

.login-box button::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 ease;
}

.login-box button:hover::before {
    left: 100%;
}

/* Admin Dashboard */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
    padding: 30px 20px;
}

.admin-logo {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.admin-logo img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
}

#loginBoxLogo {
    border-radius: 12px;
}

.login-logo img {
    border-radius: 12px;
}

img.login-logo {
    border-radius: 12px !important;
}

/* Student Portal Login */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
}

.login-card .login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-card .login-logo img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 12px;
}

.login-card .sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 10px;
}

.login-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-weight: 500;
}

.login-tab.active {
    background: rgba(102, 126, 234, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.5);
}

.login-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Faculty Portal Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .login-logo {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
}

.login-header h2 {
    color: #fff;
    margin: 0 0 10px 0;
}

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

.login-method-btn {
    padding: 12px 20px;
    margin-bottom: 15px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-method-btn.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.login-method-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.login-method-btn.google-btn {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.login-method-btn.google-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.admin-logo i {
    font-size: 2rem;
    color: #fff;
}

.admin-logo span {
    font-size: 1rem;
    font-weight: 600;
}

.admin-login-nav {
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.login-brand img {
    max-height: 35px;
    object-fit: contain;
    border-radius: 8px;
}

.login-brand i {
    font-size: 1.2rem;
    color: #fff;
}

.admin-login-nav .home-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.admin-login-nav .home-link:hover {
    background: rgba(255,255,255,0.15);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    transition: transform .2s, box-shadow .2s;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #667eea;
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity .2s ease;
}

.sidebar-menu a::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all .3s ease;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.sidebar-menu a:hover::after {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}

.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.sidebar-menu a.active::before {
    opacity: 1;
}

.sidebar-menu a.active::after {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    display: none;
    padding-left: 20px;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin-bottom: 0;
}

.dropdown-menu a {
    padding: 12px 15px 12px 35px;
    font-size: 0.9rem;
    border-radius: 16px;
    transition: transform .2s, box-shadow .2s;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #667eea;
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity .2s ease;
}

.dropdown-menu a::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all .3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.dropdown-menu a:hover::after {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}

.dropdown-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dropdown-menu a.active::before {
    opacity: 1;
}

/* Payment Button Styles */
.payment-mode-btn,
.payment-type-btn {
    flex: 1;
    padding: 12px 20px;
    background: #e2e8f0;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.payment-mode-btn:hover,
.payment-type-btn:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
}

.payment-mode-btn.active,
.payment-type-btn.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.settings-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-tab:hover {
    background: #e5e7eb;
    color: #fff;
}

.settings-tab.active {
    background: #3b82f6;
    color: white;
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
}

.main-content {
    flex: 1;
    padding: 30px;
    background: transparent;
}

.admin-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.stat-card h3 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

/* ===== Enhanced Dashboard Styles ===== */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}
.dash-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
    min-height: 90px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.dash-stat-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255, 255, 255, 0.1); 
    background: rgba(255, 255, 255, 0.15);
}
.dash-stat-card::after { 
    content:''; 
    position:absolute; 
    top:-30px; 
    right:-30px; 
    width:100px; 
    height:100px; 
    background:rgba(255,255,255,0.1); 
    border-radius:50%; 
}
.dash-stat-icon { 
    font-size: 2rem; 
    color: #667eea; 
    min-width: 48px; 
    text-align: center; 
    z-index:1; 
}
.dash-stat-info { z-index:1; }
.dash-stat-number { 
    font-size: 1.7rem; 
    font-weight: 800; 
    color: #fff; 
    line-height: 1.2; 
}
.dash-stat-label { 
    font-size: 0.78rem; 
    color: rgba(255,255,255,0.85); 
    font-weight: 600; 
    margin-top: 2px; 
    text-transform: uppercase; 
    letter-spacing: .3px; 
}

/* Quick Actions */
.dash-section-title { 
    font-size: 1.05rem; 
    font-weight: 700; 
    color: #fff; 
    margin: 22px 0 14px; 
    display:flex; 
    align-items:center; 
    gap:8px; 
}
.dash-section-title i { color: #667eea; }
.dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.dash-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    min-height: 100px;
}
.dash-quick-btn i { 
    font-size: 1.6rem; 
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.dash-quick-btn span {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.dash-quick-btn:hover { 
    transform: translateY(-4px); 
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5); 
    border-color: rgba(255, 255, 255, 0.5);
}

/* Recent Activity */
.dash-recent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 6px;
}
.dash-recent-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.dash-recent-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.dash-recent-table th { 
    background: rgba(102, 126, 234, 0.3); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .75rem; 
    font-weight: 700; 
    color: #fff; 
    text-transform: uppercase; 
    letter-spacing: .4px; 
    padding: 12px 15px; 
    text-align: left; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.dash-recent-table td { 
    padding: 12px 15px; 
    font-size: .85rem; 
    color: #fff; 
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.dash-recent-table tr:hover td { 
    background: rgba(102, 126, 234, 0.15);
}

.dash-recent-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.05);
}

/* Enquiry status badges */
.enq-badge { 
    display:inline-block; 
    padding:4px 12px; 
    border-radius:20px; 
    font-size:.72rem; 
    font-weight:700; 
    text-transform:uppercase; 
    letter-spacing:.3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.enq-badge-pending { 
    background:rgba(255, 247, 237, 0.3); 
    color:#fbbf24; 
    border:1px solid rgba(251, 191, 36, 0.4); 
}
.enq-badge-replied { 
    background:rgba(236, 252, 245, 0.3); 
    color:#4ade80; 
    border:1px solid rgba(74, 222, 128, 0.4); 
}
.pay-badge-approved { 
    background:rgba(236, 252, 245, 0.3); 
    color:#4ade80; 
    border:1px solid rgba(74, 222, 128, 0.4); 
}
.pay-badge-denied { 
    background:rgba(254, 242, 242, 0.3); 
    color:#f87171; 
    border:1px solid rgba(248, 113, 113, 0.4); 
}
.pay-badge-pending { 
    background:rgba(255, 247, 237, 0.3); 
    color:#fbbf24; 
    border:1px solid rgba(251, 191, 36, 0.4); 
}

@media (max-width: 1024px) {
    .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-recent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 769px) {
    .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-quick-actions { grid-template-columns: repeat(3, 1fr); }
    .dash-quick-btn { padding: 12px 8px; font-size:.72rem; }
    .dash-stat-number { font-size: 1.3rem; }
    
    /* Mobile table adjustments */
    .dash-recent-table { font-size: 0.7rem; }
    .dash-recent-table th, .dash-recent-table td { padding: 6px 8px; }
    .dash-recent-table th { font-size: 0.65rem; }
    .data-table { padding: 10px; overflow-x: auto; }
    .data-table h3 { font-size: 0.9rem; margin-bottom: 10px; }
    table { font-size: 0.7rem; }
    table th, table td { padding: 6px 8px; }
    
    /* Table horizontal scroll wrapper */
    .data-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table table {
        min-width: 100%;
        width: max-content;
    }
    
    .dash-recent-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dash-recent-table table {
        min-width: 100%;
        width: max-content;
    }
    
    /* Custom scrollbar for tables */
    .data-table::-webkit-scrollbar,
    .dash-recent-table::-webkit-scrollbar {
        height: 6px;
    }
    
    .data-table::-webkit-scrollbar-track,
    .dash-recent-table::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .data-table::-webkit-scrollbar-thumb,
    .dash-recent-table::-webkit-scrollbar-thumb {
        background: rgba(102, 126, 234, 0.5);
        border-radius: 3px;
    }
    
    .data-table::-webkit-scrollbar-thumb:hover,
    .dash-recent-table::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 126, 234, 0.7);
    }
}

.data-table {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.data-table h3 {
    margin-bottom: 20px;
    color: #fff;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    text-align: left;
    padding: 12px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

tr:hover td {
    background: rgba(102, 126, 234, 0.15);
}

tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.05);
}

.action-btn {
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}

.edit-btn {
    background: #2563eb;
    color: white;
}

.delete-btn {
    background: #dc2626;
    color: white;
}

.reorder-btn {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
    width: 32px;
    padding: 5px 8px;
}

.reorder-btn:hover {
    background: #e5e7eb;
}

.reorder-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f3f4f6;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.modal-content h3 {
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Modal content inputs - override inline styles */
.modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.modal-content textarea,
.modal-content select {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    color: #fff !important;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.modal-content select option {
    background: #1e293b !important;
    color: #fff !important;
}

.modal-content label {
    color: #fff !important;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    height: 48px;
    box-sizing: border-box;
    font-size: 0.95rem;
    font-family: inherit;
    color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select option {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.form-group select option {
    background: #1e293b;
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea { height: auto; min-height: 100px; resize: vertical; }

.ai-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    transition: opacity 0.2s, transform 0.2s;
}
.ai-write-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.ai-write-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.ai-write-btn i { font-size: 0.7rem; }

.logout-btn {
    background: #dc2626;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* ===== Qualification & Marks Table ===== */
.qual-sub-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2563eb;
    border-left: 4px solid #2563eb;
    padding: 6px 14px;
    margin-bottom: 16px;
    background: #f0f7ff;
    border-radius: 0 8px 8px 0;
}

.marks-table-wrap {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.marks-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marks-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.marks-table thead th {
    background: rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(102, 126, 234, 0.5);
}

.marks-table tbody tr:nth-child(even) { 
    background: rgba(255, 255, 255, 0.05); 
}
.marks-table tbody tr:hover { 
    background: rgba(102, 126, 234, 0.15); 
}

.marks-table tbody td,
.marks-table tfoot td { 
    padding: 8px 12px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    color: #fff;
}

.marks-total-row  { 
    background: rgba(102, 126, 234, 0.2) !important; 
    font-size: 0.9rem; 
    color: #fff;
}
.marks-result-row { 
    background: rgba(118, 75, 162, 0.3) !important; 
    color: #fff;
}

.marks-input {
    width: 90px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.88rem;
    text-align: center;
    color: #fff;
}

.marks-subject-input {
    width: 100%;
    min-width: 140px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.88rem;
    color: #fff;
}

.marks-input:focus, .marks-subject-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.marks-input::placeholder,
.marks-subject-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.row-pct { font-size: 0.82rem; color: #fff; font-weight: 600; }

.remove-row-btn {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}
.remove-row-btn:hover { background: #fee2e2; }

/* Percentage display in tfoot */
.pct-display { font-size: 1rem; font-weight: 700; }
.pct-display.div-first  { color: #16a34a; }
.pct-display.div-second { color: #0284c7; }
.pct-display.div-third  { color: #d97706; }
.pct-display.div-fail   { color: #dc2626; }

.div-badge { font-size: 0.82rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: #f1f5f9; }
.div-badge.div-first  { background: #dcfce7; color: #16a34a; }
.div-badge.div-second { background: #dbeafe; color: #0284c7; }
.div-badge.div-third  { background: #fef3c7; color: #d97706; }
.div-badge.div-fail   { background: #fee2e2; color: #dc2626; }

.marks-type-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.seats-badge { display:inline-block; padding:3px 12px; border-radius:20px; font-size:.8rem; font-weight:700; }
.seats-ok   { background:#dcfce7; color:#16a34a; }
.seats-low  { background:#fef3c7; color:#d97706; }
.seats-full { background:#fee2e2; color:#dc2626; }

.eligibility-msg {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: #1e40af;
    margin-top: 12px;
}

/* ===== Notice Ticker ===== */
.notice-ticker-bar {
    display: flex;
    align-items: center;
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    height: 42px;
    overflow: hidden;
    position: relative;
    z-index: 90;
}

.notice-ticker-label {
    background: rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fff;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.notice-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.notice-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
}

.notice-ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 0.88rem;
    padding: 0 22px;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

a.ticker-item:hover { color: #fde68a; text-decoration: underline; }

.ticker-date { font-size: 0.78rem; opacity: 0.7; }

.ticker-sep {
    color: #f59e0b;
    font-size: 0.5rem;
    padding: 0 4px;
    opacity: 0.8;
}

/* ===== Notice Board Section ===== */
.notice-section { padding: 60px 0; background: transparent; }

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.notice-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.notice-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #2563eb;
    border-radius: 16px 0 0 16px;
}

.notice-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all .3s ease;
}

.notice-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.notice-card:hover::after {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}

.notice-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #667eea;
    min-width: 36px;
    text-align: center;
}

.notice-body { flex: 1; }
.notice-title { font-size: 1rem; font-weight: 600; color: #fff; }
.notice-date  { font-size: 0.82rem; color: #fff; margin-top: 4px; }
.notice-date i { margin-right: 5px; color: #2563eb; }

.notice-download {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.notice-download:hover { background: #2563eb; color: #fff; }

/* Notice Controls: search + filter */
.notice-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.notice-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 16px;
    flex: 1;
    min-width: 200px;
    max-width: 340px;
}

.notice-search-wrap i { color: #94a3b8; }
.notice-search-wrap input { border: none; outline: none; width: 100%; font-size: 0.9rem; background: transparent; }

.notice-filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.notice-filter-btn {
    padding: 7px 16px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}

.notice-filter-btn:hover { border-color: #2563eb; background: rgba(37, 99, 235, 0.4); color: #fff; }
.notice-filter-btn.active { background: #2563eb; border-color: #2563eb; color: #fff; }

/* Pinned notice card */
.notice-card.notice-pinned { border-left-color: #f59e0b; background: rgba(245, 158, 11, 0.2); }
.notice-card.notice-important { border-left-color: #dc2626; background: rgba(220, 38, 38, 0.2); }

/* Notice title row */
.notice-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.notice-meta-row  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.notice-pin-icon { color: #f59e0b; font-size: 0.85rem; transform: rotate(45deg); }

/* Badges */
.notice-imp-badge {
    background: #dc2626; color: #fff;
    font-size: 0.68rem; font-weight: 700;
    padding: 2px 8px; border-radius: 4px; letter-spacing: 0.5px;
}

.notice-new-badge {
    background: #16a34a; color: #fff;
    font-size: 0.68rem; font-weight: 700;
    padding: 2px 8px; border-radius: 4px;
    animation: pulseBadge 1.5s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

/* Category pill (homepage) */
.notice-cat-pill {
    display: inline-block;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
}

/* Category badge (admin table) */
.notice-cat-badge {
    display: inline-block;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

/* Important badge (admin table) */
.notice-badge-imp {
    background: #dc2626; color: #fff;
    font-size: 0.68rem; font-weight: 700;
    padding: 1px 7px; border-radius: 4px;
    vertical-align: middle; margin-right: 4px;
}

/* Notice admin file link */
.notice-file-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}

.notice-file-link:hover { text-decoration: underline; }
.notice-file-link i { margin-right: 5px; color: #dc2626; }

/* ===== Student Management ===== */
.page-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.page-toolbar select {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
}

.page-toolbar select:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.page-toolbar select option {
    background: #1e293b;
    color: #fff;
}

.students-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.stat-mini span { font-size: 1.2rem; font-weight: 700; display: block; color: #fff; }
.stat-mini.s-active { background: rgba(220, 252, 231, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(22, 163, 74, 0.3); color: #fff; }
.stat-mini.s-active span { color: #fff; }
.stat-mini.s-pending { background: rgba(254, 243, 199, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(146, 64, 14, 0.3); color: #fff; }
.stat-mini.s-pending span { color: #fff; }

.fee-paid { color: #16a34a; font-weight: 600; }
.fee-due  { color: #d97706; font-weight: 600; }

.badge-active   { background: #dcfce7; color: #16a34a; padding: 3px 10px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.badge-inactive { background: #fee2e2; color: #dc2626; padding: 3px 10px; border-radius: 20px; font-size: .8rem; font-weight: 600; }

/* Admission Form */
.form-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.form-page-header h3 { margin: 0; font-size: 1.3rem; color: #fff; }

.form-section-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.form-section-title i { margin-right: 10px; font-size: 1.1rem; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.span-2 { grid-column: span 2; }

@media (max-width: 769px) {
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
}

/* Document Upload Areas */
.doc-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    color: #fff;
}

.doc-upload-area:hover { border-color: #2563eb; background: #f0f7ff; }
.doc-placeholder { font-size: 0.85rem; margin-top: 8px; color: #94a3b8; }
.doc-upload-area.multi { min-height: 130px; }

/* Payment radio cards */
.payment-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    flex: 1;
    min-width: 140px;
    transition: all 0.2s;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.radio-card:hover { border-color: rgba(102, 126, 234, 0.5); background: rgba(102, 126, 234, 0.15); }
.radio-card.selected { border-color: rgba(102, 126, 234, 0.6); background: rgba(102, 126, 234, 0.25); color: #fff; font-weight: 600; }
.radio-card small { display: block; font-size: .78rem; opacity: .8; }

/* Fee display inputs */
.fee-display {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.fee-display.blue  { background: rgba(59, 130, 246, 0.2) !important; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-color: rgba(59, 130, 246, 0.4) !important; color: #fff !important; }
.fee-display.orange { background: rgba(251, 191, 36, 0.2) !important; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-color: rgba(251, 191, 36, 0.4) !important; color: #fff !important; }

/* Checkbox label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #fff;
}

.checkbox-label input { width: 16px; height: 16px; cursor: pointer; }

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.btn-large { padding: 14px 28px !important; font-size: 1rem !important; }

/* Student Profile Modal */
.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #fff;
    line-height: 1;
}

.modal-close-btn:hover { color: #dc2626; }
.modal.modal-wide .modal-content { position: relative; }

.profile-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.profile-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.profile-meta { flex: 1; }
.profile-meta h2 { margin: 0 0 8px; font-size: 1.25rem; }
.profile-meta p  { margin: 4px 0; font-size: .9rem; color: #fff; }
.profile-meta i  { color: #2563eb; margin-right: 6px; }

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.profile-actions .btn { font-size: .85rem; padding: 8px 14px; }

.profile-fees {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.fee-box {
    flex: 1;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
}

.fee-box.paid { background: rgba(240, 253, 244, 0.3); border-color: rgba(187, 247, 208, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fee-box.due  { background: rgba(255, 251, 235, 0.3); border-color: rgba(254, 215, 170, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fee-box-label { font-size: .8rem; color: #fff; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.fee-box-amt   { font-size: 1.35rem; font-weight: 700; }

/* ===== Carousel (Public) ===== */
.carousel-wrapper {
    width: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
    display: block;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    margin: 0;
    padding: 0;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.carousel-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 30px 40px 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: background 0.2s;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 14px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: scale(1.3);
}

@media (max-width: 769px) {
    .carousel-slide img { height: 220px; }
    .carousel-caption { font-size: 1rem; padding: 20px 20px 14px; }
}

/* ===== Carousel Admin Grid ===== */
.carousel-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.carousel-admin-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-admin-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.carousel-admin-info {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.carousel-admin-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 400px;
}

.toast-notification i {
    margin-right: 8px;
}

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

.toast-success {
    background: #059669;
}

.toast-error {
    background: #dc2626;
}

.toast-warning {
    background: #f59e0b;
}

/* Study Materials - Student Portal */
.material-item {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    gap: 16px;
}

.material-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

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

.material-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.material-meta {
    font-size: 13px;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.material-tag {
    background: #e2e8f0;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.material-tag.difficulty-beginner {
    background: #dcfce7;
    color: #16a34a;
}

.material-tag.difficulty-intermediate {
    background: #fef3c7;
    color: #d97706;
}

.material-tag.difficulty-advanced {
    background: #fee2e2;
    color: #dc2626;
}

.material-author {
    font-size: 13px;
    color: #fff;
    margin-bottom: 6px;
}

.material-author i {
    margin-right: 4px;
}

.material-desc {
    font-size: 13px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.5;
}

.material-tags {
    font-size: 12px;
    color: #2563eb;
    margin-bottom: 8px;
}

.material-tags span {
    margin-right: 8px;
}

.material-stats {
    font-size: 12px;
    color: #fff;
    display: flex;
    gap: 12px;
}

.material-stats i {
    margin-right: 4px;
}

.material-download {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
}

.material-download:hover {
    background: #1d4ed8;
}

.material-download + .material-download {
    margin-left: 8px;
    background: #64748b;
}

.material-download + .material-download:hover {
    background: #475569;
}

/* Announcement Badges */
.announcement-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.announcement-badge.category-general {
    background: #e2e8f0;
    color: #fff;
}

.announcement-badge.category-exam {
    background: #fef3c7;
    color: #d97706;
}

.announcement-badge.category-holiday {
    background: #dcfce7;
    color: #16a34a;
}

.announcement-badge.category-event {
    background: #dbeafe;
    color: #2563eb;
}

.announcement-badge.category-result {
    background: #fee2e2;
    color: #dc2626;
}

.announcement-badge.priority-normal {
    background: #f1f5f9;
    color: #fff;
}

.announcement-badge.priority-important {
    background: #fef3c7;
    color: #d97706;
}

.announcement-badge.priority-urgent {
    background: #fee2e2;
    color: #dc2626;
}

/* Announcement Ticker */
.announcement-ticker {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    align-items: center;
    animation: tickerScroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-content span {
    margin: 0 30px;
    font-size: 14px;
    font-weight: 500;
}

.ticker-content .ticker-item {
    display: inline-flex;
    align-items: center;
    margin: 0 30px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 13px;
}

.ticker-content .ticker-item.priority-urgent {
    background: rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.ticker-content .ticker-item.priority-important {
    background: rgba(234, 179, 8, 0.3);
    border: 1px solid rgba(234, 179, 8, 0.5);
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Mobile Responsive Styles */
@media (max-width: 769px) {
    /* Sidebar */
    .sidebar {
        width: 100%;
        position: fixed;
        left: -100%;
        top: 0;
        height: 100%;
        z-index: 1000;
        transition: left 0.3s;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    /* Admin Dashboard */
    .admin-dashboard {
        flex-direction: column;
    }
    
    .main-content {
        padding: 15px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Data Tables */
    .data-table {
        overflow-x: auto;
    }
    
    table {
        min-width: 600px;
    }
    
    /* Modals */
    .modal {
        width: 95%;
        max-width: none;
        margin: 10px auto;
    }
    
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    /* Page Headers */
    .form-page-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-page-header button {
        width: 100%;
    }
    
    /* Page Toolbar */
    .page-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-toolbar select,
    .page-toolbar button {
        width: 100%;
    }
    
    /* Course Cards */
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Content */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    /* Contact Content */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Footer Content */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Login Box */
    .login-box {
        padding: 30px 20px;
        margin: 20px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 15px 60px;
    }
    
    .hero h1 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        white-space: normal;
        line-height: 1.4;
    }
    
    /* Course Detail Modal */
    .course-detail-box {
        max-height: 90vh;
        margin: 10px;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
        background: #1f2937;
        color: white;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .stat-card {
        padding: 20px;
    }
    
    .stat-card .number {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* Tables */
    table {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 8px;
    }
    
    /* Modal */
    .modal-content {
        padding: 15px;
    }
}

/* ===== Mobile Responsive Styles ===== */

@media (max-width: 769px) {
    /* Navigation */
    .navbar {
        padding: 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        gap: 5px;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        margin: 0;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .nav-menu a:hover {
        background: rgba(102, 126, 234, 0.2);
    }
    
    .nav-cta {
        margin-top: 10px;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1000;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
        transition: all 0.3s ease;
    }
    
    /* Hero Section */
    .hero-overlay h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-overlay p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-overlay .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    /* Courses Section */
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .course-card {
        padding: 12px;
    }
    
    .course-card-header {
        padding: 10px;
        gap: 8px;
    }
    
    .course-card-header .course-emoji {
        font-size: 1.2rem;
    }
    
    .course-card-header h3 {
        font-size: 0.85rem;
    }
    
    .course-card-body {
        padding: 10px;
    }
    
    /* Hide unnecessary elements on mobile */
    .course-meta,
    .course-preview,
    .price,
    .btn-enroll {
        display: none !important;
    }
    
    .course-card-actions {
        margin-top: 8px;
        justify-content: center;
    }
    
    .btn-view {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .blog-card {
        padding: 18px;
    }
    
    .blog-title {
        font-size: 16px;
    }
    
    /* Testimonials Section - Mobile */
    .testimonials-section {
        padding: 20px 15px;
        min-height: auto;
        overflow: visible;
    }
    
    .testimonials-carousel {
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 0;
        position: relative;
        overflow: visible;
    }
    
    .testimonials-wrapper {
        width: 100%;
        max-width: 100%;
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .testimonials-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .testimonial-card {
        display: none;
    }
    
    /* Student Name Item */
    .student-name-item {
        flex: 0 0 auto;
        scroll-snap-align: center;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 170px;
    }
    
    .student-avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .student-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .student-name {
        font-size: 0.8rem;
        color: #fff;
        font-weight: 500;
    }
    
    .student-rating {
        font-size: 0.65rem;
        color: #ffd700;
    }
    
    .student-rating .star {
        margin-right: 2px;
    }
    
    .student-rating .star.empty {
        color: rgba(255, 255, 255, 0.3);
    }
    
    .student-name-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    .student-name-item.active {
        background: rgba(102, 126, 234, 0.3);
        border-color: rgba(102, 126, 234, 0.5);
    }
    
    .testimonial-header {
        width: 100%;
        max-width: 100%;
    }
    
    .testimonial-name {
        font-size: 0.95rem;
    }
    
    .testimonial-position {
        font-size: 0.75rem;
    }
    
    .testimonial-comment {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 10px 0;
        flex-grow: 0;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .testimonial-avatar {
        width: 45px;
        height: 45px;
    }
    
    .read-more-btn {
        background: none;
        border: none;
        color: #667eea;
        font-size: 0.75rem;
        cursor: pointer;
        padding: 4px 10px;
        margin-top: 5px;
        max-width: fit-content;
    }
    
    .read-more-btn:hover {
        color: #8b5cf6;
        text-decoration: underline;
    }
    
    .testimonial-rating {
        font-size: 0.85rem;
    }
    
    .testimonial-date {
        font-size: 0.75rem;
        margin-top: 8px;
        max-width: fit-content;
        align-self: flex-start;
    }
    
    /* Contact Section */
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 14px;
        min-height: 44px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Footer */
    footer {
        padding: 30px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Navigation */
    .navbar {
        padding: 8px 12px;
    }

    .navbar .container {
        padding: 3px 0;
    }

    .nav-brand a {
        font-size: 1rem;
    }

    .logo img {
        height: 30px;
    }

    .nav-menu {
        padding: 12px;
        max-height: 85vh;
    }

    .nav-menu a {
        padding: 12px 15px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .nav-cta {
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
    }

    .hamburger {
        padding: 8px;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }


    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
.admit-card-preview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid #1e3a8a;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 800px;
    width: 100%;
    position: relative;
}

.admit-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23f1f5f9" width="100" height="100"/><circle fill="%23e2e8f0" cx="25" cy="25" r="2"/><circle fill="%23e2e8f0" cx="75" cy="75" r="2"/><circle fill="%23e2e8f0" cx="75" cy="25" r="2"/><circle fill="%23e2e8f0" cx="25" cy="75" r="2"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.admit-card-preview > * {
    position: relative;
    z-index: 1;
}

.admit-card-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.admit-card-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid #1e3a8a;
}

.admit-card-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border: 2px solid #1e3a8a;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admit-card-title h3 {
    color: white;
    font-size: 22px;
    margin: 0 0 6px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admit-card-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.admit-card-body {
    padding: 30px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: #fff;
}

.admit-card-photo-section {
    text-align: center;
    min-width: 200px;
    flex-shrink: 0;
}

.admit-card-photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border: 3px solid #1e3a8a;
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admit-card-student-info {
    margin-top: 16px;
}

.admit-card-student-info h4 {
    font-size: 18px;
    color: #1e293b;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.admit-card-student-info p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.admit-card-exam-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 769px) {
    .admit-card-body {
        flex-direction: column;
        gap: 24px;
    }
    
    .admit-card-photo-section {
        min-width: auto;
        width: 100%;
    }
    
    .admit-card-exam-info {
        grid-template-columns: 1fr;
    }
    
    .admit-card-preview {
        max-width: 100%;
        border-radius: 12px;
    }
}

.admit-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #1e3a8a;
}

.admit-card-row span {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.admit-card-row strong {
    font-size: 15px;
    color: #1e293b;
    font-weight: 700;
}

.admit-card-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
}

.admit-card-footer .btn {
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.admit-card-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===== 3D Icon Effects ===== */
.icon-3d {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transform: perspective(500px) rotateX(10deg) rotateY(-10deg);
    transition: all 0.3s ease;
    display: inline-block;
}

.icon-3d:hover {
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale(1.1);
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.4));
}

/* ===== Enhanced Card Effects ===== */
.blog-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
}

/* ===== Modern Gradients ===== */
.gradient-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.gradient-neon {
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
}

.gradient-sunset {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-ocean {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary {
    background: rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(118, 75, 162, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(118, 75, 162, 0.5);
}

/* ===== Glassmorphism Effect ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dash-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== 3D Button Effects ===== */
.btn-3d {
    position: relative;
    transform: translateY(0);
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 #1d4ed8, 0 10px 10px rgba(0,0,0,0.2);
}

.btn-3d:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #1d4ed8, 0 0 0 rgba(0,0,0,0.2);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 50px 20px;
    background: #0f0f23;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
    display: none;
}

.testimonials-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 20px auto 0;
    border-radius: 2px;
}

.testimonials-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    height: 450px;
    perspective: 1500px;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    align-items: center;
    height: 100%;
    padding: 20px 0;
}

.testimonial-card {
    min-width: 280px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.75) translateX(0) translateZ(-100px);
    opacity: 0.4;
    margin: 0 15px;
    height: 380px;
    overflow-y: auto;
    position: relative;
    flex-shrink: 0;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 60px;
    color: rgba(102, 126, 234, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card.active {
    min-width: 650px;
    max-width: 650px;
    transform: scale(1) translateX(0) translateZ(0);
    opacity: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
    z-index: 10;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
}

.testimonial-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.testimonial-rating .star {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-rating .star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.testimonial-comment {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 15px 0;
    font-style: italic;
}

.testimonial-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ===== Floating Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.icon-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 40px rgba(102, 126, 234, 0.4); }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* ===== Enhanced Colored Shadows ===== */
.shadow-blue {
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.shadow-purple {
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.shadow-green {
    box-shadow: 0 10px 40px rgba(22, 163, 74, 0.3);
}

.shadow-red {
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
}

.shadow-layered {
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.05),
        0 2px 2px rgba(0,0,0,0.05),
        0 4px 4px rgba(0,0,0,0.05),
        0 8px 8px rgba(0,0,0,0.05),
        0 16px 16px rgba(0,0,0,0.05);
}

/* ===== Dark Mode Support ===== */

/* ===== 3D Card Tilt Effect ===== */
.card-tilt {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.card-tilt:hover {
    transition: transform 0.3s ease-out;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
        color: #e2e8f0;
    }
    
    .navbar {
        background: #1e293b;
        border-bottom: 1px solid #334155;
    }
    
    .nav-menu a {
        color: #e2e8f0;
    }
    
    .nav-menu a:hover {
        color: #667eea;
        background: #334155;
    }
    
    .blog-card {
        background: #1e293b;
        border-color: #fff;
        color: #e2e8f0;
    }
    
    .blog-title {
        color: #f1f5f9;
    }
    
    .blog-content {
        color: #cbd5e1;
    }
    
    .course-card {
        background: #1e293b;
        border-color: #fff;
    }
}

/* Testimonial Modal */
.testimonial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.testimonial-modal-content {
    background: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.testimonial-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.testimonial-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(102, 126, 234, 0.5);
}

.testimonial-modal-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.testimonial-modal-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 0 0;
}

.testimonial-modal-rating {
    margin-top: 8px;
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-modal-comment {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    white-space: pre-wrap;
}

.testimonial-modal-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
}

@media (max-width: 769px) {
    .testimonial-modal-content {
        padding: 20px;
        max-width: 100%;
    }
    
    .testimonial-modal-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-modal-name {
        font-size: 1rem;
    }
    
    .testimonial-modal-comment {
        font-size: 0.9rem;
    }
}
