/* styles.css - COMPLETE FILE WITH TRANSPARENT MOBILE HEADER FIX */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   HEADER & NAVIGATION - TRANSPARENT
   ======================================== */
.header {
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.header.transparent {
    background: transparent;
    box-shadow: none;
}

.header.solid {
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.header.transparent .logo {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header.solid .logo {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ========================================
   VIDEO HERO SECTION
   ======================================== */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(59, 130, 246, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 1000px;
    animation: fadeInUp 1s ease;
}

.hero-content .tagline {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.95;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e3a8a;
    text-align: center;
}

.mission-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid #3b82f6;
}

.mission-box h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.vaccine-portfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

/* ========================================
   STATS & CARDS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #3b82f6;
}

.feature-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    background: #f8fafc;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.partner-card h3 {
    color: #1e3a8a;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.partner-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 5px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: white;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
}

/* Contact Links - Fix for Safari and all browsers */
.contact-link {
    color: white !important;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-link:visited,
.contact-link:active,
.contact-link:focus {
    color: white !important;
}

/* Ensure all links in contact section are white */
.contact-section a {
    color: white !important;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
    opacity: 1;
}
/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* ========================================
   CTA BUTTON
   ======================================== */
.cta-button {
    display: inline-block;
    background: white;
    color: #1e3a8a;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Header - completely transparent on mobile */
    .header {
        background: transparent !important;
        box-shadow: none !important;
    }
    
    /* Only add slight background when scrolled */
    .header.solid {
        background: rgba(30, 58, 138, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    /* Mobile menu with glassmorphism */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(30, 58, 138, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 100px 0 2rem;
        z-index: 998;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: center;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .nav-links a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.3rem;
        width: 100%;
        text-shadow: none;
        font-weight: 500;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Header adjustments */
    .nav-container {
        padding: 0 1.5rem;
        background: transparent;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Ensure logo and hamburger are above menu */
    .logo {
        z-index: 1001;
    }
    
    .mobile-menu-toggle {
        z-index: 1001;
    }
    
    /* Video Hero Section */
    .hero-video {
        height: 100vh;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content .tagline {
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Section Padding */
    .section {
        padding: 50px 1.5rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    /* Mission Box */
    .mission-box {
        padding: 2rem 1.5rem;
    }
    
    .mission-box h3 {
        font-size: 1.4rem;
    }
    
    .vaccine-portfolio {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* Partner Cards */
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-card h3 {
        font-size: 1.3rem;
    }
    
    .partner-details {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ========================================
   SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero-content .tagline {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 1rem;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .mission-box {
        padding: 1.5rem 1rem;
    }
    
    .mission-box h3 {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   LARGE DESKTOP
   ======================================== */
@media (min-width: 1400px) {
    .nav-container,
    .section {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section h2 {
        font-size: 3rem;
    }
}