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

:root {
    --primary-50: #fef7ed;
    --primary-100: #fdedd3;
    --primary-200: #fbd9a5;
    --primary-300: #f8c06d;
    --primary-400: #f59e0b;
    --primary-500: #d97706;
    --primary-600: #c2410c;
    --primary-700: #9a3412;
    --primary-800: #7c2d12;
    --primary-900: #451a03;
    
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --bg-primary: #ffffff;
    --bg-secondary: var(--gray-50);
    --border-color: var(--gray-200);
}

[data-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: var(--gray-300);
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --border-color: var(--gray-700);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--gray-100);
    color: var(--primary-600);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--gray-800);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 50%, var(--emerald-50) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--gray-900) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-100);
    color: var(--primary-800);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

[data-theme="dark"] .hero-badge {
    background: rgba(217, 119, 6, 0.2);
    color: var(--primary-200);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: rgb(0, 81, 255);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.subtitle {
    font-size: 1rem;
    color: var(--gray-500);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald-600);
    border: 2px solid var(--emerald-600);
}

.btn-secondary:hover {
    background: var(--emerald-600);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-badge-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

[data-theme="dark"] .hero-badge-float {
    background: var(--gray-800);
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-500), var(--emerald-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-title {
    font-weight: 700;
    color: var(--text-primary);
}

.badge-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.float-1 {
    width: 80px;
    height: 80px;
    background: var(--primary-200);
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    width: 60px;
    height: 60px;
    background: var(--emerald-200);
    bottom: 15%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-50), var(--emerald-50));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .stat-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card:nth-child(1) .stat-icon { color: var(--primary-600); }
.stat-card:nth-child(2) .stat-icon { color: var(--emerald-600); }
.stat-card:nth-child(3) .stat-icon { color: var(--primary-700); }
.stat-card:nth-child(4) .stat-icon { color: var(--emerald-700); }

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    opacity: 1 !important;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-50), var(--emerald-50));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

[data-theme="dark"] .loading {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 180px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.spinner-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top: 3px solid var(--primary-600);
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    border-right: 3px solid var(--emerald-600);
    animation-delay: -0.5s;
    width: 50px;
    height: 50px;
    top: 5px;
    left: 5px;
}

.spinner-ring:nth-child(3) {
    border-bottom: 3px solid var(--primary-700);
    animation-delay: -1s;
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    animation: textPulse 2s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.loading-dot {
    width: 4px;
    height: 4px;
    background: var(--primary-600);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

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

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

@keyframes slideInLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInScale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Animation Classes */
.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.8s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

/* Stagger Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Enhanced Admission Form Styles */
.admission-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.admission-form-card {
    background: linear-gradient(135deg, var(--bg-primary), var(--primary-50));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-200);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .admission-form-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    border-color: var(--primary-600);
}

.admission-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600), var(--emerald-600));
}

.admission-form-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    justify-content: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-200);
}

.form-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid var(--primary-100);
}

[data-theme="dark"] .form-section {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--gray-600);
}

.form-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-200);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-50);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--primary-200);
}

[data-theme="dark"] .checkbox-group {
    background: rgba(194, 65, 12, 0.1);
    border-color: var(--primary-600);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary-600);
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-50), var(--emerald-50));
    border-radius: 15px;
    border: 2px solid var(--primary-200);
}

[data-theme="dark"] .form-submit {
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(16, 185, 129, 0.1));
    border-color: var(--primary-600);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 250px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.3);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.4);
}

.admission-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.admission-info-sidebar .dashboard-card {
    background: linear-gradient(135deg, var(--bg-primary), var(--emerald-50));
    border: 2px solid var(--emerald-200);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .admission-info-sidebar .dashboard-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    border-color: var(--emerald-600);
}

.admission-header-content h1 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-600), var(--emerald-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    text-align: center;
}

.admission-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    color: var(--emerald-800);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 2px solid var(--emerald-300);
}

[data-theme="dark"] .admission-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.3));
    color: var(--emerald-400);
    border-color: var(--emerald-600);
}

.nav-apply-btn {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 1rem;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3) !important;
    transition: all 0.3s ease !important;
}

