:root {
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', 'Inter', serif;
    --brand-primary: #0f7c90;
    --brand-secondary: #055a7a;
    --brand-accent: #f5a623;
    --brand-light: #f4f9fb;
    --text-dark: #0f1c24;
    --text-muted: #546371;
    --border-radius: 20px;
    --shadow-soft: 0 24px 60px rgba(15, 28, 36, 0.12);
    --shadow-subtle: 0 10px 30px rgba(15, 28, 36, 0.08);
    --container-max: 1180px;
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
    background: #f9fcfd;
    overflow-x: hidden;
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 124, 144, 0.08), transparent 55%),
        radial-gradient(circle at 85% 10%, rgba(5, 90, 122, 0.06), transparent 50%),
        #f9fcfd;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--brand-secondary);
}

.page {
    position: relative;
}

.page section {
    scroll-margin-top: 120px;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(15, 124, 144, 0.15);
    z-index: 200;
    pointer-events: none;
    backdrop-filter: blur(6px);
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
    transition: width 0.25s ease-out;
}

section[data-section] {
    position: relative;
    isolation: isolate;
}

section[data-section]:not(.hero) {
    transform: translate3d(0, 32px, 0);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.9s ease;
}

section[data-section]:not(.hero)::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 50%;
    width: clamp(240px, 38vw, 420px);
    height: clamp(240px, 38vw, 420px);
    background: radial-gradient(circle, rgba(15, 124, 144, 0.16), transparent 70%);
    filter: blur(48px);
    transform: translate3d(-50%, 20%, 0) scale(0.8);
    opacity: 0;
    transition: opacity 0.85s ease, transform 0.85s ease;
    z-index: -1;
    pointer-events: none;
}

section[data-section].section-visible:not(.hero) {
    transform: translate3d(0, 0, 0);
}

section[data-section].section-visible:not(.hero)::before {
    opacity: 0.35;
    transform: translate3d(-50%, 0, 0) scale(1);
}

.container {
    width: min(90%, var(--container-max));
    margin: 0 auto;
}

.eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin: 0 0 0.75rem;
}

p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
}

.lead {
    font-size: 1.1rem;
    max-width: 540px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    border: none;
    cursor: pointer;
}

html.js-enabled [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

html.js-enabled [data-reveal="fade"] {
    transform: translate3d(0, 16px, 0);
}

html.js-enabled [data-reveal="left"] {
    transform: translate3d(-48px, 0, 0);
}

html.js-enabled [data-reveal="right"] {
    transform: translate3d(48px, 0, 0);
}

html.js-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

html:not(.js-enabled) [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    box-shadow: var(--shadow-subtle);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15, 124, 144, 0.24);
}

.btn-outline {
    background: transparent;
    border: 1.6px solid rgba(15, 124, 144, 0.35);
    color: var(--brand-secondary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--brand-secondary);
    color: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

.btn-ghost {
    background: rgba(15, 124, 144, 0.1);
    color: var(--brand-secondary);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(15, 124, 144, 0.16);
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 2px solid rgba(15, 124, 144, 0.45);
    outline-offset: 2px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 110;
    background: transparent;
    color: #f5fbfd;
    border-bottom: 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-bottom 0.3s ease;
}

.site-header:not(.scrolled) .main-nav a,
.site-header:not(.scrolled) .nav-toggle {
    color: #f5fbfd;
}

.site-header:not(.scrolled) .donate-btn {
    border: 1.4px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.site-header:not(.scrolled) .donate-btn:hover,
.site-header:not(.scrolled) .donate-btn:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.site-header.scrolled {
    background: rgba(240, 244, 246, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-subtle);
    color: var(--text-dark);
    border-bottom: 1px solid rgba(15, 28, 36, 0.08);
}

.site-header.scrolled .main-nav a,
.site-header.scrolled .nav-toggle {
    color: var(--text-dark);
}

.site-header.scrolled .donate-btn {
    display: inline-flex;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand img {
    height: 52px;
    width: auto;
    display: block;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.header-social a {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-social svg {
    width: 100%;
    height: 100%;
}

.header-social a:hover,
.header-social a:focus-visible {
    opacity: 1;
    transform: translateY(-1px);
}

.site-header:not(.scrolled) .header-social a:hover,
.site-header:not(.scrolled) .header-social a:focus-visible {
    color: #f5fbfd;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.site-header:not(.scrolled) .main-nav a:hover,
.site-header:not(.scrolled) .main-nav a:focus-visible {
    color: #f5fbfd;
}

/* Dropdown Menu */
.main-nav .has-dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: block;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.main-nav .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    margin: 0;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark) !important;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.main-nav .dropdown-menu a::after {
    display: none;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a.active {
    background: var(--brand-light);
    color: var(--brand-primary) !important;
    padding-left: 2rem;
}

.site-header:not(.scrolled) .main-nav .dropdown-menu a {
    color: var(--text-dark) !important;
}

.site-header:not(.scrolled) .main-nav .dropdown-menu a:hover,
.site-header:not(.scrolled) .main-nav .dropdown-menu a.active {
    color: var(--brand-primary) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
}

.nav-toggle span {
    width: 1.6rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.donate-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.6rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-color: transparent;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(8, 18, 26, 0.82) 0%, rgba(8, 18, 26, 0.45) 58%, rgba(8, 18, 26, 0.78) 100%);
    z-index: 1;
}

.hero-slider {
    position: absolute;
    inset: 0;
    display: grid;
    z-index: 0;
    background-color: transparent;
}

.hero-slide {
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    grid-area: 1 / 1;
    filter: saturate(1.1);
    opacity: 0;
    transform: scale(1.15);
    animation: heroZoomOut 32s infinite;
    transition: opacity 0.8s ease-in-out;
}

/* Ensure first slide is always visible initially */
.hero-slide:nth-child(1) {
    opacity: 1;
    transform: scale(1.15);
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 7.5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 15.5s;
}

.hero-slide:nth-child(4) {
    animation-delay: 23.5s;
}

@keyframes heroZoomOut {
    0% {
        opacity: 1;
        transform: scale(1.15);
    }

    12.5% {
        opacity: 1;
        transform: scale(1);
    }

    22% {
        opacity: 1;
        transform: scale(1);
    }

    25% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 0 rgba(15, 124, 144, 0.0);
        transform: scale(1);
    }

    to {
        box-shadow: 0 0 24px rgba(15, 124, 144, 0.35);
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 clamp(2rem, 5vw, 4rem);
    color: #edf5f7;
}

.hero-content>* {
    max-width: 720px;
}

.hero h1 {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.hero .lead {
    color: rgba(237, 245, 247, 0.85);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible {
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.hero-eyebrow {
    color: rgba(237, 245, 247, 0.85);
    letter-spacing: 0.28em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.foundation-banner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: #f5f6f8;
    overflow: hidden;
}

.foundation-banner-inner {
    position: relative;
    width: min(92%, var(--container-max));
    margin: 0 auto;
}

.foundation-banner-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.4rem, 2vw, 1.2rem);
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: clamp(3.2rem, 16vw, 11rem);
    line-height: 0.82;
    color: rgba(15, 28, 36, 0.08);
    pointer-events: none;
    user-select: none;
}

.foundation-banner-background span {
    display: block;
}

.foundation-banner-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.foundation-banner-eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.foundation-banner-content h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--text-dark);
}

.about-highlight {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(180deg, #f7f8fa 0%, #f2f3f6 100%);
}

.about-highlight-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
    align-items: center;
}

.about-highlight-image {
    position: relative;
    border-radius: clamp(18px, 3vw, 26px);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(12, 32, 48, 0.18);
}

.about-highlight-image::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.about-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-highlight-content {
    position: relative;
    background: #ffffff;
    border-radius: clamp(18px, 3vw, 26px);
    padding: clamp(2.4rem, 6vw, 3.2rem);
    box-shadow: var(--shadow-subtle);
}

.about-highlight-content::before {
    content: "";
    position: absolute;
    top: clamp(1.4rem, 3vw, 2rem);
    left: clamp(1.6rem, 3vw, 2.4rem);
    width: clamp(42px, 9vw, 58px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5a623 0%, rgba(245, 166, 35, 0) 100%);
}

.about-highlight-eyebrow {
    color: var(--brand-secondary);
    letter-spacing: 0.22em;
    margin-bottom: 0.6rem;
    padding-left: clamp(3.2rem, 7vw, 4.6rem);
}

.about-highlight-content h2 {
    margin: 0 0 1.1rem;
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 4.6vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    padding-left: clamp(3.2rem, 7vw, 4.6rem);
}

.about-highlight-content p {
    color: var(--text-muted);
    padding-left: clamp(3.2rem, 7vw, 4.6rem);
}

.about-highlight-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1.4rem;
    padding-left: clamp(3.2rem, 7vw, 4.6rem);
}

.about-highlight-meta div {
    background: rgba(15, 124, 144, 0.06);
    border-radius: 16px;
    padding: 1rem 1.2rem;
}

.meta-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    margin-bottom: 0.4rem;
}

.impact-map {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    background: linear-gradient(180deg, #f6f9fb 0%, #eef4f7 100%);
}

.impact-map-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
}

.map-visual {
    position: relative;
    background: #fff;
    border-radius: calc(var(--border-radius) + 4px);
    padding: clamp(1rem, 3vw, 1.6rem);
    box-shadow: var(--shadow-soft);
}

.map-visual svg {
    width: 100%;
    height: auto;
    display: block;
}

#nigeria-map {
    width: 100%;
    height: auto;
    min-height: 360px;
}

.map-base {
    fill: #e7edf2;
    stroke: #ffffff;
    stroke-width: 1;
}

.map-state {
    fill: rgba(15, 124, 144, 0.78);
    stroke: #ffffff;
    stroke-width: 3;
    cursor: pointer;
    transition: fill 0.25s ease, transform 0.25s ease, stroke-width 0.25s ease;
    filter: drop-shadow(0 8px 18px rgba(15, 28, 36, 0.15));
}

.map-state--circle {
    stroke-width: 4;
}

.map-state:hover,
.map-state:focus-visible,
.map-state.is-active {
    fill: #0f8fb0;
    transform: translateY(-2px);
    outline: none;
}

.map-state:focus-visible {
    box-shadow: 0 0 0 3px rgba(15, 124, 144, 0.35);
}

.map-dots circle {
    fill: #fff;
    stroke: rgba(15, 124, 144, 0.65);
    stroke-width: 2;
}

.map-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #0f7c90;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.map-tooltip.visible {
    opacity: 1;
}

