﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* ==========================================================================
   SECTION 1: REFINED ABOUT STYLES - SCROLL ANIMATION EDITION
   ========================================================================== */
.rp-about-section {
    width: 100%;
    padding: 60px 0;
    background-color: #fdfbf7; /* Modern premium off-white clean warm canvas background */
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    overflow: hidden; /* Prevents any unwanted horizontal scrollbars during side animations */
}

.rp-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-sizing: border-box;
}

.rp-about-content-col {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    will-change: transform, opacity;
}

.rp-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(217, 43, 33, 0.08);
    color: #d92b21;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.rp-about-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: #11141a;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.rp-about-text-wrapper {
    margin-bottom: 32px;
}

.rp-about-paragraph {
    font-size: 15px;
    color: #4a5464;
    line-height: 1.75;
    margin: 0 0 18px 0;
}

    .rp-about-paragraph:last-child {
        margin-bottom: 0;
    }

.rp-about-btn-group {
    display: flex;
    gap: 16px;
}

.rp-btn-primary {
    background-color: #d92b21; /* Matches global brand color emphasis */
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 32px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(217, 43, 33, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .rp-btn-primary:hover {
        background-color: #b31e16;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(217, 43, 33, 0.35);
    }

.rp-btn-secondary {
    background-color: transparent;
    color: #11141a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 32px;
    text-decoration: none;
    border: 2px solid #11141a;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .rp-btn-secondary:hover {
        background-color: #11141a;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* Right Structural Media Framing */
.rp-about-image-col {
    flex: 0.9;
    will-change: transform, opacity; /* Optimizes performance rendering during transitions */
}

.rp-about-image-wrapper {
    position: relative;
    width: 100%;
}

.rp-about-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(17, 20, 26, 0.1);
}

.rp-trust-badge {
    position: absolute;
    bottom: -15px;
    left: -25px;
    background-color: #ffffff;
    padding: 16px 28px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 5;
    border-left: 4px solid #d92b21;
}

.rp-trust-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #11141a;
    line-height: 1;
    margin-bottom: 2px;
}

.rp-trust-text {
    font-size: 10px;
    font-weight: 700;
    color: #d92b21;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   ADVANCED NATIVE SCROLL-DRIVEN ENTRY TIMELINES
   ========================================================================== */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Activates fluid animation streams dynamically when tracked inside viewport */
@supports (animation-timeline: view()) {
    .rp-about-content-col {
        animation: slideInFromLeft both linear;
        animation-timeline: view();
        animation-range: entry 0% cover 35%;
    }

    .rp-about-image-col {
        animation: slideInFromRight both linear;
        animation-timeline: view();
        animation-range: entry 0% cover 35%;
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 991px) {
    .rp-about-section, .ch-info-section {
        padding: 80px 0;
    }

    .rp-about-container {
        flex-direction: column;
        gap: 50px;
    }

    .rp-about-content-col, .rp-about-image-col {
        width: 100%;
        flex: none;
    }

    .rp-about-img {
        height: 380px;
    }

    .rp-trust-badge {
        bottom: -15px;
        left: 15px;
    }

    /* Standardizes fluid vertical scrolling flow adjustments on medium devices */
    @supports (animation-timeline: view()) {
        .rp-about-content-col,
        .rp-about-image-col {
            animation-name: fadeInUp;
            animation-range: entry 0% cover 25%;
        }
    }

    .ch-info-container {
        gap: 35px;
    }

    .ch-info-title {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .ch-info-container {
        flex-direction: column;
        align-items: center;
        gap: 45px;
    }

    .ch-info-column {
        width: 100%;
        max-width: 450px;
    }

    .rp-about-heading {
        font-size: 34px;
    }
}

@media (max-width: 479px) {
    .rp-about-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .rp-btn-primary, .rp-btn-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .rp-about-img {
        height: 280px;
    }

    .rp-trust-badge {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 15px;
        width: calc(100% - 40px);
        align-items: center;
    }

    .donate-btn {
        width: 100%;
        max-width: 290px;
        box-sizing: border-box;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* ==========================================================================
   ELITE DUAL-ROW PLATFORM LAYOUT ENGINE - SCROLL ANIMATION EDITION
   ========================================================================== */
.hub-feature-section {
    width: 100%;
    padding: 100px 0; /* Restored back to premium breathing space */
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

    /* --- Section Master Heading --- */
    .hub-feature-section h1 {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 38px;
        font-weight: 700;
        color: #0e2b5c;
        text-align: center;
        margin: 0 auto 60px auto;
        max-width: 800px;
        letter-spacing: -0.5px;
    }

.hub-feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 100px; /* Restored back to generous row block spacing */
    box-sizing: border-box;
}

.hub-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    box-sizing: border-box;
}

    /* Flex-order flipping to alternate columns beautifully on desktop scales */
    .hub-feature-row.reverse-row {
        flex-direction: row-reverse;
    }

.hub-content-col,
.hub-image-col {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

/* --- Typography System --- */
.hub-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #0e2b5c;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.hub-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 28px 0;
}

/* --- Feature List Details --- */
.hub-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .hub-feature-list li {
        font-size: 15px;
        font-weight: 500;
        color: #334155;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f1f5f9;
    }

    .hub-feature-list .list-bullet {
        color: #c93b43;
        font-size: 13px;
        line-height: 1.5;
    }

/* --- Premium Image Frame Containers --- */
.hub-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(14, 43, 92, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

    .hub-img-wrapper:hover {
        transform: translateY(-4px);
    }

.hub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   ADVANCED NATIVE CSS SCROLL ANIMATION ENGINE
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Checks if the user's browser natively supports scroll timelines */
@supports (animation-timeline: view()) {

    .hub-content-col {
        animation: fadeInUp both linear;
        animation-timeline: view();
        animation-range: entry 10% cover 40%;
    }
    /* Standard row animations: Content slides left, Image slides from right */
    .hub-feature-row:not(.reverse-row) .hub-content-col {
        animation-name: fadeInLeft;
    }

    .hub-feature-row:not(.reverse-row) .hub-image-col {
        animation: fadeInRight both linear;
        animation-timeline: view();
        animation-range: entry 10% cover 40%;
    }
    /* Reversed row animations: Content slides right, Image slides from left */
    .hub-feature-row.reverse-row .hub-content-col {
        animation-name: fadeInRight;
    }

    .hub-feature-row.reverse-row .hub-image-col {
        animation: fadeInLeft both linear;
        animation-timeline: view();
        animation-range: entry 10% cover 40%;
    }
}

/* ==========================================================================
   PRODUCTION RESPONSIVE ADAPTABILITY ENGINE
   ========================================================================== */
@media (max-width: 1100px) {
    .hub-feature-section h1 {
        font-size: 32px;
        margin-bottom: 45px;
    }

    .hub-title {
        font-size: 28px;
    }

    .hub-feature-row {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .hub-feature-section {
        padding: 70px 0;
    }

    .hub-feature-container {
        gap: 70px;
    }

    .hub-feature-row,
    .hub-feature-row.reverse-row {
        flex-direction: column-reverse; /* Stacks column comfortably */
        gap: 35px;
    }

    .hub-image-col {
        width: 100%;
        max-width: 650px;
    }

    /* Simplify scroll tracking to standard vertical fades on mobile/tablet viewports */
    @supports (animation-timeline: view()) {
        .hub-feature-row:not(.reverse-row) .hub-content-col,
        .hub-feature-row.reverse-row .hub-content-col,
        .hub-feature-row:not(.reverse-row) .hub-image-col,
        .hub-feature-row.reverse-row .hub-image-col {
            animation-name: fadeInUp;
        }
    }
}

@media (max-width: 575px) {
    .hub-feature-section {
        padding: 50px 0;
    }

        .hub-feature-section h1 {
            font-size: 26px;
            margin-bottom: 35px;
            padding: 0 16px;
        }

    .hub-feature-container {
        gap: 55px;
        padding: 0 16px;
    }

    .hub-title {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .hub-desc {
        font-size: 14.5px;
        line-height: 1.65;
    }

    .hub-feature-list li {
        font-size: 14px;
    }

    .hub-img-wrapper {
        aspect-ratio: 4 / 3;
    }
}





/* ==========================================================================
   RADIAL COUNTER & DONATION PROGRESS SECTION LAYOUT ENGINE
   ========================================================================== */
.help-progress-section {
    width: 100%;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.progress-container {
    width: 100%;
    display: flex;
    min-height: 380px;
    align-items: stretch;
    box-sizing: border-box;
}

/* --- Left Info Block Column --- */
.progress-info-col {
    flex: 0.8;
    background-color: #ffffff;
    padding: 60px 40px 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

    .progress-info-col .sub-badge {
        color: #ff6565;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
        margin-bottom: 8px;
        display: inline-block;
    }

        /* Red underline detail beside badge anchor */
        .progress-info-col .sub-badge::after {
            content: "";
            position: absolute;
            right: -30px;
            top: 50%;
            width: 20px;
            height: 2px;
            background-color: #ff6565;
            transform: translateY(-50%);
        }

    .progress-info-col .main-title {
        font-size: 38px;
        font-weight: 700;
        color: #212529;
        margin: 0 0 16px 0;
        letter-spacing: -0.5px;
    }

    .progress-info-col .short-desc {
        font-size: 14px;
        color: #333333;
        line-height: 1.6;
        margin: 0;
        max-width: 280px;
    }

/* --- Right Coral Dynamic Banner Column --- */
.progress-stats-col {
    flex: 1.2;
    background-color: #e63329; /* Vibrant signature brand coral background */
    color: #ffffff;
    padding: 60px 80px 60px 50px;
    display: flex;
    align-items: center;
    gap: 45px;
    box-sizing: border-box;
}

/* --- High-Performance SVG Radial Percent Wheel --- */
.radial-tracker-box {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.radial-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Starts fill rotation cleanly at 12 o'clock baseline */
}

    .radial-svg circle {
        fill: none;
        stroke-width: 3px;
    }

    .radial-svg .track-bg {
        stroke: rgba(255, 255, 255, 0.4);
        stroke-dasharray: 2 3; /* Creates the premium accurate dashed tick frame layout */
    }

    .radial-svg .track-fill {
        stroke: #ffffff;
        stroke-width: 4px;
        stroke-linecap: round;
        /* Circumference value: 2 * Math.PI * 44 ≈ 276.46. Value for 60% is 276.46 * (1 - 0.6) = 110.58 offset */
        stroke-dasharray: 276.46;
        stroke-dashoffset: 110.58;
        transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

.radial-percentage {
    position: absolute;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* --- Stats Description Content block --- */
.stats-content-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stats-heading {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.stats-details {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
    text-align: justify;
}

/* --- Solid Charcoal Button CTA Frame --- */
.donate-now-btn {
    background-color: #1a1a2e;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .donate-now-btn:hover {
        background-color: #111214;
        transform: translateY(-1px);
    }

/* ==========================================================================
   FLUID BREAKPOINT RESPONSIVENESS MATRIX
   ========================================================================== */
@media (max-width: 1024px) {
    .progress-info-col {
        padding: 40px;
    }

    .progress-stats-col {
        padding: 40px;
        gap: 30px;
    }

    .progress-info-col .main-title {
        font-size: 32px;
    }
}

@media (max-width: 868px) {
    .progress-container {
        flex-direction: column;
    }

    .progress-info-col {
        align-items: center;
        text-align: center;
        padding: 50px 24px;
    }

        .progress-info-col .short-desc {
            max-width: 100%;
        }

    .progress-stats-col {
        flex-direction: column;
        padding: 60px 24px;
        text-align: center;
        align-items: center;
    }

    .stats-content-box {
        align-items: center;
    }

    .stats-details {
        text-align: center;
    }
}


/* ==========================================================================
   DESIGN VARIABLES & TOKENS
   ========================================================================== */
:root {
    --bg-dark: #0d0d11;
    --card-bg: #141f36;
    --accent-red: #ff5252;
    --accent-pink: #fca5a5;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   FEATURED CAMPAIGNS BASE STYLES
   ========================================================================== */
.campaign-story-section {
    width: 100%;
    padding: 100px 0;
    background-color: var(--bg-dark);
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.campaign-outer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.section-main-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #ffff;
    text-align: center;
    margin: 0 0 64px 0;
    letter-spacing: -0.5px;
}

/* Modern Grid Configuration for Perfect Overlap */
.campaign-layout-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    width: 100%;
}

/* --- Left Image Pillar Block --- */
.campaign-visual-col {
    grid-column: 1 / 8;
    grid-row: 1;
    z-index: 1;
    position: relative;
}

.campaign-img-frame {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(2deg);
    transition: var(--transition-smooth);
}

    .campaign-img-frame:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.01);
    }

.story-display-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Sub-layer decorative ambient light shadow */
.img-overlay-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 82, 82, 0.1), transparent);
    pointer-events: none;
}

/* --- Right Floating Content Card --- */
.campaign-content-card {
    grid-column: 7 / 13;
    grid-row: 1;
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 56px;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

    .campaign-content-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 82, 82, 0.3);
        box-shadow: 0 30px 60px -10px rgba(255, 82, 82, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

/* --- Typography Details --- */
.quote-header {
    position: relative;
    margin-bottom: 24px;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 54px;
    color: var(--accent-red);
    line-height: 0;
    display: inline-block;
    vertical-align: middle;
}

.highlight-quote-text {
    display: inline;
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    color: var(--accent-pink);
    line-height: 1.6;
    margin: 0 4px;
}

.card-body-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), transparent);
    margin-bottom: 28px;
    border-radius: 2px;
}

.organization-narrative {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0 0 32px 0;
}

/* --- Interactive Action Controls --- */
.campaign-cta-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    outline: none;
}

    .campaign-cta-link .cta-text {
        position: relative;
    }

        .campaign-cta-link .cta-text::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: var(--accent-pink);
            transform-origin: bottom right;
            transition: transform 0.3s ease-out;
        }

    .campaign-cta-link:hover .cta-text::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

.arrow-indicator {
    font-size: 16px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.campaign-cta-link:hover .arrow-indicator {
    transform: translateX(6px);
    color: var(--accent-pink);
}

.campaign-cta-link:focus-visible {
    outline: 2px dashed var(--accent-red);
    outline-offset: 4px;
}

/* ==========================================================================
   SCROLL ANIMATIONS MECHANICS
   ========================================================================== */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px) perspective(1000px) rotateY(5deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) perspective(1000px) rotateY(2deg);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(40px) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@supports (animation-timeline: view()) {
    .campaign-visual-col {
        animation: slideInFromLeft both linear;
        animation-timeline: view();
        animation-range: entry 10% cover 35%;
    }

    .campaign-content-card {
        animation: slideInFromRight both linear;
        animation-timeline: view();
        animation-range: entry 10% cover 35%;
    }
}

/* ==========================================================================
   RESPONSIVE VIEWPORT BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
    .campaign-layout-container {
        grid-template-columns: 1fr;
    }

    .campaign-visual-col {
        grid-column: 1 / -1;
    }

    .story-display-img {
        height: 400px;
    }

    .campaign-content-card {
        grid-column: 1 / -1;
        margin-top: -60px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 40px;
    }

    @supports (animation-timeline: view()) {
        .campaign-visual-col, .campaign-content-card {
            animation: none; /* Disables side movements on mobile frames for performance */
        }
    }
}

@media (max-width: 575px) {
    .campaign-story-section {
        padding: 60px 0;
    }

    .story-display-img {
        height: 280px;
    }

    .campaign-content-card {
        width: 100%;
        margin-top: -30px;
        padding: 28px 24px;
    }

    .highlight-quote-text {
        font-size: 16px;
    }

    .organization-narrative {
        font-size: 14px;
        line-height: 1.7;
    }
}

























/* ==========================================================================
   TESTIMONIAL CAROUSEL PREMIUM STYLES
   ========================================================================== */
.testimonial-parallax-section {
    position: relative;
    width: 100%;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Semi-transparent overlay mask */
.layer-overlay-mask {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.94);
    z-index: 1;
}

.custom-container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- Anti-Stacking Structural Fallback Rules --- */
.js-carousel-ready:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 25px;
}

    .js-carousel-ready:not(.owl-loaded) .testimonial-current-item {
        flex: 0 0 calc(25% - 20px);
        min-width: 280px;
    }

