/********** Template CSS **********/
/* ==============================
   ELPA CUSTOM STYLES
   ============================== */
:root {
    --elpa-navy: #1A3A5C;
    --elpa-orange: #E8820C;
    --elpa-light: #F0F4FA;
    --elpa-dark: #1C1C1C;
    --elpa-muted: #6B7280;
    --primary: #1A3A5C;
    --light: #F0F4FA;
    --dark: #1A3A5C;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 10px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    min-height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-menu {
    border: 0;
    border-radius: 18px;
    padding: 0.8rem;
    min-width: 280px;
    box-shadow: 0 18px 45px rgba(19, 38, 61, 0.16);
}

.navbar .dropdown-item {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: var(--elpa-navy);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background: rgba(232, 130, 12, 0.1);
    color: var(--elpa-orange);
}

@media (min-width: 992px) {
    .navbar .btn.d-none.d-lg-block {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 196px;
        min-height: 48px !important;
        white-space: nowrap;
        margin: 0 15px !important;
        padding: 0.55rem 1.2rem !important;
        line-height: 1.15;
        box-shadow: 0 10px 20px rgba(232, 130, 12, 0.24);
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* ==============================
   ELPA OVERRIDE STYLES
   ============================== */

/* Override primary color throughout */
.btn-primary,
.bg-primary {
    background-color: var(--elpa-navy) !important;
    border-color: var(--elpa-navy) !important;
}

.btn-primary:hover {
    background-color: #142d4a !important;
    border-color: #142d4a !important;
}

.text-primary { color: var(--elpa-navy) !important; }

/* Orange accent */
.btn-secondary,
.bg-secondary {
    background-color: var(--elpa-orange) !important;
    border-color: var(--elpa-orange) !important;
    color: #ffffff !important;
}

.text-secondary { color: var(--elpa-orange) !important; }

/* Orange accent button */
.btn-elpa-orange {
    background-color: var(--elpa-orange) !important;
    border-color: var(--elpa-orange) !important;
    color: #ffffff !important;
}

.btn-elpa-orange:hover {
    background-color: #c56e0a !important;
    border-color: #c56e0a !important;
    color: #ffffff !important;
}

/* Program category badges */
.badge-healthcare { background: #198754; color: #fff; }
.badge-peace      { background: #0d6efd; color: #fff; }
.badge-livelihoods{ background: #198754; color: #fff; }
.badge-advocacy   { background: var(--elpa-navy); color: #fff; }

/* Orange icons */
.icon-orange { color: var(--elpa-orange); }

/* Section alternating backgrounds */
.section-light { background-color: var(--elpa-light); }

/* Navbar brand font */
.navbar-brand span {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--elpa-orange);
    font-size: 1.5rem;
}

.elpa-brand-wrap {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.elpa-brand-logo {
    width: 230px;
    max-width: 100%;
    height: auto;
    max-height: 62px;
    object-fit: contain;
    display: block;
}

.elpa-brand-fallback {
    display: none;
}

.elpa-brand-text {
    display: none;
}

@media (max-width: 991.98px) {
    .elpa-brand-logo {
        width: 185px;
        max-height: 54px;
    }
}

/* Impact number counters */
.counter-num {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    color: var(--elpa-orange);
}

/* Footer */
footer a:hover { color: var(--elpa-orange) !important; }

/* Program cards hover */
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(26, 58, 92, 0.18);
    transition: all 0.3s ease;
}

/* Facts section */
.facts-section {
    background: var(--elpa-navy);
}

.facts-section .counter-num {
    color: var(--elpa-orange);
}

.facts-stat-card {
    height: 100%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.1rem 0.9rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.facts-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 130, 12, 0.42);
    box-shadow: 0 14px 28px rgba(9, 23, 40, 0.24);
}

.facts-stat-card i {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.55rem;
    color: var(--elpa-orange);
    background: rgba(232, 130, 12, 0.14);
}

.facts-stat-card .counter-num {
    margin: 0.75rem 0 0.25rem;
    font-size: 2.25rem;
    line-height: 1;
}

.facts-stat-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

.home-team-card {
    height: 100%;
}

.home-team-card .overflow-hidden {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fc;
}

.home-team-card .overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .facts-stat-card {
        padding: 1rem 0.8rem;
    }

    .facts-stat-card i {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .facts-stat-card .counter-num {
        font-size: 1.95rem;
    }

    .facts-stat-card p {
        font-size: 0.95rem;
    }

    .home-team-card .overflow-hidden {
        height: 250px;
    }
}

/* Back to top override */
.back-to-top {
    background: var(--elpa-orange) !important;
    border-color: var(--elpa-orange) !important;
}

/* Body font */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--elpa-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
}

/* ==============================
   ELPA CARD RADIUS SYSTEM
   ============================== */
:root {
    --elpa-card-radius: 18px;
    --elpa-image-radius: 14px;
}

/* Main card-like blocks used across pages */
.card,
.service-item,
.course-item,
.team-item,
.testimonial-item,
.program-card,
.category a {
    border-radius: var(--elpa-card-radius);
    overflow: hidden;
}

.bg-light.p-4,
.bg-white.p-4,
.bg-light.rounded.p-4,
.bg-white.rounded.p-4 {
    border-radius: var(--elpa-card-radius) !important;
}

.btn:not(.btn-link):not(.btn-social):not(.btn-square):not(.btn-sm-square):not(.btn-lg-square) {
    border-radius: 14px;
}

.form-control,
.form-select,
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 12px;
}

/* Ensure image wrappers clip correctly */
.course-item .overflow-hidden,
.team-item .overflow-hidden,
.program-card .overflow-hidden,
.category .overflow-hidden,
.testimonial-item .overflow-hidden {
    border-radius: var(--elpa-image-radius);
    overflow: hidden;
}

/* Rounded image corners inside card areas */
.card img,
.service-item img,
.course-item img,
.team-item img,
.testimonial-item img,
.program-card img,
.category img {
    border-radius: var(--elpa-image-radius);
}

/* Mission and Vision */
.mission-vision-card {
    min-height: 280px;
    padding: 2.25rem 2rem;
    border-radius: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(26, 58, 92, 0.2);
}

.mission-vision-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -65px;
    top: -65px;
    background: rgba(255, 255, 255, 0.14);
}

.mission-vision-card .mv-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vision-card {
    background: linear-gradient(135deg, #15395b 0%, #275783 60%, #2d6f98 100%);
}

.mission-card {
    background: linear-gradient(135deg, #e8820c 0%, #f0992d 55%, #d3680a 100%);
}

/* Impact achievements */
.impact-card {
    position: relative;
    border-radius: 22px;
    padding: 1.5rem;
    min-height: 100%;
    color: #fff;
    box-shadow: 0 14px 30px rgba(18, 35, 56, 0.2);
}

.impact-card .impact-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    margin-bottom: 0.9rem;
}

.impact-card .impact-stat {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.16);
    letter-spacing: 0.2px;
    margin-bottom: 0.8rem;
}

.impact-grid .col-lg-4:nth-child(1) .impact-card { background: linear-gradient(135deg, #0f4c81, #2f7fb8); }
.impact-grid .col-lg-4:nth-child(2) .impact-card { background: linear-gradient(135deg, #185a30, #2f8f4a); }
.impact-grid .col-lg-4:nth-child(3) .impact-card { background: linear-gradient(135deg, #8f4f0f, #d98b1b); }
.impact-grid .col-lg-4:nth-child(4) .impact-card { background: linear-gradient(135deg, #5b2a85, #7f3db8); }
.impact-grid .col-lg-4:nth-child(5) .impact-card { background: linear-gradient(135deg, #9a3241, #c44b5c); }
.impact-grid .col-lg-4:nth-child(6) .impact-card { background: linear-gradient(135deg, #1d4f73, #2f7cb5); }
.impact-grid .col-lg-12 .impact-card { background: linear-gradient(135deg, #16324f, #275583); }

/* Partner cards and logos */
.partner-logo-card {
    border-radius: 22px;
    padding: 1.25rem;
    min-height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid #e7edf4;
    box-shadow: 0 10px 26px rgba(17, 39, 63, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(17, 39, 63, 0.14);
}

.partner-logo-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.9rem;
    border-radius: 16px;
    background: #f6f9fd;
    border: 1px solid #e4ebf3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.partner-fallback-icon {
    color: var(--elpa-navy);
    font-size: 1.4rem;
}

/* Dedicated program pages */
.program-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(11, 28, 46, 0.96), rgba(24, 58, 92, 0.88));
}

.program-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(232, 130, 12, 0.2), transparent 34%),
                radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 30%);
}

.program-hero .container {
    position: relative;
    z-index: 1;
}

.program-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.program-hero h1,
.program-hero p,
.program-hero .breadcrumb-item,
.program-hero .breadcrumb-item a {
    color: #fff;
}

.program-hero-copy {
    padding: 5.5rem 0;
}

.program-hero-copy .lead {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
}

.program-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.program-hero-actions .btn-outline-light:hover {
    color: var(--elpa-navy);
}

.program-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 4rem 0;
}

.program-photo-card,
.program-stat-card,
.program-panel {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(10, 24, 39, 0.22);
}

.program-photo-card {
    min-height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.program-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 27, 44, 0.05), rgba(11, 27, 44, 0.52));
}

.program-photo-card.tall {
    min-height: 100%;
    grid-row: span 2;
}

.program-photo-label {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.95rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 700;
}

.program-stat-card {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: #fff;
}

.program-stat-card .program-stat-value {
    display: block;
    font-size: 2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.program-stat-card .program-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.program-panel {
    background: #fff;
    padding: 1.6rem;
    border: 1px solid #e9eef5;
    height: 100%;
}

.program-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.program-pill.healthcare {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.program-pill.peace {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.program-pill.livelihoods {
    background: rgba(232, 130, 12, 0.12);
    color: var(--elpa-orange);
}

.program-stream-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 24px;
    padding: 1.6rem;
    min-height: 100%;
    box-shadow: 0 12px 30px rgba(17, 39, 63, 0.06);
}

.program-stream-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.program-stream-icon.healthcare { background: linear-gradient(135deg, #198754, #46ab72); }
.program-stream-icon.peace { background: linear-gradient(135deg, #0d6efd, #4b92ff); }
.program-stream-icon.livelihoods { background: linear-gradient(135deg, #e8820c, #f0a64f); }

.program-stream-list,
.program-check-list,
.program-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-stream-list li,
.program-check-list li,
.program-meta-list li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: 0.8rem;
}

.program-stream-list li::before,
.program-check-list li::before,
.program-meta-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.56rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--elpa-orange);
}

.program-glance {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.05), rgba(232, 130, 12, 0.08));
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid #e6ebf3;
}

.program-metric {
    background: #fff;
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: 0 12px 30px rgba(17, 39, 63, 0.08);
    height: 100%;
}

.program-metric .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: var(--elpa-navy);
}

.program-metric .metric-label {
    color: var(--elpa-muted);
    font-weight: 600;
}

.program-split-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(17, 39, 63, 0.08);
    border: 1px solid #e5ebf3;
}

.program-split-media {
    min-height: 100%;
    background-size: cover;
    background-position: center;
}

.program-split-content {
    padding: 2rem;
}

.program-timeline {
    position: relative;
    padding-left: 1.4rem;
}

.program-timeline::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.25rem;
    width: 2px;
    background: linear-gradient(180deg, var(--elpa-orange), rgba(26, 58, 92, 0.2));
}

.program-timeline-item {
    position: relative;
    padding: 0 0 1.35rem 1.3rem;
}

.program-timeline-item::before {
    content: "";
    position: absolute;
    left: -1.15rem;
    top: 0.28rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--elpa-orange);
    box-shadow: 0 0 0 5px rgba(232, 130, 12, 0.14);
}

.program-quote-card {
    background: linear-gradient(135deg, var(--elpa-navy), #295884);
    color: #fff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(17, 39, 63, 0.18);
}

.program-quote-card .quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.35);
}

.program-cta-band {
    background: linear-gradient(135deg, #102a44 0%, #1a3a5c 55%, #e8820c 180%);
    border-radius: 30px;
    padding: 2.3rem;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.program-cta-band::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.program-cta-band > * {
    position: relative;
    z-index: 1;
}

.program-hero .breadcrumb {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .program-hero-copy {
        padding: 4.5rem 0 2rem;
    }

    .program-hero-grid {
        padding: 0 0 3rem;
    }
}

@media (max-width: 767.98px) {
    .program-hero-grid {
        grid-template-columns: 1fr;
    }

    .program-photo-card.tall {
        grid-row: auto;
        min-height: 280px;
    }

    .program-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .program-cta-band,
    .program-glance,
    .program-split-content,
    .program-panel,
    .program-stream-card,
    .program-quote-card {
        padding: 1.5rem;
    }
}

/* Network membership cards */
.membership-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e8edf5;
    padding: 1.35rem;
    min-height: 100%;
    box-shadow: 0 8px 22px rgba(15, 36, 59, 0.08);
}

.membership-pill {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
    background: linear-gradient(120deg, #1a3a5c, #e8820c);
}

/* Three Thematic Pillars: normalize image size */
.thematic-pillars .course-item {
    height: 100%;
}

.thematic-pillars .course-item .position-relative {
    height: 290px;
}

.thematic-pillars .course-item .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .thematic-pillars .course-item .position-relative {
        height: 230px;
    }
}

/* Geographic reach cards */
.geo-card {
    position: relative;
    border-radius: 20px;
    padding: 1.2rem;
    height: 100%;
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 10px 24px rgba(18, 42, 66, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.geo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(18, 42, 66, 0.16);
    border-color: #ccdcee;
}

.geo-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #1a3a5c, #2f7cb5);
}

/* Field staff mini cards */
.volunteer-mini-card {
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 8px 22px rgba(13, 36, 62, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.volunteer-mini-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 28px rgba(13, 36, 62, 0.16);
}

.volunteer-mini-card .service-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    background: #f4f8fc !important;
}

.volunteer-mini-card p {
    color: #54657a;
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* Donation method cards */
.donation-method-card {
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e5ecf4;
    box-shadow: 0 10px 24px rgba(14, 34, 57, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.donation-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(14, 34, 57, 0.16);
}

.donation-logo-wrap {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    background: #f4f8fc;
    border: 1px solid #e4ebf3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.donation-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.donation-fallback-icon {
    font-size: 1.9rem;
    color: var(--elpa-navy);
}

@media (max-width: 575.98px) {
    .grid-mobile-2x2 > [class*="col-"] {
        width: 50%;
    }

    .volunteer-mini-card h5 {
        font-size: 0.98rem;
    }

    .volunteer-mini-card p {
        font-size: 0.79rem;
        line-height: 1.3;
    }
}