/* =========================================================
   RESHAPE HOPE FOUNDATION
   MAIN WEBSITE STYLES
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --navy: #C05A3E;          /* Primary: Terracotta / Rust        */
    --deep-navy: #2B2D42;     /* Text & deep areas: Deep Slate      */
    --gold: #E6CCB2;          /* Accent: Warm Sand / Taupe          */
    --green: #8C4A2F;         /* Muted deeper rust (tertiary)       */

    --white: #FFFFFF;
    --light-gray: #FAF3EA;    /* Warm off-white section background  */
    --gray: #5A5A5E;
    --dark-gray: #2B2D42;

    --border: #E7D7C6;

        --heading-font: "Montserrat", sans-serif;
    --body-font: "Inter", sans-serif;

    --container: 1200px;

    --shadow:
        0 15px 45px rgba(43, 45, 66, 0.08);

    --shadow-heavy:
        0 25px 70px rgba(43, 45, 66, 0.15);

    --transition:
        all 0.3s ease;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {

    font-family: var(--body-font);

    color: var(--deep-navy);

    background: #FDFBF7;

    line-height: 1.6;

    overflow-x: hidden;

}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
    border: none;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;

}

.section-padding {
    padding: 90px 0;
}

.section-label {

    display: inline-block;

    font-family: var(--heading-font);

    color: var(--navy);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 15px;

}

.section-heading {

    max-width: 760px;

    margin-bottom: 60px;

}

.section-heading.centered {

    text-align: center;

    margin-left: auto;
    margin-right: auto;

}

.section-heading h2,
.two-column-heading h2 {

    font-family: var(--heading-font);

    color: var(--deep-navy);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.25;

    font-weight: 700;

    margin-bottom: 18px;

}

.section-heading h2 span,
.two-column-heading h2 span {

    color: var(--navy);

}

.section-heading p {

    font-size: 17px;

    line-height: 1.7;

    color: var(--gray);

}

.two-column-heading {

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 55px;
}

.two-column-heading > div {
    max-width: 600px;
}

.two-column-heading > div > span {
    display: block;
}

.two-column-heading > p {

    max-width: 450px;
    padding-bottom: 6px;
    font-size: 17px;
    line-height: 1.7;
}

/* Hide empty intro columns so a one-column
   heading stays cleanly left-aligned with
   no phantom gap beside the title. */
.two-column-heading > p:empty,
.two-column-heading > div:empty {
    display: none;
}

.two-column-heading > .text-link {
    padding-bottom: 6px;
    margin-top: 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255,255,255,0.97);

    border-bottom: 1px solid transparent;

    transition: var(--transition);

}

.site-header.scrolled {

    box-shadow: 0 8px 30px rgba(15,23,42,0.08);

    border-color: var(--border);

}

.nav-container {

    height: 82px;

    display: flex;

    align-items: center;

    gap: 25px;

}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}

.brand-name {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    line-height: 1.05;

}

.brand-top {

    font-family: var(--heading-font);

    color: var(--navy);

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}

.brand-bottom {

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 5px;

}

.brand-bottom::before,
.brand-bottom::after {

    content: "";

    width: 22px;

    height: 1px;

    background: var(--gold);

}

.brand-crest {

    height: 58px;

    width: auto;

    object-fit: contain;

    display: block;

    border-radius: 6px;

}

.logo:hover .brand-crest {

    filter: brightness(1.03);

    transform: scale(1.02);

}

.brand-crest {

    transition: var(--transition);

}


/* NAVIGATION */

.desktop-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 2px;

    flex: 1;

}

.nav-link {

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 10px 8px;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 600;

    transition: var(--transition);

}

.nav-link:hover,
.nav-link.active {

    color: var(--navy);

}

.dropdown-toggle i {

    font-size: 8px;

}

.nav-dropdown {

    position: relative;

}

.dropdown-menu {

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 230px;

    background: var(--white);

    box-shadow: var(--shadow-heavy);

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 10px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: var(--transition);

}

.nav-dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.dropdown-menu a {

    display: block;

    padding: 10px 12px;

    color: var(--gray);

    font-size: 13px;

    border-radius: 5px;

}

.dropdown-menu a:hover {

    color: var(--navy);

    background: var(--light-gray);

}


/* DONATE BUTTON */

.header-donate {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    background: var(--navy);

    color: var(--white);

    border-radius: 6px;

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);

    flex-shrink: 0;

}

.header-donate:hover {

    background: var(--deep-navy);

    transform: translateY(-2px);

}


/* MOBILE MENU BUTTON */

.mobile-menu-button {

    display: none;

    width: 42px;
    height: 42px;

    background: var(--navy);

    border-radius: 6px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

}

.mobile-menu-button span {

    width: 20px;
    height: 2px;

    background: var(--white);

    transition: var(--transition);

}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* MOBILE NAV */

.mobile-nav {

    display: none;

    max-height: calc(100vh - 82px);

    overflow-y: auto;

    background: var(--white);

    border-top: 1px solid var(--border);

    padding: 15px 20px 25px;

}

.mobile-nav.open {

    display: block;

}

.mobile-nav > a,
.mobile-nav details summary {

    display: flex;

    justify-content: space-between;

    width: 100%;

    padding: 13px 0;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 14px;

    font-weight: 600;

    border-bottom: 1px solid var(--border);

}

.mobile-nav details a {

    display: block;

    padding: 9px 15px;

    color: var(--gray);

    font-size: 13px;

}

.mobile-nav summary {

    cursor: pointer;

    list-style: none;

}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-donate {

    justify-content: center !important;

    margin-top: 15px;

    background: var(--navy);

    color: white !important;

    border-radius: 6px;

    border: none !important;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 760px;

    padding:
        145px
        0
        90px;

    background: var(--light-gray);

    display: flex;

    align-items: center;

    overflow: hidden;

}