.map-copy h2 {
    margin-top: 0;
}

.map-info {
    background: #fff;
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-subtle);
    margin: 1.5rem 0;
}

.map-info-title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.map-info-body {
    margin: 0;
    color: var(--text-muted);
}

.map-focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.map-focus-list li {
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-muted);
}

.map-focus-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-size: 0.7rem;
    top: 0.4rem;
}

.statement {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background:
        radial-gradient(120% 120% at 10% 10%, rgba(15, 124, 144, 0.08) 0%, transparent 45%),
        radial-gradient(120% 140% at 90% 20%, rgba(5, 90, 122, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f3f7f9 100%);
    overflow: hidden;
}

.statement::before {
    content: "";
    position: absolute;
    inset: 10% -40% auto;
    height: clamp(280px, 45vw, 420px);
    background: conic-gradient(from 210deg, rgba(15, 124, 144, 0.14), rgba(255, 255, 255, 0));
    filter: blur(60px);
    opacity: 0.8;
    z-index: 0;
}

.statement::after {
    content: "";
    position: absolute;
    inset: auto -30% -35%;
    height: clamp(260px, 40vw, 380px);
    background: conic-gradient(from 20deg, rgba(245, 166, 35, 0.18), rgba(255, 255, 255, 0));
    filter: blur(70px);
    opacity: 0.7;
    z-index: 0;
}

.statement-inner {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    position: relative;
    z-index: 1;
}

.statement h2 {
    margin-bottom: 1.4rem;
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(120deg, #0f1c24 0%, #1c4350 45%, #0f7c90 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.impact-metrics {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    backdrop-filter: blur(6px);
}

.metric {
    flex: 1 1 150px;
    padding: 1.8rem;
    border-radius: calc(var(--border-radius) - 6px);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.2)),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(15, 28, 36, 0.08);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.metric::before {
    content: "";
    position: absolute;
    inset: -40% 40% 60% -40%;
    background: linear-gradient(120deg, rgba(15, 124, 144, 0.12), transparent);
    transform: rotate(8deg);
    opacity: 0.8;
}

.metric:hover,
.metric:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 28, 36, 0.18);
}

.metric-value {
    font-size: clamp(2.1rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--brand-secondary);
}

.metric-value span {
    font-size: 1.2rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.4rem;
    font-weight: 500;
}

.statement-text p {
    font-size: 1.05rem;
    color: rgba(84, 99, 113, 0.9);
    max-width: 520px;
}

.who-we-are {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background:
        linear-gradient(135deg, rgba(15, 124, 144, 0.05) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
    overflow: hidden;
}

.who-we-are::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -18%;
    width: clamp(360px, 40vw, 520px);
    height: clamp(360px, 40vw, 520px);
    background: radial-gradient(circle, rgba(15, 124, 144, 0.18), transparent 65%);
    filter: blur(6px);
    opacity: 0.6;
    z-index: 0;
}

.who-we-are-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.who-we-are .content {
    background: #fff;
    border-radius: 26px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.4rem 0 1rem;
}

.vision-card {
    background: rgba(244, 249, 251, 0.85);
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(15, 124, 144, 0.08);
}

.vision-card h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-secondary);
}

.image-frame {
    position: relative;
    border-radius: calc(var(--border-radius) + 10px);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 124, 144, 0.15), transparent 60%);
}

.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pillars li {
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    background:
        linear-gradient(120deg, rgba(15, 124, 144, 0.2) 0%, rgba(5, 90, 122, 0.28) 45%, rgba(15, 124, 144, 0.12) 100%);
    color: #0e4a5a;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

.pillars li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    margin-right: 0.5rem;
    display: inline-block;
}

.reach {
    background: var(--text-dark);
    color: #f0f7f9;
    position: relative;
    overflow: hidden;
}

.reach .container {
    padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(1rem, 4vw, 2rem);
}

.state-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.2rem 0 1.4rem;
}

.state-badge {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.sector-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.sector-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.sector-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f5a623;
}

.sector-card p {
    margin: 0;
    color: rgba(240, 247, 249, 0.85);
    font-size: 0.95rem;
}

.reach-header p {
    color: rgba(255, 255, 255, 0.72);
}

.reach-header h2 {
    color: #fff;
}

.map-layer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
}

.map-layer img {
    width: 100%;
    height: clamp(380px, 48vw, 460px);
    object-fit: cover;
    filter: grayscale(0.12) saturate(1.15);
    opacity: 0.9;
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.progress-card {
    background: rgba(8, 22, 30, 0.85);
    padding: clamp(1.9rem, 4vw, 2.6rem);
    border-radius: calc(var(--border-radius) + 6px);
    max-width: clamp(320px, 36vw, 420px);
    box-shadow: 0 28px 60px rgba(8, 22, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    position: relative;
}

.progress-card::before {
    content: "";
    position: absolute;
    inset: -20% -30% 65% 45%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.25), transparent 65%);
    opacity: 0.6;
}

