/* ========================================
   TRANSFORM REDESIGN - CSS FOUNDATION
   Updated: Clean, Minimal, Research-Focused
   ======================================== */

/* ========================================
   CSS VARIABLES FOR THEMING
   ======================================== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f0f9f7;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --accent-primary: #0d6d54;
    --accent-secondary: #1a9b8e;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    
}

[data-theme="dark"] {
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-accent: #2c3e50;
    --text-primary: #f7fafc;
    --text-secondary: #cbd5e0;
    --text-light: #a0aec0;
    --accent-primary: #1a9b8e;
    --accent-secondary: #2ab3a4;
    --border-color: #4a5568;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px; /* UPDATED: from 16px */
    line-height: 1.8; /* UPDATED: from 1.6 */
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   SECTION 1: NAVIGATION HEADER
   ======================================== */
.navigation {
    background: linear-gradient(135deg, #96ffe3 0%, #1a9b8e 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px; /* UPDATED: reduced from 15px */
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {

}

.logo img {
    height: 50px; /* UPDATED: reduced from 60px */
    width: auto;
    transition: none;
}



/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 20px; /* UPDATED: reduced from 12px 24px */
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px; /* UPDATED: reduced from 15px */
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, #e8f5f2, #d4f1ed);
    border-color: #1a9b8e;
    color: #0d6d54;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 109, 84, 0.15);
}

.nav-item.active .nav-link {
    background: #0d6d54;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(13, 109, 84, 0.3);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-accent);
    color: var(--accent-primary);
    padding-left: 25px;
}

/* UPDATED: Navigation Controls (Language + Theme Toggle) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.control-btn i {
    font-size: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #0d6d54;
    transition: all 0.3s ease;
}

/* ========================================
   SECTION 2: HERO VIDEO SECTION - FULL COVERAGE
   ======================================== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
}

/* Blur poster for instant load */
.hero-poster-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}

/* Sharp poster image */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.hero-poster.hidden {
    opacity: 0;
}

/* Video - FULL COVERAGE, NO CROP, NO GRAY BARS */
.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 100%;
    height: 100%;
    width: auto;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center top; /* ADJUST THIS VALUE */
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.hero-video.loaded {
    opacity: 1;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-overlay {
        padding-bottom: 40px;
    }
}

/* ========================================
   GLOBAL SECTION STYLES (UPDATED)
   ======================================== */
section {
    padding: 50px 0; /* UPDATED: from 80-100px */
}

.section-title {
    text-align: center;
    font-size: 40px; /* UPDATED: from 42px */
    margin-bottom: 30px; /* UPDATED: from 60px */
    line-height: 1.3;
    color: rgb(22, 97, 78)
}