.hero-grid {

    display: grid;

    grid-template-columns:
        minmax(190px, 25%)
        minmax(420px, 50%)
        minmax(190px, 25%);

    align-items: center;

    gap: 20px;

    position: relative;

    z-index: 2;

}


/* VIDEO-BACKGROUND HERO: single centred column,
   so all text/buttons stay inside the grid. */

.video-hero .hero-grid {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

}

.video-hero .hero-content {

    max-width: 900px;

    width: 100%;

    margin: 0 auto;

    padding: 0 20px;

}


/* HERO CONTENT */

.hero-content {

    text-align: center;

    max-width: 650px;

    margin: auto;

}

.eyebrow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 22px;

}

.eyebrow span {

    width: 35px;

    height: 1px;

    background: var(--gold);

}

.hero h1 {

    font-family: var(--heading-font);

    color: var(--deep-navy);

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.25;

    font-weight: 700;

    margin-bottom: 25px;

}

.hero h1 span {

    color: var(--navy);

}

.hero-description {

    max-width: 580px;

    margin: 0 auto 32px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.7;

}

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

}


/* BUTTONS */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 13px 23px;

    border-radius: 7px;

    font-family: var(--heading-font);

    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);

}

.btn-primary {

    background: var(--navy);

    color: var(--white);

}

.btn-primary:hover {

    background: var(--deep-navy);

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(11,61,145,.22);

}

.btn-secondary {

    background: var(--white);

    color: var(--navy);

    border: 2px solid var(--navy);

}

.btn-secondary:hover {

    background: var(--navy);

    color: var(--white);

    transform: translateY(-3px);

}

.btn-white {

    background: var(--white);

    color: var(--navy);

}

.btn-outline-white {

    color: var(--white);

    border: 2px solid rgba(255,255,255,.8);

}

.btn-outline-white:hover {

    background: var(--white);

    color: var(--navy);

}

.btn-gold {

    background: var(--gold);

    color: var(--deep-navy);

}

.btn-gold:hover {

    transform: translateY(-3px);

}


/* HERO TRUST */

.hero-trust {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 35px;

    text-align: left;

}

.trust-icon {

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(46,139,87,.12);

    color: var(--green);

}

.hero-trust strong,
.hero-trust span {

    display: block;

}

.hero-trust strong {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 10px;

}

.hero-trust span {

    color: var(--gray);

    font-size: 10px;

}


/* HERO IMAGES */

.hero-image {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

.symbol-image {

    width: 220px;
    height: 220px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    position: relative;

    font-size: 90px;

    transition: var(--transition);

}

.hero-left .symbol-image {

    color: var(--navy);

    background: rgba(11,61,145,.08);

}

.hero-right .symbol-image {

    color: var(--deep-navy);

    background: rgba(212,175,55,.12);

}

.symbol-image:hover {

    transform: scale(1.05) rotate(-3deg);

}

.image-decoration {

    position: absolute;

    width: 250px;
    height: 250px;

    border: 1px dashed rgba(11,61,145,.2);

    border-radius: 50%;

    animation: slowRotate 25s linear infinite;

}

.hero-right .image-decoration {

    border-color: rgba(212,175,55,.35);

}

.image-caption {

    margin-top: 22px;

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* HERO DECORATION */

.hero-background-shape {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}

.shape-one {

    width: 500px;
    height: 500px;

    background: rgba(11,61,145,.035);

    left: -250px;
    top: -180px;

}

.shape-two {

    width: 450px;
    height: 450px;

    background: rgba(212,175,55,.05);

    right: -200px;
    bottom: -200px;

}

.hero-scroll {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


/* =========================================================
   ABOUT
========================================================= */

.about-section {

    background: var(--white);

}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}

.about-image {

    position: relative;

}

.about-image-main {

    height: 470px;

    border-radius: 12px;

    overflow: hidden;

    background: var(--light-gray);

}

.founder-figure {

    width: 100%;
    height: 100%;
    margin: 0;

}

.founder-figure img {

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    display: block;

}

.image-credit {

    margin-top: 14px;

}

.image-credit-name,
.image-credit-role {

    display: block;

}

.image-credit-name {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.3;

}

.image-credit-role {

    margin-top: 2px;

    color: var(--gray);

    font-size: 12px;

}

.story-quote {

    color: var(--navy);

    font-size: 16px;

    font-style: italic;

    line-height: 1.8;

    position: relative;

}

.image-placeholder {

    width: 100%;
    height: 100%;

    min-height: inherit;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(11,61,145,.08),
            rgba(46,139,87,.08)
        );

    color: var(--navy);

    font-size: 45px;

}

.image-placeholder span {

    color: var(--gray);

    font-family: var(--heading-font);

    font-size: 13px;

    font-weight: 600;

}

.about-badge {

    position: absolute;

    right: -25px;

    bottom: 30px;

    padding: 20px 25px;

    background: var(--gold);

    color: var(--deep-navy);

    border-radius: 8px;

    box-shadow: var(--shadow);

}

.about-badge strong,
.about-badge span {

    display: block;

}

.about-badge strong {

    font-family: var(--heading-font);

    font-size: 25px;

}

.about-badge span {

    font-size: 12px;

}

.small-heading {

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

}

.about-content h3 {

    margin: 10px 0 20px;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 36px;

    line-height: 1.25;

}

.about-content p {

    margin-bottom: 18px;

    font-size: 16px;

}

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 10px;

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 13px;

    font-weight: 700;

    transition: var(--transition);

}

.text-link:hover {

    gap: 14px;

    color: var(--green);

}


/* =========================================================
   IDENTITY CARDS
========================================================= */

