/* =========================================
   WIF - Women's International Foundation
   CLEAN STYLESHEET - No duplicates
   Colors: #28285b | #cc8f32 | #ffffff
   ========================================= */

:root {
    --blue: #28285b;
    --gold: #cc8f32;
    --white: #ffffff;
    --light-bg: #f8f7f4;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
}

/* =========================================
   AOS FALLBACK
   If AOS JS hasn't initialised yet, keep
   elements fully visible so nothing is hidden.
   Once AOS.init() runs it adds .aos-init and
   takes over cleanly.
   ========================================= */
[data-aos]:not(.aos-init) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
#unfpa-video {
    scroll-margin-top: 110px;
}
body { font-family: 'Inter', sans-serif; color: var(--text-dark); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; }

/* =========================================
   UTILITIES
   ========================================= */
.text-gold { color: var(--gold) !important; }
.text-blue { color: var(--blue) !important; }
.bg-blue  { background-color: var(--blue) !important; }

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-gold:hover {
    background-color: #b07a28;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204,143,50,0.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.section-tag {
    display: inline-block;
    background: rgba(204,143,50,0.12);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* =========================================
   NAVBAR
   ========================================= */
#mainNavbar {
    background: transparent;
    border-bottom: none;
    padding: 20px 0;
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
#mainNavbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(40,40,91,0.08);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(40,40,91,0.10);
}
#mainNavbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
#mainNavbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.9) !important; }
#mainNavbar:not(.scrolled) .nav-link:hover { color: var(--gold) !important; background: rgba(255,255,255,0.1); }
#mainNavbar.scrolled .nav-link { color: var(--blue) !important; }
#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active { color: var(--gold) !important; background: rgba(40,40,91,0.07); }
#mainNavbar:not(.scrolled) .navbar-toggler-icon { filter: invert(1); }
#mainNavbar .navbar-toggler { border: none; }
#mainNavbar .navbar-toggler:focus { box-shadow: none; }
#mainNavbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(40,40,91,0.15);
    border-radius: 16px;
    padding: 12px;
    margin-top: 0 !important;
}
#mainNavbar .dropdown-item {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--blue);
    transition: all 0.2s ease;
}
#mainNavbar .dropdown-item:hover { background: rgba(204,143,50,0.1); color: var(--gold); }

@media (min-width: 992px) {
    #mainNavbar .dropdown:hover .dropdown-menu { display: block; animation: dropFade 0.25s ease; }
}
@keyframes dropFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   HERO SECTION - FULLSCREEN CENTERED
   ========================================= */
.hero-section {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #28285b 0%, #1a1a4e 60%, #0d0d30 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 0;
}

/* Glowing orb backgrounds */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204,143,50,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 7s ease-in-out infinite;
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204,143,50,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 9s ease-in-out infinite reverse;
    pointer-events: none;
}
@keyframes orbPulse {
    0%,100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.15); opacity: 1; }
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
}
.hero-badge-link {
    background: var(--gold);
    color: white !important;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-badge-link:hover { background: white; color: var(--blue) !important; }

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.typed-cursor { color: var(--gold) !important; }
#typed-text   { color: var(--gold); }

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 560px;
}

/* Lottie wrap */
.hero-lottie-wrap {
    position: relative;
    z-index: 2;
}

/* Animated shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: morphShape 10s ease-in-out infinite;
}
.hero-shape.shape-1 { width:300px; height:300px; background:rgba(204,143,50,0.06); top:15%; right:8%; animation-delay:0s; }
.hero-shape.shape-2 { width:180px; height:180px; background:rgba(255,255,255,0.03); bottom:25%; left:8%; animation-delay:3s; }
.hero-shape.shape-3 { width:120px; height:120px; background:rgba(204,143,50,0.05); top:55%; left:35%; animation-delay:6s; }

@keyframes morphShape {
    0%,100% { border-radius:50%; transform:scale(1) rotate(0deg); }
    33%      { border-radius:30% 70% 70% 30%/30% 30% 70% 70%; transform:scale(1.1) rotate(120deg); }
    66%      { border-radius:70% 30% 30% 70%/70% 70% 30% 30%; transform:scale(0.95) rotate(240deg); }
}

/* =========================================
   MARQUEE
   ========================================= */
