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

html {
    scroll-behavior: smooth;
}

/* New Color Palette - Mobile Optimized */
:root {
    /* Main Brand Colors */
    --primary-blue: #1e40af;      /* Darker, more vibrant blue */
    --primary-dark: #1e293b;      /* Rich dark blue-gray */
    
    /* Interactive States */
    --hover-blue: #1d4ed8;        /* Brighter hover state */
    --active-blue: #2563eb;       /* Active/focus state */
    
    /* Text Colors */
    --text-primary: #0f172a;      /* Almost black for main text */
    --text-secondary: #475569;    /* Medium gray for secondary text */
    --text-light: #64748b;        /* Light gray for subtle text */
    --text-inverse: #ffffff;      /* White text on dark backgrounds */
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;          /* Very light gray */
    --bg-card: #f1f5f9;           /* Card backgrounds */
    --bg-hover: #e2e8f0;          /* Hover states for light backgrounds */
    
    /* Accent Colors */
    --accent-orange: #ea580c;     /* Warning/deadline color */
    --accent-green: #16a34a;      /* Success color */
    
    /* Gradients - Simplified for better performance */
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-apply: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    font-size: 16px; /* Prevent zoom on iOS */
}

/* Loading animation for better perceived performance */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 0.25rem;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.2;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.nav-logo a:hover .logo-main {
    color: var(--primary-blue);
}

.nav-logo a:hover .logo-subtitle {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto; /* Push navigation to the right */
}

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

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

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

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

/* Improved focus states for accessibility */
.nav-link:focus,
.btn:focus,
.faq-question:focus {
    outline: 3px solid var(--active-blue);
    outline-offset: 2px;
}

.apply-btn {
    background: var(--primary-blue);
    color: var(--text-inverse) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.apply-btn:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.3);
}

.apply-btn::after {
    display: block;
}

/* Contact Button */
.contact-btn {
    background: var(--primary-blue);
    color: var(--text-inverse) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.contact-btn:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.3);
}

.contact-btn::after {
    display: none; /* Remove underline for button */
}



/* Hamburger Menu */
.hamburger {
    display: block;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--text-inverse);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-image {
    height: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-inverse);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-inverse);
    text-align: center;
}

.hero-tagline {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-inverse);
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.15);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--hover-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(30, 64, 175, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.deadline-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 600;
    justify-content: center;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-weight: 700;
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.about-section-logo {
    height: 220px;
    width: 750px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

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

.about-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--bg-white);
    transition: all 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(148, 163, 184, 0.3);
}

.about-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}



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

.about-card p {
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
}

.resources-link {
    text-align: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    color: var(--hover-blue);
    transform: translateX(5px);
}

/* Events Section */
.events {
    background: var(--bg-light);
}

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

.timeline-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-week {
    background: var(--primary-blue);
    color: var(--text-inverse);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
}

.workshop-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-item i {
    color: var(--primary-blue);
}