.identity-section {

    background: var(--light-gray);

}

.cards-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.info-card {

    padding: 40px 35px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: var(--transition);

}

.info-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}

.info-card.featured {

    background: var(--navy);

    color: var(--white);

    border-color: var(--navy);

}

.card-icon {

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    margin-bottom: 25px;

    background: rgba(11,61,145,.09);

    color: var(--navy);

    font-size: 22px;

}

.featured .card-icon {

    background: rgba(255,255,255,.13);

    color: var(--gold);

}

.info-card > span {

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}

.info-card h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 23px;

    line-height: 1.35;

    margin: 12px 0 16px;

}

.featured h3 {

    color: var(--white);

}


/* =========================================================
   OBJECTIVES
========================================================= */

.objectives-section {

    background: var(--white);

}

.objectives-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.objective-item {

    display: flex;

    gap: 20px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 9px;

    transition: var(--transition);

}

.objective-item:hover {

    border-color: rgba(11,61,145,.3);

    box-shadow: var(--shadow);

}

.objective-item > span {

    color: rgba(11,61,145,.25);

    font-family: var(--heading-font);

    font-size: 25px;

    font-weight: 800;

}

.objective-item i {

    color: var(--navy);

    font-size: 23px;

    margin-bottom: 10px;

}

.objective-item h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 19px;

    margin-bottom: 6px;

}

.objective-item p {

    font-size: 14px;

}


/* =========================================================
   STATISTICS
========================================================= */

.statistics-section {

    position: relative;

    padding: 100px 0;

        background:
        linear-gradient(
            135deg,
            #8C3B24,
            #C05A3E
        );

    color: white;

    overflow: hidden;

}

.statistics-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(212,175,55,.12),
            transparent 30%
        );

}

.statistics-content {

    position: relative;

    z-index: 2;

}

.section-heading.light .section-label {

    color: var(--gold);

}

.section-heading.light h2 {

    color: var(--white);

}

.section-heading.light h2 span {

    color: var(--gold);

}

.section-heading.light p {

    color: rgba(255,255,255,.75);

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}

.stat-item {

    padding: 30px 20px;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,.15);

}

.stat-item:last-child {

    border-right: none;

}

.stat-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin: 0 auto 15px;

    color: var(--gold);

    font-size: 20px;

}

.stat-item strong {

    display: block;

    color: white;

    font-family: var(--heading-font);

    font-size: 42px;

    line-height: 1;

    margin-bottom: 10px;

}

.stat-item strong::after {

    content: "+";

    color: var(--gold);

}

.stat-item span {

    color: rgba(255,255,255,.7);

    font-size: 13px;

}


/* =========================================================
   PROGRAMS
========================================================= */

.programs-section {

    background: var(--light-gray);

}

.programs-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}

.program-card {

    position: relative;

    padding: 35px;

    background: var(--white);

    border-radius: 10px;

    border: 1px solid var(--border);

    overflow: hidden;

    transition: var(--transition);

}

.program-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

    border-color: rgba(11,61,145,.25);

}

.program-number {

    position: absolute;

    right: 20px;
    top: 15px;

    color: rgba(11,61,145,.07);

    font-family: var(--heading-font);

    font-size: 50px;

    font-weight: 800;

}

.program-icon {

    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 10px;

    background: rgba(11,61,145,.08);

    color: var(--navy);

    font-size: 23px;

}

.program-card h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 20px;

    margin-bottom: 12px;

}

.program-card p {

    font-size: 14px;

    margin-bottom: 20px;

}

.program-card a {

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 7px;

}

.program-card a:hover {

    color: var(--green);

}


/* =========================================================
   STORIES
========================================================= */

.stories-section {

    background: var(--white);

}

.story-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.story-card {

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

    transition: var(--transition);

}

.story-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}

.story-image {

    height: 230px;

}

.story-content {

    padding: 27px;

}

.story-content > span {

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

}

.story-content h3 {

    margin: 8px 0 10px;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 21px;

}

.story-content p {

    font-size: 14px;

    margin-bottom: 15px;

}

.story-content a {

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

}


/* =========================================================
   TESTIMONIAL
========================================================= */

.testimonial-section {

    padding: 80px 0;

    background: var(--light-gray);

}

.testimonial-box {

    max-width: 900px;

    margin: auto;

    padding: 55px;

    text-align: center;

    background: var(--white);

    border-radius: 12px;

    box-shadow: var(--shadow);

}

.quote-icon {

    color: var(--gold);

    font-size: 35px;

    margin-bottom: 20px;

}

.testimonial-box blockquote {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: clamp(21px, 3vw, 30px);

    line-height: 1.5;

    font-weight: 500;

    margin-bottom: 30px;

}

.testimonial-author {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    text-align: left;

}

.author-avatar {

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--navy);

    color: var(--white);

    border-radius: 50%;

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

}

.testimonial-author strong,
.testimonial-author span {

    display: block;

}

.testimonial-author strong {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 12px;

}

.testimonial-author span {

    color: var(--gray);

    font-size: 11px;

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {

    background: var(--white);

}

.project-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 20px;

}

.project-image {

    position: relative;

    height: 350px;

    overflow: hidden;

    border-radius: 10px;

}

.project-image img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}

.project-card:not(.large) .project-image {

    height: 350px;

}

.project-overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px 25px;

    color: var(--white);

    background:
        linear-gradient(
            transparent,
            rgba(15,23,42,.95)
        );

}

.project-overlay span {

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}

.project-overlay h3 {

    font-family: var(--heading-font);

    font-size: 20px;

    margin-top: 6px;

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {

    background: var(--light-gray);

}

.gallery-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    grid-auto-rows: 200px;

    gap: 15px;

}