.nav-apply-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(194, 65, 12, 0.4) !important;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faculty-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-logo img {
        height: 35px;
    }

    /* Admission Form Mobile */
    .admission-form-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .admission-info-sidebar {
        position: static;
        order: -1;
        gap: 1.5rem;
    }
    
    .admission-form-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .admission-form-card h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .form-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .checkbox-group {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .form-submit {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .admission-header-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .admission-header-content p {
        font-size: 1rem;
    }
    
    .admission-badge {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        min-width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
    }
    
    .admission-info-sidebar .dashboard-card {
        padding: 1.5rem;
    }
    
    .admission-info-sidebar .dashboard-card h3 {
        font-size: 1.1rem;
    }
    
    .info-item,
    .fee-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-item span {
        word-break: break-word;
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .hero-badge-float {
        position: static;
        margin-top: 1rem;
        padding: 15px;
    }

    /* Sections */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Opportunities */
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .opportunity-card {
        padding: 1.5rem;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About */
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .history-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Academics */
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .admission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Faculty */
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .department-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Dashboard */
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .student-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-image {
        width: 60px;
        height: 60px;
    }

    .profile-info h1 {
        font-size: 1.5rem;
    }
    
    .profile-info p {
        font-size: 0.9rem;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .dashboard-stats .stat-card {
        padding: 1rem;
    }
    
    .dashboard-stats .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .dashboard-stats .stat-number {
        font-size: 1.25rem;
    }
    
    .dashboard-stats .stat-label {
        font-size: 0.8rem;
    }

    .timetable-container {
        max-height: 400px;
        overflow-y: auto;
    }
    
    .timetable {
        font-size: 0.75rem;
    }
    
    .timetable th,
    .timetable td {
        padding: 6px;
    }

    .courses-grid {
        gap: 0.75rem;
    }
    
    .course-card {
        padding: 1rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .courses-summary {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .assignment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .status {
        align-self: flex-end;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }

    /* Admission Form Mobile */
    .admission-form-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .form-section {
        padding: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
    }
    
    .admission-header-content h1 {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .admission-info-sidebar .dashboard-card {
        padding: 1rem;
    }
    
    .nav-apply-btn {
        display: none !important;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-image img {
        height: 250px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }

    /* Cards */
    .opportunity-card,
    .feature-card,
    .mvv-card,
    .department-card,
    .faculty-card,
    .contact-card,
    .quick-contact-card {
        padding: 1.25rem;
    }

    /* Department Faculty */
    .department-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Buttons */
    .cta-buttons,
    .join-faculty-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Dashboard */
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dashboard-card {
        padding: 1rem;
    }
    
    .dashboard-card h3 {
        font-size: 1rem;
    }
    
    .timetable {
        font-size: 0.7rem;
        min-width: 500px;
    }
    
    .course-code {
        font-size: 0.75rem;
    }
    
    .faculty-name {
        font-size: 0.7rem;
    }

    /* Contact Form */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-form-card h2 {
        font-size: 1.5rem;
    }

    /* Spacing */
    .stats-section,
    .news-section,
    .opportunities-section,
    .events-section,
    .about-section,
    .academics-section,
    .faculty-section,
    .contact-section,
    .dashboard-content {
        padding: 60px 0;
    }
    
    .dashboard-header {
        padding: 80px 0 30px;
    }
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 0.5rem;
}

.news-icon {
    font-size: 1.2rem;
}

.news-card:nth-child(1) .news-icon { color: var(--emerald-500); }
.news-card:nth-child(2) .news-icon { color: #dc2626; }
.news-card:nth-child(3) .news-icon { color: #f59e0b; }

.news-type {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.news-date {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.news-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 1.5rem 1rem;
}

.news-card p {
    color: var(--text-secondary);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.news-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.verified-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.mvv-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 15px;
    background: var(--bg-secondary);
    transition: transform 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-10px);
}

.mvv-icon {
    font-size: 4rem;
    color: var(--primary-600);
    margin-bottom: 1.5rem;
}

.mvv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mvv-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.history-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.timeline {
    space-y: 2rem;
}

.timeline-item {
    border-left: 4px solid var(--primary-600);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.history-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Academics Section */
.academics-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.department-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.department-card:hover {
    transform: translateY(-10px);
}

.department-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.department-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.department-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.department-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.program-tag {
    background: var(--primary-100);
    color: var(--primary-800);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

[data-theme="dark"] .program-tag {
    background: rgba(217, 119, 6, 0.2);
    color: var(--primary-200);
}

/* Faculty Section */
.faculty-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faculty-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
}

.faculty-image {
    height: 250px;
    overflow: hidden;
}

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

.faculty-info {
    padding: 1.5rem;
}

.faculty-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faculty-position {
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.faculty-department {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .team-card {
    background: #1e293b;
    border-color: #334155;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

[data-theme="dark"] .team-card:hover {
    border-color: #475569;
}

.team-image {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.team-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-image img {
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.team-leader-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.team-leader-badge i {
    font-size: 0.6rem;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .team-info h3 {
    color: #f8fafc;
}

.team-roll {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .team-roll {
    background: #334155;
    color: #94a3b8;
    border-color: #475569;
}

.team-contribution {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid #3b82f6;
    font-weight: 500;
    position: relative;
}

[data-theme="dark"] .team-contribution {
    background: #334155;
    color: #cbd5e1;
    border-left-color: #3b82f6;
}



@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.faculty-research {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.research-tag {
    background: var(--emerald-100);
    color: var(--emerald-800);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

[data-theme="dark"] .research-tag {
    background: rgba(16, 185, 129, 0.2);
    color: var(--emerald-200);
}

.faculty-education {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Dashboard Section */
.dashboard-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-card .profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.gpa {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gpa span {
    color: var(--emerald-600);
    font-size: 1.1rem;
}

.dashboard-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.courses-list, .assignments-list {
    space-y: 1rem;
}

.course-item, .assignment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.course-code {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.course-name {
    flex: 1;
    margin-left: 1rem;
    color: var(--text-secondary);
}

.course-grade {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.grade-a { background: var(--emerald-100); color: var(--emerald-800); }
.grade-a-minus { background: var(--emerald-100); color: var(--emerald-700); }
.grade-b-plus { background: var(--primary-100); color: var(--primary-800); }

[data-theme="dark"] .grade-a { background: rgba(16, 185, 129, 0.2); color: var(--emerald-200); }
[data-theme="dark"] .grade-a-minus { background: rgba(16, 185, 129, 0.2); color: var(--emerald-300); }
[data-theme="dark"] .grade-b-plus { background: rgba(217, 119, 6, 0.2); color: var(--primary-200); }

.assignment-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.assignment-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.status-pending { background: var(--primary-100); color: var(--primary-800); }
.status-submitted { background: var(--emerald-100); color: var(--emerald-800); }
.status-overdue { background: #fecaca; color: #dc2626; }

[data-theme="dark"] .status-pending { background: rgba(217, 119, 6, 0.2); color: var(--primary-200); }
[data-theme="dark"] .status-submitted { background: rgba(16, 185, 129, 0.2); color: var(--emerald-200); }
[data-theme="dark"] .status-overdue { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-600);
}

.contact-info {
    space-y: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 15px;
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary-600);
    margin-top: 0.25rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1rem;
}

[data-theme="dark"] .footer {
    background: #000000;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-400);
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--primary-400);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact-item i {
    color: var(--primary-400);
    margin-top: 0.25rem;
}

.contact-item span {
    color: #d1d5db;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease forwards;
}

[data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease forwards;
}

[data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease forwards;
}

[data-aos-delay="100"] { animation-delay: 0.1s; }
[data-aos-delay="200"] { animation-delay: 0.2s; }
[data-aos-delay="300"] { animation-delay: 0.3s; }

/* New Page Styles */

/* Opportunities Section */
.opportunities-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.opportunity-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-100), var(--emerald-100));
    color: var(--primary-800);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

[data-theme="dark"] .opportunity-badge {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(16, 185, 129, 0.2));
    color: var(--primary-200);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.opportunity-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.opportunity-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.opportunity-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.opportunity-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.opportunity-highlight {
    background: linear-gradient(135deg, var(--primary-500), var(--emerald-500));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.cta-section {
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-50), var(--emerald-50));
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

[data-theme="dark"] .cta-card {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(16, 185, 129, 0.1));
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-50), var(--emerald-50));
}

[data-theme="dark"] .events-section {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-600);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.event-card:hover .event-content h3 {
    color: var(--primary-600);
}

.event-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.event-link {
    display: flex;
    align-items: center;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9rem;
}

.event-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.event-card:hover .event-link i {
    transform: translateX(4px);
}

.events-cta {
    text-align: center;
}

/* Department Icons */
.department-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.department-card:hover .department-icon {
    transform: scale(1.1);
}

.department-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Admission Section */
.admission-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.admission-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.requirements-list {
    space-y: 2rem;
}

.requirement-item {
    border-left: 4px solid var(--primary-600);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.requirement-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.requirement-item ul {
    list-style: none;
    padding: 0;
}

.requirement-item li {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.admission-deadlines {
    background: linear-gradient(135deg, var(--primary-50), var(--emerald-50));
    border-radius: 15px;
    padding: 2rem;
}

[data-theme="dark"] .admission-deadlines {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(16, 185, 129, 0.1));
}

.admission-deadlines h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.deadline-list {
    space-y: 1rem;
    margin-bottom: 2rem;
}

.deadline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.semester {
    font-weight: 600;
    color: var(--text-primary);
}

.date {
    color: var(--primary-600);
    font-weight: 600;
}

/* Faculty Featured Grid */
.faculty-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.faculty-featured-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.faculty-featured-card:hover {
    transform: translateY(-10px);
}

.faculty-featured-card .faculty-image {
    height: 200px;
    overflow: hidden;
}

.faculty-featured-card .faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-featured-card .faculty-info {
    padding: 1.5rem;
    flex: 1;
}

.faculty-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.research-card:hover {
    transform: translateY(-10px);
}

.research-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.research-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.research-subtitle {
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 1rem;
}

.research-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Department Stats Grid */
.department-faculty-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.department-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.department-stat-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--primary-50));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-200);
}

[data-theme="dark"] .department-stat-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    border-color: var(--primary-600);
}

.department-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-icon-large {
    font-size: 3rem;
    color: var(--primary-600);
}

.stat-number-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.department-stat-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.stat-details {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-item i {
    color: var(--primary-600);
}

/* Join Faculty Section */
.join-faculty-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-600), var(--emerald-600));
    color: white;
    text-align: center;
}

.join-faculty-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.join-faculty-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-faculty-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.join-faculty-buttons .btn-primary {
    background: white;
    color: var(--primary-600);
}

.join-faculty-buttons .btn-primary:hover {
    background: var(--gray-100);
}

.join-faculty-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.join-faculty-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-600);
}

/* Contact Page Styles */
.contact-cards {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
    display: flex;
    align-items: stretch;
}

.contact-form-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
}

.contact-form-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-600);
}

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

/* Quick Contact Section */
.quick-contact-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-contact-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.quick-contact-card:hover {
    transform: translateY(-10px);
}

.quick-contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.quick-contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.quick-contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.quick-contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quick-contact-details {
    space-y: 0.75rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.contact-detail i {
    color: var(--primary-600);
    width: 16px;
}

/* Dashboard Styles */
.dashboard-header {
    padding: 100px 0 40px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.student-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.student-id {
    text-align: right;
}

.student-id p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.student-id span {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.dashboard-content {
    padding: 1.5rem 0 3rem;
    background: var(--bg-secondary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-sidebar {
    position: sticky;
    top: 90px;
}

.dashboard-stats h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dashboard-stats .stat-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-stats .stat-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.dashboard-stats .stat-icon.blue { background: #3b82f6; }
.dashboard-stats .stat-icon.green { background: #10b981; }
.dashboard-stats .stat-icon.indigo { background: #6366f1; }
.dashboard-stats .stat-icon.yellow { background: #f59e0b; }
.dashboard-stats .stat-icon.purple { background: #8b5cf6; }

.stat-info {
    flex: 1;
}

.dashboard-stats .stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
    line-height: 1;
}

.dashboard-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

.dashboard-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.dashboard-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.dashboard-timetable {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-timetable h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timetable-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.timetable {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.timetable th,
.timetable td {
    border: 1px solid var(--border-color);
    padding: 8px;
    text-align: center;
}

.timetable th {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-primary);
}

.time-slot {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    text-align: left !important;
}

.class-slot {
    background: var(--bg-primary);
}

.course-code {
    font-weight: 600;
    color: var(--primary-600);
    font-size: 0.8rem;
}

.faculty-name {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.empty-slot {
    color: var(--gray-400);
    background: var(--bg-secondary);
}

.break-row {
    background: rgba(249, 115, 22, 0.1);
}

.break-slot {
    font-weight: 600;
    color: #ea580c;
    background: rgba(249, 115, 22, 0.1);
}

.library {
    background: rgba(20, 184, 166, 0.1);
    color: #0f766e;
    font-weight: 600;
}

/* Enhanced Courses Section */
.courses-card {
    background: linear-gradient(135deg, var(--bg-primary), var(--primary-50));
    border: 2px solid var(--primary-200);
}

[data-theme="dark"] .courses-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    border-color: var(--primary-600);
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-200);
}

.semester-badge {
    background: var(--primary-100);
    color: var(--primary-800);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

[data-theme="dark"] .semester-badge {
    background: rgba(194, 65, 12, 0.2);
    color: var(--primary-200);
}

.courses-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-400);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.course-grade-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
}

.course-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.course-details .course-code {
    color: var(--primary-600);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.course-meta i {
    color: var(--primary-600);
    font-size: 0.7rem;
}

.course-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

[data-theme="dark"] .progress-bar {
    background: var(--gray-700);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 80px;
}

.courses-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.summary-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.summary-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.summary-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.assignments-list {
    space-y: 1rem;
}

.assignment-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.assignment-info {
    flex: 1;
}

.assignment-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.assignment-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.attendance-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overall-attendance {
    text-align: center;
}

.attendance-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--emerald-500) 0deg 320deg, var(--gray-200) 320deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.attendance-circle::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 50%;
}

.attendance-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.overall-attendance p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.attendance-details {
    space-y: 0.75rem;
}

.attendance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.attendance-item:last-child {
    border-bottom: none;
}

.attendance-item .course {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.attendance-item .percentage {
    font-size: 0.85rem;
    color: var(--emerald-600);
    font-weight: 600;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.gallery-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    height: 400px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-600);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: scaleIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-400);
    transform: scale(1.2);
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Floating Chat Assistant */
.chat-assistant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-600), var(--emerald-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(194, 65, 12, 0.4);
}

.chat-bubble i {
    color: white;
    font-size: 1.5rem;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--primary-200);
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-600), var(--emerald-600));
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    animation: fadeInUp 0.3s ease;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message .message-content {
    background: var(--primary-100);
    color: var(--primary-800);
    border-bottom-left-radius: 5px;
}

[data-theme="dark"] .bot-message .message-content {
    background: rgba(194, 65, 12, 0.2);
    color: var(--primary-200);
}

.user-message .message-content {
    background: var(--emerald-500);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

#chatInput {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

#chatInput:focus {
    border-color: var(--primary-600);
}

#chatSend {
    width: 40px;
    height: 40px;
    background: var(--primary-600);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#chatSend:hover {
    background: var(--primary-700);
    transform: scale(1.05);
}

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

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

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

@media (max-width: 480px) {
    .chat-window {
        width: 300px;
        height: 400px;
    }
    
    .chat-bubble {
        width: 50px;
        height: 50px;
    }
    
    .chat-bubble i {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-item {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .history-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .team-image img {
        width: 100px;
        height: 100px;
    }
    
    .team-info h3 {
        font-size: 1.1rem;
    }
    
    .team-roll {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .team-contribution {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .admission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faculty-featured-grid {
        grid-template-columns: 1fr;
    }

    .department-faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .team-image img {
        width: 100px;
        height: 100px;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }

    .student-profile {
        flex-direction: column;
        text-align: center;
    }

    .profile-info h1 {
        font-size: 1.5rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .timetable-container {
        max-height: 400px;
        overflow-y: auto;
    }

    .course-item,
    .assignment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .course-grade,
    .status {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .department-faculty-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons,
    .join-faculty-buttons {
        flex-direction: column;
        align-items: center;
    }

    .events-cta {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}