/* FAQ Section */
.faq {
    background: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.faq-question:hover {
    background: var(--bg-hover);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Team Section */
.team {
    background: var(--bg-light);
}

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

.team-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: var(--primary-blue);
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team-social a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--hover-blue);
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.team-role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-institution {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-bio {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Apply Section */
.apply {
    background: var(--gradient-apply);
    color: var(--text-inverse);
}

.apply .section-title {
    color: var(--text-inverse);
}

.requirements {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.requirements-list i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

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

.deadline-reminder {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-orange);
    font-weight: 600;
}

/* Application Form Section */
.application-form {
    background: var(--bg-light);
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.form-container iframe {
    display: block;
    border: none;
    width: 100%;
    min-height: 2295px;
    background: var(--bg-white);
}

/* Responsive adjustments for the form */
@media (max-width: 768px) {
    .form-container {
        margin: 0 15px;
        border-radius: 10px;
    }
    
    .form-container iframe {
        min-height: 2500px; /* Slightly taller on mobile for better scrolling */
    }
}



/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-inverse);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.sponsor-centered {
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #63b3ed;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.sponsor-logo i {
    font-size: 1.5rem;
    color: #63b3ed;
}

.sponsor-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.sponsor-logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.sponsor-logo a:hover {
    opacity: 0.8;
}

.sponsor-logo span {
    color: var(--text-inverse);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #63b3ed;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile-first improvements */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
        line-height: 1.7; /* Better readability */
    }
    
    /* Navigation improvements */
    .nav-container {
        height: 70px; /* Slightly smaller for mobile */
        padding: 0 15px;
    }
    
    .nav-logo a {
        flex-direction: row; /* Keep horizontal layout */
        gap: 0.75rem;
        align-items: center;
    }
    
    .logo-image {
        height: 35px;
        width: auto;
        margin-bottom: 0;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
        display: block;
        margin-top: 1px;
    }
    
    /* Mobile menu improvements */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        margin: 0 2rem;
        font-weight: 500;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu .apply-btn,
    .nav-menu .contact-btn {
        margin: 1.5rem auto;
        width: 200px;
        border-radius: 25px;
        padding: 12px 24px;
        font-weight: 600;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero section improvements */
    .hero {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        min-height: 90vh;
        padding-top: 70px;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-logo-image {
        height: 80px;
        width: auto;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-tagline {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
        padding: 14px 24px;
    }
    
    .deadline-notice {
        font-size: 0.9rem;
        justify-content: center;
    }

    /* Section improvements */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 20px;
    }

    /* About section improvements */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-card {
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
        background: var(--bg-white);
        border: 1px solid rgba(148, 163, 184, 0.15);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .about-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .about-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--text-primary);
        font-weight: 400;
    }

    /* Timeline improvements */
    .timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        color: var(--text-primary);
        font-weight: 400;
    }

    .workshop-details {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .detail-item {
        font-size: 0.9rem;
        color: var(--text-primary);
        font-weight: 500;
    }

    /* Team section improvements */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .team-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .team-role {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        color: var(--primary-blue);
        font-weight: 600;
    }
    
    .team-institution {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        color: var(--text-primary);
        font-weight: 500;
    }
    
    .team-bio {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-primary);
        font-weight: 400;
    }
    
    .team-social {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .team-social a {
        font-size: 1.1rem;
        padding: 8px;
    }

    /* FAQ improvements */
    .faq-container {
        padding: 0 10px;
    }
    
    .faq-item {
        border-radius: 8px;
        margin-bottom: 0.75rem;
        border: 1px solid rgba(148, 163, 184, 0.15);
    }
    
    .faq-question {
        padding: 1.25rem;
        background: var(--bg-light);
        border-radius: 8px;
        border: none;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-primary);
        font-weight: 400;
    }

    /* Apply section improvements */
    .apply {
        padding: 60px 0;
    }
    
    .requirements {
        padding: 0 1rem;
    }
    
    .requirements h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .requirements-list li {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .deadline-reminder {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }

    /* Footer improvements */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .sponsor-logo {
        flex-direction: column;
        gap: 0.75rem;
        font-size: 1rem;
    }
    
    .sponsor-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Show contact button on mobile */
    .contact-btn {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    /* Extra small screen optimizations */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation for very small screens */
    .nav-container {
        height: 65px;
        padding: 0 12px;
    }
    
    .logo-main {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.55rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    /* Hero section for small screens */
    .hero {
        min-height: 85vh;
        padding-top: 65px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 1.5rem 0;
    }
    
    .hero-logo-image {
        height: 70px;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .btn {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .deadline-notice {
        font-size: 0.85rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    section {
        padding: 50px 0;
    }

    /* Cards for small screens */
    .about-card,
    .timeline-item,
    .team-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .about-card {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }
    
    .about-icon {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .about-card p {
        font-size: 0.9rem;
        color: var(--text-primary);
        font-weight: 400;
    }
    
    /* Team cards for small screens */
    .team-card {
        text-align: center;
    }
    
    .team-photo {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }
    
    .team-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .team-role {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        color: var(--primary-blue);
        font-weight: 600;
    }
    
    .team-institution {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        color: var(--text-primary);
        font-weight: 500;
    }
    
    .team-bio {
        font-size: 0.85rem;
        line-height: 1.5;
        color: var(--text-primary);
        font-weight: 400;
    }
    
    .team-social {
        gap: 0.8rem;
        margin-top: 0.75rem;
    }
    
    .team-social a {
        font-size: 1rem;
        padding: 6px;
    }
    
    /* FAQ for small screens */
    .faq-container {
        padding: 0 5px;
    }
    
    .faq-item {
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        border-radius: 6px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.5;
        color: var(--text-primary);
        font-weight: 400;
    }
    
    /* Timeline for small screens */
    .timeline-item {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
        color: var(--text-primary);
        font-weight: 400;
    }
    
    .timeline-week {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Apply section for small screens */
    .apply {
        padding: 50px 0;
    }
    
    .requirements {
        padding: 0 0.5rem;
    }
    
    .requirements h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .requirements-list li {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
        font-size: 0.85rem;
    }
    
    .deadline-reminder {
        font-size: 0.85rem;
        margin-top: 1.25rem;
    }
    
    /* Footer for small screens */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .sponsor-logo {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .sponsor-logo-img {
        width: 45px;
        height: 45px;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
        font-size: 0.8rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Dark mode support - DISABLED for better readability */
/* @media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --card-bg: #2d2d2d;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .about-card,
    .timeline-item,
    .team-card {
        background: var(--card-bg);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .faq-question {
        background: var(--card-bg);
    }
} */

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0d47a1;
        --text-primary: #000000;
        --bg-light: #ffffff;
    }
    
    .btn-primary {
        border: 2px solid white;
    }
    
    .nav-link {
        text-decoration: underline;
    }
    
    .faq-question {
        border: 2px solid #2C3E50;
    }
}

/* Print styles for academic users */
@media print {
    .navbar, 
    .hero-buttons, 
    .apply-cta,
    .hamburger {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    .hero-title {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
    
    .hero-subtitle,
    .hero-tagline {
        color: black !important;
    }
    
    .apply {
        background: white !important;
        color: black !important;
    }
    
    .apply .section-title {
        color: black !important;
    }
    
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .footer-section h3 {
        color: #2C3E50 !important;
    }
    
    .social-links a {
        color: black !important;
    }
    
    /* Ensure good contrast for printing */
    .about-card,
    .timeline-item,
    .team-card {
        border: 1px solid #ccc !important;
        background: white !important;
    }
    
    .faq-question {
        background: #f5f5f5 !important;
    }
} 