/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System - Ocean-Inspired Palette */
    --primary-color: #0077be;
    --secondary-color: #40e0d0;
    --accent-color: #ff6b6b;
    --coral-color: #ff7f7f;
    --deep-blue: #003d5b;
    --light-blue: #e6f7ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #333333;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --shadow: rgba(0, 119, 190, 0.1);
    --shadow-lg: rgba(0, 119, 190, 0.2);
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    
    /* Typography Scale - Improved Hierarchy */
    --font-family-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-secondary: 'Lora', Georgia, 'Times New Roman', serif;
    
    /* Font Sizes - Responsive Typography Scale */
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 1.875rem;   /* 30px */
    --font-size-4xl: 2.25rem;    /* 36px */
    --font-size-5xl: 3rem;       /* 48px */
    --font-size-6xl: 3.75rem;    /* 60px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Spacing System */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 2.5rem;    /* 40px */
    --spacing-3xl: 3rem;      /* 48px */
    --spacing-4xl: 4rem;      /* 64px */
    --spacing-5xl: 6rem;      /* 96px */
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ================================================
   GLOBAL CONTAINER SYSTEM - VISUAL CONSISTENCY
   ================================================ */

/* Standard Container for Content Sections */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing Standardization */
.section-spacing {
    margin: 40px 0;
}

/* Page Wrapper for Better Layout Control */
.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
}

h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.015em;
}

h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
}

p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-muted);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);
    }
}

/* Handle missing images gracefully */
img {
    max-width: 100%;
    height: auto;
    background: var(--light-gray);
    border: 2px dashed #ddd;
    display: block;
}

img:not([src]),
img[src=""],
img[src="#"] {
    position: relative;
    background: var(--light-gray);
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

img:not([src])::before,
img[src=""]::before,
img[src="#"]::before {
    content: "📷 Image placeholder: " attr(alt);
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 119, 190, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.8rem;
    font-family: var(--font-family-primary) !important;
}

.nav-logo h2 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
    font-family: inherit !important;
}

.nav-logo h2 a:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font-family-primary) !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 70px; /* Account for fixed navbar height */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Fallback background for missing video */
    background: linear-gradient(135deg, #0077be 0%, #40e0d0 50%, #003d5b 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hide if video fails to load */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video:not([src]),
.hero-video[src=""] {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.7), rgba(64, 224, 208, 0.5));
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 70px); /* Subtract navbar height */
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #81d4fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    letter-spacing: 0.01em;
    max-width: 100%;
    overflow-wrap: break-word;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
    font-family: 'Poppins', sans-serif;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(129, 212, 250, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(129, 212, 250, 0.6));
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
    max-width: 100%;
    opacity: 1;
    font-family: 'Lora', serif;
    font-style: italic;
    position: relative;
    animation: subtitleFade 2s ease-in-out 0.5s both;
}

@keyframes subtitleFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.98;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: descriptionSlide 2s ease-out 1s both;
    position: relative;
    overflow: hidden;
}

.hero-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes descriptionSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hero-description p {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-description p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

.hero-description p:last-child strong {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(129, 212, 250, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    z-index: 2;
    position: relative;
    animation: buttonsFloat 2.5s ease-out 1.5s both;
}

@keyframes buttonsFloat {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   ENHANCED BUTTON SYSTEM - MODERN & ACCESSIBLE
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-2xl);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    line-height: 1;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 3;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    outline: none;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--deep-blue);
    border-color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background: #ff5252;
    border-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: var(--spacing-xl) var(--spacing-3xl);
    font-size: var(--font-size-lg);
    min-width: 220px;
}

.btn-small {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-sm);
    min-width: 120px;
}

.btn-icon {
    font-size: var(--font-size-lg);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px var(--shadow);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: var(--light-gray);
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-text {
    max-width: 800px; /* Wider text area for better readability */
}

.mission-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.mission-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 100%; /* Allow paragraphs to use full available width */
}

.mission-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-color));
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* Placeholder styling for missing mission image */
.mission-image img:not([src]),
.mission-image img[src=""] {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

.mission-image img:not([src])::before,
.mission-image img[src=""]::before {
    content: "🌊 " attr(alt) " 📸\A(Image will appear here when uploaded)";
    white-space: pre-line;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Latest Updates */
.latest-updates {
    padding: 100px 0;
    background: var(--white);
}

.latest-updates h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 600;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.update-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.update-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.update-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.update-card:hover .update-image img {
    transform: scale(1.1);
}

/* Placeholder styling for missing update images */
.update-image img:not([src]),
.update-image img[src=""] {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    height: auto;
    width: auto;
}

.update-image img:not([src])::before,
.update-image img[src=""]::before {
    content: "📸 " attr(alt) "\A(Image placeholder)";
    white-space: pre-line;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.update-content {
    padding: 1.5rem;
}

.update-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.update-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.update-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* ================================================
   NEWSLETTER SECTION
   ================================================ */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-blue) 100%);
    padding: var(--spacing-5xl) 0;
    color: var(--white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.newsletter-text .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.signup-form {
    max-width: 500px;
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.email-input {
    flex: 1;
    padding: var(--spacing-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.form-disclaimer {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .email-input {
        margin-bottom: var(--spacing-md);
    }
}

/* Footer */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 60px 0 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-signup {
    display: flex;
    margin-top: 1rem;
    max-width: 100%;
    width: 100%;
}

.newsletter-signup input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-size: 0.9rem;
    min-width: 0;
}

.newsletter-signup button {
    padding: 8px 16px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-signup button:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.footer-bottom p {
    color: #ffffff !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .mission-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
        max-width: 95%;
    }
    
    .mission-text {
        max-width: 700px; /* Slightly narrower on tablets but still wider than mobile */
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 0.8rem;
        letter-spacing: 0;
        background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #81d4fa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 1.2rem;
        color: #ffffff;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 1.5rem;
        line-height: 1.5;
        padding: 1.2rem;
        border-radius: 10px;
    }
    
    .hero-description p {
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .hero-content {
        min-height: calc(85vh - 70px); /* Subtract navbar height on mobile */
        padding: 1rem 20px;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .mission-text {
        max-width: 100%; /* Full width on mobile for optimal readability */
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-signup {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: 250px;
    }
    
    .newsletter-signup input,
    .newsletter-signup button {
        border-radius: 20px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .newsletter-signup button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        line-height: 1.1;
        margin-bottom: 0.6rem;
        letter-spacing: 0;
        background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #81d4fa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 1rem;
        color: #ffffff;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        margin-bottom: 1.2rem;
        line-height: 1.4;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .hero-description p {
        margin-bottom: 0.8rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
        margin-top: 1.2rem;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: unset;
        width: 100%;
    }
    
    .hero-content {
        min-height: calc(90vh - 70px); /* Subtract navbar height on small mobile */
        padding: 0.5rem 15px;
        justify-content: space-around;
    }
    
    .mission-text h2,
    .latest-updates h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