.hero-marquee {
    width: 100%;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: auto;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.marquee-track span {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}
.marquee-dot { color: var(--gold) !important; font-size:0.7rem !important; }
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    background: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(40,40,91,0.08);
    border-bottom: 1px solid rgba(40,40,91,0.08);
}
.stat-item { text-align: center; padding: 20px; }
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section { padding: 100px 0;
    background: var(--white);
padding-top: 40px !important;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(40,40,91,0.15);
}
.about-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--gold);
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(204,143,50,0.4);
}
.about-badge .badge-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    display: block;
    line-height: 1;
}
.about-badge .badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}
.pillar-item:hover { background: var(--light-bg); transform: translateX(6px); }
.pillar-icon {
    width: 48px; height: 48px;
    background: rgba(204,143,50,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.pillar-title { font-size:1rem; font-weight:700; color:var(--blue); margin-bottom:4px; font-family:'Inter',sans-serif; }
.pillar-text  { font-size:0.88rem; color:var(--text-muted); line-height:1.6; margin:0; }

/* =========================================
   SECTORS / FOCUS AREAS
   ========================================= */
.sectors-section { padding: 100px 0; background: var(--light-bg); }
.sector-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    border-top: 4px solid var(--gold);
    box-shadow: 0 4px 20px rgba(40,40,91,0.06);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}
.sector-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(40,40,91,0.15); color: inherit; }
.sector-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(40,40,91,0.08), rgba(204,143,50,0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.sector-card:hover .sector-icon { background: var(--gold); color: white; }
.sector-card h4 { font-size:1.2rem; font-weight:700; color:var(--blue); margin-bottom:12px; }
.sector-card p  { font-size:0.9rem; color:var(--text-muted); line-height:1.7; margin:0; }
.sector-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 20px;
    transition: gap 0.3s ease;
}
.sector-card:hover .sector-arrow { gap: 12px; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue) 0%, #1a1a4e 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(204,143,50,0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-title { font-size:2.8rem; font-weight:800; color:var(--white); margin-bottom:20px; }
.cta-title span { color: var(--gold); }
.cta-text { color:rgba(255,255,255,0.75); font-size:1.05rem; line-height:1.8; margin-bottom:36px; }

/* =========================================
   PARTNERS SECTION
   ========================================= */