/* --- Section Heading --- */
.section-title-wrapper {
    margin-bottom: 50px;
}

.testimonial-main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #16223f;
    margin: 0 0 12px 0;
}

.heading-accent-line {
    width: 60px;
    height: 3px;
    background-color: #e63329; /* Brand red accent line */
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Premium Testimonial Cards --- */
/* Flex utility ensures items match height inside the carousel wrapper track */
.JAS-testimonial-carousel .owl-stage {
    display: flex !important;
}

.JAS-testimonial-carousel .owl-item {
    display: flex !important;
    flex: 1 0 auto;
}

.testimonial-current-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    margin: 15px 2px 35px 2px;
    box-shadow: 0 10px 30px rgba(22, 34, 63, 0.05);
    /* ADDED/CORRECTED BRAND BORDER AND HEIGHT SYSTEM */
    border: 1px solid #e63329; /* Clean 1px brand color frame */
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto; /* Syncs seamlessly with parent flex track heights */

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

    .testimonial-current-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 35px rgba(22, 34, 63, 0.12);
    }

.testimonial-thumb-holder {
    margin-bottom: 14px;
}

.testimonial-author-info .name {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #16223f;
    margin: 0;
}

.testimonial-text-holder .author-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4a5568;
    text-align: justify;
    margin: 0;
}

/* --- Custom Owl Dot Pagination Layout --- */
.JAS-testimonial-carousel .owl-dots {
    margin-top: 15px !important;
    text-align: center;
    width: 100%;
    display: block !important;
}

.JAS-testimonial-carousel .owl-dot {
    background: none repeat scroll 0 0 transparent !important;
    border: medium none !important;
}

    .JAS-testimonial-carousel .owl-dot span {
        width: 8px !important;
        height: 8px !important;
        margin: 5px 6px !important;
        background: #cbd5e1 !important;
        display: inline-block;
        border-radius: 30px;
        transition: all 0.3s ease !important;
    }

    .JAS-testimonial-carousel .owl-dot.active span {
        background: #e63329 !important; /* Active indicator uses your brand red */
        width: 22px !important;
    }

/* --- Mobile Breakpoints --- */
@media (max-width: 575px) {
    .custom-container {
        padding: 0 15px;
    }

    .testimonial-current-item {
        padding: 24px 20px;
    }
}