/* ==============================================
   NGO PATHWAYS TO INDEPENDENCE — CUSTOM STYLES
   Bootstrap 5 base + pixel-perfect overrides
   ============================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700;800&family=Public+Sans:wght@400;500&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,700;1,9..144,400&family=Outfit:wght@500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

button:focus-visible {
    outline: 2px solid #4a90e2;
}

a {
    text-decoration: none;
}

/* ---------- TYPOGRAPHY ---------- */
/* Global Heading Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title-lg,
.section-title-md,
.stat-number,
.stat-label,
.about-item-title,
.step-label,
.faq-question,
.footer-heading,
.pathways-img-label span,
.pathways-img-label-sm span,
.partner-card-label span {
    font-family: var(--font-serif);
}

/* Base Body Typography is handled in the body tag via var(--font-sans) */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --amber: #e29300;
    --amber-light: rgba(227, 147, 0, 0.14);
    --dark-navy: #12122e;
    --text-muted: #686868;
    --white-frost: rgba(255, 255, 255, 0.73);
    --white-dark: rgba(18, 18, 46, 0.73);
    --font-sans: 'Public Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: #fff;
    color: #000;
    -webkit-font-smoothing: antialiased;
}

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

address {
    font-style: normal;
}

button:focus-visible {
    outline: 2px solid #4a90e2;
}

/* ---------- UTILITIES ---------- */
.bg-amber {
    background-color: var(--amber) !important;
}

.text-amber {
    color: var(--amber) !important;
}

.bg-dark-navy {
    background-color: var(--dark-navy) !important;
}

.text-muted-custom {
    color: var(--text-muted);
}

.text-footer-muted {
    color: #ededed;
}

.rounded-16 {
    border-radius: 16px;
}

.fs-14 {
    font-size: 14px;
}

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

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

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

.object-cover {
    object-fit: cover;
}

.letter-spacing-sm {
    letter-spacing: 0.12px;
}

/* ---------- BUTTONS ---------- */
.btn-amber {
    background-color: var(--amber);
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 16px;
    border: none;
    border-radius: 0;
    padding: 12px 28px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-amber:hover,
.btn-amber:focus {
    background-color: #c07e00;
    color: #fff;
}

.btn-lg-custom {
    padding: 14px 32px;
    font-size: 17px;
}

/* ---------- TOP INFO BAR ---------- */
.topbar {
    background-color: var(--amber);
}

.topbar-item address,
.topbar-item {
    font-size: 14px;
}

/* ---------- NAVBAR ---------- */
.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 80px;
}

.navbar-logo {
    height: 80px;
    width: auto;
}

.nav-link-custom {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    color: #000 !important;
    padding: 8px 12px !important;
    transition: color 0.2s;
}

.nav-link-custom:hover {
    color: var(--amber) !important;
}

.btn-donate {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 16px;
    background-color: var(--amber);
    color: #fff;
    border-radius: 0;
    padding: 12px 28px;
    border: none;
}

.btn-donate:hover {
    background-color: #c07e00;
    color: #fff;
}

/* Premium Button Component */
.btn-premium {
    display: inline-block;
    padding: 20px !important;
    background-color: var(--amber, #C9972B);
    color: var(--dark-navy, #12122E);
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(201, 151, 43, 0.2);
    border: none;
}

.btn-premium:hover {
    background-color: var(--dark-navy, #12122E);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(18, 18, 46, 0.2);
}

.btn-premium.secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: none;
}

.btn-premium.secondary:hover {
    background-color: #fff;
    color: var(--dark-navy, #12122E);
    border-color: #fff;
}

.btn-lg-custom {
    padding: 14px 32px;
    font-size: 17px;
}

/* ── PREMIUM DROPDOWN STYLING ── */

/* Parent Item (Desktop) */
@media (min-width: 992px) {
    .navbar-nav .menu-item-has-children {
        position: relative;
    }

    /* Sub-menu hidden by default */
    .navbar-nav .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        background: #ffffff;
        list-style: none;
        padding: 1rem 0;
        margin: 0;
        border-radius: 8px;
        box-shadow: 0 15px 50px rgba(18, 18, 46, 0.12);
        border: 1px solid rgba(18, 18, 46, 0.05);
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        display: block !important;
        /* Override potential Bootstrap collapse */
    }

    /* Trigger on Hover */
    .navbar-nav .menu-item-has-children:hover>.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Sub-menu Item Styling */
    .navbar-nav .sub-menu li {
        width: 100%;
        padding: 0;
    }

    .navbar-nav .sub-menu li a {
        display: block;
        padding: 0.8rem 1.5rem;
        font-family: var(--font-sans);
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--dark-navy) !important;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .navbar-nav .sub-menu li a:hover {
        background-color: rgba(226, 147, 0, 0.04);
        color: var(--amber) !important;
        padding-left: 1.8rem;
    }

    /* Left Gold Accent on Hover */
    .navbar-nav .sub-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background-color: var(--amber);
        transition: height 0.3s ease;
    }

    .navbar-nav .sub-menu li a:hover::before {
        height: 70%;
    }

    /* Add indicator for items with children */
    .navbar-nav .menu-item-has-children>a::after {
        content: '\f107';
        /* FontAwesome Angle Down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.75rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .navbar-nav .menu-item-has-children:hover>a::after {
        transform: rotate(180deg);
        color: var(--amber);
    }
}

/* Mobile Dropdown Styling */
@media (max-width: 991px) {
    .navbar-nav .sub-menu {
        display: none;
        /* Hide by default on mobile */
        list-style: none;
        padding-left: 1.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        background: rgba(18, 18, 46, 0.04);
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    /* Show when parent has .menu-open */
    .navbar-nav .menu-item-has-children.menu-open>.sub-menu {
        display: block;
    }

    .navbar-nav .sub-menu li a {
        padding: 0.8rem 0;
        font-size: 0.95rem;
        color: var(--dark-navy) !important;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .sub-menu li:last-child a {
        border-bottom: none;
    }

    /* Dropdown Toggle Button Styling */
    .dropdown-toggle-btn {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle-btn i {
        font-size: 0.8rem;
        color: var(--amber);
        transition: all 0.3s ease;
    }

    .menu-item-has-children.menu-open>.dropdown-toggle-btn {
        transform: rotate(180deg);
    }

    .navbar-nav .menu-item-has-children {
        position: relative;
    }

    /* Remove the old indicator */
    .navbar-nav .menu-item-has-children>a::after {
        display: none !important;
    }
}

/* ============================================
   BANNER SECTION
   ============================================ */

.banner-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../assets/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 2;
    display: flex;
}

/* Banner load animation (desktop) */
@keyframes banner-intro {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content {
    position: relative;
    z-index: 10;
    max-width: 1014px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(18, 18, 46, 0.45);
    text-align: left;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .banner-content.banner-intro {
        animation: banner-intro 0.9s ease-out 0.2s both;
    }
}

@media (max-width: 991.98px) {
    .banner-content.banner-intro {
        opacity: 1;
        transform: none;
    }
}

.banner-title {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 55px;
    font-weight: 500;
    line-height: 1.2;
}

.banner-subtitle {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}

.banner-description {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.banner-section .btn-banner {
    display: inline-block;
    background: linear-gradient(90deg, var(--amber) 0%, #c07e00 100%);
    color: #FFF;
    border: none;
    padding: 15px 44px;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-banner:hover {
    background: #c07e00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(226, 147, 0, 0.4);
}


/* ---------- HERO WAVE ---------- */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    line-height: 0;
    pointer-events: none;
}

.hero-wave img {
    width: 100%;
    height: auto;
    display: block;
}



/* ---------- IMPACT STATS ---------- */
.section-impact {
    position: relative;
    background: linear-gradient(179.21deg, #FFFFFF 0.68%, rgba(227, 147, 0, 0.42) 99.32%);
    overflow: hidden;
}

.impact-geo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.section-impact .container {
    position: relative;
    z-index: 1;
}

.section-title-lg {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 64px);
    line-height: 1.05;
    color: #000;
}

.section-title-md {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.3;
    color: #000;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 650px;
}

.stat-card {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 10px;
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px 32px 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stat-number {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 64px;
    line-height: 1;
    color: #000;
    margin-bottom: 28px;
}

.stat-label {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 29px;
    line-height: 1.35;
    color: #000;
    margin-bottom: 20px;
}

.stat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- SHARED ABOUT & WHAT WE DO WRAPPER ---------- */
.about-what-wrapper {
    position: relative;
    background: url('../assets/images/group-bg.webp') center / cover no-repeat;
}

/* ---------- ABOUT US ---------- */
.section-about {
    background: transparent;
}

.label-tag {
    font-family: var(--font-sans);
    font-size: 16px;
    color: #000;
    font-weight: 400;
}

.about-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.about-icon {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.about-item-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 18px;
    color: #000;
    margin-bottom: 6px;
}

/* ---------- WHAT WE DO ---------- */
.section-what-we-do {
    background: transparent;
}

.what-item-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 20px;
    color: #000;
    margin-bottom: 4px;
}

/* ---------- CTA BAR ---------- */
.section-cta-bar {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.call-icon {
    width: 56px;
    height: 56px;
}

.call-number {
    font-size: 22px;
    font-weight: 400;
}

/* ---------- HOW THE PROGRAM WORKS ---------- */
.section-program {
    background: #fff;
}

.program-desc {
    max-width: 900px;
}

/* Row 1 wrapper: the position-relative anchor for the dashed line */
.steps-row-wrapper {
    position: relative;
    overflow: visible;
}

/* Dashed connector — sits at card level, full natural size, no clipping */
.steps-dashed-line {
    position: absolute;
    top: 59px;
    left: 0;
    width: 105%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    transform: translateX(-25px);
}

/* Each step floats above the dashed line */
.program-step {
    position: relative;
    z-index: 2;
}

/* Large colored number above each card */
.step-num {
    position: absolute;
    top: -82px;
    left: -5px;
    display: block;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 100px;
    line-height: 1;
    margin-bottom: 0;
    z-index: 2;
}

/* Per-step colors matching the reference image */
.step-num-1 {
    color: #c0392b;
}

/* bold red   */
.step-num-2 {
    color: #2980b9;
}

/* blue       */
.step-num-3 {
    color: #27ae60;
}

/* green      */
.step-num-4 {
    color: #e67e22;
}

/* orange     */
.step-num-5 {
    color: #c8b400;
}

/* yellow     */

.step-5,
.program-footer-content {
    margin-top: 46px;
    /* Adjusting the gap as requested */
}

.step-5 {
    z-index: 0;
}

@media (max-width: 991px) {

    .step-5,
    .program-footer-content {
        margin-top: 30px;
    }
}

/* White card label */
.step-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    padding: 30px 16px 20px 16px;
    text-align: center;
}

.step-label {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}

/* Bottom row description text */
.program-footer-desc {
    max-width: 900px;
}



/* ---------- PATHWAYS TO STABILITY ---------- */
.section-pathways {
    position: relative;
    overflow: hidden;
}

.pathways-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-pathways .container {
    position: relative;
    z-index: 1;
}

.section-pathways .section-title-md {
    text-align: right;
}

.pathways-desc {
    font-size: 15px;
    line-height: 1.7;
    text-align: right;
}

.pathways-tall-img {
    height: 466px;
}

@media (max-width: 991px) {
    .pathways-tall-img {
        height: 300px;
    }
}

.pathways-tall-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.pathways-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white-frost);
    padding: 14px 20px;
    text-align: center;
}

.pathways-img-label span {
    font-size: 18px;
    color: #000;
}

.pathways-small-card {
    min-height: 220px;
}

.pathways-small-card img {
    object-fit: cover;
    width: 100%;
    height: 220px;
    display: block;
}

.pathways-img-label-sm {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white-frost);
    padding: 10px 12px;
    text-align: center;
}

.pathways-img-label-sm span {
    font-size: 15px;
    color: #000;
}

/* ---------- FAQ ---------- */
.section-faq {
    position: relative;
    background: #fff;
    overflow: hidden;
    /* Prevent background images from spilling out */
    padding-bottom: 95px;
    padding-top: 50px;
}

.faq-bg-left {
    left: 0;
    position: absolute;
    bottom: 0px;
    height: 720px;
    width: 720px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
    /* Subtle background as requested */
}

.faq-bg-right {
    right: 0;
    position: absolute;
    top: 0;
    height: 720px;
    width: 720px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
    /* Subtle background as requested */
}

.faq-bg-left {
    left: 0;
}

.faq-bg-right {
    right: 0;
}

@media (max-width: 991px) {

    .faq-bg-left,
    .faq-bg-right {
        display: none;
        /* Hide on mobile to avoid clutter */
    }
}

.faq-accordion .faq-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: none;
    overflow: hidden;
}

.faq-btn {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 20px;
    color: #000;
    background: #fff;
    padding: 18px 24px;
    border: none;
    box-shadow: none;
}

.faq-btn:not(.collapsed) {
    color: #000;
    background: #fff;
    box-shadow: none;
}

.faq-btn::after {
    filter: invert(0.4);
}

.faq-btn:focus {
    box-shadow: none;
}

.faq-body {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 24px 18px;
}

/* ---------- DONATE / BE PART OF THE CHANGE ---------- */
.section-donate {
    background: #fff;
}

.partner-card {
    width: 314px;
    height: 314px;
    max-width: 100%;
}

.partner-card img {
    transition: transform 0.3s;
}

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

.partner-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    text-align: center;
}

.partner-card-label span {
    font-size: 18px;
    color: #fff;
}

.label-orange {
    background: linear-gradient(180deg, rgba(255, 136, 0, 0.4) 0%, rgba(200, 100, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
}

.donate-card {
    width: 548px;
    height: 442px;
    max-width: 100%;
}

.donate-card img {
    object-fit: cover;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.donate-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 51, 0.95);
    /* Deep navy as per image */
    padding: 32px 35px;
    z-index: 1;
}

/* ---------- TURN PROPERTY INTO PURPOSE ---------- */
.section-property {
    position: relative;
    overflow: hidden;
}

.section-property::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 136, 0, 0.35);
    /* Image overlay as requested */
    z-index: 1;
}

.property-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;

}

.section-property .container {
    position: relative;
    z-index: 2;
}

.property-glass-card {
    max-width: 1240x;
    background: var(--white-dark);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 52px 60px;
}

.property-glass-card p {
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- BANNER IMAGES ---------- */
.banner-img-block {
    overflow: hidden;
}

.banner-img-block img {
    object-fit: cover;
    max-height: 500px;
}

/* ---------- TESTIMONIAL ---------- */
.section-testimonial {
    position: relative;
    z-index: 1;
}

.section-testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/images/testimonial-bg.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.51;
    z-index: -1;
}

.testimonial-quote-icon {
    width: 66px;
    height: 66px;
    background-color: #3b3e51;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-client-name {
    font-family: var(--font-serif);
    font-size: 20px;
    color: #000;
    font-weight: 800;
}

.testimonial-client-role {
    color: #fc9b00;
    /* or var(--amber), but using specifically nice orange for text */
    font-size: 15px;
    font-weight: 500;
}

.testimonial-quote-text {
    font-family: var(--font-sans);
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-muted);
    border: none;
    padding: 0;
    margin: 0;
}

