/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Sophisticated & Modern */
    --primary: #2A9D8F;
    --primary-dark: #21867a;
    --primary-light: #4db6ac;
    --primary-soft: rgba(42, 157, 143, 0.1);
    
    --secondary: #264653;
    --secondary-dark: #1a333e;
    --secondary-light: #2f4b5c;
    
    --accent: #E76F51;
    --accent-dark: #d45d3f;
    --accent-light: #f4a261;
    
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    
    /* Zimbabwe National Colors - Updated */
    --zim-green: #96D1AA;
    --zim-green-dark: #6BA57A;
    --zim-yellow: #FFD700;
    --zim-yellow-dark: #CC9900;
    --zim-yellow-darker: #997300;
    --zim-red: #CC0000;
    --zim-red-dark: #990000;
    --zim-red-darker: #660000;
    --zim-black: #333333;
    
    /* Neutrals - Sophisticated Grays */
    --dark: #1e293b;
    --dark-gray: #334155;
    --gray: #64748b;
    --light-gray: #cbd5e1;
    --lighter-gray: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;
    --off-white: #f1f5f9;
    
    /* Gradients - Updated */
    --gradient-1: linear-gradient(135deg, #2A9D8F 0%, #264653 100%);
    --gradient-2: linear-gradient(135deg, #E76F51 0%, #f4a261 100%);
    --gradient-3: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    --gradient-4: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    --gradient-5: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    
    /* Stats Bar Gradient - Updated to #96D1AA */
    --gradient-stats: linear-gradient(135deg, #96D1AA 0%, #6BA57A 100%);
    
    /* Typography - UNIFIED: Inter for everything */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 30px 50px rgba(0,0,0,0.2), 0 15px 25px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 var(--space-md);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-weight: 600;
}

.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0;
    font-weight: 700;
}

.section-description {
    color: var(--gray);
    max-width: 600px;
    margin: var(--space-sm) auto 0;
    font-size: 1rem;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: var(--font-primary);
}

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

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

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    display: flex;
    gap: var(--space-md);
}

.top-links a {
    color: var(--light-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.top-links a:hover {
    color: var(--white);
}

.top-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    color: var(--light-gray);
    font-size: 1rem;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--white);
    transform: translateY(-2px);
}

.subscribe-btn {
    background: #96D1AA;
    color: var(--white);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-primary);
}

.subscribe-btn:hover {
    background: #6BA57A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-menu > li > a i {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.nav-menu > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    overflow: hidden;
    border: 1px solid var(--lighter-gray);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--lighter-gray);
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.dropdown li a:hover,
.dropdown li a.active {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown li:last-child a {
    border-bottom: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 2;
    max-width: 650px;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 550px;
    line-height: 1.6;
}

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

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 40px;
    height: 4px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    width: 60px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--gradient-stats);
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.stats-bar.desktop-only {
    display: block;
}

.stats-bar.mobile-only {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number small {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ===== NEWS SECTION ===== */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--lighter-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.date-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.5px;
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary);
    font-weight: 600;
    min-height: 3rem;
}

.news-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: 2.8rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-start;
}

.read-more:hover {
    gap: 0.8rem;
    color: var(--accent);
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern-bg.png') repeat;
    opacity: 0.02;
    pointer-events: none;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.program-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    color: var(--white);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: var(--transition-slow);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-card:hover::before {
    transform: scale(1.1);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255,255,255,0.3);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.program-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.program-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    padding: 0.6rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
    margin-top: auto;
}

.program-link:hover {
    background: var(--white);
    color: var(--zim-black);
    gap: 0.8rem;
    border-color: var(--white);
}

/* Program Card - Green (Prevention) */
.program-card:nth-child(1) .program-link:hover {
    color: #96D1AA;
}

/* Program Card - Yellow (Treatment & Care) */
.program-card:nth-child(2) .program-link:hover {
    color: #CC9900;
}

/* Program Card - Red (Support Services) */
.program-card:nth-child(3) .program-link:hover {
    color: #990000;
}

/* Program Card - Black (Research & Surveillance) */
.program-card:nth-child(4) .program-link:hover {
    color: var(--zim-black);
}