.section-title .highlight {
    background: linear-gradient(135deg, #0d6d54, #1a9b8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: fill ;
    background-clip: text;
}



/* ========================================
   PROJECT IDENTITY - FIXED VERSION
   ======================================== */



.project-identity {
    padding: 50px 0;
}

        .identity-title-modern {
            font-family: 'Poppins', sans-serif;
            font-size: 42px;
            font-weight: 700;
            text-align: center;
            color: #1a1a1a;
            margin-bottom: 70px;
            line-height: 1.3;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
        }

        .identity-title-modern .gradient-text {
            background: linear-gradient(135deg, #0d6d54, #1a9b8e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

.identity-content-wrapper-v3 {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 0; /* NO GAP - connected sections */
    align-items: stretch; /* Equal height */
}

/* Photo - Matches flowchart height, rounded left only */
.identity-photo-v3 {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 24px 0 0 24px; /* Rounded left, square right */
    box-shadow: 0 8px 30px rgba(13, 109, 84, 0.15);
}

.identity-photo-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flowchart zone - Rounded right only, matches photo height */
.flowchart-zone {
    background: linear-gradient(135deg, #d6d6d6 0%, #ffffff 100%);
    padding: 45px 35px;
    border-radius: 0 24px 24px 0; /* Rounded right, square left */
    box-shadow: inset 0 2px 10px rgba(13, 109, 84, 0.08);
    display: flex;
    align-items: center;
}

.flow-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 30px;
    position: relative;
    width: 100%;
}

/* Circles with sequential animation */
.flow-circle-v3 {
    background: linear-gradient(135deg, #0d6d54 0%, #1a9b8e 100%);
    width: 170px;
    height: 170px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    border: 3px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 20px rgba(13, 109, 84, 0.25), 
                inset 0 2px 8px rgba(255,255,255,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.7) translateY(20px);
}

.flow-circle-v3.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Sequential delays */
.card-1 { transition-delay: 0.1s; }
.card-2 { transition-delay: 0.2s; }
.card-3 { transition-delay: 0.3s; }
.card-4 { transition-delay: 0.5s; }
.card-5 { transition-delay: 0.6s; }
.card-6 { transition-delay: 0.7s; }

.flow-circle-v3:hover {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, #1a9b8e 0%, #2ab3a4 100%);
    box-shadow: 0 12px 30px rgba(13, 109, 84, 0.35),
                inset 0 2px 8px rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

/* --- CONNECTING LINES --- */

/* Row 1: Lines on RIGHT side (1->2 and 2->3) */
.card-1::after, .card-2::after {
    content: "";
    position: absolute;
    right: -35px;
    top: 50%;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #1a9b8e, rgba(26, 155, 142, 0.3));
    z-index: 0;
}

/* Vertical Drop Arrow from 3 to 4 */
.card-3::after {
    content: "↓";
    position: absolute;
    bottom: -48px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: #1a9b8e;
    font-weight: bold;
    animation: bounceArrow 1.5s ease-in-out infinite;
    z-index: 0;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}

/* Row 2: Lines on LEFT side (4->5 and 5->6) - FIXED */
.card-4::before, .card-5::before {
    content: "";
    position: absolute;
    left: -35px; /* LEFT side */
    top: 50%;
    width: 40px;
    height: 3px;
    background: linear-gradient(270deg, #1a9b8e, rgba(26, 155, 142, 0.3)); /* Reversed gradient */
    z-index: 0;
}

/* Row 2 Placement */
.card-4 { grid-column: 3; grid-row: 2; }
.card-5 { grid-column: 2; grid-row: 2; }
.card-6 { grid-column: 1; grid-row: 2; }

/* --- MOBILE REFINEMENTS --- */
@media (max-width: 992px) {
    .identity-main-title {
        font-size: 28px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .identity-content-wrapper-v3 { 
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Photo: Full rounded on mobile */
    .identity-photo-v3 {
        border-radius: 24px 24px 0 0; /* Rounded top */
    }

    /* Flowchart: Full rounded bottom on mobile */
    .flowchart-zone {
        padding: 35px 25px;
        border-radius: 0 0 24px 24px; /* Rounded bottom */
    }

    .flow-grid-v3 {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .flow-circle-v3 {
        width: 160px;
        height: 160px;
        font-size: 13.5px;
        padding: 18px;
    }

    /* Force correct reading order */
    .card-1 { order: 1; }
    .card-2 { order: 2; }
    .card-3 { order: 3; }
    .card-4 { order: 4; }
    .card-5 { order: 5; }
    .card-6 { order: 6; }
    
    .card-1, .card-2, .card-3, .card-4, .card-5, .card-6 {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    /* Remove lines on mobile */
    .flow-circle-v3::after, .flow-circle-v3::before {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .identity-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .project-identity {
        padding: 40px 0;
    }

    .flowchart-zone {
        padding: 30px 20px;
    }

    .flow-grid-v3 {
        gap: 28px 15px;
    }

    .flow-circle-v3 {
        width: 145px;
        height: 145px;
        font-size: 13px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .identity-main-title {
        font-size: 22px;
    }

    .flow-circle-v3 {
        width: 135px;
        height: 135px;
        font-size: 12px;
        padding: 14px;
    }
}
/* ========================================
   RESEARCH CHALLENGE SECTION - MOBILE OPTIMIZED
   ======================================== */

/* Desktop styles (default) - unchanged */
.research-challenge {
    background: var(--bg-secondary);
    padding: 50px 0;
}

.challenge-split {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 50px;
    align-items: start;
}

.column-title {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.stats-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    background: linear-gradient(135deg, #0d6d54 0%, #1a9b8e 100%);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: none;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 109, 84, 0.35);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 17px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: 500;
}

.findings-column {
    display: flex;
    flex-direction: column;
}

.challenge-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.challenge-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-left-width: 6px;
}

.challenge-card:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
}

.challenge-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.challenge-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   TABLET RESPONSIVE (1024px and below)
   ======================================== */
@media (max-width: 1024px) {
    .research-challenge {
        padding: 45px 0;
    }

    .challenge-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .column-title {
        font-size: 26px;
        margin-bottom: 20px;
        text-align: center;
    }

    /* Stats column - horizontal on tablet */
    .stats-column {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        padding: 18px 22px;
    }

    .stat-number {
        font-size: 34px;
    }

    .stat-label {
        font-size: 16px;
    }

    .challenge-cards {
        gap: 18px;
    }

    .challenge-card {
        padding: 22px;
    }

    .challenge-title {
        font-size: 17px;
    }

    .challenge-description {
        font-size: 15px;
    }
}

/* ========================================
   MOBILE RESPONSIVE (768px and below)
   ======================================== */
@media (max-width: 768px) {
    .research-challenge {
        padding: 40px 0;
    }

    .challenge-split {
        gap: 35px;
    }

    .column-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    /* Stats column - vertical stack on mobile */
    .stats-column {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }

    .stat-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px 25px;
    }

    .stat-number {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .stat-label {
        font-size: 17px;
        line-height: 1.6;
    }

    /* Challenge cards - single column on mobile */
    .challenge-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .challenge-card {
        padding: 20px;
    }

    .challenge-card:last-child {
        grid-column: 1;
    }

    .challenge-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .challenge-description {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* ========================================
   SMALL MOBILE (480px and below)
   ======================================== */
@media (max-width: 480px) {
    .research-challenge {
        padding: 35px 0;
    }

    .challenge-split {
        gap: 30px;
    }

    .column-title {
        font-size: 22px;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .stat-card {
        padding: 18px 20px;
        border-radius: 10px;
    }

    .stat-number {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 16px;
        line-height: 1.5;
    }

    .challenge-card {
        padding: 18px;
        border-radius: 6px;
    }

    .challenge-title {
        font-size: 17px;
    }

    .challenge-description {
        font-size: 15px;
    }
}


/* ========================================
   UPDATED: RESEARCH APPROACH (4 CARDS)
   ======================================== */
/* SECTION WRAPPER */
.approach-section {
    background: var(--bg-primary);
    padding: 50px 0;
}

/* GRID RULES */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
/* TABLET: 2 × 2 */
@media (min-width: 600px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* LAPTOP & DESKTOP: 4 in one row */
@media (min-width: 992px) {
    .approach-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* CARD */
.approach-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px 24px; /* bigger card */
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.35s ease;
    min-height: 340px; /* increased height */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CARD HOVER */
.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

/* ICON */
.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #0d6d54, #1a9b8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(13, 109, 84, 0.25);
}

/* TITLE */
.approach-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

/* TEXT (shorter & clean) */
.approach-card p {
    font-size: 18px;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   PILLAR COLOR SYSTEM - Visual Flow from Cards to Sections
   ======================================== */

/* Pillar 1: Light Blue (Community Engagement) */
.pillar-1 {
    background: #e8f4f8 !important;
}

/* Pillar 2: Light Peach (Co-Design) */
.pillar-2 {
    background: #fff4e6 !important;
}

/* Pillar 3: Light Lavender (Workforce Development) */
.pillar-3 {
    background: #f3e8ff !important;
}

/* Pillar 4: Light Mint (Care Transformation) */
.pillar-4 {
    background: #e6fff9 !important;
}

/* Override for approach cards to ensure colors apply */
.approach-card.pillar-1,
.approach-card.pillar-2,
.approach-card.pillar-3,
.approach-card.pillar-4 {
    border: 1px solid rgba(13, 109, 84, 0.1);
}

/* Ensure section backgrounds override default styles */
section.pillar-1,
section.pillar-2,
section.pillar-3,
section.pillar-4 {
    padding: 50px 0;
}
/* ========================================
   COMMUNITY ENGAGEMENT & TRUST BUILDING
   ======================================== */
.community-engagement-section {
    padding: 45px 0; /* Reduced from 60px */
    background: var(--bg-primary);
}

.community-engagement-section .section-title {
    margin-bottom: 40px; /* Reduced from 50px */
}

/* Each engagement block */
.engagement-block {
    display: grid;
    gap: 35px; /* Reduced from 40px */
    align-items: center;
    margin-bottom: 40px; /* Reduced from 50px */
    padding: 0 20px;
    max-width: 1100px; /* Added max-width constraint */
    margin-left: auto;
    margin-right: auto;
}

.engagement-block:last-child {
    margin-bottom: 0;
}

/* Photo Right Layout */
.block-photo-right {
    grid-template-columns: 0.4fr 0.6fr; /* More balanced */
}

/* Photo Left Layout */
.block-photo-left {
    grid-template-columns: 0.5fr 0.4fr; /* More balanced */
}

/* Text Content */
/* Text Content - FIXED WRAPPING */
.engagement-text {
    padding: 10px;
    max-width: 100%; /* Ensure it doesn't exceed container */
    overflow-wrap: break-word; /* Force long words to break */
    word-wrap: break-word; /* Legacy support */
}

.engagement-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 14px;
    line-height: 1.3;
    max-width: 100%; /* Constrain heading */
}

.engagement-text p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    max-width: 100%; /* Constrain paragraph */
}

/* Photo Container - FIXED SIZE */
.engagement-photo {
    width: 100%;
    height: 300px; /* Increased from 280px */
    max-width: 480px; /* Increased from 450px */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.engagement-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.engagement-photo:hover {
    transform: translateY(-6px); /* Reduced from -8px */
    box-shadow: 0 16px 40px rgba(13, 109, 84, 0.2);
}

.engagement-photo:hover img {
    transform: scale(1.05);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .block-photo-right,
    .block-photo-left {
        grid-template-columns: 1fr;
        gap: 25px; /* Reduced from 30px */
    }

    /* Stack photo on top for all blocks on mobile */
    .block-photo-right .engagement-photo,
    .block-photo-left .engagement-photo {
        order: -1;
        margin: 0 auto; /* Center on mobile */
    }

    .engagement-photo {
        height: 240px; /* Reduced */
        max-width: 400px;
    }

    .engagement-text h3 {
        font-size: 22px;
    }

    .engagement-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .community-engagement-section {
        padding: 40px 0; /* Reduced from 50px */
    }

    .community-engagement-section .section-title {
        margin-bottom: 30px; /* Reduced from 40px */
        font-size: 28px;
    }

    .engagement-block {
        margin-bottom: 30px; /* Reduced from 40px */
        padding: 0;
    }

    .engagement-photo {
        height: 220px; /* Reduced from 240px */
        max-width: 100%;
    }

    .engagement-text {
        padding: 10px 0; /* Reduced from 15px */
    }

    .engagement-text h3 {
        font-size: 20px;
        margin-bottom: 10px; /* Reduced from 12px */
    }

    .engagement-text p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .community-engagement-section .section-title {
        font-size: 24px;
    }

    .engagement-photo {
        height: 200px;
    }

    .engagement-text h3 {
        font-size: 18px;
    }

    .engagement-text p {
        font-size: 14px;
    }
}
/* ========================================
   CO-DESIGN & COLLABORATIVE DEVELOPMENT
   ======================================== */
.codesign-section {
    padding: 45px 0;
    background: var(--bg-secondary);
}

.codesign-section .section-title {
    margin-bottom: 30px;
}

/* Intro Text */
.codesign-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.codesign-intro p {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

/* ========================================
   DUAL PHOTO BLOCKS - NEW STYLES
   ======================================== */

/* Override grid for dual photo blocks */
.dual-photo-block.block-photo-right {
    grid-template-columns: 0.2fr 0.8fr;
}

.dual-photo-block.block-photo-left {
    grid-template-columns: 0.8fr 0.2fr;
}

/* Dual Photo Container */
.dual-photo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* Adjust text for smaller space */
.dual-photo-block .engagement-text {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dual-photo-block .engagement-text h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.dual-photo-block .engagement-text p {
    font-size: 15px;
    line-height: 1.5;
}

/* Photo sizing for dual layout */
.dual-photo-container .engagement-photo {
    height: 280px;
    max-width: 100%;
}

/* ========================================
   MOBILE RESPONSIVE - DUAL PHOTOS & CO-DESIGN
   ======================================== */
@media (max-width: 992px) {
    .dual-photo-block.block-photo-right,
    .dual-photo-block.block-photo-left {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dual-photo-block .dual-photo-container {
        order: -1;
    }

    .dual-photo-container .engagement-photo {
        height: 240px;
    }

    .dual-photo-block .engagement-text {
        padding: 10px 15px;
        text-align: center;
    }

    .dual-photo-block .engagement-text h3 {
        font-size: 22px;
    }

    .dual-photo-block .engagement-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .codesign-section {
        padding: 40px 0;
    }

    .codesign-intro {
        margin-bottom: 30px;
    }

    .codesign-intro p {
        font-size: 18px;
    }

    .dual-photo-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dual-photo-container .engagement-photo {
        height: 220px;
        max-width: 100%;
        margin: 0 auto;
    }

    .dual-photo-block .engagement-text h3 {
        font-size: 20px;
    }

    .dual-photo-block .engagement-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .codesign-intro p {
        font-size: 16px;
    }

    .dual-photo-container .engagement-photo {
        height: 200px;
    }

    .dual-photo-block .engagement-text h3 {
        font-size: 18px;
    }

    .dual-photo-block .engagement-text p {
        font-size: 14px;
    }
}

/* ========================================
   TRANSFORMING THE WORKFORCE
   ======================================== */
.workforce-section {
    padding: 40px 0; /* Reduced from 60px */
}

.workforce-section .section-title {
    margin-bottom: 8px; /* Reduced from 15px */
}

/* Subtitle */
.workforce-subtitle {
    text-align: center;
    font-size: 20px; /* Reduced from 22px */
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 35px; /* Reduced from 50px */
    font-style: italic;
}

/* Two Column Split */
.workforce-split {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 40px; /* Reduced from 50px */
    margin-bottom: 35px; /* Reduced from 50px */
}

/* Vertical Divider */
.workforce-divider {
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--accent-primary) 20%, 
        var(--accent-primary) 80%, 
        transparent 100%);
    width: 2px;
    opacity: 0.3;
}

/* Each Column */
.workforce-column {
    display: flex;
    flex-direction: column;
    gap: 28px; /* Reduced from 40px */
}

.column-title {
    font-size: 24px; /* Reduced from 26px */
    font-weight: 700;
    color: var(--accent-primary);
    text-align: center;
    margin-bottom: 5px; /* Reduced from 10px */
    padding-bottom: 12px; /* Reduced from 15px */
    border-bottom: 3px solid var(--accent-secondary);
}

/* Each Training Item */
.workforce-item {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced from 15px */
}

/* Photo Container */
.workforce-photo {
    width: 100%;
    height: 240px; /* Reduced from 280px */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.workforce-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.workforce-photo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.workforce-photo:hover img {
    transform: scale(1.05);
}

/* Caption Text */
.workforce-caption {
    padding: 10px 16px; /* Reduced from 12px 20px */
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
}

.workforce-caption p {
    font-size: 16px; /* Reduced from 17px */
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.workforce-caption strong {
    color: var(--accent-primary);
    font-weight: 700;
}

/* Bottom Summary */
.workforce-summary {
    max-width: 900px;
    margin: 0 auto;
    padding: 22px 35px; /* Reduced from 30px 40px */
    background: linear-gradient(135deg, #e8f5f2 0%, #d4f1ed 100%);
    border-radius: 16px;
    border-left: 5px solid var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.workforce-summary p {
    font-size: 18px; /* Reduced from 19px */
    line-height: 1.6; /* Reduced from 1.7 */
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.workforce-summary strong {
    color: var(--accent-primary);
    font-weight: 700;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .workforce-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .workforce-divider {
        display: none;
    }

    .workforce-photo {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .workforce-section {
        padding: 35px 0;
    }

    .workforce-section .section-title {
        font-size: 28px;
    }

    .workforce-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .column-title {
        font-size: 22px;
    }

    .workforce-column {
        gap: 25px;
    }

    .workforce-photo {
        height: 200px;
    }

    .workforce-caption {
        padding: 8px 14px;
    }

    .workforce-caption p {
        font-size: 15px;
    }

    .workforce-summary {
        padding: 20px 28px;
    }

    .workforce-summary p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .workforce-section .section-title {
        font-size: 24px;
    }

    .workforce-subtitle {
        font-size: 16px;
    }

    .column-title {
        font-size: 20px;
    }

    .workforce-photo {
        height: 180px;
    }

    .workforce-caption {
        padding: 8px 12px;
    }

    .workforce-caption p {
        font-size: 14px;
    }

    .workforce-summary {
        padding: 18px 22px;
    }

    .workforce-summary p {
        font-size: 15px;
    }
}

/* ========================================
   CARE TRANSFORMATION & REFERRAL PATHWAYS
   ======================================== */
.care-transformation-section {
    padding: 50px 0;
    background: var(--bg-secondary);
}

.care-transformation-section .section-title {
    margin-bottom: 25px;
}

/* Main Visual Container */
.transformation-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Before/After Boxes */
.transformation-box {
    background: var(--bg-primary);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.transformation-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.box-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.before-box .box-title {
    color: #e67e22; /* Orange for before */
}

.after-box .box-title {
    color: var(--accent-primary); /* Green for after */
}

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 28px);
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
    min-height: 200px;
    align-content: start;
    padding: 10px;
}

.person-icon {
    font-size: 24px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.person-icon.show {
    opacity: 1;
    transform: scale(1);
}

.before-box .person-icon {
    color: #e67e22; /* Orange */
}

.after-box .person-icon {
    color: var(--accent-primary); /* Green */
}

/* Stat Number */
.statt-number {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.before-box .statt-number {
    color: #e67e22;
}

/* Center Arrow */
.transformation-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.arrow-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(13, 109, 84, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(13, 109, 84, 0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 12px 30px rgba(13, 109, 84, 0.5);
    }
}

.transformation-arrow i {
    font-size: 36px;
    color: var(--accent-primary);
    animation: slideArrow 1.5s ease-in-out infinite;
}

@keyframes slideArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.arrow-label {
    font-size: 16px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #004b38;
    text-align:center;
    padding:5px;
    border-radius: 16px;
}

/* Supervision Highlight - with photos inside */
.supervision-highlight {
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px 40px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3d4 100%);
    border-radius: 16px;
    border-left: 5px solid #f39c12;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: wrap;
}

.supervision-highlight i {
    font-size: 40px;
    color: #f39c12;
    flex-shrink: 0;
    margin-top: 10px;
}

.supervision-content {
    flex: 1;
}

.supervision-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 25px 0;
}

.supervision-content strong {
    color: #e67e22;
    font-weight: 700;
}

/* Photos inside highlight */
.supervision-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
}

.supervision-photo-item {
    width: 100%;
    height: 380px; /* large and clear */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.supervision-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.supervision-photo-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.supervision-photo-item:hover img {
    transform: scale(1.05);
}
/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .transformation-visual {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Rotate arrow to point down on mobile */
    .transformation-arrow {
        flex-direction: row;
        justify-content: center;
    }

    .transformation-arrow i {
        transform: rotate(90deg);
        font-size: 32px;
    }

    @keyframes slideArrow {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(10px); }
    }

    .icon-grid {
        min-height: 180px;
    }

        .supervision-highlight {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .supervision-highlight i {
        margin-top: 0;
    }

    .supervision-photos {
        grid-template-columns: 1fr;
    }

    .supervision-photo-item {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .care-transformation-section {
        padding: 40px 0;
    }

    .care-transformation-section .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .transformation-box {
        padding: 28px 20px;
    }

    .box-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .icon-grid {
        grid-template-columns: repeat(auto-fill, 24px);
        gap: 6px;
        min-height: 150px;
    }

    .person-icon {
        font-size: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .arrow-badge {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .supervision-highlight {
        padding: 22px 28px;
        flex-direction: column;
        text-align: center;
    }

    .supervision-highlight i {
        font-size: 36px;
    }

    .supervision-highlight p {
        font-size: 16px;
    }
    .supervision-photos {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .supervision-photo-item {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .care-transformation-section .section-title {
        font-size: 24px;
    }

    .transformation-box {
        padding: 22px 16px;
    }

    .box-title {
        font-size: 18px;
    }

    .icon-grid {
        grid-template-columns: repeat(auto-fill, 22px);
        gap: 5px;
    }

    .person-icon {
        font-size: 18px;
    }

    .stat-number {
        font-size: 24px;
    }

    .supervision-highlight {
        padding: 20px 22px;
    }

    .supervision-highlight p {
        font-size: 15px;
    }
    .supervision-photo-item {
        height: 220px;
    }
}


/* IMPACT HIGHLIGHT (BIGGER WIDTH) */
.impact-highlight {
    max-width: 720px;              /* Wider as requested */
    margin: 32px auto 0;
    padding: 24px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.impact-highlight h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

.impact-highlight p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-secondary);
}
/* ========================================
   NEW: RESEARCH OBJECTIVES (More Compact)
   ======================================== */
.objectives-section {
    background: var(--bg-primary);
    padding: 20px 0; /* more compact */
   
}

.objectives-list {
    max-width: 1050px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.objectives-list li {
    padding: 6px 0; /* tighter */
    display: flex;
    align-items: flex-start;
    gap: 8px; /* tighter */
    font-size: 20px; /* still readable */
    line-height: 1.5; /* more compact */
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.objectives-list li:last-child {
    border-bottom: none;
}

.objectives-list li::before {
    content: "✓";
    color: var(--accent-primary);
    font-size: 22px; /* fits compact layout */
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ========================================
   UPDATED: ACTIVITIES SECTION
   ======================================== */
.activities-section {
    will-change: transform, box-shadow;
    padding: 30px 0; /* UPDATED: from 100px */
    background: var(--bg-secondary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px; /* UPDATED: from 40px */
}

.activity-card {
    will-change: transform, box-shadow;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.activity-card:hover {
    will-change: transform, box-shadow;
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.activity-image {
    height: 240px; /* UPDATED: from 320px */
    overflow: hidden;
    position: relative;
}

.activity-image img {
    will-change: transform, filter;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.date-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 10px 20px; /* UPDATED: from 12px 24px */
    border-radius: 25px;
    font-size: 13px; /* UPDATED: from 14px */
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    z-index: 2;
    white-space: nowrap;
}

.activity-card:hover .date-badge {
    background: var(--accent-secondary);
    transform: translateX(-50%) translateY(-4px);
}

.activity-content {
    padding: 24px; /* UPDATED: from 40px 28px 28px */
    min-height: auto; /* UPDATED: removed fixed height */
}

.activity-content h3 {
    font-size: 19px; /* UPDATED: from 20px */
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.activity-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.activity-link-new {
    background: var(--accent-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: 0.3s;
    font-weight: 600;
}

.activity-link-new:hover {
    background: var(--accent-secondary);
    transform: translateX(5px);
}

.activity-link-new i {
    transition: transform 0.3s ease;
}

.activity-link-new:hover i {
    transform: translateX(6px);
}

/* ========================================
   UPDATED: RESEARCH OUTPUTS (MINIMAL)
   ======================================== */
.outputs-section {
    padding: 30px 0; /* UPDATED: from 100px */
    background: var(--bg-primary);
    position: relative;
    overflow: visible; /* UPDATED: no floating dots */
}

/* REMOVED: .floating-dots and .dot styles */

.outputs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.output-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: none; /* UPDATED: flat design */
    text-align: center;
    min-height: auto; /* UPDATED: from 350px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.output-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}
.activity-link-output{
    background: rgb(83, 102, 141);
    color: white;
    padding: 5px 20px;
    border-radius: 25px;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    transition: 0.3s;
    font-weight: 600;

}
.activity-link-output:hover {
    background: var(--accent-secondary);
    transform: translateX(5px);
}

.output-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: rgb(40, 79, 122);
    transition: all 0.3s ease;
}

.output-card:hover .output-icon {
    transform: rotate(5deg) scale(1.1);
}

.output-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.output-card .arrow {
    font-size: 14px;
    color: var(--accent-primary);
    margin-top: 8px;
}

/* ========================================
   UPDATED: NEWS & NEWSLETTER
   ======================================== */
.news-section {
    padding: 50px 0; /* UPDATED: from 100px */
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px; /* UPDATED: from 40px */
}

.news-card {
    background: rgb(255, 245, 245);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.news-image {
      width: 100%;
      height: auto;
      min-height: 200px;
      overflow: hidden;
      background: white;
      padding: 15px; /* Adds breathing room */
      display: flex;
      align-items: center;
      justify-content: center;
}

.news-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  transition: transform 0.5s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.news-content {
    padding: 24px; /* UPDATED: from 32px 24px 24px */
}

.news-content h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
    color: var(--accent-primary);
}

/* ========================================
   ACKNOWLEDGEMENT SECTION - MOBILE RESPONSIVE FIX
   ======================================== */

/* Desktop styles (default) */
.simple-ack-content {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.simple-ack-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.ack-logos-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 120px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ack-logos-row img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ack-logos-row img:hover {
    transform: scale(1.05);
}

/* Tablet responsiveness (1024px and below) */
@media (max-width: 1024px) {
    .simple-ack-content {
        max-width: 900px;
        padding: 0 30px;
    }

    .simple-ack-content p {
        font-size: 17px;
        line-height: 1.7;
    }

    .ack-logos-row {
        gap: 80px;
    }

    .ack-logos-row img {
        height: 65px;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .acknowledgement-section {
        padding: 50px 0;
    }

    .acknowledgement-section .section-title {
        font-size: 28px !important;
        margin-bottom: 20px;
    }

    .simple-ack-content {
        max-width: 100%;
        padding: 0 25px;
    }

    .simple-ack-content p {
        font-size: 16px;
        line-height: 1.7;
        text-align: left;
        margin-bottom: 25px;
    }

    .ack-logos-row {
        gap: 50px;
        flex-direction: row;
    }

    .ack-logos-row img {
        height: 55px;
    }
}

/* Mobile (480px and below) - FORCE SIDE BY SIDE */
@media (max-width: 480px) {
    .acknowledgement-section {
        padding: 40px 0;
    }

    .acknowledgement-section .section-title {
        font-size: 24px !important;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .simple-ack-content {
        padding: 0 20px;
    }

    .simple-ack-content p {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
        margin-bottom: 20px;
    }

    /* FORCE HORIZONTAL LAYOUT */
    .ack-logos-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-evenly !important;
        align-items: center !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
        margin-top: 20px;
        width: 100%;
    }

    .ack-logos-row img {
        height: 45px !important;
        width: auto !important;
        max-width: 42% !important;
        min-width: 0 !important;
        object-fit: contain !important;
        flex-shrink: 1 !important;
    }
}

/* Very small mobile (360px and below) */
@media (max-width: 360px) {
    .acknowledgement-section .section-title {
        font-size: 22px !important;
    }

    .simple-ack-content {
        padding: 0 15px;
    }

    .simple-ack-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .ack-logos-row {
        gap: 10px !important;
    }

    .ack-logos-row img {
        height: 38px !important;
        max-width: 44% !important;
    }
}

/* Extra safety - override any conflicting container styles */
@media (max-width: 480px) {
    .acknowledgement-section .container {
        display: block !important;
    }
    
    .acknowledgement-section .simple-ack-content {
        display: block !important;
    }
}

/* ========================================
   PARTNER LOGO CAROUSEL
   ======================================== */
.partner-carousel-section {
    padding: 10px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel {
    display: flex;
    animation: scroll 25s linear infinite;
    width: fit-content;
    gap: 0;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

.logo-slide {
    flex: 0 0 auto;
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.logo-slide img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Fade edges for carousel */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* Seamless infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1a2332;
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-section .footer-logo {
    height: 50px;
    width: auto;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-contact i {
    color: #1a9b8e;
    font-size: 16px;
}

.footer-contact .separator {
    color: #1a9b8e;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #1a9b8e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 155, 142, 0.3);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid var(--accent-secondary);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   VIEW ALL BUTTON
   ======================================== */
.view-all-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(13, 109, 84, 0.25);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26, 155, 142, 0.35);
}

.text-center {
    text-align: center;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active .nav-link {
        padding: 16px 20px;
        font-size: 16px;
        text-align: center;
    }

    .nav-menu.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 8px;
        border-left: 3px solid var(--accent-secondary);
        border-radius: 0;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Grid adjustments */
    .challenge-split,
    .training-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .approach-grid,
    .activities-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .outputs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Minimal Acknowledgement Section – Clean & Compact */
.simple-ack-content {
    width: 1100px;
    text-align: center;
}

.ack-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ack-logos-row img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Override default section title just for this section (if you prefer not to use inline style) */
.acknowledgement-section .section-title {
    font-size: 32px !important;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .project-identity h1 {
        font-size: 32px;
    }

    .project-identity h2 {
        font-size: 22px;
    }

    .project-tagline {
        font-size: 24px;
    }

    /* Hero */
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    /* Info pills */
    .info-pills {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Grids */
    .approach-grid,
    .activities-grid,
    .outputs-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .approach-card {
        min-height: auto;
        padding: 30px 20px;
    }

    /* Stats */
    .stat-number {
        font-size: 40px;
    }

    .findings-column h3 {
        font-size: 22px;
    }

    .findings-list li {
        font-size: 16px;
    }

    /* Training section */
    .training-intro p {
        font-size: 18px;
    }

    .training-box {
        padding: 20px;
    }

    .training-box h4 {
        font-size: 18px;
    }

    .training-box li {
        font-size: 16px;
    }

    /* Impact highlight */
    .impact-highlight {
        padding: 25px;
    }

    .impact-highlight h3 {
        font-size: 20px;
    }

    .impact-highlight p {
        font-size: 16px;
    }

    /* Objectives */
    .objectives-list li {
        font-size: 16px;
    }

    /* Activities */
    .activity-image {
        height: 200px;
    }

    .activity-content {
        padding: 20px;
    }

    .activity-content h3 {
        font-size: 18px;
    }

    .activity-content p {
        font-size: 14px;
    }

    /* News */
    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 18px;
    }

    /* Outputs */
    .output-card {
        padding: 25px 15px;
    }

    .output-icon {
        font-size: 40px;
    }

    .output-card h3 {
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 15px 0;
    }

    .footer-logo-section .footer-logo {
        height: 45px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 10px;
        font-size: 13px;
    }

    .footer-contact .separator {
        display: none;
    }

    /* Carousel */
    .logo-slide {
        width: 200px;
        padding: 0 30px;
    }

    .logo-slide img {
        max-width: 140px;
        max-height: 70px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 5));
        }
    }

    .carousel-container::before,
    .carousel-container::after {
        width: 50px;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    /* Typography */
    .section-title {
        font-size: 28px;
    }

    .project-identity h1 {
        font-size: 26px;
    }

    .project-identity h2 {
        font-size: 20px;
    }
    .project-tagline {
        font-size: 20px;
    }
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Sections */
    section {
        padding: 40px 0;
    }

    .project-identity {
        padding: 50px 0;
    }

    /* Hero */
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .hero-overlay {
        padding-bottom: 30px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    /* Cards */
    .approach-card,
    .output-card,
    .training-box {
        padding: 20px 15px;
    }

    /* Stats */
    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Back to top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

    /* Carousel */
    .partner-carousel-section {
        padding: 30px 0;
    }

    .logo-slide {
        width: 180px;
        padding: 0 25px;
    }

    .logo-slide img {
        max-width: 120px;
        max-height: 60px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 5));
        }
    }

    /* Disclaimer box */
    .disclaimer-box {
        padding: 20px;
    }

    .logo-box {
        width: 200px;
        height: 120px;
        padding: 20px 30px;
    }

    .logo-box img {
        max-width: 160px;
        max-height: 80px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navigation,
    .hero-section,
    .back-to-top,
    .footer,
    .partner-carousel-section {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ========================================
   GOOGLE TRANSLATE - FORCE HIDE BANNER & ELEMENTS
   ======================================== */

/* Hide all Google elements except our custom button */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-gadget,
.skiptranslate,
.goog-logo-link,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
    position: static !important;
}

/* Ensure custom button styles (already in .control-btn) */
#language-toggle {
    min-width: 80px; /* Matches original select width */
    text-transform: uppercase;
}

/* Dark mode adjustments (override hardcoded colors if needed) */
[data-theme="dark"] .control-btn {
    color: #ffffff; /* Better contrast in dark mode */
    background: rgba(45, 55, 72, 0.3); /* Adjusted for dark theme */
}

[data-theme="dark"] .control-btn:hover {
    background: rgba(45, 55, 72, 0.5);
}

/* ========================================
   PROJECT IDENTITY – SMALL REFINEMENT (keeps all old CSS)
   ======================================== */

.identity-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.identity-photo img {
    width: 100%;
    max-width: 920px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
    margin-left: auto;
}

/* Slightly bigger font sizes – only for this section */
.project-identity .project-description p {
    font-size: 19.5px;
    line-height: 1.85;
}

/* Responsive – stack on tablet/mobile */
@media (max-width: 992px) {
    .identity-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .identity-photo {
        order: -1;
        margin-bottom: 40px;
    }
    .identity-photo img {
        max-width: 340px;
        margin: 0 auto;
    }
}
/* Hide Google Translate UI completely */
.goog-te-banner-frame,
.goog-te-balloon-frame, 
.goog-te-ftab-frame,
.goog-te-menu-frame,
.goog-te-spinner-pos,
#goog-gt-tt,
.goog-te-ftab,
.skiptranslate iframe {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

body {
    top: 0 !important;
    position: static !important;
}

#google_translate_element {
    display: none !important;
}