.gallery-item {

    overflow: hidden;

    border-radius: 8px;

}

.gallery-large {

    grid-row: span 2;

}

.gallery-item .image-placeholder {

    transition: var(--transition);

}

.gallery-item:hover .image-placeholder {

    transform: scale(1.04);

}


/* =========================================================
   PARTNERS
========================================================= */

.partners-section {

    background: var(--white);

}

.partners-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

}

.partner-logo {

    min-height: 110px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 22px 16px;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: var(--white);

    text-align: center;

    transition: var(--transition);

}

.partner-monogram {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    background: var(--navy);

    color: #fff;

    font-family: var(--heading-font);

    font-weight: 700;

    font-size: 14px;

    letter-spacing: 0.5px;

    border-radius: 50%;

}

.partner-logo strong {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.4;

    text-transform: uppercase;

    letter-spacing: 0.2px;

}

.partner-logo:hover {

    border-color: var(--gold);

    transform: translateY(-3px);

}


/* =========================================================
   GET INVOLVED
========================================================= */

.get-involved-section {

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--deep-navy)
        );

    color: white;

    text-align: center;

}

.get-involved-content {

    max-width: 850px;

    margin: auto;

}

.get-involved-section .section-label {

    color: var(--gold);

}

.get-involved-section h2 {

    color: white;

    font-family: var(--heading-font);

    font-size: clamp(35px, 5vw, 52px);

    line-height: 1.2;

    margin-bottom: 18px;

}

.get-involved-section h2 span {

    color: var(--gold);

}

.get-involved-section p {

    max-width: 650px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.75);

}

.involvement-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


/* =========================================================
   LEADERSHIP
========================================================= */

.leadership-section {

    background: var(--white);

}

.leadership-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.leader-card {

    text-align: center;

}

.leader-photo {

    height: 320px;

    margin-bottom: 20px;

    border-radius: 10px;

    overflow: hidden;

}

.leader-card h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 18px;

}

.leader-card > span {

    color: var(--gold);

    font-size: 12px;

}


/* =========================================================
   NEWS
========================================================= */

.news-section {

    background: var(--light-gray);

}

.news-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

}

.news-card {

    display: grid;

    grid-template-columns: 220px 1fr;

    background: white;

    border-radius: 10px;

    overflow: hidden;

    border: 1px solid var(--border);

}

.news-image {

    min-height: 250px;

}

.news-content {

    padding: 30px;

}

.news-type {

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

}

.news-content h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 20px;

    margin: 10px 0;

}

.news-content p {

    font-size: 13px;

    margin-bottom: 15px;

}

.news-content a {

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 12px;

    font-weight: 700;

}


/* =========================================================
   FOUNDATION FACTS
========================================================= */

.facts-section {

    background: var(--white);

}

.facts-box {

    display: grid;

    grid-template-columns: 1fr 300px;

    align-items: center;

    gap: 50px;

    padding: 60px;

    background: var(--light-gray);

    border-radius: 12px;

}

.facts-content {

    max-width: 700px;

}

.facts-content h2 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 38px;

    margin-bottom: 15px;

}

.facts-content p {

    font-size: 16px;

}

.facts-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;

}

.facts-tags span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    background: var(--white);

    border-radius: 5px;

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 11px;

    font-weight: 600;

}

.facts-tags i {

    color: var(--green);

}

.facts-symbol {

    width: 250px;
    height: 250px;

    display: grid;
    place-items: center;

    margin: auto;

    border-radius: 50%;

    background: var(--white);

    border: 3px solid var(--gold);

    box-shadow: var(--shadow);

    overflow: hidden;

    padding: 18px;

}

.facts-symbol img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

}


/* =========================================================
   DONATE
========================================================= */

.donate-section {

    background: var(--light-gray);

}

.donate-box {

    max-width: 850px;

    margin: auto;

    padding: 60px;

    background: var(--white);

    text-align: center;

    border-radius: 12px;

    box-shadow: var(--shadow);

}

.donate-icon {

    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    background: rgba(212,175,55,.15);

    color: var(--gold);

    border-radius: 50%;

    font-size: 25px;

}

.donate-box h2 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 40px;

    line-height: 1.25;

    margin-bottom: 15px;

}

.donate-box h2 span {

    color: var(--navy);

}

.donate-box > p {

    max-width: 650px;

    margin: 0 auto 30px;

}

.donation-options {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

}

.donation-option {

    padding: 12px 20px;

    border: 1px solid var(--border);

    border-radius: 6px;

    background: white;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-weight: 600;

    transition: var(--transition);

}

.donation-option:hover,
.donation-option.selected {

    background: var(--navy);

    color: white;

    border-color: var(--navy);

}

.custom-donation {

    max-width: 350px;

    margin: 15px auto;

    display: flex;

    align-items: center;

    border: 1px solid var(--border);

    border-radius: 6px;

    overflow: hidden;

}

.custom-donation span {

    padding: 0 14px;

    color: var(--gray);

    font-family: var(--heading-font);

    font-size: 13px;

    font-weight: 700;

}

.custom-donation input {

    width: 100%;

    padding: 13px;

    border: none;

    outline: none;

    font-size: 15px;

}

.donation-button {

    margin-top: 10px;

}

.donate-box small {

    display: block;

    max-width: 550px;

    margin: 20px auto 0;

    color: #999;

    font-size: 11px;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    background: var(--white);

}

.contact-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 70px;

    align-items: start;

}

.contact-content h2 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 42px;

    line-height: 1.25;

    margin-bottom: 18px;

}

.contact-content h2 span {

    color: var(--navy);

}

.contact-content > p {

    margin-bottom: 35px;

}

.contact-details {

    display: grid;

    gap: 18px;

}

.contact-item {

    display: flex;

    align-items: center;

    gap: 15px;

}