/* ===== EVENTS SECTION ===== */
.events-section {
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.event-card {
    display: flex;
    gap: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--lighter-gray);
    box-shadow: var(--shadow-sm);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.event-card.featured {
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}

.event-date {
    background: var(--gradient-1);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.event-day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    line-height: 1.4;
    font-weight: 600;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta i {
    color: var(--primary);
    width: 16px;
    font-size: 0.9rem;
}

.event-details p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.event-link:hover {
    gap: 0.8rem;
    color: var(--accent);
}

/* ===== HEALTH CONDITIONS SECTION ===== */
.health-section {
    background: var(--off-white);
    position: relative;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.health-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.health-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.health-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(150, 209, 170, 0.95) 0%, rgba(150, 209, 170, 0.6) 60%, rgba(150, 209, 170, 0.2) 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
    transform: translateY(0);
    transition: var(--transition);
}

.health-overlay.nac-green-overlay {
    background: linear-gradient(to top, rgba(150, 209, 170, 0.95) 0%, rgba(150, 209, 170, 0.6) 60%, rgba(150, 209, 170, 0.2) 100%);
}

.health-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: var(--transition);
}

.health-overlay p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
    line-height: 1.5;
    max-height: 0;
}

.health-card:hover .health-overlay p {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
}

.health-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.15s;
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.health-card:hover .health-link {
    opacity: 1;
    transform: translateY(0);
}

.health-link:hover {
    background: var(--white);
    color: #96D1AA;
    gap: 0.8rem;
    border-color: var(--white);
}

/* ===== VIDEOS SECTION ===== */
.videos-section {
    background: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--lighter-gray);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0.9;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255,255,255,0.5);
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    line-height: 1.4;
    font-weight: 600;
    min-height: 2.8rem;
}

.video-info p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern-bg.png') repeat;
    opacity: 0.05;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-main {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col.about-col {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

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

.footer-about {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
    border-color: transparent;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: var(--accent);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info li i {
    color: var(--primary);
    margin-top: 4px;
    width: 18px;
    font-size: 1rem;
}

/* Middle section with emergency hotline and newsletter */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 25px;
}

.emergency-hotline {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hotline-icon {
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

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

.hotline-content {
    display: flex;
    flex-direction: column;
}

.hotline-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
}

.hotline-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.hotline-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.newsletter-signup {
    min-width: 300px;
}

.newsletter-signup h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
}

.footer-newsletter {
    display: flex;
    gap: 8px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.footer-newsletter .btn {
    padding: 10px 15px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== UTILITY CLASSES ===== */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .news-grid,
    .programs-grid,
    .health-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-col.about-col {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .news-grid,
    .programs-grid,
    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-xl);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu > li > a {
        padding: 1rem;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
    }
    
    .has-dropdown.active .dropdown {
        max-height: 500px;
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .newsletter-signup {
        width: 100%;
    }
    
    .footer-newsletter {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 250px;
    }
    
    .stats-bar.desktop-only {
        display: none;
    }
    
    .stats-bar.mobile-only {
        display: block;
        margin-top: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-grid,
    .programs-grid,
    .health-grid,
    .videos-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        align-self: flex-start;
    }
    
    .footer-newsletter {
        flex-direction: column;
    }
    
    .footer-newsletter .btn {
        width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: var(--space-xl) 0;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content {
        left: 5%;
        right: 5%;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .top-links {
        display: none;
    }
    
    .top-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header.centered {
        align-items: center;
    }
    
    .program-card {
        min-height: 300px;
        padding: 2rem 1.5rem;
    }
    
    .health-card {
        height: 280px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom-links {
        gap: 15px;
    }
    
    .emergency-hotline {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ===== MODAL STYLES - FIXED ===== */
.video-modal,
.subscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active,
.subscription-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal .modal-content,
.subscription-modal .modal-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content,
.subscription-modal.active .modal-content {
    transform: scale(1);
}

.video-modal .modal-header,
.subscription-modal .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--lighter-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.video-modal .modal-header h3,
.subscription-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.video-modal .close-modal,
.subscription-modal .close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-modal .close-modal:hover,
.subscription-modal .close-modal:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.video-modal .modal-body,
.subscription-modal .modal-body {
    padding: 2rem;
}

.video-modal video {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.subscription-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.subscription-option {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: var(--light);
    transition: var(--transition);
    border: 1px solid var(--lighter-gray);
}

.subscription-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.subscription-option i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.subscription-option i.fa-envelope {
    color: #e74c3c;
}

.subscription-option i.fa-whatsapp {
    color: #25D366;
}

.subscription-option h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

.subscription-option p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.subscription-option input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--lighter-gray);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.subscription-option input:focus {
    outline: none;
    border-color: var(--primary);
}

.subscription-option .btn {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

/* Mobile responsiveness for modals */
@media (max-width: 768px) {
    .subscription-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-modal .modal-header,
    .subscription-modal .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .video-modal .modal-body,
    .subscription-modal .modal-body {
        padding: 1.5rem;
    }
    
    .subscription-option {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .video-modal .modal-content,
    .subscription-modal .modal-content {
        width: 95%;
    }
    
    .video-modal .modal-header h3,
    .subscription-modal .modal-header h3 {
        font-size: 1.1rem;
    }
}