/* ── Right side Testimonial Visual ── */
.testi-visual {
    position: relative;
    height: 480px;
}

.orange-blob {
    position: absolute;
    right: 50px;
    top: 0px;
    width: 456px;
    height: 456px;
    background: rgba(227, 147, 0, 1);
    border-radius: 50%;
    z-index: 0;
}

.main-img-wrap {
    position: absolute;
    left: 20px;
    top: 0;
    width: 456px;
    height: 456px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.thumb-stack {
    position: absolute;
    right: 9px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid #fff;
    /* Slightly thicker border for crispness */
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

/* ── Thumb Curvature ── */
.thumb:nth-child(1) {
    right: 35px;
}

.thumb:nth-child(2) {
    right: -15px;
}

.thumb:nth-child(3) {
    right: -15px;
}

.thumb:nth-child(4) {
    right: 35px;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.thumb.active {
    border-color: #e8940a;
    transform: scale(1.08);
}

.thumb:hover:not(.active) {
    border-color: #f0b040;
}

@media (max-width: 991.98px) {
    .testi-visual {
        margin-top: 50px;
        height: 300px;
    }

    .main-img-wrap {
        width: 250px;
        height: 250px;
        left: 50%;
        transform: translateX(-50%);
    }

    .orange-blob {
        width: 250px;
        height: 250px;
        left: 50%;
        right: auto;
        transform: translateX(-20%);
        top: 20px;
    }

    .thumb-stack {
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .testi-visual {
        height: 260px;
    }

    .main-img-wrap,
    .orange-blob {
        width: 210px;
        height: 210px;
    }

    .thumb {
        width: 58px;
        height: 58px;
    }
}

/* ---------- NEWS & UPDATES ---------- */
.section-news {
    position: relative;
    z-index: 1;
}

.section-news::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/images/blogs-bg.webp') no-repeat center center;
    background-size: cover;
    transform: scaleY(-1);
    opacity: 0.51;
    z-index: -1;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.news-card .card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.news-card .card-body {
    padding: 28px !important;
}

.news-meta-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.news-meta span {
    font-size: 14.5px;
    font-weight: 600;
    color: #1a1a1a;
}

.news-title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 21px;
    color: #000;
    line-height: 1.45;
    margin-bottom: 0;
    letter-spacing: -0.3px;

}

/* ---------- CONTACT ---------- */
.section-contact {
    position: relative;
    overflow: visible;
    /* Allow card overflow */
    /* margin-top: -140px; Pull it up into the Blogs section */
    z-index: 10;
    margin-bottom: -115px;
}

.contact-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-contact .container {
    position: relative;
    z-index: 1;
}

.contact-form-card {
    max-width: 1240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    padding: 30px 40px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label-custom {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control-underline {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 0;
    font-size: 16px;
    width: 100%;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-control-underline:focus {
    outline: none;
    border-color: var(--amber);
}

.select-arrow {
    position: absolute;
    right: 0;
    bottom: 15px;
    font-size: 12px;
    color: #999;
    pointer-events: none;
}

.appearance-none {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
    /* background-color: var(--dark-navy); */
    background-image: url(../assets/images/footer-bg.webp);
    position: relative;
    padding-top: 100px;
    /* Standard padding for internal pages */
}

/* Apply deep padding only on Front Page to handle section-contact overlap */
.home .site-footer,
.front-page .site-footer {
    padding-top: 200px !important;
}

.footer-logo {
    height: 90px;
    /* Refined size */
    width: auto;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    /* Faint bubble */
    color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-social .social-link:hover {
    background: var(--amber);
    /* Brand highlight */
    color: #000;
    transform: translateY(-3px);
    /* Subtle lift */
}

.footer-heading {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    /* Slightly smaller for balance */
    color: #ededed;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.footer-links {
    display: block;
    column-count: 2;
    /*     column-gap: 20px; */
}

.footer-links li {
    break-inside: avoid;
    display: block;
}

@media (max-width: 991.98px) {
    .footer-links {
        column-count: 1;
    }
}


.footer-links a {
    font-size: 15px;
    color: #ededed;
    transition: color 0.2s;
}

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

.footer-contact-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-top: 4px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(86%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    /* Standardizes icon color to light grey/white */
}

.footer-contact li a,
.footer-contact li p {
    font-size: 15px;
    color: #ededed;
}

.scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: rotate(180deg);
}

.scroll-top-btn:hover {
    background: var(--amber);
    border-color: var(--amber);
    transform: rotate(180deg) translateY(5px);
    /* Inverted lift since rotated */
}

.scroll-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Scroll to Top button */
.scroll-top-btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--amber);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transform: translateY(20px);
}

.scroll-top-btn-floating.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn-floating:hover {
    background: #fff;
    color: var(--amber);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Animations moved to → animations.css */


/* ==============================================
   RESPONSIVE BREAKPOINTS
   Tablet  : ≤991px
   Mobile  : ≤767px
   Sm Phone: ≤575px
   ============================================== */

/* ══════════════════════════════════════════════
   TABLET  (≤ 991px)
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {

    /* ── Topbar ── */
    .topbar .col-auto:nth-child(3) {
        display: none;
    }

    /* ── Navbar ── */
    .navbar-nav {
        gap: 2px;
    }

    .navbar-logo {
        height: 60px;
    }

    /* ── Banner ── */
    .banner-section {
        min-height: 75vh;
        align-items: flex-end;
        padding-bottom: 120px;
    }

    .banner-content {
        max-width: 100%;
        padding: 28px 24px;
    }

    .banner-title {
        font-size: clamp(28px, 4.5vw, 44px);
    }

    .banner-description {
        font-size: 16px;
    }

    /* ── Section titles ── */
    .section-title-lg {
        font-size: 36px;
    }

    .section-title-md {
        font-size: 30px;
    }

    /* ── Impact Stats — 2-col on tablet ── */
    .stat-card {
        padding: 40px 20px 32px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 20px;
    }

    /* ── About + What We Do — stack vertically ── */
    .section-about .row,
    .section-what-we-do .row {
        flex-direction: column;
    }

    .section-about .col-lg-6,
    .section-what-we-do .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }

    .about-image-wrapper img {
        width: 100%;
    }

    .section-what-we-do .col-lg-6.order-lg-1 {
        order: 2;
    }

    .section-what-we-do .col-lg-6.order-lg-2 {
        order: 1;
    }

    /* ── Program steps — 2 per row ── */
    .steps-dashed-line {
        display: none;
    }

    .step-num {
        font-size: 70px;
        top: -58px;
    }

    .step-label {
        font-size: 20px;
    }

    .step-card {
        padding: 22px 12px 16px;
    }

    /* ── Pathways — stack left + right ── */
    .section-pathways .row {
        flex-direction: column;
    }

    .section-pathways .col-lg-4,
    .section-pathways .col-lg-8 {
        width: 100%;
        max-width: 100%;
    }

    .pathways-tall-img {
        height: 300px;
    }

    .pathways-desc,
    .section-pathways .section-title-md {
        text-align: left;
    }

    .pathways-text-col {
        margin-top: 24px;
    }

    /* ── Pathways small cards — 3-col stays, but ensure proper height ── */
    .pathways-small-card {
        min-height: 180px;
    }

    .pathways-small-card img {
        height: 180px;
    }

    /* ── Be Part of Change cards — stack ── */
    .section-donate .row[style] {
        flex-direction: column;
        gap: 24px !important;
    }

    .section-donate .col-lg-auto {
        width: 100%;
    }

    .section-donate .d-flex.gap-4 {
        flex-direction: column;
        gap: 20px !important;
    }

    .partner-card {
        width: 100%;
        height: 260px;
    }

    .donate-card {
        width: 100%;
        height: 340px;
    }

    /* ── Property glass card ── */
    .property-glass-card {
        padding: 40px 32px;
    }

    /* ── Testimonials ── */
    .testi-visual {
        height: 360px;
        margin-top: 40px;
    }

    .main-img-wrap {
        width: 300px;
        height: 300px;
        left: 50%;
        transform: translateX(-50%);
    }

    .orange-blob {
        width: 300px;
        height: 300px;
        left: 50%;
        right: auto;
        transform: translateX(-18%);
        top: 20px;
    }

    .thumb-stack {
        right: 8px;
        gap: 20px;
    }

    .thumb {
        width: 64px;
        height: 64px;
    }

    /* ── News cards — stack vertically ── */
    .section-news .row {
        flex-direction: column;
    }

    .section-news .col-md-4 {
        width: 100%;
        max-width: 100%;
    }

    /* ── Contact — remove overlap ── */
    .section-contact {
        margin-bottom: 0;
    }

    .contact-form-card {
        padding: 36px 30px;
    }

    /* ── Footer ── */
    .site-footer {
        padding-top: 60px !important;
    }

    .footer-logo {
        height: 72px;
    }

    .scroll-top-btn-floating {
        width: 52px;
        height: 52px;
        font-size: 20px;
        bottom: 24px;
        right: 24px;
    }
}

/* ══════════════════════════════════════════════
   MOBILE  (≤ 767px)
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {

    /* ── Topbar — hide completely ── */
    .topbar {
        display: none !important;
    }

    /* ── Navbar ── */
    .navbar {
        min-height: 64px;
        padding: 10px 0;
    }

    .navbar-logo {
        height: 52px;
    }

    .btn-donate {
        display: none;
    }

    .navbar-collapse {
        background: #fff;
        padding: 12px 16px 20px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-link-custom {
        font-size: 15px;
        padding: 10px 8px !important;
        /*         border-bottom: 1px solid #f0f0f0; */
    }

    .navbar-collapse .btn-amber {
        display: block;
        margin-top: 12px;
        width: 100%;
        text-align: center;
    }

    /* ── Banner ── */
    .banner-section {
        min-height: 100svh;
        min-height: 100vh;
        align-items: center;
        padding-top: 80px;
        padding-bottom: 100px;
        background-position: center center;
    }

    .banner-content {
        max-width: 100%;
        padding: 24px 20px;
        background: rgba(18, 18, 46, 0.60);
        border-radius: 14px;
        text-align: left;
    }

    .banner-title {
        font-size: clamp(24px, 7vw, 36px);
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .banner-description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .btn-banner {
        padding: 12px 28px;
        font-size: 14px;
    }

    /* ── Wave — scale properly on mobile ── */
    .hero-wave {
        bottom: -2px;
    }

    .hero-wave img {
        width: 100%;
        min-width: 100%;
    }

    /* ── Section headings ── */
    .section-title-lg {
        font-size: 28px;
        line-height: 1.25;
    }

    .section-title-md {
        font-size: 26px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* ── Impact Stats — all 4 stack in 1 column ── */
    .section-impact .row {
        flex-direction: column;
        gap: 16px !important;
    }

    .section-impact .col-6 {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .stat-card {
        padding: 36px 24px 28px;
    }

    .stat-number {
        font-size: 52px;
        margin-bottom: 16px;
    }

    .stat-label {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .stat-desc {
        font-size: 14px;
    }

    /* ── About — image below text ── */
    .section-about .row,
    .section-what-we-do .row {
        flex-direction: column;
        gap: 28px !important;
    }

    .section-about .col-lg-6,
    .section-what-we-do .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .section-what-we-do .col-lg-6.order-lg-1 {
        order: 2;
    }

    .section-what-we-do .col-lg-6.order-lg-2 {
        order: 1;
    }

    .about-image-wrapper img {
        width: 100%;
        border-radius: 12px !important;
    }

    .section-about {
        padding-top: 40px !important;
        padding-bottom: 16px !important;
    }

    .section-what-we-do {
        padding-top: 16px !important;
        padding-bottom: 40px !important;
    }

    /* ── What We Do CTA block ── */
    .section-what-we-do .mt-5.d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px !important;
    }

    /* ── Program steps — full-width columns ── */
    .steps-dashed-line {
        display: none;
    }

    .steps-area .row.g-4 {
        flex-direction: column;
        gap: 56px !important;
    }

    .steps-area .col-6.col-lg-3 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .step-num {
        font-size: 80px;
        top: -66px;
        left: 0;
    }

    .step-label {
        font-size: 22px;
    }

    .step-card {
        padding: 24px 16px 18px;
    }

    /* ── Program bottom row — Step 5 BEFORE description on mobile ── */
    .steps-area .row.align-items-start {
        flex-direction: column;
        gap: 0;
        display: flex;
    }

    .steps-area .col-md-9,
    .steps-area .col-md-3 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    /* Move Step 5 (col-md-3) above description (col-md-9) */
    .steps-area .col-md-3 {
        order: 1;
        margin-top: 64px;
    }

    .steps-area .col-md-9 {
        order: 2;
        margin-top: 36px;
    }

    .step-5 {
        margin-top: 0;
    }

    .program-footer-content {
        margin-top: 0;
    }

    /* ── Pathways — fully stacked ── */
    .section-pathways .row.align-items-end {
        flex-direction: column;
        gap: 20px !important;
    }

    .section-pathways .col-lg-4,
    .section-pathways .col-lg-8 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .pathways-tall-img {
        height: 260px;
    }

    .pathways-desc,
    .section-pathways .section-title-md {
        text-align: left;
        font-size: 26px;
    }

    .pathways-text-col {
        margin-top: 12px;
    }

    .pathways-desc {
        font-size: 14px;
    }

    /* Pathways small cards — 1 column */
    .section-pathways .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .pathways-small-card {
        min-height: 200px;
    }

    .pathways-small-card img {
        height: 200px;
    }

    /* ── FAQ ── */
    .faq-btn {
        font-size: 16px;
        padding: 16px 18px;
    }

    .faq-body {
        font-size: 14px;
        padding: 0 18px 14px;
    }

    .section-faq {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    /* ── Be Part of Change — fully stacked ── */
    .section-donate .row[style] {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .section-donate .col-lg-auto {
        width: 100% !important;
        max-width: 100%;
    }

    .section-donate .d-flex.gap-4 {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .partner-card {
        width: 100% !important;
        height: 240px;
        max-width: 100%;
    }

    .donate-card {
        width: 100% !important;
        height: 300px;
        max-width: 100%;
    }

    .section-donate .d-flex.flex-column {
        max-width: 100% !important;
    }

    .section-donate .d-flex.flex-column.flex-md-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .section-donate .d-flex.flex-column.flex-md-row p {
        max-width: 100% !important;
    }

    /* ── Property ── */
    .property-glass-card {
        padding: 28px 20px;
        text-align: center;
    }

    .property-glass-card .section-title-md {
        font-size: 24px;
    }

    .property-glass-card p {
        font-size: 14px;
    }

    /* ── Testimonial — stack image below quote ── */
    .section-testimonial .row {
        flex-direction: column;
    }

    .section-testimonial .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .section-testimonial {
        padding-bottom: 24px !important;
    }

    .testi-visual {
        height: 280px;
        margin-top: 48px;
    }

    .main-img-wrap {
        width: 220px;
        height: 220px;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    .orange-blob {
        width: 220px;
        height: 220px;
        left: 50%;
        right: auto;
        transform: translateX(-10%);
        top: 18px;
    }

    .thumb-stack {
        right: 6px;
        gap: 14px;
        top: 8px;
    }

    .thumb {
        width: 52px;
        height: 52px;
        border-width: 3px;
    }

    .thumb:nth-child(1) {
        right: 14px;
    }

    .thumb:nth-child(2) {
        right: -6px;
    }

    .thumb:nth-child(3) {
        right: -6px;
    }

    .thumb:nth-child(4) {
        right: 14px;
    }

    .testimonial-quote-icon {
        width: 50px;
        height: 50px;
        font-size: 17px;
    }

    .testimonial-client-name {
        font-size: 18px;
    }

    .testimonial-quote-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .section-title-md[style] {
        font-size: 30px !important;
    }

    /* ── News — stack all cards ── */
    .section-news .row {
        flex-direction: column;
        gap: 20px !important;
    }

    .section-news .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .news-card .card-img-top {
        height: 220px;
    }

    .news-card .card-body {
        padding: 22px !important;
    }

    .news-title {
        font-size: 18px;
    }

    .section-news h2[style] {
        font-size: 30px !important;
    }

    /* ── Contact form — stack all fields ── */
    .section-contact {
        margin-bottom: 0;
        z-index: 5;
    }

    .contact-form-card {
        padding: 28px 18px;
        border-radius: 12px;
    }

    .contact-form-card .row.g-5 {
        flex-direction: column;
        gap: 0 !important;
    }

    .contact-form-card .col-md-4,
    .contact-form-card .col-md-8 {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding-top: 20px;
    }

    .contact-form-card .col-md-4:first-child {
        padding-top: 0;
    }

    .contact-form-card .col-md-4.text-end {
        text-align: left !important;
    }

    .contact-form-card .btn-amber {
        width: 100%;
    }

    /* ── Footer — stack columns ── */
    .site-footer {
        padding-top: 60px !important;
    }

    .site-footer .row {
        flex-direction: column;
        gap: 0;
    }

    .site-footer .col-lg-4 {
        width: 100%;
        max-width: 100%;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-heading {
        font-size: 17px;
        margin-top: 28px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-contact li a,
    .footer-contact li p {
        font-size: 14px;
    }

    .footer-copyright {
        font-size: 13px;
        padding: 12px;
    }

    .scroll-top-btn-floating {
        width: 46px;
        height: 46px;
        font-size: 18px;
        bottom: 18px;
        right: 18px;
    }
}

/* ══════════════════════════════════════════════
   SMALL PHONE  (≤ 575px)
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {

    /* ── Navbar ── */
    .navbar-logo {
        height: 46px;
    }

    /* ── Banner ── */
    .banner-section {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .banner-title {
        font-size: clamp(20px, 8vw, 30px);
    }

    .banner-description {
        font-size: 13.5px;
    }

    .btn-banner {
        padding: 10px 22px;
        font-size: 13px;
    }

    /* ── Section headings ── */
    .section-title-lg {
        font-size: 24px;
    }

    .section-title-md {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* ── Stats ── */
    .stat-number {
        font-size: 44px;
    }

    .stat-label {
        font-size: 18px;
    }

    .stat-card {
        padding: 28px 18px 22px;
    }

    /* ── About card items ── */
    .about-item-title {
        font-size: 16px;
    }

    .about-card {
        padding: 20px 16px !important;
    }

    /* ── Program ── */
    .step-num {
        font-size: 68px;
        top: -55px;
    }

    .step-label {
        font-size: 18px;
    }

    /* ── Pathways ── */
    .pathways-tall-img {
        height: 220px;
    }

    .pathways-small-card img {
        height: 170px;
    }

    .pathways-img-label span {
        font-size: 15px;
    }

    .pathways-img-label-sm span {
        font-size: 13px;
    }

    /* ── Partner / Donate cards ── */
    .partner-card {
        height: 200px;
    }

    .donate-card {
        height: 260px;
    }

    .partner-card-label span {
        font-size: 14px;
    }

    .donate-card-overlay {
        padding: 20px 18px;
    }

    .donate-card-overlay h3 {
        font-size: 18px;
    }

    .donate-card-overlay p {
        font-size: 13px;
    }

    /* ── Property ── */
    .property-glass-card {
        padding: 24px 16px;
    }

    .property-glass-card .section-title-md {
        font-size: 20px !important;
    }

    /* ── Testimonials ── */
    .testi-visual {
        height: 240px;
        margin-top: 36px;
    }

    .main-img-wrap {
        width: 190px;
        height: 190px;
    }

    .orange-blob {
        width: 190px;
        height: 190px;
    }

    .thumb {
        width: 46px;
        height: 46px;
    }

    .testimonial-quote-text {
        font-size: 13.5px;
    }

    /* ── News ── */
    .news-card .card-img-top {
        height: 190px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-card .card-body {
        padding: 18px !important;
    }

    /* ── Contact ── */
    .contact-form-card {
        padding: 22px 14px;
    }

    .form-label-custom {
        font-size: 13px;
    }

    .form-control-underline {
        font-size: 14px;
    }

    /* ── Footer ── */
    .site-footer {
        padding-top: 48px !important;
    }

    .footer-logo {
        height: 52px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-links a,
    .footer-contact li a,
    .footer-contact li p {
        font-size: 13px;
    }

    .scroll-top-btn-floating {
        width: 42px;
        height: 42px;
        font-size: 16px;
        bottom: 14px;
        right: 14px;
    }
}

/* ============================================================
   Figma-safe scaling for 1400px desktop design 
   (Adapted for Help-For-All project Structure)
   ============================================================ */

/* 1) Base: on desktop, let .container match the 1400px Figma width */
@media (min-width: 992px) {
    .container {
        max-width: 1400px !important;
        width: 100% !important;
    }
}

/* 2) Scale ALL sections (including banner and topbar) when viewport < 1400px */
@media (min-width: 992px) and (max-width: 1400px) {

    .topbar,
    .navbar,
    .banner-section,
    main>section,
    .about-what-wrapper,
    .site-footer {
        zoom: 0.88;
        transform-origin: top center;
    }
}

/* 3) Extra scaling for ~1366px / 125% zoom desktop */
@media (min-width: 992px) and (max-width: 1300px) {

    .topbar,
    .navbar,
    .banner-section,
    main>section,
    .about-what-wrapper,
    .site-footer {
        zoom: 0.82;
    }
}

/* SCALING CLOSED */

/* ============================================================
   MOBILE CONTAINER PADDING OVERRIDE 
   (Removes px-5 on mobile)
   ============================================================ */
@media (max-width: 991px) {
    .container.px-5 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* ==============================================
   ABOUT PAGE — Help for All People
   Dedicated stylesheet for about.php
   ============================================== */


/* ==============================================
   SHARED TYPOGRAPHY TOKENS
   Used across all about.php sections
   ============================================== */

.about-section-tag {
    display: inline-block;
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber, #C9972B);
    margin-bottom: 1rem;
}

.about-section-title {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-navy, #12122E);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.about-section-title em {
    font-style: italic;
    color: var(--amber, #C9972B);
}

.text-muted-custom {
    color: rgba(18, 18, 46, 0.6);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-section {
    position: relative;
    /* overflow: hidden removed to allow position: sticky to work */
}

/* ==============================================
   HERO BANNER
   .hero-about
   ============================================== */

.hero-about {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-navy, #12122E);
}

.hero-about-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/about-community.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 720px;
}

.hero-about-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

.hero-about-eyebrow span {
    color: var(--amber, #C9972B);
}

.hero-about-content h1 {
    color: #fff;
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-about-line {
    width: 48px;
    height: 3px;
    background: var(--amber, #C9972B);
    margin: 0 auto 1.5rem;
}

.hero-about-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}


/* ==============================================
   STORY SECTION
   .story-images, .img-main, .img-accent, .story-badge, .story-text
   ============================================== */

.story-images {
    position: relative;
    padding: 2rem 0;
}

.story-images .img-main {
    width: 90%;
    margin-left: 0;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 40px 100px rgba(18, 18, 46, 0.15);
}

.story-images .img-accent {
    width: 280px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 10px solid #fff;
    box-shadow: 0 25px 60px rgba(18, 18, 46, 0.18);
    position: absolute;
    bottom: -2rem;
    right: 0;
    z-index: 2;
}

.story-badge {
    position: absolute;
    bottom: -0.5rem;
    left: -1rem;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--amber, #C9972B);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(201, 151, 43, 0.4);
    line-height: 1.2;
}

.story-badge strong {
    display: block;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.story-badge span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-text {
    padding-left: 1rem;
}

.story-text p {
    color: rgba(18, 18, 46, 0.75);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.story-quote {
    border-left: 3px solid var(--amber, #C9972B);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--dark-navy, #12122E);
    font-size: 1.1rem;
    line-height: 1.65;
    background: rgba(201, 151, 43, 0.05);
    border-radius: 0 6px 6px 0;
}


/* ==============================================
   MISSION & VISION PANELS
   .mv-panel, .mv-number, .mv-icon, .mv-label, .mv-title, .mv-text
   ============================================== */

.mv-panel {
    position: relative;
    min-height: 480px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: #fff;
}

.mv-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--panel-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: transform 0.8s ease, opacity 0.5s ease;
}

.mv-panel:hover::before {
    transform: scale(1.08);
    opacity: 0.25;
}

.mv-number {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    z-index: 0;
}

.mv-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--amber, #C9972B);
}

.mv-label {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber, #C9972B);
    margin-bottom: 0.75rem;
    display: block;
}

.mv-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.mv-text {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}


/* ==============================================
   WHO WE SERVE CARDS
   .serve-card, .serve-card-overlay, .serve-card-tag
   ============================================== */

.serve-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

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

.serve-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

.serve-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(18, 18, 46, 0.95) 0%, rgba(18, 18, 46, 0.4) 50%, transparent 100%);
    color: #fff;
    transition: transform 0.4s ease, background 0.4s ease;
}

.serve-card:hover .serve-card-overlay {
    background: linear-gradient(to top, rgba(18, 18, 46, 1) 0%, rgba(18, 18, 46, 0.6) 100%);
}

.serve-card-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber, #C9972B);
    margin-bottom: 0.5rem;
}

.serve-card-overlay h3 {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.serve-card-overlay p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}


/* ==============================================
   PHOTO STRIP
   .strip-photo, .strip-photo-label
   ============================================== */

.strip-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.strip-photo:hover img {
    transform: scale(1.06);
}

.strip-photo-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(18, 18, 46, 0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}


/* ==============================================
   EXECUTIVE DIRECTOR FEATURE
   .director-feature, .director-layout, .director-sidebar, .director-content
   ============================================== */

.director-feature {
    padding: 8rem 0;
    background-color: #fff;
    background-image: radial-gradient(var(--amber, #C9972B) 0.5px, transparent 0.5px), radial-gradient(var(--amber, #C9972B) 0.5px, #fff 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-attachment: fixed;
    opacity: 1;
    /* Pattern will be subtle via low opacity overlay potentially, but I'll use a very light pattern instead */
}

/* Lightening the pattern */
.director-feature {
    background-image: radial-gradient(rgba(201, 151, 43, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.director-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 5rem;
    align-items: stretch;
    /* Allows sidebar to take full height for sticky child */
}

.director-photo-frame {
    position: sticky;
    top: 100px;
    z-index: 5;
    padding: 20px;
}

.director-photo-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--amber, #C9972B);
    border-radius: 16px;
    z-index: -1;
    transform: translate(-10px, -10px);
}

.director-photo-frame::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background: var(--amber-light, rgba(201, 151, 43, 0.1));
    border-radius: 16px;
    z-index: -1;
    transform: translate(10px, 10px);
}

.director-portrait {
    width: 100%;
    border-radius: 12px;
    display: block;
    aspect-ratio: 3 / 4.5;
    object-fit: cover;
    box-shadow: 0 40px 90px rgba(18, 18, 46, 0.15);
    border: 1px solid rgba(18, 18, 46, 0.05);
}

.director-content h2 {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-navy, #12122E);
    margin: 0.75rem 0 0.25rem;
    line-height: 1.15;
}

.director-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(18, 18, 46, 0.08);
}

.signature-font {
    font-family: 'Playfair Display', serif;
    /* Signature-like fallback */
    font-size: 2.25rem;
    font-style: italic;
    color: var(--dark-navy, #12122E);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.signature-title {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber, #C9972B);
}

.quote-block {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 500;
    color: var(--dark-navy, #12122E);
    border-left: 3px solid var(--amber, #C9972B);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    background: rgba(201, 151, 43, 0.04);
    border-radius: 0 6px 6px 0;
    line-height: 1.6;
}

.bio-text p {
    color: rgba(18, 18, 46, 0.72);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}


/* ==============================================
   VALUES SECTION
   .values-image, .value-card, .value-number, .value-icon
   ============================================== */

.values-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 320px;
    display: block;
    box-shadow: 0 20px 50px rgba(18, 18, 46, 0.1);
}

.value-card {
    background: #fff;
    border: 1px solid rgba(18, 18, 46, 0.05);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(18, 18, 46, 0.03);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(18, 18, 46, 0.12);
    border-color: rgba(201, 151, 43, 0.2);
}

.value-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(18, 18, 46, 0.05);
    line-height: 1;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(201, 151, 43, 0.1);
    color: var(--amber, #C9972B);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.value-card h3 {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-navy, #12122E);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.value-card p {
    font-size: 0.95rem;
    color: rgba(18, 18, 46, 0.65);
    line-height: 1.7;
    margin: 0;
}


/* ==============================================
   STATS COUNTER STRIP
   .stat-item, .about-stat-number, .about-stat-divider, .about-stat-label
   The bg-dark-navy class is a Bootstrap utility — no override needed for bg.
   ============================================== */

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.about-stat-number {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--amber, #C9972B);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-stat-divider {
    width: 32px;
    height: 2px;
    background: var(--amber, #C9972B);
    margin: 1.25rem auto;
    opacity: 0.4;
}

.about-stat-label {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    line-height: 1.5;
}


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

@media (max-width: 991.98px) {

    /* Story images stack */
    .story-images {
        padding-bottom: 4rem;
    }

    .story-images .img-accent {
        width: 200px;
        right: 0;
    }

    /* Director layout stacks */
    .director-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .director-photo-frame {
        position: static;
        max-width: 380px;
    }

    /* Mission panels stack */
    .mv-panel {
        min-height: 380px;
        padding: 3rem;
    }
}

@media (max-width: 767.98px) {

    /* Who We Serve cards shorter on mobile */
    .serve-card {
        height: 320px;
    }

    /* Photo strip shorter */
    .strip-photo {
        height: 200px;
    }

    /* Values image hidden on mobile */
    .values-image {
        height: 240px;
    }

    /* Stats 2-column on mobile */
    .about-stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 575.98px) {

    /* Hero smaller */
    .hero-about-content {
        padding: 4rem 1rem;
    }

    /* Story badge hidden on very small screens */
    .story-badge {
        display: none;
    }

    .about-stat-number {
        font-size: 2.2rem;
    }

    .about-stat-label {
        font-size: 0.62rem;
    }

    .director-feature {
        padding: 4rem 0;
    }
}




/* ==============================================
   PROGRAM PAGE — Pathways to Stability
   Dedicated stylesheet for program.php
   ============================================== */


/* ==============================================
   TYPOGRAPHY TOKENS
   Shared labels and headings used across sections
   ============================================== */

/* Gold uppercase eyebrow label */
.premium-tag {
    display: inline-block;
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber, #C9972B);
    margin-bottom: 1rem;
}

/* Main section heading — serif, navy */
.premium-title {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-navy, #12122E);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.premium-title em {
    font-style: italic;
    color: var(--amber, #C9972B);
}


/* ==============================================
   HERO BANNER
   Same component as about.php
   ============================================== */

.hero-about {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-navy, #12122E);
}

.hero-about-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/about-community.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 760px;
}

.hero-about-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

.hero-about-eyebrow span {
    color: var(--amber, #C9972B);
}

.hero-about-content h1 {
    color: #fff;
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-about-line {
    width: 48px;
    height: 3px;
    background: var(--amber, #C9972B);
    margin: 0 auto 1.5rem;
}

.hero-about-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}


/* ==============================================
   BASE SECTION WRAPPER
   ============================================== */

.program-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.program-section.bg-light-cream {
    background: #FDFCF8;
}


/* ==============================================
   SECTION 1: ORGANIZATION OVERVIEW
   ============================================== */

.program-hero-overview {
    background: #fff;
}

.program-story-images {
    position: relative;
    padding: 2rem 0;
}

.program-story-images .img-main {
    width: 90%;
    margin-left: 0;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 40px 100px rgba(18, 18, 46, 0.15);
}

.program-story-images .img-accent {
    width: 280px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 10px solid #fff;
    box-shadow: 0 25px 60px rgba(18, 18, 46, 0.18);
    position: absolute;
    bottom: -2rem;
    right: 0;
    z-index: 2;
}

.story-text p {
    color: rgba(18, 18, 46, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* ==============================================
   SECTION 2: THE NEED — BARRIER CARDS
   ============================================== */

.program-needs {
    background: #FDFCF8;
}

.program-barrier-card {
    background: #fff;
    border: 1px solid rgba(18, 18, 46, 0.05);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(18, 18, 46, 0.03);
}

.program-barrier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(18, 18, 46, 0.12);
    border-color: rgba(201, 151, 43, 0.2);
}

.barrier-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.barrier-card-body {
    padding: 1.75rem;
    flex-grow: 1;
}

.barrier-card-body i {
    color: var(--amber, #C9972B);
    flex-shrink: 0;
}

.barrier-card-body h4 {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    color: var(--dark-navy, #12122E);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.4;
}


/* ==============================================
   SECTION 3: OUR SOLUTION — JOURNEY TIMELINE
   ============================================== */

.program-solutions {
    background: #fff;
}

.premium-journey-line-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.premium-journey-line-wrap::before {
    content: "";
    position: absolute;
    top: 5rem;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(245, 212, 154, 0) 0%,
            rgba(201, 151, 43, 0.4) 15%,
            rgba(201, 151, 43, 0.4) 85%,
            rgba(245, 212, 154, 0) 100%);
}

.journey-step {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    /*     margin-bottom: 4rem; */
    position: relative;
}

.journey-step:nth-child(even) {
    justify-content: flex-end;
}

.journey-step-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--amber, #C9972B);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-sans, 'Outfit', sans-serif);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(201, 151, 43, 0.35);
    transition: all 0.3s ease;
}

.journey-step:hover .journey-step-marker {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(201, 151, 43, 0.5);
}

.journey-step-content {
    width: 44%;
    padding: 2.25rem 2.5rem;
    background: #fff;
    border: 1px solid rgba(18, 18, 46, 0.04);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(18, 18, 46, 0.04);
    transition: transform 0.3s ease;
}

.journey-step-content:hover {
    transform: scale(1.02);
}

.journey-step-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--dark-navy, #12122E);
}


/* ==============================================
   SECTION 4: IMPACT ROADMAP — STATS
   ============================================== */

.program-impact-roadmap {
    background: #FDFCF8;
    border-top: 1px solid rgba(18, 18, 46, 0.06);
    border-bottom: 1px solid rgba(18, 18, 46, 0.06);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 0.5rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.about-stat-number {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--amber, #C9972B);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-stat-divider {
    width: 32px;
    height: 2px;
    background: var(--amber, #C9972B);
    margin: 1.25rem auto;
    opacity: 0.4;
}

.about-stat-label {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dark-navy, #12122E);
    opacity: 0.7;
    line-height: 1.5;
}

.col-lg-2-custom {
    flex: 0 0 auto;
    width: 20%;
}


/* ==============================================
   SECTION 5: PARTNERSHIP HUB
   ============================================== */

.program-partnership-hub {
    background: #fff;
}

.partnership-headline-block {
    max-width: 680px;
    margin-bottom: 4rem;
}

.partnership-headline-block h2 {
    font-family: var(--font-serif, 'Fraunces', serif);
    color: var(--dark-navy, #12122E);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.partnership-headline-block .lead {
    color: rgba(18, 18, 46, 0.65);
    font-size: 1.05rem;
    line-height: 1.75;
}

.partnership-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(18, 18, 46, 0.12);
}

.partnership-img-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.partnership-overlay-card {
    background: var(--dark-navy, #12122E);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 40px 100px rgba(18, 18, 46, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.partnership-overlay-card .premium-title {
    color: #fff;
}


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

@media (max-width: 991.98px) {
    .hero-about-content {
        padding: 4rem 1.5rem;
    }

    .program-story-images .img-accent {
        width: 200px;
        right: 0;
    }

    .premium-journey-line-wrap::before {
        display: none;
    }

    .journey-step,
    .journey-step:nth-child(even) {
        justify-content: flex-start;
        margin-bottom: 1.5rem;
    }

    .journey-step-marker {
        position: static;
        transform: none;
        flex-shrink: 0;
        margin-right: 1.25rem;
    }

    .journey-step-content {
        width: 100%;
    }

    .col-lg-2-custom {
        width: 33.333%;
    }
}

@media (max-width: 767.98px) {
    .partnership-img-wrapper img {
        height: 300px;
    }

    .partnership-overlay-card {
        padding: 2.5rem 1.75rem;
        margin-top: -3rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .partnership-headline-block h2 {
        font-size: 1.8rem;
    }

    .about-stat-number {
        font-size: 2.6rem;
    }
}

@media (max-width: 575.98px) {
    .hero-about-content {
        padding: 3.5rem 1rem;
    }

    .barrier-card-img {
        height: 180px;
    }

    .col-lg-2-custom {
        width: 50%;
    }

    .journey-step-marker {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .premium-title {
        font-size: 1.7rem;
    }
}

/* ==============================================
   RESIDENT HANDBOOK — EXACT SOURCE CSS
   Restored from residents.html
   ============================================== */

.residents-page-wrapper {
    --res-navy: #0F172A;
    --res-teal: #B45309;
    --res-gold: #FFB300;
    --res-cream: #FDFCF8;
    --res-white: #ffffff;
    --res-font-heading: 'Fraunces', serif;
    --res-font-accent: 'Outfit', sans-serif;
    --res-font-body: 'Inter', sans-serif;
    --res-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --res-border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ── WELCOME BAND ── */
.welcome-band {
    background: var(--res-gold);
    padding: 2.5rem 0;
}

.welcome-band h2 {
    font-family: var(--res-font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 400;
    font-style: italic;
    color: var(--res-navy);
    margin-bottom: 0.6rem;
}

.welcome-band p {
    color: rgba(15, 23, 42, 0.7);
    font-size: 0.88rem;
    max-width: 660px;
    line-height: 1.75;
    margin: 0 auto;
}

/* ── POLICY CARD ── */
.policy-card {
    background: var(--res-white);
    border-radius: 6px;
    border: var(--res-border);
    padding: 1.6rem 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--res-shadow);
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--res-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.policy-card:hover::before {
    transform: scaleX(1);
}

.policy-icon {
    width: 44px;
    height: 44px;
    background: #FEF3C7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--res-teal);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.policy-card h3 {
    font-family: var(--res-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--res-navy);
    margin-bottom: 0.7rem;
}

.policy-card .intro-text {
    color: #64748B;
    font-size: 0.82rem;
    margin-bottom: 0.7rem;
}

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

.policy-list li {
    color: #64748B;
    font-size: 0.85rem;
    padding: 0.28rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.45;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--res-gold);
    flex-shrink: 0;
    margin-top: 0.46rem;
}

.policy-note {
    font-size: 0.78rem;
    color: var(--res-teal);
    font-family: var(--res-font-accent);
    font-weight: 600;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* ── SCHEDULE ── */
.schedule-wrap {
    background: var(--res-navy);
    border-radius: 6px;
    padding: 2rem 1.8rem;
    height: 100%;
}

.schedule-wrap h3 {
    font-family: var(--res-font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.schedule-sublabel {
    font-family: var(--res-font-accent);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--res-gold);
    font-weight: 700;
    margin-bottom: 1.4rem;
    display: block;
}

.day-header {
    font-family: var(--res-font-accent);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}

.schedule-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-row:last-of-type {
    border-bottom: none;
}

.s-time {
    font-family: var(--res-font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--res-gold);
    min-width: 66px;
    padding-top: 1px;
}

.s-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.4;
}

.weekly-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.3rem 0;
}

.weekly-row i {
    color: var(--res-gold);
    font-size: 0.55rem;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
    background: var(--res-teal);
    border-radius: 4px;
    padding: 1.2rem 1.4rem;
    margin-top: 1.2rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.65;
}

.highlight-box strong {
    color: #ffffff;
}

/* ── CURFEW CARD ── */
.curfew-card {
    background: var(--res-navy);
    border-radius: 6px;
    padding: 1.6rem 1.5rem;
    text-align: center;
    height: 100%;
}

.curfew-card .c-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--res-gold);
    margin: 0 auto 1rem;
}

.curfew-card h3 {
    font-family: var(--res-font-heading);
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
}

.curfew-block {
    margin-bottom: 1.2rem;
}

.curfew-block:last-of-type {
    margin-bottom: 0;
}

.c-day {
    font-family: var(--res-font-accent);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--res-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.c-time {
    font-family: var(--res-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.c-sep {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1.2rem 0;
}

.curfew-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    font-style: italic;
    margin-top: 1rem;
}

/* ── PHOTO STRIP ── */
.strip-photo {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.strip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.strip-photo:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.strip-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--res-navy);
    color: #ffffff;
    font-size: 0.62rem;
    font-family: var(--res-font-accent);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

/* ── AGREEMENT FORM ── */
.agreement-box {
    background: var(--res-white);
    border-radius: 6px;
    border: var(--res-border);
    padding: 2.5rem 2rem;
    box-shadow: var(--res-shadow);
}

.agreement-box h3 {
    font-family: var(--res-font-heading);
    font-size: 1.3rem;
    color: var(--res-navy);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.f-label {
    font-family: var(--res-font-accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748B;
    display: block;
    margin-bottom: 0.4rem;
}

.f-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid rgba(15, 23, 42, 0.15);
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.88rem;
    font-family: var(--res-font-body);
    color: #1E293B;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
}

.f-input:focus {
    border-bottom-color: var(--res-gold);
}

.agreement-note {
    background: var(--res-cream);
    border-left: 3px solid var(--res-gold);
    border-radius: 0 4px 4px 0;
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.7;
}

.rules-col h5 {
    font-family: var(--res-font-heading);
    font-size: 0.92rem;
    color: var(--res-navy);
    margin-bottom: 0.5rem;
}

.rules-list li {
    font-family: var(--res-font-body);
    font-size: 0.82rem;
    color: #64748B;
}

/* ── FAQ ── */
.faq-item {
    background: var(--res-white);
    border-radius: 5px;
    border: var(--res-border);
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.faq-q {
    padding: 1rem 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--res-font-accent);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--res-navy);
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FEF3C7;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--res-teal);
    font-size: 0.7rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
    background: var(--res-gold);
    color: var(--res-navy);
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease, padding 0.25s ease;
    padding: 0 1.3rem;
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.7;
    font-family: var(--res-font-body);
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 1.3rem 1.1rem;
}

/* ── CONTACT BAND ── */
.contact-band {
    background: var(--res-navy);
    padding: 4rem 0;
}

.contact-band h2 {
    font-family: var(--res-font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-band h2 em {
    font-style: italic;
    color: var(--res-gold);
    font-weight: 400;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.4rem;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--res-font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--res-gold);
}

.contact-pill i {
    color: var(--res-gold);
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .strip-photo {
        height: 180px;
    }

    .agreement-box {
        padding: 1.5rem 1.2rem;
    }

    .policy-card,
    .schedule-wrap,
    .curfew-card {
        padding: 1.3rem 1.1rem;
    }
}

/* ── ABOUT FRAMEWORK (PILOT MODEL) ── */
.about-framework {
    background: #ffffff;
}

.about-framework .framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.framework-card {
    background: #FDFCF8;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 4px;
    padding: 2.2rem 2rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--res-gold, #FFB300);
}

.framework-icon {
    font-size: 1.5rem;
    color: var(--res-teal, #B45309);
    margin-bottom: 1.5rem;
    display: block;
}

.framework-card h3 {
    font-family: var(--res-font-heading, 'Fraunces', serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--res-navy, #0F172A);
    margin-bottom: 1.2rem;
}

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

.framework-list li {
    font-size: 0.85rem;
    color: #64748B;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    line-height: 1.5;
}

.framework-list li:last-child {
    border-bottom: none;
}

.framework-list li::before {
    content: "•";
    color: var(--res-gold, #FFB300);
    font-weight: bold;
    margin-right: 0.5rem;
}

.framework-detail {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.6;
}

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

@media (max-width: 767px) {
    .about-framework .framework-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-framework {
        padding: 4rem 0;
    }
}

/* ── DONATE PAGE STYLES ── */

/* Reuse Hero Logic from About */
.hero-donate {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--res-navy, #0F172A);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.hero-donate-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../assets/images/css-charity.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-donate-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    padding: 0 2rem;
}

.hero-donate-eyebrow {
    font-family: var(--res-font-accent, 'Outfit', sans-serif);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.hero-donate-eyebrow span {
    color: var(--res-gold, #FFB300);
}

.hero-donate-line {
    width: 60px;
    height: 2px;
    background: var(--res-gold, #FFB300);
    margin: 2.2rem auto;
}

.hero-donate-sub {
    font-family: var(--res-font-body, 'Inter', sans-serif);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Impact Cards */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.impact-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border-color: rgba(255, 179, 0, 0.3);
}

.impact-card .amount {
    font-family: var(--res-font-heading, 'Fraunces', serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--res-navy, #0F172A);
    margin-bottom: 1.25rem;
    display: block;
}

.impact-card .amount span {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: -0.2rem;
}

.impact-card .description {
    font-family: var(--res-font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin-top: auto;
}

/* Methods Box */
.method-box {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.method-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--res-gold, #FFB300);
    opacity: 0.15;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: #FFF7ED;
    color: var(--res-gold, #B45309);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.method-title {
    font-family: var(--res-font-heading, 'Fraunces', serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--res-navy, #0F172A);
    margin-bottom: 1.25rem;
}

.method-details {
    font-family: var(--res-font-body, 'Inter', sans-serif);
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
}

.method-details strong {
    color: var(--res-navy, #0F172A);
}

.monthly-band {
    background-color: var(--res-gold, #FFB300);
    color: var(--res-navy, #0F172A);
    padding: 4rem 3rem;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 767px) {
    .hero-donate {
        min-height: 420px;
    }

    .impact-card .amount {
        font-size: 2.5rem;
    }

    .method-box {
        padding: 2.5rem 1.5rem;
    }

    .monthly-band {
        padding: 3rem 1.5rem;
    }
}

/* ── BLOG PAGE STYLES ── */

/* Hero Blog Overlay (Unified with hero-about) */
.hero-blog-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(18, 18, 46, 0.75), rgba(18, 18, 46, 0.9)), url('../assets/images/css-consulting.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Blog Cards (Premium Polish) */
.blog-card {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 46, 0.04);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(18, 18, 46, 0.03);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(18, 18, 46, 0.08);
    border-color: rgba(226, 147, 0, 0.3);
}

.blog-card-img-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.12);
}

.blog-card-content {
    padding: 2.25rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-navy);
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--amber);
}

.blog-card-excerpt {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.blog-card-link {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-card-link i {
    font-size: 0.75rem;
    color: var(--amber);
}

.blog-card-link:hover {
    gap: 1rem;
    color: var(--amber);
}

/* Single Post Specific Content Refinement */
.post-main-content {
    font-family: var(--font-sans);
    font-size: 1.12rem;
    line-height: 1.85;
    color: #1e293b;
}

.post-main-content p {
    margin-bottom: 2rem;
}

.post-main-content h2,
.post-main-content h3 {
    font-family: var(--font-serif);
    color: var(--dark-navy);
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
}

/* Sidebar Styling (Premium Polish) */
.sidebar-sticky {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    margin-bottom: 4rem;
}

.widget-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--amber);
}

.recent-post-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    text-decoration: none;
    align-items: center;
}

.recent-post-thumb {
    width: 85px;
    height: 85px;
    border-radius: 6px;
    background: #f8fafc;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.15);
}

.recent-post-info {
    flex: 1;
}

.recent-post-info h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--dark-navy);
    margin-bottom: 0.35rem;
    transition: color 0.3s ease;
}

.recent-post-item:hover h4 {
    color: var(--amber);
}

.recent-post-info .post-date {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    font-weight: 600;
}

.sidebar-cta {
    background: var(--dark-navy);
    color: #fff;
    padding: 3rem 2.25rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-cta h3 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: #fff;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.sidebar-cta p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    opacity: 0.75;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.35rem;
    border-radius: 4px;
    background: #fff;
    color: var(--dark-navy);
    text-decoration: none;
    border: 1px solid rgba(18, 18, 46, 0.08);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--amber);
    color: #fff;
    border-color: var(--amber);
}

@media (max-width: 991px) {
    .blog-card-img-wrap {
        height: 220px;
    }

    .sidebar-sticky {
        position: static;
        margin-top: 4rem;
    }
}

/* ── CONTACT PAGE STYLES ── */

/* Hero Contact Overlay */
.hero-contact-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(18, 18, 46, 0.7), rgba(18, 18, 46, 0.85)), url('../assets/images/css-teamwork.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Contact Info Cards */
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(18, 18, 46, 0.04);
    box-shadow: 0 4px 20px rgba(18, 18, 46, 0.03);
    display: flex;
    gap: 1.75rem;
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(18, 18, 46, 0.06);
    border-color: rgba(226, 147, 0, 0.2);
}

.contact-icon-box {
    width: 56px;
    height: 56px;
    background: #FFF7ED;
    color: var(--amber);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.contact-info-text p {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: var(--amber);
}

/* Contact Form Styling */
.contact-form-wrap {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 18, 46, 0.04);
    box-shadow: 0 20px 50px rgba(18, 18, 46, 0.05);
}

.form-group-premium {
    margin-bottom: 1.75rem;
}

.form-label-premium {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    display: block;
}

.form-control-premium {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    background: #F8FAFC;
    transition: all 0.3s ease;
    color: var(--dark-navy);
}

.form-control-premium:focus {
    outline: none;
    border-color: var(--amber);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(226, 147, 0, 0.1);
}

.form-control-premium::placeholder {
    color: #94A3B8;
}

/* Map Section */
.map-section {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(18, 18, 46, 0.06);
    height: 480px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Social Box in Contact */
.social-contact-wrap {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #F1F5F9;
}

.social-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748B;
    margin-bottom: 1.25rem;
}

.social-links-premium {
    display: flex;
    gap: 1rem;
}

.social-btn-premium {
    width: 44px;
    height: 44px;
    background: #F1F5F9;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn-premium:hover {
    background: var(--amber);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }

    .contact-info-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .map-section {
        height: 350px;
    }
}

/* ── TESTIMONIALS (STORIES OF HOPE) STYLES ── */

/* Hero Testimonial Overlay */
.hero-testimonial-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(18, 18, 46, 0.7), rgba(18, 18, 46, 0.85)), url('../assets/images/css-charity.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Testimonial Grid & Cards */
.testimonial-grid {
    margin-top: 2rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(18, 18, 46, 0.04);
    border: 1px solid rgba(18, 18, 46, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--amber);
    transition: height 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(18, 18, 46, 0.08);
    border-color: rgba(226, 147, 0, 0.15);
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--amber);
    opacity: 0.15;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.testimonial-content blockquote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--dark-navy);
    margin-bottom: 2rem;
    font-style: normal;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.author-image {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.author-info h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.15rem;
}

.author-info span {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Impact Banner on Testimonial Page */
.testimonial-impact-banner {
    background: var(--dark-navy);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.testimonial-impact-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/carbon-fibre.png');
    opacity: 0.05;
}

.cta-box-premium {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-content blockquote {
        font-size: 1.15rem;
    }
}

/*   extra css for footer */

.site-footer .footer-links .nav-link-custom {
    color: #FFFFFF !important;
}


/* CONTACT US PAGE STYLING FOR WP FORMS */
/* ── WPFORMS PREMIUM INTEGRATION (Scoped to Contact Wrap) ── */

.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 0 0 1.5rem 0 !important;
}

.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-family: var(--font-sans) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--dark-navy) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
}

.contact-form-wrap div.wpforms-container-full .wpforms-form input[type=text],
.contact-form-wrap div.wpforms-container-full .wpforms-form input[type=email],
.contact-form-wrap div.wpforms-container-full .wpforms-form input[type=tel],
.contact-form-wrap div.wpforms-container-full .wpforms-form input[type=url],
.contact-form-wrap div.wpforms-container-full .wpforms-form input[type=number],
.contact-form-wrap div.wpforms-container-full .wpforms-form select,
.contact-form-wrap div.wpforms-container-full .wpforms-form textarea {
    width: 100% !important;
    /*     padding: 1rem 1.25rem !important; */
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    transition: all 0.3s ease !important;
    color: var(--dark-navy) !important;
    box-shadow: none !important;
}

.contact-form-wrap div.wpforms-container-full .wpforms-form input:focus,
.contact-form-wrap div.wpforms-container-full .wpforms-form select:focus,
.contact-form-wrap div.wpforms-container-full .wpforms-form textarea:focus {
    outline: none !important;
    border-color: var(--amber) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(226, 147, 0, 0.1) !important;
}

/* WPForms Submit Button */
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    padding: 0 !important;
    margin-top: 1rem !important;
}

.contact-form-wrap div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit,
.contact-form-wrap div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:active,
.contact-form-wrap div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:focus {
    background: var(--dark-navy) !important;
    color: #fff !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(18, 18, 46, 0.15) !important;
}

.contact-form-wrap div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:hover {
    background: var(--amber) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(226, 147, 0, 0.25) !important;
}

/* WPForms Success/Error Messages */
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-error {
    font-family: var(--font-sans) !important;
    font-size: 0.75rem !important;
    color: #ef4444 !important;
    margin-top: 0.5rem !important;
}

.contact-form-wrap div.wpforms-container-full .wpforms-confirmation-container-full {
    background: #F0FDF4 !important;
    border: 1px solid #BBF7D0 !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    color: #166534 !important;
    font-family: var(--font-sans) !important;
    text-align: center !important;
}


/* ── CONTACT FORM 7 INTEGRATION (Front Page Underline Style) ── */

.section-contact .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.section-contact .wpcf7-form .form-field {
    position: relative;
    margin-bottom: 0;
}

/* Ensure CF7 inputs inherit underline styles */
.section-contact .wpcf7-form input.form-control-underline,
.section-contact .wpcf7-form select.form-control-underline,
.section-contact .wpcf7-form textarea.form-control-underline {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 12px 0;
    font-family: var(--font-sans);
    font-size: 16px;
    color: #000;
    transition: all 0.3s ease;
}

.section-contact .wpcf7-form input:focus,
.section-contact .wpcf7-form select:focus,
.section-contact .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--amber);
}

.section-contact .wpcf7-form textarea {
    min-height: 46px;
    resize: none;
}

/* CF7 Validation Messages */
.section-contact .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
    margin-top: 5px;
    display: block;
    font-family: var(--font-sans);
    font-weight: 500;
}

.section-contact .wpcf7-response-output {
    margin: 2rem 0 0 !important;
    padding: 1rem 1.5rem !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    font-family: var(--font-sans);
    font-size: 14px;
    text-align: center;
}

.section-contact .wpcf7-form.sent .wpcf7-response-output {
    border-color: #27ae60 !important;
    background-color: #f1f9f5 !important;
    color: #27ae60 !important;
}

.section-contact .wpcf7-form.invalid .wpcf7-response-output,
.section-contact .wpcf7-form.unspam .wpcf7-response-output {
    border-color: #e67e22 !important;
    background-color: #fff9f4 !important;
    color: #e67e22 !important;
}

/* Fix for Select Arrow in CF7 */
.section-contact .form-field.position-relative i.select-arrow {
    pointer-events: none;
    z-index: 2;
}

/* ── RESIDENT AGREEMENT STYLING (Premium Document Feel) ── */

.residents-page-wrapper .agreement-box {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 46, 0.08);
    box-shadow: 0 30px 60px rgba(18, 18, 46, 0.05);
    border-radius: 12px;
    padding: 3rem;
}

.agreement-header-meta {
    border-bottom: 2px solid var(--amber);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.agreement-section-card {
    background: rgba(18, 18, 46, 0.02);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(18, 18, 46, 0.05);
    transition: all 0.3s ease;
}

.agreement-section-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 18, 46, 0.08);
    border-color: var(--amber);
    transform: translateY(-5px);
}

.agreement-section-card h5 {
    font-family: var(--font-serif);
    color: var(--dark-navy);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agreement-section-card h5 i {
    color: var(--amber);
    font-size: 0.9rem;
}

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

.agreement-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.5;
}

.agreement-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: bold;
}

.agreement-footer-ack {
    background: var(--dark-navy);
    color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.agreement-footer-ack p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.sig-underline {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
    height: 40px;
    margin-bottom: 0.5rem;
    color: var(--amber);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5px;
}

.sig-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* CF7 Overrides for Agreement Form */
.agreement-box .wpcf7-form-control-wrap {
    display: inline-block;
    width: 100%;
}

.agreement-box input.wpcf7-text,
.agreement-box input.wpcf7-date {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(18, 18, 46, 0.15);
    border-radius: 0;
    padding: 5px 0;
    width: 100%;
    color: var(--dark-navy);
    font-weight: 600;
}

.agreement-box input:focus {
    outline: none;
    border-color: var(--amber);
}

@media (max-width: 991px) {
    .residents-page-wrapper .agreement-box {
        padding: 2rem 1.5rem;
    }
}

/* ============================================================
   SLICK SLIDER CUSTOMIZATION
   ============================================================ */
.responsibilities-slider {
    margin: 0 -15px;
}

.responsibilities-slider .policy-card {
    margin-bottom: 30px;
    /* Space for dots */
}

/* Dots Styling */
.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--amber);
    opacity: 0.25;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--amber);
    transform: scale(1.3);
}

/* Ensure cards in slider have equal height */
.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
    display: flex !important;
    justify-content: center;
}

.slick-slide>div {
    width: 100%;
}

/* ==============================================
   Board of Directors / Organization Hierarchy
   ============================================== */
.board-section {
    padding: 6rem 0;
    background-color: #fff;
}
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
    margin-top: 3rem;
}
@media (max-width: 991px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .board-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}
.board-member-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 18, 46, 0.04);
    border: 1px solid rgba(18, 18, 46, 0.05);
    transition: all 0.4s ease;
    text-align: center;
}
.board-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(18, 18, 46, 0.08);
    border-color: var(--amber, #C9972B);
}
.board-member-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f8fafc;
}
.board-member-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.board-member-card:hover .board-member-img-wrap img {
    transform: scale(1.05);
}
.board-member-info {
    padding: 2rem 1.5rem;
}
.board-member-name {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-navy, #12122E);
    margin-bottom: 0.5rem;
}
.board-member-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--amber, #C9972B);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* Custom Featured Image Positioning Overrides */
.post-103 .post-featured-image-container img,
.post-slug-a-heartfelt-thank-you-kenneths-story .post-featured-image-container img {
    object-position: 50% 20% !important;
}

/* Featured Testimonial Card Layout Styling */
.featured-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 46, 0.05);
    box-shadow: 0 15px 40px rgba(18, 18, 46, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.featured-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(18, 18, 46, 0.08);
    border-color: rgba(201, 151, 43, 0.15);
}

.bg-light-cream {
    background-color: #fbfbf9 !important;
}

/* ============================================================
   GALLERY & LIGHTBOX STYLING
   ============================================================ */
.gallery-card {
    position: relative;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgba(18, 18, 46, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(18, 18, 46, 0.08) !important;
    border-color: var(--amber, #C9972B);
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(18, 18, 46, 0.9) 0%, rgba(18, 18, 46, 0.4) 60%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--amber, #C9972B);
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.gallery-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 46, 0.95);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 1.5rem;
    font-size: 1.15rem;
    font-family: var(--font-serif);
    text-align: center;
    width: 100%;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 100000;
}

.lightbox-close:hover {
    color: #ffffff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2.5rem;
}

.lightbox-next {
    right: 2.5rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 1rem;
    }
    .lightbox-next {
        right: 1rem;
    }
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1.5rem;
        font-size: 2.5rem;
    }
}