.contact-icon {

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: rgba(11,61,145,.08);

    color: var(--navy);

}

.contact-item span,
.contact-item strong {

    display: block;

}

.contact-item span {

    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

}

.contact-item strong {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 13px;

}

.social-links {

    display: flex;

    gap: 8px;

    margin-top: 30px;

}

.social-links a,
.footer-socials a {

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--navy);

    font-size: 13px;

    transition: var(--transition);

}

.social-links a:hover,
.footer-socials a:hover {

    background: var(--navy);

    color: white;

    border-color: var(--navy);

}


/* FORM */

.contact-form-wrapper {

    padding: 40px;

    background: var(--light-gray);

    border-radius: 10px;

}

.form-heading {

    margin-bottom: 25px;

}

.form-heading h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 24px;

}

.form-heading p {

    font-size: 13px;

}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}

.form-group {

    margin-bottom: 17px;

}

.form-group label {

    display: block;

    margin-bottom: 6px;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 11px;

    font-weight: 600;

}

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);

    border-radius: 5px;

    outline: none;

    background: white;

    color: var(--deep-navy);

    font-size: 13px;

    transition: var(--transition);

    resize: vertical;

}

.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--navy);

    box-shadow: 0 0 0 3px rgba(11,61,145,.08);

}

.form-button {

    width: 100%;

}

.form-message {

    margin-top: 12px;

    text-align: center;

    font-size: 12px;

    color: var(--green);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding: 70px 0 0;

    background: var(--deep-navy);

    color: rgba(255,255,255,.65);

}

.footer-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;

    gap: 50px;

    padding-bottom: 55px;

}

.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

}

.footer-logo-icon {

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: var(--navy);

    color: white;

    border-radius: 50%;

}

.footer-logo strong,
.footer-logo span {

    display: block;

    font-family: var(--heading-font);

}

.footer-logo strong {

    color: white;

    font-size: 14px;

}

.footer-logo span {

    color: var(--gold);

    font-size: 9px;

    letter-spacing: 2px;

}

.footer-brand > p {

    max-width: 300px;

    font-size: 13px;

}

.footer-socials {

    display: flex;

    gap: 7px;

    margin-top: 20px;

}

.footer-socials a {

    border-color: rgba(255,255,255,.15);

    color: white;

}

.footer-column h4 {

    color: white;

    font-family: var(--heading-font);

    font-size: 14px;

    margin-bottom: 20px;

}

.footer-column > a {

    display: block;

    width: fit-content;

    margin-bottom: 10px;

    font-size: 12px;

    transition: var(--transition);

}

.footer-column > a:hover {

    color: var(--gold);

    transform: translateX(3px);

}

.footer-column p {

    display: flex;

    align-items: start;

    gap: 9px;

    margin-bottom: 13px;

    font-size: 12px;

}

.footer-column p i {

    color: var(--gold);

    margin-top: 4px;

}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid rgba(255,255,255,.08);

    font-size: 11px;

}

.footer-bottom div {

    display: flex;

    gap: 20px;

}

.footer-bottom a:hover {

    color: var(--gold);

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--navy);

    color: white;

    box-shadow: var(--shadow);

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

    z-index: 500;

}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.back-to-top:hover {

    background: var(--deep-navy);

    transform: translateY(-3px);

}


/* =========================================================
   MODAL
========================================================= */

.modal {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(15,23,42,.75);

    opacity: 0;

    visibility: hidden;

    transition: var(--transition);

}

.modal.show {

    opacity: 1;

    visibility: visible;

}

.modal-content {

    position: relative;

    width: min(100%, 480px);

    padding: 45px;

    background: white;

    border-radius: 12px;

    text-align: center;

    transform: translateY(20px);

    transition: var(--transition);

}

.modal.show .modal-content {

    transform: translateY(0);

}

.modal-close {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    background: var(--light-gray);

    color: var(--deep-navy);

    border-radius: 50%;

}

.modal-icon {

    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: rgba(212,175,55,.15);

    color: var(--gold);

    font-size: 25px;

}

.modal-content h3 {

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: 23px;

    margin-bottom: 10px;

}

.modal-content p {

    font-size: 13px;

}

.selected-donation {

    margin: 25px 0;

    padding: 18px;

    background: var(--light-gray);

    border-radius: 6px;

}

.selected-donation span,
.selected-donation strong {

    display: block;

}

.selected-donation span {

    color: #999;

    font-size: 11px;

}