.partners-section { padding: 80px 0; background: var(--white); }
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }
.partner-logo img { max-height:50px; max-width:130px; object-fit:contain; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
    background: linear-gradient(135deg, var(--blue) 0%, #1a1a4e 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(204,143,50,0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero-title { font-size:3rem; font-weight:800; color:var(--white); margin-bottom:16px; }
.page-hero-title span { color: var(--gold); }
.page-hero-subtitle { color:rgba(255,255,255,0.75); font-size:1.05rem; max-width:600px; line-height:1.7; }
.breadcrumb-item a { color:var(--gold); text-decoration:none; }
.breadcrumb-item.active { color:rgba(255,255,255,0.6); }
.breadcrumb-item+.breadcrumb-item::before { color:rgba(255,255,255,0.4); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--blue); }
.footer-top { padding:80px 0 60px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-text { color:rgba(255,255,255,0.65); font-size:0.9rem; line-height:1.8; }
.footer-heading { color:var(--gold); font-size:1rem; font-weight:700; margin-bottom:24px; font-family:'Inter',sans-serif; letter-spacing:0.5px; text-transform:uppercase; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:12px; }
.footer-links a { color:rgba(255,255,255,0.65); text-decoration:none; font-size:0.9rem; transition:all 0.3s ease; }
.footer-links a:hover { color:var(--gold); padding-left:6px; }
.footer-contact { list-style:none; padding:0; margin:0; }
.footer-contact li { display:flex; gap:12px; margin-bottom:16px; color:rgba(255,255,255,0.65); font-size:0.88rem; line-height:1.6; }
.footer-contact li i { color:var(--gold); margin-top:3px; flex-shrink:0; width:16px; }
.social-links { display:flex; gap:10px; }
.social-link {
    width:38px; height:38px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:rgba(255,255,255,0.7);
    text-decoration:none;
    font-size:0.85rem;
    transition:all 0.3s ease;
}
.social-link:hover { background:var(--gold); border-color:var(--gold); color:white; transform:translateY(-3px); }
.footer-bottom { padding:20px 0; background:rgba(0,0,0,0.2); }
.footer-bottom p { color:rgba(255,255,255,0.45); font-size:0.8rem; }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-input {
    border: 2px solid rgba(40,40,91,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}
.contact-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(204,143,50,0.1);
    outline: none;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .hero-title { font-size:2.6rem; }
    .section-title { font-size:2rem; }
    .cta-title { font-size:2.2rem; }
    .page-hero-title { font-size:2.2rem; }
    .page-hero { padding:130px 0 60px; }
}
@media (max-width: 767px) {
    .hero-title { font-size:2rem; }
    .hero-subtitle { font-size:0.95rem; }
    .stat-number { font-size:2.2rem; }
    .section-title { font-size:1.8rem; }
    .about-badge { display:none; }
    .footer-top { padding:50px 0 40px; }
    .cta-title { font-size:1.8rem; }
}
/* ==========================================================
   HOMEPAGE REVISION 1 — additions/overrides
   Append this AFTER your existing stylesheet so these rules
   take precedence over the old .partners-section etc.
   ========================================================== */

/* ---------- HERO: badge logo ---------- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-badge-logo {
    height: 22px;
    width: auto;
    display: inline-block;
}

/* ---------- PHOTO GALLERY (bento grid + lightbox) ---------- */
.gallery-section {
    padding: 60px 0;
    background: #fff;
}

.gallery-banner {
    width: 100%;
    line-height: 0;
    margin-bottom: 12px;
}

.gallery-banner a {
    display: block;
}

.gallery-banner img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-banner a:hover img {
    transform: scale(1.02);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 12px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    line-height: 0;
}

.gallery-item a {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-item a:hover img {
    transform: scale(1.06);
}

.gallery-item-wide {
    grid-column: 1 / -1;
    max-width: 66%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-wide {
        max-width: 100%;
    }

    .gallery-banner img {
        height: 240px;
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-banner img {
        height: 200px;
    }
}

/* ---------- ABOUT: two-image layout (replaces Lottie) ---------- */
.about-image-duo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: end;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-img-1 {
    height: 420px;
}

.about-img-2 {
    height: 320px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .about-image-duo {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-1 {
        height: 300px;
    }

    .about-img-2 {
        height: 240px;
        margin-bottom: 0;
    }
}

.btn-outline-blue {
    display: inline-block;
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-outline-blue:hover {
    background: var(--blue);
    color: #fff;
}

/* ---------- FOCUS AREAS: gold impact box per card ---------- */
.sector-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sector-impact {
    margin-top: auto;
    background: var(--gold);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.sector-impact strong {
    font-weight: 800;
}

/* ---------- PARTNERS CAROUSEL (continuous auto-scroll) ---------- */
.partner-carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 10px;
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.partner-carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partner-scroll 30s linear infinite;
}

.partner-carousel-wrap:hover .partner-carousel-track {
    animation-play-state: paused;
}

.partner-logo-slide {
    flex: 0 0 auto;
    padding: 0 28px;
}

.partner-logo {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px 26px;
    min-width: 160px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.partner-logo img {
    max-height: 46px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

.partner-logo span {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}

@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-carousel-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

/* ---------- OUR NETWORK (Sister Organizations, standalone now) ---------- */
.sister-orgs-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.sister-org-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.sister-org-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sister-org-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sister-org-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.sister-org-img-1 img {
    height: 100%;
    min-height: 340px;
}

.sister-org-img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.sister-org-img-2 img {
    height: 160px;
}

.sister-org-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.sister-org-img-3 img {
    height: 160px;
}

@media (max-width: 768px) {
    .sister-org-images {
        grid-template-columns: 1fr 1fr;
    }

    .sister-org-img-1 img {
        min-height: 220px;
    }
}

/* ==========================================================
   HOMEPAGE REVISION 1 — additions/overrides
   Append this AFTER your existing stylesheet so these rules
   take precedence over the old .partners-section etc.
   ========================================================== */

/* ---------- HERO: badge logo ---------- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-badge-logo {
    height: 22px;
    width: auto;
    display: inline-block;
}

/* ---------- PHOTO GALLERY (2-row banner grid + lightbox) ---------- */
.gallery-section {
    padding: 40px 0;
    background: #fff;
}

.gallery-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.gallery-row:last-child {
    margin-bottom: 0;
}

.gallery-row-item {
    flex: 1 1 0;
    overflow: hidden;
    border-radius: 6px;
    line-height: 0;
}

.gallery-row-item a {
    display: block;
    height: 100%;
}

.gallery-row-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-row-item a:hover img {
    transform: scale(1.06);
}

@media (max-width: 992px) {
    .gallery-row {
        flex-wrap: wrap;
    }

    .gallery-row-item {
        flex: 1 1 calc(33.333% - 8px);
    }

    .gallery-row-item img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery-row-item {
        flex: 1 1 calc(50% - 6px);
    }

    .gallery-row-item img {
        height: 140px;
    }
}

/* ---------- ABOUT: two-image layout (replaces Lottie) ---------- */
.about-image-duo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: end;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-img-1 {
    height: 420px;
}

.about-img-2 {
    height: 320px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .about-image-duo {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-1 {
        height: 300px;
    }

    .about-img-2 {
        height: 240px;
        margin-bottom: 0;
    }
}

.btn-outline-blue {
    display: inline-block;
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-outline-blue:hover {
    background: var(--blue);
    color: #fff;
}

/* ---------- FOCUS AREAS: gold impact box per card ---------- */
.sector-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sector-impact {
    margin-top: auto;
    background: var(--gold);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.sector-impact strong {
    font-weight: 800;
}

/* ---------- PARTNERS CAROUSEL (continuous auto-scroll) ---------- */
.partner-carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 10px;
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.partner-carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partner-scroll 30s linear infinite;
}

.partner-carousel-wrap:hover .partner-carousel-track {
    animation-play-state: paused;
}

.partner-logo-slide {
    flex: 0 0 auto;
    padding: 0 28px;
}

.partner-logo {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px 26px;
    min-width: 160px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.partner-logo img {
    max-height: 46px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

.partner-logo span {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}

@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-carousel-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

/* ---------- OUR NETWORK (Sister Organizations, standalone now) ---------- */
.sister-orgs-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.sister-org-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.sister-org-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sister-org-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sister-org-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.sister-org-img-1 img {
    height: 100%;
    min-height: 340px;
}

.sister-org-img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.sister-org-img-2 img {
    height: 160px;
}

.sister-org-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.sister-org-img-3 img {
    height: 160px;
}

@media (max-width: 768px) {
    .sister-org-images {
        grid-template-columns: 1fr 1fr;
    }

    .sister-org-img-1 img {
        min-height: 220px;
    }
}

/* ==========================================================
   HOMEPAGE REVISION 1 — additions/overrides
   Append this AFTER your existing stylesheet so these rules
   take precedence over the old .partners-section etc.
   ========================================================== */

/* ---------- HERO: badge logo ---------- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-badge-logo {
    height: 22px;
    width: auto;
    display: inline-block;
}

/* ---------- PHOTO GALLERY (2-row banner grid + lightbox) ---------- */
.gallery-section {
    padding: 40px 0;
    background: #fff;
    padding-bottom: 10px !important;
}

.gallery-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.gallery-row:last-child {
    margin-bottom: 0;
}

.gallery-row-item {
    flex: 1 1 0;
    overflow: hidden;
    border-radius: 6px;
    line-height: 0;
}

.gallery-row-item a {
    display: block;
    height: 100%;
}

.gallery-row-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-row-item a:hover img {
    transform: scale(1.06);
}

@media (max-width: 992px) {
    .gallery-row {
        flex-wrap: wrap;
    }

    .gallery-row-item {
        flex: 1 1 calc(33.333% - 8px);
    }

    .gallery-row-item img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery-row-item {
        flex: 1 1 calc(50% - 6px);
    }

    .gallery-row-item img {
        height: 140px;
    }
}

/* ---------- ABOUT: two-image layout (replaces Lottie) ---------- */
.about-image-duo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: end;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-img-1 {
    height: 420px;
}

.about-img-2 {
    height: 320px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .about-image-duo {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-1 {
        height: 300px;
    }

    .about-img-2 {
        height: 240px;
        margin-bottom: 0;
    }
}

.btn-outline-blue {
    display: inline-block;
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-outline-blue:hover {
    background: var(--blue);
    color: #fff;
}

/* ---------- FOCUS AREAS: gold impact box per card ---------- */
.sector-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sector-impact {
    margin-top: auto;
    background: var(--gold);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.sector-impact strong {
    font-weight: 800;
}

/* ---------- PARTNERS CAROUSEL (continuous auto-scroll) ---------- */
.partner-carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 10px;
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.partner-carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partner-scroll 30s linear infinite;
}

.partner-carousel-wrap:hover .partner-carousel-track {
    animation-play-state: paused;
}

.partner-logo-slide {
    flex: 0 0 auto;
    padding: 0 28px;
}

.partner-logo {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px 26px;
    min-width: 160px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.partner-logo img {
    max-height: 46px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

.partner-logo span {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}

@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-carousel-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

/* ---------- OUR NETWORK (Sister Organizations, standalone now) ---------- */
.sister-orgs-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.network-intro-text {
    max-width: 100% !important;
    width: 100%;
}

.sister-org-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.sister-org-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sister-org-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sister-org-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.sister-org-img-1 img {
    height: 100%;
    min-height: 340px;
}

.sister-org-img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.sister-org-img-2 img {
    height: 160px;
}

.sister-org-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.sister-org-img-3 img {
    height: 160px;
}

@media (max-width: 768px) {
    .sister-org-images {
        grid-template-columns: 1fr 1fr;
    }

    .sister-org-img-1 img {
        min-height: 220px;
    }
}

.hero-full-logo {
    max-width: 800px;
    width: 100%;
    height: auto;
}

@keyframes wordPop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title .anim-word {
    display: inline-block;
    opacity: 0;
    animation: wordPop 0.6s ease-out forwards;
}

.hero-title .word-grow {
    animation-delay: 0.4s;
}

.hero-title .word-lead {
    animation-delay: 1.0s;
}

.hero-title .word-transform {
    animation-delay: 1.6s;
}

.navbar-brand-text {
    font-family: 'Playfair Display', serif;
    /* swap to whatever your heading font is */
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    /* adjust to your navy/gold if nav background is light */
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 2px;
}

.about-image-wrap-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.about-image-wrap-new .about-img-new {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.impact-number {
    font-size: 1.5em;
    font-weight: 800;
    color: #1a1f4d;
        /* navy — adjust to match your exact brand navy */
    /* your gold brand color — adjust if different */
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}

.partner-logo-item img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}



.partner-video-wrap {
    width: 100%;
    max-width: 476px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.partner-video-wrap iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
    display: block;
}

.partner-logo-grid-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.partner-logo-grid {
    row-gap: 32px;
    column-gap: 24px;
}

.unfpa-badge-img {
    width: 438px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 16px auto;
}

.sister-org-row {
    margin-bottom: 0px;
}

.sister-org-img-single {
    margin-bottom: 16px;
}

.sister-org-img-single img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.cta-buttons-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
}

.cta-buttons-row .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .cta-buttons-row .btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* ---------- Network: Partnerships redesign ---------- */
.badge-pill {
    display: inline-block;
    background: rgba(204, 143, 50, 0.12);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}

.fw-700 {
    font-weight: 700;
}

.partner-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
}

/* Single image: consistent crop, professional look */
.partner-card-img-single {
    height: 200px;
    overflow: hidden;
}

.partner-card-img-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.partner-card:hover .partner-card-img-single img {
    transform: scale(1.05);
}

/* Two images side by side, same total height as single */
.partner-card-img-split {
    height: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    overflow: hidden;
}

.partner-card-img-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.partner-card:hover .partner-card-img-split img {
    transform: scale(1.05);
}

/* Four images 2x2, same total height as single */
.partner-card-img-quad {
    height: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    overflow: hidden;
}

.partner-card-img-quad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.partner-card:hover .partner-card-img-quad img {
    transform: scale(1.05);
}

.partner-card-img-single img[alt="UNDP GEF partnership"] {
    object-position: top center;
}

.partner-card-img-contain {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card-img-contain img {
    object-fit: contain !important;
    width: auto !important;
    max-width: 100%;
    height: 100%;
}

/* ---------- Network: Partnerships — full-width rows ---------- */
.partner-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.partner-row-text {
    flex: 1 1 320px;
    min-width: 280px;
}

/* Image group container: images always sit side-by-side in one row */
.partner-row-images {
    display: flex;
    gap: 8px;
    flex: 1 1 420px;
    min-width: 280px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.partner-row-images img {
    flex: 1 1 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-row-images img.obj-top {
    object-position: top center;
}

/* Single image variant */
.partner-row-images-1 img {
    flex: 1 1 100%;
}

/* Contain wrapper for documents/newspaper clippings */
.partner-row-img-contain {
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-row-img-contain img {
    object-fit: contain;
    width: auto;
    max-width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .partner-row {
        flex-direction: column;
        align-items: stretch;
    }

    .partner-row-images {
        height: 220px;
        order: -1;
    }
}

.partner-row-images img {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-row-images .partner-row-img-contain img {
    object-fit: contain !important;
    width: auto !important;
    max-width: 100%;
    height: 100%;
    flex: none !important;
}

/* ---------- Entrepreneur Spotlight cards ---------- */
.entrepreneur-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entrepreneur-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12) !important;
}

.entrepreneur-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--light-bg);
}

.entrepreneur-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.entrepreneur-card:hover .entrepreneur-card-photo img {
    transform: scale(1.08);
}

.entrepreneur-card-logo-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 10px;
}

.entrepreneur-card-logo-row img {
    height: 48px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    border-radius: 6px;
}









.entrepreneur-card-title {
    font-size: 0.76rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 2px;
}

.entrepreneur-card-company {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1px;
    margin-bottom: 8px;
}

.entrepreneur-card-bio {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entrepreneur-card-links {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.entrepreneur-card-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(204, 143, 50, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.entrepreneur-card-links a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Entrepreneur cards v2 ---------- */
.entrepreneur-card-v2 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entrepreneur-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12) !important;
}

.entrepreneur-card-photo-v2 {
    width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: var(--light-bg);
}

.entrepreneur-card-photo-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.entrepreneur-field {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.entrepreneur-field strong {
    color: var(--blue);
}

.entrepreneur-bio-wrap {
    overflow: hidden;
    /* clearfix for the floated logo */
    margin-top: 8px;
}

.entrepreneur-logo-float {
    float: right;
    width: 64px;
    margin-left: 10px;
    margin-bottom: 6px;
}

.entrepreneur-logo-float img {
    width: 100%;
    border-radius: 6px;
    display: block;
    margin-bottom: 4px;
}

.entrepreneur-card-bio-v2 {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.entrepreneur-links-text {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.entrepreneur-links-text a {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.entrepreneur-links-text a:hover {
    text-decoration: underline;
}

/* ---------- Entrepreneur card v2 — text sizing adjustments ---------- */

/* Entrepreneur name — bigger than before */
.entrepreneur-card-v2 h5.text-blue {
    font-size: 1.6rem;
}

/* Company Name / District — match "Entrepreneurship Training" card title size */
.entrepreneur-field {
    font-size: 1rem;
    font-weight: 700;
}

.entrepreneur-field strong {
    font-weight: 700;
}

/* Bio description — match "Connecting entrepreneurs..." program card text size */
.entrepreneur-card-bio-v2 {
    font-size: 0.87rem;
    line-height: 1.6;
}

/* Logos — bigger and clearer */
.entrepreneur-logo-float {
    width: 100px;
}

.entrepreneur-logo-float img {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.partner-read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.partner-read-more:hover {
    text-decoration: underline;
}

/* ---------- Gender Equality: gallery ---------- */
.gender-gallery-masonry {
    columns: 4 220px;
    column-gap: 12px;
}

.gender-gallery-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gender-gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.gender-gallery-item:hover img {
    transform: scale(1.05);
}

/* ---------- Media Presence cards ---------- */
.media-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 12px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    color: var(--gold);
}

.media-link-card i {
    font-size: 1.6rem;
    color: var(--gold);
}

/* ---------- Press Presence cards ---------- */
.press-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.88rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.press-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.press-link-card i.fa-newspaper {
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.press-link-card span {
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.press-link-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ---------- Champion for Equality form ---------- */
.champion-form-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
}

.champion-input {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    background: #fff;
}

.champion-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204, 143, 50, 0.15);
}

textarea.champion-input {
    resize: vertical;
}

/* ---------- Video thumbnail cards (Voices from the Journey) ---------- */
.video-thumb-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.video-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease;
}

.video-thumb-play i {
    font-size: 2.75rem;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s ease;
}

.video-thumb-card:hover .video-thumb-play {
    background: rgba(0, 0, 0, 0.4);
}

.video-thumb-card:hover .video-thumb-play i {
    transform: scale(1.1);
}

/* ---------- Recognitions for Impact / Awards ---------- */
.award-img-wrap {
    width: 100%;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px;
}

.award-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 456px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.award-card-date {
    display: inline-block;
    background: rgba(204, 143, 50, 0.12);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}

/* ---------- Beyond the Expected: color palette story ---------- */
.palette-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
    text-align: center;
}

.palette-swatch {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ---------- Video cards: title / video with play button / description ---------- */
.vid-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.vid-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--blue);
    margin-bottom: 12px;
}

.vid-frame {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0b1030;
    cursor: pointer;
}

.vid-frame-wide {
    aspect-ratio: 16 / 9;
}

.vid-frame-square {
    aspect-ratio: 1 / 1;
}

.vid-frame-tall {
    aspect-ratio: 4 / 5;
}

.vid-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vid-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vid-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), #3b3b8a);
    color: rgba(255, 255, 255, 0.3);
    font-size: 4.5rem;
}

.vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.vid-frame:hover .vid-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.vid-frame.is-playing {
    cursor: default;
}

.vid-frame.is-playing .vid-play {
    display: none;
}

.vid-card-desc {
    font-size: 0.87rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 12px 0 0;
}

.vid-group-label {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.vid-group-label i {
    color: var(--gold);
}

/* ---------- Press cards ---------- */
.press-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.press-card-img {
    aspect-ratio: 5 / 3;
    background: var(--blue);
    overflow: hidden;
}

.press-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.press-card:hover .press-card-img img {
    transform: scale(1.05);
}

.press-card-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), #3b3b8a);
    color: rgba(255, 255, 255, 0.35);
    font-size: 3rem;
}

.press-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.press-card-site {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.press-card-title {
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-card-link {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
}

.press-card-link i {
    font-size: 0.7rem;
    margin-left: 4px;
}

.partner-logo-grid .partner-logo-item:last-child:nth-child(3n+1) {
    grid-column: 2;
}

/* ---------- Donate to the Impact Fund (menu button) ---------- */
.btn-donate {
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 34px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
}

/* Mobile / tablet: always show a solid navbar with a visible menu button */
@media (max-width: 991.98px) {

    #mainNavbar,
    #mainNavbar:not(.scrolled) {
        background: rgba(255, 255, 255, 0.97);
        padding: 12px 0;
        box-shadow: 0 4px 30px rgba(40, 40, 91, 0.10);
    }

    #mainNavbar:not(.scrolled) .navbar-toggler-icon {
        filter: none;
    }

    #mainNavbar:not(.scrolled) .nav-link {
        color: var(--blue) !important;
    }

    #mainNavbar:not(.scrolled) .nav-link:hover {
        color: var(--gold) !important;
        background: rgba(40, 40, 91, 0.07);
    }

    #mainNavbar .navbar-collapse {
        padding: 12px 0;
    }
}

/* Prevent sideways overflow (decorative shapes / AOS animations) from widening the page */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}