.progress-card h3 {
    color: #fff;
    margin-bottom: 1.4rem;
    font-size: 1.4rem;
    letter-spacing: 0.01em;
}

.progress-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(236, 245, 247, 0.88);
    display: grid;
    gap: 0.7rem;
}

.values {
    position: relative;
    padding: clamp(3.2rem, 7vw, 6rem) 0;
    background:
        radial-gradient(110% 110% at 20% 20%, rgba(15, 124, 144, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(110% 110% at 80% 0%, rgba(5, 90, 122, 0.09) 0%, rgba(255, 255, 255, 0) 65%),
        var(--brand-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 249, 251, 0.7) 65%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: calc(var(--border-radius) - 4px);
    padding: 2.2rem 2rem;
    box-shadow: 0 20px 40px rgba(15, 28, 36, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.value-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -45% -20%;
    height: 80%;
    background: radial-gradient(circle at top, rgba(15, 124, 144, 0.16), transparent 62%);
    transition: transform 0.35s ease;
}

.value-card:hover,
.value-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.value-card:hover::after,
.value-card:focus-within::after {
    transform: translateY(8px);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 124, 144, 0.18), rgba(15, 124, 144, 0.05));
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.value-card:hover .icon-circle,
.value-card:focus-within .icon-circle {
    animation: pulseGlow 1.4s ease-in-out infinite alternate;
}

.projects {
    position: relative;
    padding: clamp(3.2rem, 7vw, 6.5rem) 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f9fb 100%);
}

.projects::before {
    content: "";
    position: absolute;
    inset: 0 10% auto;
    height: 40%;
    background: radial-gradient(circle at 20% 20%, rgba(15, 124, 144, 0.12), transparent 65%);
    opacity: 0.7;
}

.projects::after {
    content: "";
    position: absolute;
    inset: auto 15% 5%;
    height: 30%;
    background: radial-gradient(circle at 80% 80%, rgba(245, 166, 35, 0.16), transparent 65%);
    opacity: 0.6;
}

.projects-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}

.projects-slider {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1.6rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.projects-slider::-webkit-scrollbar {
    height: 6px;
}

.projects-slider::-webkit-scrollbar-thumb {
    background: rgba(15, 124, 144, 0.4);
    border-radius: 999px;
}

.project-card {
    background: #fff;
    border-radius: calc(var(--border-radius) - 6px);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 124, 144, 0.12));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(15, 28, 36, 0.16);
}

.project-card:hover::after,
.project-card:focus-within::after {
    opacity: 1;
}

.project-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img,
.project-card:focus-within img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.tag {
    align-self: flex-start;
    padding: 0.4rem 0.9rem;
    background: rgba(245, 166, 35, 0.18);
    color: #a96307;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.project-content p {
    flex: 1;
}

.stories {
    position: relative;
    padding: clamp(3.2rem, 7vw, 6rem) 0;
    background:
        radial-gradient(120% 120% at 15% 10%, rgba(15, 124, 144, 0.08), transparent 60%),
        radial-gradient(120% 110% at 85% 5%, rgba(5, 90, 122, 0.08), transparent 65%),
        linear-gradient(180deg, #ffffff, #f7fbfc);
}

.stories-inner {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
}

.stories-list {
    display: grid;
    gap: 1.5rem;
}

.story-card {
    padding: 1.5rem;
    border-radius: calc(var(--border-radius) - 10px);
    background: #fff;
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 124, 144, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-panel {
    padding: 2.2rem;
    box-shadow: 0 22px 50px rgba(15, 28, 36, 0.1);
    display: grid;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.4s ease,
        box-shadow 0.4s ease;
}

.media-panel::before {
    content: "";
    position: absolute;
    inset: -5% 35% 65% -25%;
    background: linear-gradient(130deg, rgba(15, 124, 144, 0.18), transparent 60%);
    opacity: 0.6;
}

.media-panel:hover,
.media-panel:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 28, 36, 0.16);
}

.social-links {
    display: grid;
    gap: 0.75rem;
}

.social-links a {
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 124, 144, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-secondary);
    transition: background 0.25s ease, transform 0.25s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background: rgba(15, 124, 144, 0.1);
    transform: translateX(4px);
}

.video-card {
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(15, 124, 144, 0.12), rgba(255, 255, 255, 0.9));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.video-thumb {
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-thumb button {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

.video-body {
    padding: 1.4rem 1.6rem 1.8rem;
}

.partners {
    position: relative;
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f2f8fa 100%);
}

.partners-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.carousel-controls {
    display: flex;
    gap: 0.75rem;
}

.carousel-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 124, 144, 0.3);
    background: #fff;
    color: var(--brand-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
    background: rgba(15, 124, 144, 0.1);
    transform: translateY(-2px);
}

.carousel-track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
}

/* Blog Styles */
/* Blog Hero with Header Image */
.blog-hero {
    background-image: url('images/DSCN0007.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.blog-hero .hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.blog-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.blog-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.blog-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.blog-posts {
    display: grid;
    gap: 2rem;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-post.featured-post {
    border-left: 4px solid #0f7c90;
}

.blog-post-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #e9ecef;
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #666;
    align-items: center;
}

.blog-post-category {
    background: #0f7c90;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.blog-post-category.featured {
    background: #e74c3c;
}

.blog-post-category.election {
    background: #9b59b6;
}

.blog-post-category.peace {
    background: #27ae60;
}

.blog-post-category.livelihood {
    background: #f39c12;
}

.blog-post-category.trauma {
    background: #34495e;
}

.blog-post h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #2c3e50;
}

.blog-post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #0f7c90;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #055a7a;
}

.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #0f7c90;
    font-family: 'Playfair Display', serif;
}

.category-list,
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.quick-links li {
    margin-bottom: 0.5rem;
}