.selected-donation strong {

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 24px;

}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal-up,
.reveal-left,
.reveal-right {

    opacity: 0;

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.reveal-up {

    transform: translateY(30px);

}

.reveal-left {

    transform: translateX(-35px);

}

.reveal-right {

    transform: translateX(35px);

}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {

    opacity: 1;

    transform: translate(0);

}

@keyframes slowRotate {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */


/* TABLET */

@media (max-width: 1100px) {

    .brand-crest {

        height: 48px;

    }

    .nav-container {

        gap: 12px;

    }

    .desktop-nav {

        gap: 0;

    }

    .nav-link {

        font-size: 11px;

        padding: 8px 5px;

    }

    .hero-grid {

        grid-template-columns:
            20% 60% 20%;

    }

    .symbol-image {

        width: 170px;
        height: 170px;

        font-size: 65px;

    }

    .image-decoration {

        width: 195px;
        height: 195px;

    }

    .programs-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* TABLET */

@media (max-width: 900px) {

    .desktop-nav,
    .header-donate {

        display: none;

    }

    .mobile-menu-button {

        display: flex;

        margin-left: auto;

    }

    .hero {

        padding-top: 130px;

    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .hero-image {

        display: none;

    }

    .hero-content {

        max-width: 700px;

    }

    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }

    .cards-grid {

        grid-template-columns: 1fr;

    }

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .stat-item:nth-child(2) {

        border-right: none;

    }

    .programs-grid,
    .story-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .project-grid {

        grid-template-columns: 1fr 1fr;

    }

    .project-card.large {

        grid-column: span 2;

    }

    .partners-grid {

        grid-template-columns: repeat(3, 1fr);

    }

    .leadership-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .news-grid {

        grid-template-columns: 1fr;

    }

    .facts-box {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .facts-content {

        margin: auto;

    }

    .facts-tags {

        justify-content: center;

    }

    .footer-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* MOBILE */

@media (max-width: 600px) {

    .container {

        width: min(
            calc(100% - 30px),
            var(--container)
        );

    }

    .section-padding {

        padding: 65px 0;

    }

    .nav-container {

        height: 72px;

    }

    .hero {

        min-height: auto;

        padding:
            115px
            0
            80px;

    }

    .hero h1 {

        font-size: 31px;

    }

    .hero-description {

        font-size: 15px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons .btn {

        width: 100%;

    }

    .hero-trust {

        align-items: start;

    }

    .section-heading {

        margin-bottom: 40px;

    }

    .section-heading h2,
    .two-column-heading h2 {

        font-size: 30px;

    }

    .two-column-heading {

        display: block;

    }

    .two-column-heading > p {

        margin-top: 20px;

    }

        .about-image-main {

        height: 360px;

        min-height: 0;

    }

    .about-badge {

        right: 10px;

        bottom: 15px;

    }

    .about-content h3 {

        font-size: 28px;

    }

    .objectives-grid {

        grid-template-columns: 1fr;

    }

    .stats-grid {

        grid-template-columns: 1fr 1fr;

    }

    .stat-item {

        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,.12);

    }

    .stat-item strong {

        font-size: 32px;

    }

    .programs-grid,
    .story-grid,
    .leadership-grid {

        grid-template-columns: 1fr;

    }

    .project-grid {

        grid-template-columns: 1fr;

    }

    .project-card.large {

        grid-column: auto;

    }

    .project-image,
    .project-card:not(.large) .project-image {

        height: 280px;

    }

    .gallery-grid {

        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 180px;

    }

    .gallery-large {

        grid-column: span 2;

        grid-row: span 2;

    }

    .partners-grid {

        grid-template-columns: 1fr 1fr;

    }

    .involvement-buttons {

        flex-direction: column;

    }

    .involvement-buttons .btn {

        width: 100%;

    }

    .leader-photo {

        height: 350px;

    }

    .news-card {

        grid-template-columns: 1fr;

    }

    .news-image {

        min-height: 200px;

    }

    .facts-box {

        padding: 35px 25px;

    }

    .facts-content h2 {

        font-size: 30px;

    }

    .facts-symbol {

        width: 180px;
        height: 180px;

        font-size: 70px;

    }

    .donate-box {

        padding: 35px 20px;

    }

    .donate-box h2 {

        font-size: 30px;

    }

    .form-row {

        grid-template-columns: 1fr;

    }

    .contact-form-wrapper {

        padding: 25px 20px;

    }

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

    }

    .footer-bottom div {

        flex-direction: column;

        gap: 5px;

    }

    .modal-content {

        padding: 35px 20px;

    }

}


/* VERY SMALL */

@media (max-width: 380px) {

    .logo-name {

        font-size: 12px;

    }

    .logo-subtitle {

        font-size: 8px;

    }

    .logo-mark {

        width: 37px;
        height: 37px;

    }

    .hero h1 {

        font-size: 28px;

    }

    .stats-grid {

        grid-template-columns: 1fr;

    }

}


/* =========================================================
   SECTION-HEADING PRIMER
========================================================= */

.section-heading.centered .text-link {

    margin-top: 26px;

    justify-content: center;

}


/* =========================================================
   TESTIMONIAL PRESENTATION
========================================================= */

.testimonial-label {

    display: block;

    color: var(--gold);

    font-family: var(--heading-font);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin: -6px 0 18px;

}

.testimonial-box blockquote {

    position: relative;

    max-width: 780px;

    margin: 0 auto 34px;

    color: var(--deep-navy);

    font-family: var(--heading-font);

    font-size: clamp(22px, 3.2vw, 32px);

    line-height: 1.55;

    font-weight: 600;

    font-style: italic;

}

.testimonial-author {

    justify-content: center;

    padding-top: 26px;

    border-top: 1px solid var(--border);

}

.author-avatar {

    width: 52px;
    height: 52px;

    background: linear-gradient(135deg, var(--navy), var(--deep-navy));

    border: 2px solid var(--gold);

    border-radius: 50%;

    font-size: 15px;

}

.testimonial-author strong {

    font-size: 14px;

    letter-spacing: .2px;

}

.testimonial-author span {

    margin-top: 3px;

}


/* =========================================================
   FOUNDATION FACTS PRESENTATION
========================================================= */

.facts-list {

    display: grid;

    gap: 0;

    margin-top: 6px;

}

.fact-row {

    display: grid;

    grid-template-columns: 190px 1fr;

    gap: 18px;

    align-items: baseline;

    padding: 13px 0;

    border-bottom: 1px dashed rgba(11, 61, 145, .18);

    text-align: left;

}

.fact-row:last-child {

    border-bottom: none;

}

.fact-label {

    color: var(--navy);

    font-family: var(--heading-font);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

}

.fact-row strong {

    color: var(--deep-navy);

    font-size: 15px;

    font-weight: 600;

    line-height: 1.5;

}


/* RESPONSIVE: FACTS — STACK INTO ONE COLUMN */

@media (max-width: 700px) {

    .fact-row {

        grid-template-columns: 1fr;

        gap: 4px;

    }

    .fact-label {

        letter-spacing: 1.5px;

    }

    .facts-content {

        width: 100%;

    }

}


/* VERY SMALL — BRAND WORDMARK */

@media (max-width: 380px) {

    .brand-top {

        font-size: 13px;

    }

    .brand-bottom {

            font-size: 7px;

            letter-spacing: 3px;

        }

    }

    /* =========================================================
       LAYOUT HARDENING — centre + keep text inside page
    ========================================================= */

    .section-heading.centered {

        text-align: center;

        max-width: 860px;

        width: 100%;

        margin-left: auto;

        margin-right: auto;

    }

    .section-heading.centered h2 {

        max-width: 100%;

        overflow-wrap: break-word;

    }

    .section-heading.centered .section-label {

        margin-left: auto;

        margin-right: auto;

    }

    h1,
    h2,
    h3,
    h4,
    p,
    li,
    strong,
    span,
    a {

        overflow-wrap: break-word;

        word-break: normal;

    }

    /* keep containers from ever growing beyond the viewport */

    .container,
    section,
    .grid,
    .hero,
    .nav-container {

        max-width: 100vw;

        min-width: 0;

    }

    /* HEADER — run the brand to the page edge */

    @media (min-width: 901px) {

        #siteHeader .container.nav-container {

            width: 100%;

            max-width: none;

            margin: 0;

            padding: 0 18px;

        }

        .site-header .logo {

            margin-right: 8px;

        }

    }

    .site-header .logo img {

        object-fit: contain;

    }
/* =========================================================
   GALLERY - real photos with captions + "Show More"
========================================================= */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--light-gray);
}

.gallery-large .gallery-img {
    min-height: 415px;
}

.gallery-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 10px;
    background: linear-gradient(to top, rgba(6,14,30,0.8), rgba(6,14,30,0));
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.4px;
    pointer-events: none;
}