.category-list a,
.quick-links a {
    color: #666;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active,
.quick-links a:hover {
    color: #0f7c90;
    background: rgba(15, 124, 144, 0.1);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.recent-post a {
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
}

.recent-post a:hover {
    color: #0f7c90;
}

.recent-date {
    font-size: 0.8rem;
    color: #999;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0.75rem;
    background: #0f7c90;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #055a7a;
}

/* Project Detail Styles */
.farmers-herders-hero {
    background: linear-gradient(rgba(15, 124, 144, 0.9), rgba(5, 90, 122, 0.9)), url('images/DSCN0832.JPG');
    background-size: cover;
    background-position: center;
}

.pharos-hero {
    background: linear-gradient(rgba(155, 89, 182, 0.9), rgba(142, 68, 173, 0.9)), url('images/DSCN0824.JPG');
    background-size: cover;
    background-position: center;
}

.project-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.project-main-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-overview .lead {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-section {
    margin-bottom: 3rem;
}

.project-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #0f7c90;
    margin-bottom: 1.5rem;
}

.project-image-section {
    margin: 3rem 0;
}

.project-image-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.image-caption {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

.activity-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0f7c90;
}

.activity-card h4 {
    color: #0f7c90;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.objective-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #0f7c90;
}

.objective-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.target-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.area-card {
    background: #e8f4f8;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #0f7c90;
}

.area-card h4 {
    color: #0f7c90;
    margin-bottom: 0.5rem;
}

.activity-timeline {
    position: relative;
    padding-left: 2rem;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0f7c90;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #0f7c90;
    border-radius: 50%;
}

.timeline-content h4 {
    color: #0f7c90;
    margin-bottom: 0.5rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.impact-item {
    background: #f8f9fa;
    padding: 2rem 1rem;
    border-radius: 8px;
    border-top: 3px solid #0f7c90;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f7c90;
    display: block;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.lesson-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

.lesson-card h4 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.project-sidebar {
    position: sticky;
    top: 2rem;
}

.project-info-card,
.related-projects,
.cta-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.project-info-card h3,
.related-projects h3,
.cta-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #0f7c90;
    font-family: 'Playfair Display', serif;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.meta-item strong {
    color: #2c3e50;
}

.related-project-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.related-project-item:last-child {
    border-bottom: none;
}

.related-project-item a {
    text-decoration: none;
    color: inherit;
}

.related-project-item h4 {
    color: #0f7c90;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-project-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.cta-card {
    background: linear-gradient(135deg, #0f7c90, #055a7a);
    color: white;
    text-align: center;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    margin-bottom: 1.5rem;
}

.cta-card .btn {
    background: white;
    color: #0f7c90;
}

.cta-card .btn:hover {
    background: #f8f9fa;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: rgba(15, 124, 144, 0.35);
    border-radius: 999px;
}

.partner-card {
    background: #fff;
    border-radius: calc(var(--border-radius) - 10px);
    box-shadow: var(--shadow-subtle);
    padding: 1.6rem;
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card img {
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    filter: saturate(1.05);
    margin-bottom: 1rem;
    transition: transform 0.45s ease;
}

.partner-card figcaption {
    font-weight: 600;
    color: var(--text-muted);
}

.office-address {
    margin: 0.5rem 0 0.8rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.office-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.office-contacts a {
    color: var(--brand-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.partner-card:hover,
.partner-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 28, 36, 0.14);
}

.partner-card:hover img,
.partner-card:focus-within img {
    transform: scale(1.04);
}

.footer-brand p {
    color: #ffffff;
    opacity: 0.95;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-brand .brand-mark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.site-footer {
    background: linear-gradient(180deg, #0f5f75, #0a4253);
    color: #e6f3f7;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: -20% 60% auto -10%;
    height: 60%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.18), transparent 70%);
    opacity: 0.6;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: auto -10% -25%;
    height: 50%;
    background: radial-gradient(circle, rgba(15, 124, 144, 0.25), transparent 65%);
    opacity: 0.4;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
    z-index: 1;
}

.footer-brand .brand-mark {
    margin-bottom: 1rem;
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #f5fbfd;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-col ul li {
    position: relative;
    padding-left: 0.8rem;
}

.footer-col ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(230, 243, 247, 0.6);
}

.footer-col a {
    color: rgba(230, 243, 247, 0.9);
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: #fff;
}

address {
    font-style: normal;
    font-size: 0.95rem;
    color: rgba(230, 243, 247, 0.9);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(230, 243, 247, 0.8);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    html.js-enabled [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    section[data-section]:not(.hero) {
        transform: none !important;
        transition: none !important;
    }

    section[data-section]:not(.hero)::before {
        transition: none !important;
    }

    .scroll-progress span {
        transition: none !important;
    }

    .metric,
    .value-card,
    .project-card,
    .story-card,
    .media-panel,
    .partner-card {
        transition-duration: 0s !important;
    }

    .value-card:hover .icon-circle,
    .value-card:focus-within .icon-circle {
        animation: none;
    }

    .project-card:hover img,
    .project-card:focus-within img,
    .partner-card:hover img,
    .partner-card:focus-within img {
        transform: none;
    }
}

/* Responsive tweaks */
@media (max-width: 1024px) {

    .about-highlight-inner,
    .statement-inner,
    .who-we-are-inner,
    .stories-inner,
    .impact-map-inner {
        grid-template-columns: 1fr;
    }

    .about-highlight-inner {
        gap: clamp(2rem, 7vw, 3.2rem);
    }

    .about-highlight-image {
        max-width: 560px;
        margin: 0 auto;
    }

    .about-highlight-content {
        padding: clamp(2rem, 5.5vw, 2.8rem);
    }

    .about-highlight-content::before {
        left: clamp(1.8rem, 5vw, 2.6rem);
    }

    .about-highlight-eyebrow,
    .about-highlight-content h2,
    .about-highlight-content p {
        padding-left: clamp(1.8rem, 5vw, 2.6rem);
    }

    .statement-inner {
        text-align: center;
    }

    .statement-text p {
        margin: 0 auto;
    }

    .map-overlay {
        justify-content: center;
    }

    .progress-card {
        max-width: min(420px, 100%);
    }

    .map-visual {
        order: 2;
    }

    .map-copy {
        order: 1;
    }
}

@media (max-width: 860px) {
    .about-highlight {
        padding: clamp(3.6rem, 12vw, 4.6rem) 0;
    }

    .about-highlight-content {
        padding: clamp(1.8rem, 7vw, 2.4rem);
    }

    .about-highlight-content::before {
        left: clamp(1.2rem, 6vw, 1.8rem);
    }

    .about-highlight-eyebrow,
    .about-highlight-content h2,
    .about-highlight-content p {
        padding-left: clamp(1.4rem, 6vw, 2rem);
    }

    .about-highlight-meta {
        padding-left: clamp(1.4rem, 6vw, 2rem);
        grid-template-columns: 1fr;
    }

    .about-cta-group {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-left: clamp(1.4rem, 6vw, 2rem);
    }

    .about-cta-group .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    .main-nav ul {
        position: absolute;
        top: 100%;
        right: 1rem;
        width: min(240px, calc(100vw - 2rem));
        flex-direction: column;
        gap: 0;
        background: rgba(236, 241, 244, 0.98);
        border-radius: 18px;
        padding: 0.5rem;
        box-shadow: var(--shadow-soft);
        transform-origin: top right;
        transform: scale(0.8);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .main-nav ul.open {
        transform: scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav li {
        border-radius: 14px;
    }

    .main-nav a {
        display: block;
        padding: 0.8rem 1.1rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }

    .main-nav ul.open a {
        color: var(--text-dark) !important;
    }

    .main-nav a {
        color: var(--text-dark) !important;
    }

    .main-nav a::after {
        display: none;
    }

    /* Mobile Dropdown Menu */
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(15, 124, 144, 0.08);
        margin: 0.5rem 0 0 0;
        padding: 0;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
    }

    .main-nav .has-dropdown:hover .dropdown-menu,
    .main-nav .has-dropdown.open .dropdown-menu {
        max-height: 300px;
    }

    .main-nav .dropdown-menu a {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        color: var(--text-dark) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }

    .main-nav .dropdown-menu a:hover,
    .main-nav .dropdown-menu a.active {
        background: rgba(15, 124, 144, 0.15);
        color: var(--brand-primary) !important;
        padding-left: 2rem;
    }

    .header-social {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .donate-btn {
        display: none;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .impact-metrics {
        justify-content: center;
    }

    .projects-slider,
    .carousel-track {
        grid-auto-columns: 80%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.6rem;
    }
}

@media (max-width: 600px) {
    .about-highlight-content {
        padding: clamp(1.6rem, 8vw, 2.1rem);
    }

    .about-highlight-content::before {
        left: 1.2rem;
        width: 42px;
    }

    .about-highlight-eyebrow,
    .about-highlight-content h2,
    .about-highlight-content p {
        padding-left: 1.2rem;
    }

    .about-highlight-content h2 {
        font-size: clamp(1.9rem, 8vw, 2.3rem);
    }

    .hero-content {
        padding-bottom: 4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .impact-metrics {
        gap: 1rem;
    }

    .metric {
        padding: 1.1rem;
    }

    .video-thumb button {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }
}

/* ========================================
   Partners & Donors Section
   ======================================== */
.partners-donors {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.partners-donors-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.partners-categories {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.partner-category h3 {
    font-size: 1.4rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner-logo-placeholder {
    background: white;
    border: 2px dashed rgba(15, 124, 144, 0.2);
    border-radius: 12px;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.partner-logo-placeholder:hover {
    border-color: var(--brand-primary);
    background: var(--brand-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
}

.partner-logo-placeholder span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.partnership-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.partnership-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    color: white;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.newsletter-benefits svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.newsletter-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.newsletter-form h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid rgba(15, 124, 144, 0.15);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(15, 124, 144, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Contact Forms Section
   ======================================== */
.contact-forms {
    padding: 6rem 0;
    background: #f9fcfd;
}

.contact-forms-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Custom Styling for Contact Tabs */
.contact-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.contact-tab {
    padding: 0.85rem 1.8rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.contact-tab:hover {
    color: var(--brand-primary);
    background: rgba(15, 124, 144, 0.08);
    transform: translateY(-1px);
}

.contact-tab.active {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 124, 144, 0.25);
    transform: translateY(-1px);
}

/* Specific Mobile Layout */
@media (max-width: 768px) {
    .contact-tabs {
        border-radius: 20px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .contact-tab {
        width: 100%;
        border-radius: 12px;
        padding: 1rem;
        text-align: center;
    }
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separation */
}

.tab-btn {
    padding: 0.8em 1.6em;
    border: none;
    background: #fff;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
    /* Slight rounded corners, not full pill */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.tab-btn:hover,
.tab-btn:focus {
    color: var(--brand-primary);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.tab-btn:hover::before {
    width: 100%;
}

.tab-btn.active {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 124, 144, 0.25);
    transform: translateY(-2px);
}

.tab-btn.active::before {
    display: none;
    /* No underline for active filled button */
}

.contact-forms-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.contact-form.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--brand-secondary);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.emergency-notice {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.emergency-notice svg {
    flex-shrink: 0;
    color: #856404;
}

.emergency-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
}

/* ========================================
   Volunteer Page Styles
   ======================================== */
.page-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--brand-light) 0%, white 100%);
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

/* About Page Hero */
/* About Page Hero */
.about-hero {
    background-image: url('images/team.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Transparent blue overlay using brand colors or similar */
    background: linear-gradient(135deg, rgba(0, 48, 87, 0.85) 0%, rgba(0, 90, 135, 0.75) 100%);
    z-index: 1;
}

/* Overlay removed as per user request */
/* .about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 24, 32, 0.85) 0%, rgba(15, 124, 144, 0.8) 100%);
    z-index: 1;
} */

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.about-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero .eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

/* Project Reports Page Hero */
.project-reports-hero {
    background-image: url('images/team.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.project-reports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.project-reports-hero .hero-content {
    position: relative;
    z-index: 2;
}

.project-reports-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.project-reports-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-reports-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Volunteer Hero with Background Image */
.volunteer-hero {
    background-image: url('images/DSCN0064.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 36, 0.8) 0%, rgba(15, 124, 144, 0.7) 100%);
    z-index: 1;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(15, 124, 144, 0.85) 0%,
            rgba(5, 90, 122, 0.75) 50%,
            rgba(15, 28, 36, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.volunteer-hero .hero-content {
    position: relative;
    z-index: 2;
}

.volunteer-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.volunteer-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.volunteer-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.volunteer-intro {
    padding: 6rem 0;
}

.volunteer-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.volunteer-intro-content h2 {
    font-size: 2rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefits-list svg {
    flex-shrink: 0;
    color: var(--brand-primary);
    margin-top: 0.2rem;
}

.benefits-list strong {
    display: block;
    color: var(--brand-secondary);
    margin-bottom: 0.3rem;
}

.benefits-list p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.volunteer-intro-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.current-openings {
    padding: 6rem 0;
    background: #f9fcfd;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.opening-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    border-top: 4px solid var(--brand-primary);
}

.opening-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.opening-card.paid-role {
    border-top-color: #f5a623;
}

.opening-card.internship-role {
    border-top-color: #9b59b6;
}

.opening-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.opening-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opening-badge.volunteer {
    background: rgba(15, 124, 144, 0.1);
    color: var(--brand-primary);
}

.opening-badge.paid {
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
}

.opening-badge.internship {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.opening-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.opening-card h3 {
    font-size: 1.4rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.opening-card>p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.opening-requirements {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.opening-requirements li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.opening-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

.general-application {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.general-application h3 {
    font-size: 1.6rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.general-application p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Thematic Areas Section
   ======================================== */
.thematic-areas {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.thematic-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.thematic-header h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.thematic-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.thematic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.thematic-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    border-top: 4px solid var(--brand-primary);
    position: relative;
    overflow: hidden;
}

.thematic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.thematic-card:hover::before {
    transform: scaleX(1);
}

.thematic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.thematic-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.thematic-card:hover .thematic-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(15, 124, 144, 0.3);
}

.thematic-card h3 {
    font-size: 1.6rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.thematic-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.thematic-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--brand-light);
    color: var(--brand-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.thematic-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.thematic-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ========================================
   Offices Section
   ======================================== */
.offices-section {
    padding: 6rem 0;
    background: white;
}

.offices-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.offices-header h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.offices-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.office-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    border: 2px solid rgba(15, 124, 144, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
    border-color: var(--brand-primary);
}

.office-card.headquarters {
    border-top: 4px solid var(--brand-primary);
}

.office-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-badge.regional {
    background: linear-gradient(135deg, #f5a623 0%, #e67e22 100%);
}

.office-card h3 {
    font-size: 1.6rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.office-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.office-location svg {
    flex-shrink: 0;
}

.office-address {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(15, 124, 144, 0.1);
}

.office-contacts {
    margin-bottom: 1.5rem;
}

.office-contacts h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-contacts a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.office-contacts a:hover {
    color: var(--brand-primary);
    padding-left: 0.5rem;
}

.office-contacts a svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.office-email {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem;
    background: var(--brand-light);
    border-radius: 10px;
    margin-top: 1rem;
}

.office-email svg {
    flex-shrink: 0;
    color: var(--brand-primary);
}

.office-email a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.office-email a:hover {
    text-decoration: underline;
}

.offices-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--brand-light) 0%, white 100%);
    border-radius: var(--border-radius);
}

.offices-cta p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Vision, Mission, Values - Homepage
   ======================================== */
.vision-mission-values-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.vision-mission-values-home .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.vision-mission-values-home .section-header h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.vision-mission-values-home .section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ========================================
   About Page Styles
   ======================================== */


.about-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.about-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-content {
    padding: 6rem 0;
    background: white;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-history,
.about-founder,
.about-approach {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.about-history h3,
.about-founder h3,
.about-approach h3 {
    font-size: 2rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.about-history p,
.about-founder p,
.about-approach p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.vision-mission-values {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.vmv-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: all 0.3s ease;
}

.vmv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.vmv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.vmv-card h3 {
    font-size: 1.8rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.vmv-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.objectives-section {
    padding: 6rem 0;
    background: white;
}

.objectives-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.objective-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: #f9fcfd;
    border-radius: 12px;
    border-left: 4px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.objective-item:hover {
    background: white;
    box-shadow: var(--shadow-subtle);
    transform: translateX(8px);
}

.objective-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    opacity: 0.3;
    flex-shrink: 0;
    line-height: 1;
}

.objective-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

.legal-status {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    color: white;
}

.legal-status .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-status h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-type {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.legal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.legal-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
}

.legal-card h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.legal-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ========================================
   Project Reports Pages
   ======================================== */
.project-reports-hero {
    background-image: url('images/DSCN0007.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.project-reports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 36, 0.8) 0%, rgba(15, 124, 144, 0.7) 100%);
    z-index: 1;
}

.project-reports-hero .hero-content {
    position: relative;
    z-index: 2;
}

.project-reports-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-reports-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.project-reports-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.reports-intro {
    padding: 4rem 0;
    background: white;
}

.reports-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.reports-intro-content h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.reports-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.reports-grid-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.report-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.report-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.report-card:hover .report-image img {
    transform: scale(1.05);
}

.report-content {
    padding: 2rem;
}

.report-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.report-location,
.report-period {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.report-location {
    background: var(--brand-light);
    color: var(--brand-primary);
}

.report-period {
    background: #f0f0f0;
    color: var(--text-dark);
}

.report-content h3 {
    font-size: 1.8rem;
    color: var(--brand-secondary);
    margin-bottom: 0.5rem;
}

.report-content h4 {
    font-size: 1.1rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.report-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.report-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--brand-light);
    border-radius: 10px;
}

.highlight-item {
    text-align: center;
}

.highlight-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-bottom: 0.3rem;
}

.highlight-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reports-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    color: white;
}

.reports-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.reports-cta h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.reports-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

/* Project Detail Pages */
.project-detail-hero {
    padding: 10rem 0 6rem;
    background-image: url('images/DSCN0066.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 36, 0.85) 0%, rgba(15, 124, 144, 0.75) 100%);
    z-index: 1;
}

/* Specific project page backgrounds */
.cve-project-hero {
    background-image: url('images/DSCN0782.JPG');
}

.neri-project-hero {
    background-image: url('images/DSCN0066.JPG');
}

.nexus-project-hero {
    background-image: url('images/DSCN0829.JPG');
}

.drm-project-hero {
    background-image: url('images/DSCN0824.JPG');
}

.project-detail-hero .hero-content {
    position: relative;
    z-index: 2;
}

.project-detail-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.back-link:hover {
    color: white;
    gap: 0.7rem;
}

.project-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-overview {
    padding: 4rem 0;
    background: white;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.meta-item {
    padding: 2rem;
    background: var(--brand-light);
    border-radius: 10px;
    border-left: 4px solid var(--brand-primary);
}

.meta-item h3 {
    font-size: 0.9rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.project-content-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.project-main-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.content-block {
    margin-bottom: 3rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 2rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-light);
}

.content-block h3 {
    font-size: 1.4rem;
    color: var(--brand-primary);
    margin: 2rem 0 1rem;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.content-block ul li {
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.content-block ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 700;
}

.content-block blockquote {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--brand-light);
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 10px 10px 0;
}

.content-block blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.content-block blockquote cite {
    font-size: 0.95rem;
    color: var(--brand-primary);
    font-style: normal;
    font-weight: 600;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--brand-light);
    border-radius: 10px;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.related-projects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-projects li {
    margin-bottom: 1rem;
}

.related-projects a {
    display: block;
    padding: 1rem;
    background: var(--brand-light);
    color: var(--brand-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.related-projects a:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateX(5px);
}

.cta-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

/* ========================================
   Donation/* Gallery Hero - Revamped */
.gallery-hero {
    position: relative;
    padding: 14rem 0 10rem;
    /* Taller hero */
    text-align: center;
    color: #fff;
    background-color: #003057;
    /* Fallback */
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image with Ken Burns Effect - Removed static, moved to slideshow */
.gallery-hero::before {
    display: none;
    /* We use .hero-slideshow now */
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurnsSlide 8s ease-out forwards;
    /* Slightly faster for slideshow feel */
}

@keyframes kenBurnsSlide {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Gradient Overlay - ensuring it stays on top */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 87, 0.9) 0%, rgba(0, 90, 137, 0.75) 100%);
    z-index: 2;
    mix-blend-mode: multiply;
    /* Better blending with image */
}

/* Content Stacking */
.gallery-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.gallery-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: var(--font-display);
}

.gallery-hero p.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 10rem 0 6rem;
        min-height: 40vh;
    }

    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-hero p.subtitle {
        font-size: 1.1rem;
    }
}

.donate-hero {
    background-image: url('images/DSCN0060.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 36, 0.8) 0%, rgba(15, 124, 144, 0.7) 100%);
    z-index: 1;
}

.donate-hero .hero-content {
    position: relative;
    z-index: 2;
}

.donate-hero .eyebrow {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.donate-hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.donate-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.donate-intro {
    padding: 4rem 0;
    background: white;
}

.donate-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.donate-intro-content h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.donate-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.donation-impact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.impact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--brand-primary);
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.impact-card h3 {
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.impact-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.donation-methods {
    padding: 6rem 0;
    background: white;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.method-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(15, 124, 144, 0.1);
    transition: all 0.3s ease;
}

.method-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
}

.method-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.method-card h3 {
    font-size: 1.8rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.method-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.bank-details {
    background: var(--brand-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 124, 144, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 0.95rem;
}

.detail-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.account-number {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--brand-secondary);
}

.copy-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--brand-secondary);
    transform: scale(1.1);
}

.method-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.method-note a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.method-note a:hover {
    text-decoration: underline;
}

.online-platform {
    text-align: center;
    margin: 2rem 0;
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #00b964 0%, #00a854 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.platform-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.donation-faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fcfd 0%, #f4f9fb 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    border-left: 4px solid var(--brand-primary);
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.donation-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    color: white;
}

.donation-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.donation-cta h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.donation-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Responsive Styles for New Sections
   ======================================== */
@media (max-width: 860px) {

    .newsletter-inner,
    .volunteer-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-tabs {
        justify-content: flex-start;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .openings-grid {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 600px) {
    .newsletter-form-wrapper {
        padding: 1.5rem;
    }

    .contact-tab {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .page-hero {
        padding: 8rem 0 4rem;
    }

    .volunteer-hero,
    .about-hero {
        padding: 10rem 0 6rem;
    }

    .volunteer-hero h1,
    .about-hero h1 {
        font-size: 2rem;
    }

    .volunteer-hero .lead,
    .about-hero .lead {
        font-size: 1rem;
    }

    .about-intro h2 {
        font-size: 2rem;
    }

    .vmv-grid {
        grid-template-columns: 1fr;
    }

    .objective-item {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .office-card {
        padding: 2rem 1.5rem;
    }

    .offices-header h2 {
        font-size: 2rem;
    }

    .thematic-grid {
        grid-template-columns: 1fr;
    }

    .thematic-card {
        padding: 2.5rem 2rem;
    }

    .thematic-header h2 {
        font-size: 2rem;
    }

    .thematic-icon {
        width: 75px;
        height: 75px;
    }

    .thematic-icon svg {
        width: 40px;
        height: 40px;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .reports-intro-content h2 {
        font-size: 2rem;
    }

    .reports-cta h2 {
        font-size: 2rem;
    }

    .project-reports-hero,
    .project-detail-hero {
        padding: 10rem 0 6rem;
    }

    .project-content-wrapper {
        grid-template-columns: 1fr;
    }

    .project-main-content {
        padding: 2rem 1.5rem;
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

    .donate-hero {
        padding: 10rem 0 6rem;
    }

    .donate-intro-content h2 {
        font-size: 2rem;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .method-card {
        padding: 2.5rem 2rem;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-value {
        text-align: left;
        margin-left: 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .donation-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ===================================================================
   NEWS COVERAGE PAGE STYLES
   =================================================================== */

.page-hero {
    position: relative;
    padding: clamp(10rem, 18vw, 14rem) 0 clamp(5rem, 10vw, 8rem);
    background: linear-gradient(135deg, #0a4d5c 0%, #0f7c90 50%, #055a7a 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 124, 144, 0.3), transparent 60%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    margin-bottom: 1.2rem;
    color: #fff;
}

.page-hero .eyebrow {
    color: rgba(255, 255, 255, 0.85);
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
}

.news-hero {
    background-image: url('images/news-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Ensure text remains readable with an overlay */
    z-index: 1;
}

.news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark blue overlay for brand consistency and text legibility */
    background: linear-gradient(135deg, rgba(15, 28, 36, 0.85) 0%, rgba(15, 124, 144, 0.75) 100%);
    z-index: -1;
}


.news-coverage {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: linear-gradient(180deg, #f9fcfd 0%, #f4f9fb 100%);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-header .eyebrow {
    color: var(--brand-primary);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Gallery Grid - Enforce 3 columns on desktop */
.gallery-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    /* Strict 3 columns as requested */
    gap: 2rem;
    /* More breathing room */
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid.active {
    display: grid;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

.gallery-item {
    border-radius: 16px;
    /* Slightly tighter radius */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Softer, more modern shadow */
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 300px;
    /* Taller images for better impact */
    position: relative;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Effect: Overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 124, 144, 0.2);
    /* Brand primary tint */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 124, 144, 0.15);
    /* Colored shadow on hover */
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.news-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f4f7 0%, #d4e9ef 100%);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(15, 124, 144, 0.3);
}

.news-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 124, 144, 0.15);
}

.news-outlet {
    font-weight: 600;
    color: var(--brand-secondary);
    font-size: 0.9rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.news-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-card .btn {
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    margin-top: auto;
}

.news-card .btn svg {
    transition: transform 0.3s ease;
}

.news-card .btn:hover svg {
    transform: translateX(3px);
}

.cta-section {
    padding: clamp(5rem, 10vw, 7rem) 0;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--brand-secondary);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.cta-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.cta-section .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive adjustments for news page */
@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-card-image {
        height: 200px;
    }

    .news-card-content {
        padding: 1.5rem;
    }

    .news-card h3 {
        font-size: 1.2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================================================================
   STRATEGIC OBJECTIVES - IMPROVED DESIGN
   =================================================================== */

.objectives-section {
    padding: clamp(6rem, 12vw, 10rem) 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(15, 124, 144, 0.04), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(5, 90, 122, 0.04), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
    position: relative;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.objective-item {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow:
        0 2px 8px rgba(15, 124, 144, 0.04),
        0 8px 24px rgba(15, 124, 144, 0.06);
    border: 2px solid rgba(15, 124, 144, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.objective-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 124, 144, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.objective-item:hover {
    transform: translateY(-8px);
    box-shadow:
        0 8px 16px rgba(15, 124, 144, 0.08),
        0 16px 48px rgba(15, 124, 144, 0.12);
    border-color: rgba(15, 124, 144, 0.15);
}

.objective-item:hover::after {
    opacity: 1;
}

.objective-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.objective-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(15, 124, 144, 0.08), rgba(5, 90, 122, 0.04));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.objective-icon-wrapper::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.objective-item:hover .objective-icon-wrapper {
    color: #fff;
    transform: scale(1.05);
}

.objective-item:hover .objective-icon-wrapper::before {
    opacity: 1;
}

.objective-num {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: rgba(15, 124, 144, 0.06);
    line-height: 1;
    transition: all 0.35s ease;
    user-select: none;
}



.partners-donors-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partners-categories {
    margin-top: 3rem;
}

.partner-category {
    margin-bottom: 3rem;
}

.partner-category h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

/* Scrolling Marquee Container */
.partner-logos {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 5%,
            rgba(255, 255, 255, 0) 95%,
            rgba(255, 255, 255, 1) 100%);
}

.partner-logos::before,
.partner-logos::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partner-logos::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.partner-logos::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

/* Marquee Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logos {
    display: flex;
    animation: scroll-left 60s linear infinite;
    width: fit-content;
}



.partners-donors-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partners-categories {
    margin-top: 3rem;
}

.partner-category {
    margin-bottom: 3rem;
}

.partner-category h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

/* Scrolling Marquee Container */
.partner-logos {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 5%,
            rgba(255, 255, 255, 0) 95%,
            rgba(255, 255, 255, 1) 100%);
}

.partner-logos::before,
.partner-logos::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partner-logos::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.partner-logos::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

/* Marquee Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logos {
    display: flex;
    animation: scroll-left 60s linear infinite;
    width: fit-content;
}

/* Duplicate content for seamless loop */
.partner-category {
    position: relative;
}

.partner-category .partner-logos {
    display: inline-flex;
    gap: 3rem;
    padding: 2rem 0;
    animation: scroll-left 60s linear infinite;
}

.partner-logo-placeholder {
    flex-shrink: 0;
    min-width: 200px;
    height: 100px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid rgba(15, 124, 144, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(15, 124, 144, 0.05);
    transition: all 0.3s ease;
}

.partner-logo-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 124, 144, 0.12);
    border-color: rgba(15, 124, 144, 0.2);
}

.partner-logo-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

.partner-logo-placeholder img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Pause animation on hover */
.partner-logos:hover {
    animation-play-state: paused;
}

.partnership-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(15, 124, 144, 0.05), rgba(5, 90, 122, 0.03));
    border-radius: 20px;
}

.partnership-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .partner-logo-placeholder {
        min-width: 180px;
        height: 90px;
        padding: 1rem;
    }


}

.partner-logos::before,
.partner-logos::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partner-logos::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.partner-logos::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

/* Marquee Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logos {
    display: flex;
    animation: scroll-left 60s linear infinite;
    width: fit-content;
}



.partners-donors-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partners-categories {
    margin-top: 3rem;
}

.partner-category {
    margin-bottom: 3rem;
}

.partner-category h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

/* Scrolling Marquee Container */
.partner-logos {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 5%,
            rgba(255, 255, 255, 0) 95%,
            rgba(255, 255, 255, 1) 100%);
}

.partner-logos::before,
.partner-logos::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partner-logos::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.partner-logos::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

/* Marquee Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logos {
    display: flex;
    animation: scroll-left 60s linear infinite;
    width: fit-content;
}

/* Duplicate content for seamless loop */
.partner-category {
    position: relative;
}

.partner-category .partner-logos {
    display: inline-flex;
    gap: 3rem;
    padding: 2rem 0;
    animation: scroll-left 60s linear infinite;
}

.partner-logo-placeholder {
    flex-shrink: 0;
    min-width: 200px;
    height: 100px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid rgba(15, 124, 144, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(15, 124, 144, 0.05);
    transition: all 0.3s ease;
}

.partner-logo-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 124, 144, 0.12);
    border-color: rgba(15, 124, 144, 0.2);
}

.partner-logo-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

.partner-logo-placeholder img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Pause animation on hover */
.partner-logos:hover {
    animation-play-state: paused;
}

.partnership-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(15, 124, 144, 0.05), rgba(5, 90, 122, 0.03));
    border-radius: 20px;
}

.partnership-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .partner-logo-placeholder {
        min-width: 180px;
        height: 90px;
        padding: 1rem;
    }

    .partner-logo-placeholder span {
        font-size: 0.85rem;
    }

    .partner-category .partner-logos {
        gap: 2rem;
        animation: scroll-left 40s linear infinite;
    }
}

/* Additional Section Spacing */
.thematic-areas,
.offices-section,
.contact-forms {
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
}

/* ========================================
   HOME PAGE BLOG SECTION
   ======================================== */
.home-blog-section {
    padding: 5rem 0;
    background-color: #fff;
}

.home-blog-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.home-blog-header h2 {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #3b82f6;
    /* Bright Blue */
    margin-bottom: -2px;
}

.home-blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
}

/* Main Content Area */
.home-blog-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Two Featured Posts Row */
.home-blog-featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Recent Posts Row */
.home-blog-recent-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

/* Card Styles */
.home-blog-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-blog-card .card-image {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.home-blog-card .card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin-bottom: 0.5rem;
    /* Limit to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-card.featured .card-content h3 {
    font-size: 1.25rem;
}

.home-blog-card .card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.home-blog-card .card-meta i {
    margin-right: 0.4rem;
}

/* Sidebar Styles */
.home-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Social Grid */
.sidebar-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 4px;
    color: white;
    transition: opacity 0.2s;
}

.social-btn:hover {
    opacity: 0.9;
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.twitter {
    background-color: #1da1f2;
}

.social-btn.youtube {
    background-color: #cd201f;
}

.social-btn.instagram {
    background-color: #262626;
}

/* Dark simplified for insta */
.social-btn.linkedin {
    background-color: #0077b5;
}

.social-btn.full-width {
    grid-column: span 2;
}

/* Sidebar Feature Text */
.sidebar-feature h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sidebar-feature p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

/* Sidebar Video */
.video-embed-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-embed-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    position: relative;
    z-index: 2;
    background: #cd201f;
    border-radius: 12px;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay-title {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar Actions */
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-sidebar-primary {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background-color: #0ea5e9;
    /* Cyan 500 */
    color: white;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-sidebar-primary:hover {
    background-color: #0284c7;
}

.btn-sidebar-secondary {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background-color: #0f76bc;
    /* Specific Blue */
    color: white;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-sidebar-secondary:hover {
    background-color: #0e649e;
}

/* Responsive */
@media (max-width: 1024px) {
    .home-blog-layout {
        grid-template-columns: 1fr;
    }

    .home-blog-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .home-blog-featured-row,
    .home-blog-recent-row {
        grid-template-columns: 1fr;
    }
}

/* Card Link Wrapper */
.card-link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease;
}

.card-link:hover .card-content h3 {
    color: #3b82f6;
    text-decoration: underline;
}

.card-link:hover .card-image {
    opacity: 0.9;
}

/* -------------------------------------------------------------------------- */
/*                               Lightbox Modal                               */
/* -------------------------------------------------------------------------- */

.lightbox-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    /* High z-index to be on top of everything */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
    object-fit: contain;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--brand-accent);
    text-decoration: none;
    cursor: pointer;
}

#lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Cursor pointer for gallery items to indicate clickability */
.gallery-item img {
    cursor: zoom-in;
}

/* Lightbox Navigation */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
    border: none;
    z-index: 2002;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 20px;
    }
}

/* ===================================================================
   GOOGLE TRANSLATE CUSTOMIZATION
   =================================================================== */

#google_translate_element {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    /* Colorful Gradient Background */
    background: linear-gradient(135deg, var(--brand-primary, #0f7c90) 0%, var(--brand-secondary, #055a7a) 100%);
    padding: 6px;
    border-radius: 50%;
    /* Circle for the toggle button */
    box-shadow: 0 8px 32px rgba(15, 124, 144, 0.35);
    margin: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#google_translate_element:hover {
    transform: scale(1.1);
}

/* Hide the default Google Widget completely visually but keep it functional */
.goog-te-gadget-simple {
    display: none !important;
}

.translation-togglers {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.current-lang-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* The Dropdown Menu (Popping UP) */
.translation-dropdown {
    position: absolute;
    bottom: 70px;
    /* Above the button */
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.translation-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    transition: background 0.2s;
}

.flag-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.flag-icon {
    font-size: 1.2rem;
}

.flag-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.translation-flags {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 2px;
}

.flag-btn {
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s ease, opacity 0.2s;
    opacity: 0.8;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.flag-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Hide the "Powered by Google" text */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    height: 28px;
    overflow: hidden;
}

/* Simple Layout Styling */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1.4px solid rgba(255, 255, 255, 0.5) !important;
    padding: 3px 8px !important;
    border-radius: 30px !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    display: flex !important;
    transform: scale(0.85);
    /* Force scaling down */
    transform-origin: center right;
    /* Anchor scaling */
    align-items: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.goog-te-gadget-simple:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
    border-color: #fff !important;
}

/* Hide Google Icon */
.goog-te-gadget-icon {
    display: none !important;
}

/* Text Styling */
.goog-te-menu-value {
    margin: 0 !important;
}

.goog-te-menu-value span {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    color: #fff !important;
    border: none !important;
}

.goog-te-menu-value span:nth-child(5) {
    display: none !important;
    /* Hide weird arrow spacer */
}

/* Add a custom down arrow */
.goog-te-menu-value::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: 8px;
    color: #fff;
    opacity: 0.8;
}

/* Dark/Scrolled State Styling */
/* Dark/Scrolled State Styling - Uniform for floating */
.goog-te-gadget-simple {
    border-color: rgba(255, 255, 255, 0.3) !important;
    /* Subtle white border */
    background: rgba(0, 0, 0, 0.1) !important;
    /* Slight darkening */
}

.goog-te-gadget-simple:hover {
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.goog-te-menu-value span {
    color: #fff !important;
    /* White text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.goog-te-menu-value::after {
    color: #fff;
}

/* Hide Top Banner Frame */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Mobile Responsiveness */
@media (max-width: 860px) {
    .translation-togglers {
        margin-top: 0.5rem;
    }
}

/* Fix for Scroll & Click Issues */
#google_translate_element {
    position: relative;
    z-index: 1200;
    margin-left: auto;
}

/* --- Ultra-Modern Widget Design --- */

/* 1. The Toggle Button (Capsule) */
.translation-togglers {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 30px;
    /* capsule */
    background: rgba(255, 255, 255, 0.08);
    /* faint glass */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Hover Effect: Glow & Lift */
.translation-togglers:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Active Press */
.translation-togglers:active {
    transform: translateY(0) scale(0.98);
}

/* Icon & Text Styling */
.current-lang-icon svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    /* subtle glow */
}

.lang-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    /* sophisticated look */
    letter-spacing: 0.08em;
    /* wide tracking */
    color: inherit;
    padding-top: 1px;
}

.chevron-icon {
    display: inline-flex;
    opacity: 0.6;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* springy */
}

/* 2. The Dropdown (Modern Grid) */
.translation-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: 320px;
    /* Wide enough for grid */

    /* Layout */
    display: none;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 8px;
    padding: 12px;

    /* Aesthetics: Deep Glass */
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;

    /* Shadows & Elevation */
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.15),
        0 10px 20px -5px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);

    z-index: 2000;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transform-origin: top right;
    transition:
        opacity 0.2s ease,
        transform 0.3s cubic-bezier(0.3, 1.3, 0.3, 1),
        /* nice pop */
        display 0s linear 0.2s;
    /* delay hide */
}

.translation-dropdown.active {
    display: grid;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

/* 3. The Language Cards */
.flag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    color: #1a1a1a !important;
}

.flag-item:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.flag-item:active {
    transform: scale(0.97);
}

.flag-img {
    width: 26px;
    height: 19px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.flag-name {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Scrolled State Tweaks */
.site-header.scrolled .translation-togglers {
    background: rgba(15, 28, 36, 0.04);
    border-color: rgba(15, 28, 36, 0.1);
    color: var(--text-dark);
}

.site-header.scrolled .translation-togglers:hover {
    background: rgba(15, 28, 36, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile Tweaks */
@media (max-width: 860px) {
    .translation-dropdown {
        width: 280px;
        right: 50%;
        /* Center horizontally... */
        margin-right: -140px;
        /* ...using negative margin half-width */
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}