.gallery-item.gallery-more {
    display: none;
}

.gallery-item.gallery-more.visible {
    display: block;
}

.gallery-more-wrap {
    text-align: center;
    margin-top: 32px;
}

.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-more-btn i {
    transition: transform 0.3s ease;
}

.gallery-more-btn.open i {
    transform: rotate(180deg);
}

/* =========================================================
   OUR SCHOOLS
========================================================= */
.schools-section {
    background: var(--light-gray);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.school-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 5px solid var(--gold);
    border-radius: 10px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.school-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-heavy);
}

.school-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    padding: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-school {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    border: 0;
}

.btn-school:hover {
    background: var(--deep-navy);
}

.school-card > span {
    display: inline-block;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.school-card h3 {
    font-family: var(--heading-font);
    color: var(--deep-navy);
    font-size: 19px;
    line-height: 1.4;
    margin: 0;
}

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

.partner-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* =========================================================
   THEME & LAYOUT TWEAKS (global overrides)
========================================================= */

/* Remove hollow spacing from empty heading captions */
.section-heading p:empty {
    display: none;
}

/* ABOUT / OUR STORY - bring copy close to its heading */
.about-section .section-heading {
    margin-bottom: 22px;
}

.about-section .story-quote {
    margin-top: 2px;
    max-width: 680px;
}

.about-content {
    align-self: center;
}

/* HERO - guarantee a centred, single column that never clips
   the headline, buttons or caption below it */
.video-hero {
    display: flex;
    align-items: center;
}

.video-hero .hero-grid,
.hero .hero-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-hero .hero-content,
.hero .hero-content {
    width: 100%;
    max-width: 980px;
    margin: auto;
    padding: 0 20px;
}

.hero h1,
.video-hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.22;
    word-break: break-word;
}

.hero .eyebrow,
.video-hero .eyebrow {
    justify-content: center;
}

.hero .hero-trust,
.video-hero .hero-trust {
    display: flex;
    justify-content: center;
    width: min(100%, 600px);
    margin: 30px auto 0;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    white-space: normal;
}

/* =========================================================
   DONATE DETAILS (M-Pesa / Bank)
========================================================= */
.donation-details {
    max-width: 560px;
    margin: 26px auto 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 24px 28px;
    text-align: left;
    box-shadow: var(--shadow);
}

.donation-option h4 {
    margin: 0 0 10px;
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donation-option p {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.6;
}

.donation-option strong {
    color: var(--deep-navy);
}

.donation-option.bank {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

.donation-or {
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gray);
    margin: 16px 0 6px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .donation-details { padding: 18px 16px; }
}

/* =========================================================
   EXTRA - impact heading readability & footer logo
========================================================= */
.statistics-section h2 span,
.statistics-section .section-heading.light h2 span {
    color: #FFFFFF;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.footer-logo-icon {
    overflow: hidden;
    border-radius: 8px;
    display: grid;
    place-items: center;
}
.footer-logo-icon img {
    width: 100%;
    height: 100%;
    max-width: 54px;
    max-height: 54px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

/* News & Events photo cards */
.news-image {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}
.news-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}
@media (max-width: 600px) {
    .news-image img { min-height: 200px; }
}

/* =========================================================
   ★ HOMEPAGE HERO — surgical, scoped safely under #home
   (Does not affect any other page or section.)
   ========================================================= */

#home.hero,
#home.video-hero,
section.hero#home {
    position: relative;
    display: flex;               /* wins over any generic .hero */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    width: 100%;
    min-height: 92vh;            /* fills the viewport like a hero */
    overflow: hidden;            /* keeps media inside, no scrollbars */

    /* useful fallback if video ever fails to load */
    background-color: #0f172a;
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
    );
    background-size: cover;
    background-position: center;
}

/* video must be absolutely positioned, cover, and sit BEHIND everything */
#home .hero-background-video,
#home.video-hero .hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;           /* guarantees full-coverage crop */
    z-index: 1;                 /* lowest content layer */
}

/* dark overlay directly on the video, above video, below text */
#home .hero-video-overlay,
#home.video-hero .hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.62);   /* readable dark wash */
    z-index: 2;
}

/* text/buttons above both video and overlay */
#home .container.hero-grid,
#home .hero-grid {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 130px 20px 60px;    /* clears fixed header, center hero */
}

#home .hero-content {
    width: 100%;
    max-width: 980px;
    text-align: center;

    /* For safety, defeat any reveal-transform that hides text.
       Scoped to #home only — other sections keep their animation. */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Slogan: big, clear, white */
#home .hero-content h1,
#home h1 {
    margin: 0 0 22px;
    font-family: var(--heading-font);
    font-size: clamp(34px, 6vw, 70px);
    line-height: 1.18;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    word-break: break-word;
}

/* Accent colour words remain bright but fully legible */
#home .hero-content h1 span,
#home h1 span {
    color: var(--gold);          /* or any readable accent */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hide the eyebrow empty filler (present in markup) inside hero */
#home .hero-content .eyebrow {
    min-height: 0;
    margin-bottom: 18px;
}

/* Buttons row: centered under the slogan */
#home .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

#home .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: normal;
}

#home .btn-primary {
    background: var(--navy);     /* terracotta CTA */
    color: #ffffff;
    border: 2px solid var(--navy);
}
#home .btn-primary:hover {
    background: var(--deep-navy);
    border-color: var(--deep-navy);
}

#home .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
#home .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* Hide the old decorative hero columns/trust if any inside home hero */
#home .hero-left,
#home .hero-right,
#home .hero-image {
    display: none !important;
}

/* Keep hero trust caption (if present) white & centred */
#home .hero-trust {
    justify-content: center;
    color: #fff;
}
#home .hero-trust strong { color: #ffffff; }
#home .hero-trust span { color: rgba(255, 255, 255, 0.8); }

/* Small screens */
@media (max-width: 768px) {
    #home, #home.hero { min-height: 100vh; }
    #home h1 { font-size: clamp(28px, 8vw, 40px); }
    #home .container.hero-grid { padding: 110px 16px 50px; }
    #home .hero-buttons { flex-direction: column; width: 100%; }
    #home .hero-buttons .btn { width: 100%; }
}

/* Tiny phones */
@media (max-width: 480px) {
    #home h1 { font-size: 24px; }
    #home .hero-buttons .btn { font-size: 15px; padding: 13px 20px; }
}


/* =========================================================
   ★ HOMEPAGE HERO — height control (scoped ONLY to #home)
   Caps the hero to a compact, professional band (~650px)
   per design spec. Neutralises earlier 92vh / 100vh + big
   padding. Does NOT touch .hero / .btn / .container anywhere
   else and does not affect any other page.
   ========================================================= */

#home.hero,
#home.video-hero,
section.hero#home {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;

    /* --- The critical change: fixed, controlled hero band --- */
    height: 560px;
    min-height: 560px;
    max-height: 560px;

    /* neutralise oversized viewport height + legacy hero padding */
    min-height: 560px !important;
    height: 560px !important;
    max-height: 560px !important;
    padding: 82px 0 0;          /* clears fixed header; no tall hero */
    overflow: hidden;
}

/* Neutralise the generic '.hero' min-height/padding that could
   still inflate the homepage band (scoped to the #home hero only). */
#home {
    min-height: 560px !important;
}

/* Video: absolute, cover, BEHIND content */
#home .hero-background-video {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay between video and text */
#home .hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.62);
    z-index: 2;
}

/* Content + buttons above video & overlay, vertically centred */
#home .container.hero-grid,
#home .hero-grid {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Inner content fully centred horizontally & vertically */
#home .container.hero-grid > * {
    align-self: center;
}

#home .hero-content {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding: 0;
}

/* Slogan stays prominent — NO drastic font cut */
#home .hero-content h1,
#home h1 {
    margin: 0 0 20px;
    padding: 0;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.18;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    word-break: break-word;
}

#home .hero-content h1 span,
#home h1 span {
    color: var(--gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Centered buttons directly under slogan */
#home .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 6px auto 0;
    padding: 0;
}

#home .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 6px;
    text-decoration: none;
    white-space: normal;
}

#home .auth-btn + .btn,
#home .btn-primary + .btn-secondary { margin-left: 0; }

/* Eyebrow: keep compact, hidden filler spans invisible */
#home .hero-content .eyebrow { margin: 0 0 12px; }

/* Scroll cue pinned inside bottom of the fixed hero band */
#home .hero-scroll { bottom: 14px; }

/* ---------------- Mobile (~560px) ---------------- */
@media (max-width: 900px) {
    #home.hero,
    #home.video-hero,
    section.hero#home,
    #home {
        height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
        padding: 72px 0 0;
    }
}

/* ---------------- Small phones (~480px) ---------------- */
@media (max-width: 480px) {
    #home.hero,
    #home.video-hero,
    section.hero#home,
    #home {
        height: 520px !important;
        min-height: 520px !important;
        max-height: 520px !important;
        padding: 66px 0 0;
    }
    #home h1 { font-size: clamp(28px, 8vw, 38px); }
    #home .hero-buttons .btn { font-size: 14px; padding: 13px 22px; }
}

/* =========================================================
   NEWS TICKER
========================================================= */
.news-ticker {
  background: var(--navy);
  color: #fff;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}
.news-ticker__track {
  display: inline-flex;
  animation: ticker-scroll 35s linear infinite;
}
.news-ticker__track span {
  padding-right: 20px;
}
.news-ticker:hover .news-ticker__track {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
