/********** Template CSS **********/
:root {
    --primary: #28a745;
    --secondary: #20c997;
    --tertiary: #218838;
    --light: #d4edda;
    --dark: #155724;
}
.hero-title {
    white-space: nowrap;
    font-size: 60px; /* adjust as needed */
    overflow: hidden;
    text-overflow: ellipsis; /* optional */
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: 0.5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}

/*** Floating Donate Button ***/
.floating-donate-btn {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.donate-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 180px;
    background: linear-gradient(135deg, #118817, #199b0d);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
    transition: all 0.3s ease;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 15px 10px;
}

.donate-button:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.6);
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.donate-button i {
    font-size: 20px;
    margin-bottom: 10px;
}

.donate-button span {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-donate-btn {
        left: 10px;
    }

    .donate-button {
        width: 50px;
        height: 150px;
        font-size: 14px;
    }

    .donate-button i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .floating-donate-btn {
        display: none;
    }
}

/*** Navbar ***/
.fixed-top {
    transition: 0.5s;
}

.navbar-blur-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 15px 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
    .navbar {
        margin: 10px 15px;
    }
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(40, 167, 69, 0.07);
}

.top-bar small {
    color: #000000;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #000000;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #000000;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.07);
        background: #ffffff;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

.text-light-blue {
    color: #87CEEB !important;
}

/*** Carousel ***/
#header-carousel {
    height: calc(65vh + 20px);
    min-height: 420px;
    overflow: hidden;
}

#header-carousel .carousel-inner {
    height: 100%;
}

#header-carousel .carousel-item {
    height: 100%;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding-top: 0;
    padding-bottom: 30px;
    z-index: 10;
}

#header-carousel .carousel-item-next,
#header-carousel .carousel-item-prev,
#header-carousel .carousel-item.active,
#header-carousel .carousel-item-start,
#header-carousel .carousel-item-end {
    display: block;
}

#header-carousel .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity .6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#header-carousel .carousel-fade .carousel-item.active,
#header-carousel .carousel-fade .carousel-item-next.carousel-item-start,
#header-carousel .carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel {
        height: 45vh;
        min-height: 350px;
    }
    
    .welcome-heading {
        font-size: 2.5rem;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
    color: #87CEEB;
}

.page-header .breadcrumb-item.active {
    color: #87CEEB;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--tertiary);
}

/*** Facts ***/
.facts {
    background:
        linear-gradient(rgba(71, 201, 59, 0.95), rgba(23, 63, 11, 0.95)),
        url(../img/bg.png);
}

/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background:
        linear-gradient(rgba(53, 94, 252, 0.95), rgba(24, 163, 24, 0.95)),
        url(../img/bg.png);
    z-index: -1;
}

/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: 0.5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #ffffff !important;
}

/*** Runawasi ***/
.runawasi-section {
    background:
        linear-gradient(rgba(232, 248, 240, 0.95), rgba(232, 248, 240, 0.95)),
        url("../img/carousel-1.jpg");
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    padding: 150px 0;
    text-align: center;
}

.runawasi-title {
    font-size: 9rem;
    font-weight: 900;
    font-style: italic;
    font-family: "Playfair Display", serif;
    background: linear-gradient(
        90deg,
        #2563eb 0%,
        #7c3aed 15%,
        #db2777 30%,
        #f97316 50%,
        #16a34a 70%,
        #059669 85%,
        #0ea5e9 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    margin-bottom: 25px;
    line-height: 1.1;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.2));
}

.runawasi-divider {
    width: 120px;
    height: 1px;
    background: #94a3b8;
    margin: 30px auto 40px;
}

.runawasi-description {
    font-size: 2rem;
    color: #2563eb;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    line-height: 1.6;
    letter-spacing: 3px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .runawasi-title {
        font-size: 7rem;
    }
    .runawasi-description {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .runawasi-section {
        padding: 80px 15px;
    }

    .runawasi-title {
        font-size: 4.5rem;
        letter-spacing: 1px;
    }

    .runawasi-description {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
}

/*** Service ***/
.service .nav .nav-link {
    transition: 0.5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #ffffff !important;
}

.service .nav .nav-link.active h5 i {
    color: #ffffff !important;
}

/*** Project Cards Redesign ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: 0.5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: 0.5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: 0.5s;
}

.project-item:hover .project-title h4 {
    color: #ffffff;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Team ***/
.team-section {
    background:
        linear-gradient(180deg, rgba(212, 237, 218, 0.45), rgba(255, 255, 255, 0) 42%),
        #ffffff;
}

.section-eyebrow {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.team-intro {
    color: #5f7466;
    font-size: 1.05rem;
    line-height: 1.7;
}

.team-item {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(21, 87, 36, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(21, 87, 36, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.team-item:hover {
    transform: translateY(-8px);
    border-color: rgba(40, 167, 69, 0.28);
    box-shadow: 0 26px 60px rgba(21, 87, 36, 0.14);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--light);
}

.team-image::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42%;
    content: "";
    background: linear-gradient(180deg, rgba(21, 87, 36, 0), rgba(21, 87, 36, 0.32));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-item:hover .team-image::after {
    opacity: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.team-item:hover .team-image img {
    transform: scale(1.04);
}

.team-item .team-text {
    padding: 1.5rem;
    min-height: 178px;
}

.team-item .team-text h4 {
    margin-bottom: 0.45rem;
    color: var(--dark);
    font-size: 1.18rem;
    line-height: 1.3;
}

.team-item .team-text p {
    margin-bottom: 0;
    color: #5f7466;
    font-weight: 500;
    line-height: 1.55;
}

.team-role {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.65rem;
    color: var(--tertiary);
    background: rgba(40, 167, 69, 0.1);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

@media (max-width: 575.98px) {
    .team-item .team-text {
        padding: 1.25rem;
        min-height: auto;
    }

    .team-intro {
        margin-top: 1rem;
        font-size: 1rem;
    }
}

/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #ffffff transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.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 {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000b1c;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

/*** Welcome Quote ***/
.welcome-heading {
    font-size: 3.5rem;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
}

.welcome-quote-section {
    background-color: #e8f8f0;
    padding: 100px 0;
}

.welcome-quote-text {
    font-family: "Playfair Display", serif;
    font-size: 3.2rem;
    font-weight: 800;
    font-style: italic;
    color: #1a1a1a;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 992px) {
    .welcome-heading {
        font-size: 3.5rem;
    }
    .welcome-quote-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .welcome-heading {
        font-size: 2.5rem;
    }
    .welcome-quote-text {
        font-size: 1.8rem;
    }
}

/*** Project Cards Redesign ***/
.project-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-overlay {
    transition: all 0.3s ease-in-out;
}

.project-overlay:hover {
    opacity: 1 !important;
}

.icon-box {
    transition: all 0.3s ease;
}

.project-card:hover .icon-box {
    transform: scale(1.1);
}

.section-title h6::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.bg-light {
    background-color: #f8f9fa !important;
}

.text-secondary {
    color: #6c757d !important;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 1.75rem;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }
}
/*** Project Cards Redesign ***/
.project-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-overlay {
    transition: all 0.3s ease-in-out;
}

.project-overlay:hover {
    opacity: 1 !important;
}

.icon-box {
    transition: all 0.3s ease;
}

.project-card:hover .icon-box {
    transform: scale(1.1);
}

.section-title h6::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.bg-light {
    background-color: #f8f9fa !important;
}

.text-secondary {
    color: #6c757d !important;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 1.75rem;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }
}

/* Hover lift effect for cards */
.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Additional youth page specific styles */
.youth-program-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.youth-testimonial-card {
    position: relative;
    padding-top: 2rem;
}

.youth-testimonial-card .quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*** Mobile Sidebar Navigation ***/
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sidebar-logo {
    max-height: 50px;
    width: auto;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.sidebar-close:hover {
    transform: scale(1.1);
}

.sidebar-content {
    padding: 20px;
}

.sidebar-link {
    display: block;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.sidebar-link:hover {
    color: var(--primary);
    padding-left: 15px;
    background: rgba(40, 167, 69, 0.05);
}

.sidebar-dropdown {
    margin-bottom: 0;
}

.sidebar-dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 15px 10px;
    background: none;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.sidebar-dropdown-btn:hover {
    color: var(--primary);
    background: rgba(40, 167, 69, 0.05);
}

.sidebar-dropdown-btn i {
    transition: transform 0.3s;
}

.sidebar-dropdown-btn.active i {
    transform: rotate(180deg);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(40, 167, 69, 0.03);
}

.sidebar-submenu.show {
    max-height: 500px;
}

.sidebar-sublink {
    display: block;
    padding: 12px 10px 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.sidebar-sublink:hover {
    color: var(--primary);
    padding-left: 25px;
    background: rgba(40, 167, 69, 0.05);
}

.sidebar-social {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sidebar-social .btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-language {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Logo Sizing */
@media (max-width: 768px) {
    .mobile-logo {
        max-height: 50px !important;
    }

    .navbar-brand img {
        max-height: 50px !important;
    }
}

/*** Who We Are Hero (about.html) ***/
.who-we-are-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: url("../img/service-4.jpg") center 30% / cover no-repeat;
    overflow: hidden;
}

.who-we-are-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(55, 65, 35, 0.88) 0%,
        rgba(75, 88, 50, 0.78) 60%,
        rgba(90, 100, 60, 0.7) 100%
    );
    z-index: 0;
}

/* Hero content: padding-top clears fixed top-bar (45px) + navbar (85px) + 20px breathing room */
.who-we-are-hero .hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* start at padding-top, not vertically centred */
    padding: 150px 20px 50px;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.who-we-are-hero .hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.hero-subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.who-we-are-hero .breadcrumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    backdrop-filter: blur(4px);
}

.who-we-are-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.88rem;
}

.who-we-are-hero .breadcrumb-item a:hover {
    color: #fff;
}

.who-we-are-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.88rem;
}

.who-we-are-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "/";
}

/* Animated scroll hint arrow at bottom */
.hero-scroll-hint {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 22px;
}

.hero-scroll-hint span {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: heroScrollBounce 1.4s ease-in-out infinite;
}

@keyframes heroScrollBounce {
    0%,
    100% {
        opacity: 0.4;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(6px);
    }
}

@media (max-width: 991.98px) {
    /* On tablet, top-bar is hidden so navbar is only ~70px tall */
    .who-we-are-hero .hero-content {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .who-we-are-hero {
        min-height: 360px;
    }

    .who-we-are-hero .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    /* Mobile navbar is ~70px */
    .who-we-are-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 36px;
    }
}

/*** Mission Statement Section ***/
.mission-statement-section {
    background-color: #edf4ec;
    padding: 72px 0;
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.mission-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.mission-quote-mark {
    font-family: "Georgia", serif;
    font-size: 6rem;
    line-height: 0.6;
    color: var(--primary);
    opacity: 0.25;
    margin-bottom: 12px;
    user-select: none;
}

.mission-statement-text {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.9;
    color: #1a1a1a;
    margin: 0;
}

@media (max-width: 768px) {
    .mission-statement-text {
        font-size: 1.05rem;
    }

    .mission-statement-section {
        padding: 50px 0;
    }
}

/*** Innovative Approach Section ***/
.innovative-approach-section {
    background-color: #f7fbf7;
    padding: 80px 0;
}

.approach-header {
    margin-bottom: 56px;
}

.approach-label {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.3);
}

.approach-heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #1a2a1a;
    display: block;
    margin-bottom: 0;
}

/* Bullet list — NO flex, use ::before pseudo-element */
.approach-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.approach-list li {
    position: relative;
    padding: 16px 0 16px 26px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3436;
    border-bottom: 1px dashed #b2dfb2;
}

.approach-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.approach-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.approach-list li strong {
    color: #155724;
}

/* Image column */
.approach-img-wrap {
    position: relative;
    padding: 0 0 20px 20px;
}

.approach-img-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 88%;
    height: 88%;
    background: var(--light);
    border-radius: 20px;
    z-index: 0;
}

.approach-img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 440px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    display: block;
}

@media (max-width: 991.98px) {
    .approach-img-wrap {
        padding: 0;
    }

    .approach-img-bg {
        display: none;
    }

    .innovative-approach-section {
        padding: 50px 0;
        }
    }

    /*** PACTL Services Featured Image ***/
    .pactl-services-img-section {
        background-color: #f0f9f1;
        padding: 80px 0;
    }

    .pactl-services-img-featured {
        width: 100%;
        max-width: 900px;
        display: block;
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
        transition: box-shadow 0.35s ease;
    }

    .pactl-services-img-featured:hover {
        box-shadow: 0 20px 56px rgba(40, 167, 69, 0.25);
    }

    @media (max-width: 767.98px) {
        .pactl-services-img-featured {
            border-radius: 10px;
        }
    }

    /*** About Page — Value Cards ***/
.about-value-card {
    background: #fff;
    border: 1px solid var(--light);
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(40, 167, 69, 0.15);
    border-color: var(--primary);
}

.about-value-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.about-value-body h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.about-value-body p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/*** About Section ***/
.about-img-wrapper {
    position: relative;
    padding: 0 0 24px 24px;
}

.about-img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 88%;
    height: 88%;
    background: var(--light);
    border-radius: 20px;
    z-index: 0;
}

.about-img-main {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
    width: 100%;
    object-fit: cover;
}

.about-est-badge {
    position: absolute;
    bottom: 5px;
    right: -5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 16px;
    padding: 16px 22px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(40, 167, 69, 0.45);
    z-index: 2;
}

.about-est-badge .about-est-year {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.about-est-badge .about-est-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-top: 3px;
}

.about-eyebrow {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
}

.about-heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.95rem;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 14px;
}

.about-lead {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--tertiary);
    font-weight: 600;
    line-height: 1.7;
    border-left: 4px solid var(--primary);
    padding-left: 14px;
    margin-bottom: 22px;
}

.about-tab-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px !important; /* override Bootstrap .nav margin-bottom: 0 */
    border: none !important; /* prevent .nav-tabs border bleeding in if BS upgrades */
}

.about-tab-btn {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--tertiary);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 50px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.about-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.about-tab-btn.active {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.35);
}

.about-tab-content-box {
    background: #f6fef8;
    border: 1px solid var(--light);
    border-radius: 16px;
    padding: 22px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    color: #444;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light);
}

.about-tab-content-box::-webkit-scrollbar {
    width: 4px;
}

.about-tab-content-box::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 4px;
}

.about-tab-content-box::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.about-blockquote {
    border-left: 4px solid var(--primary);
    background: rgba(40, 167, 69, 0.06);
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    font-style: italic;
    color: #333;
    margin: 0;
}

.about-blockquote p {
    margin: 0;
    font-size: 0.9rem;
}

.vmp-block {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--light);
}

.vmp-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vmp-block-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vmp-block-title i {
    color: var(--primary);
    font-size: 0.88rem;
    width: 16px;
    text-align: center;
}

.vmp-principles {
    padding-left: 18px;
    margin: 0;
}

.vmp-principles li {
    margin-bottom: 4px;
}

    .vmp-principles li::marker {
        color: var(--primary);
    }

    /*** Accomplishments / Highlights Section ***/
    .accomplishments-section {
        padding-top: 20px;
        margin-top: 20px;
        border-top: 2px solid rgba(40, 167, 69, 0.15);
    }

    .accomplishments-header .accomplishments-label {
        display: inline-block;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: #fff;
        font-family: "Montserrat", sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        padding: 5px 14px;
        border-radius: 50px;
        margin-bottom: 10px;
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    }

    .accomplishments-title {
        font-family: "Montserrat", sans-serif;
        font-weight: 800;
        font-size: 1.5rem;
        color: var(--dark);
        margin: 0 0 10px;
    }

    .accomplishments-divider {
        width: 50px;
        height: 3px;
        background: var(--primary);
        margin: 0 auto 28px;
        display: block;
    }

    .accomplishments-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .accomplishments-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 20px;
        border-bottom: 1px dashed rgba(40, 167, 69, 0.3);
        flex: 1 1 100%;
        box-sizing: border-box;
        transition: background 0.3s ease;
    }

    .accomplishments-item:nth-child(even) {
        background: rgba(40, 167, 69, 0.03);
    }

    .accomplishments-item:hover {
        background: rgba(40, 167, 69, 0.06);
    }

    .accomplishments-item:last-child {
        border-bottom: none;
    }

    .accomplishments-year {
        flex-shrink: 0;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--primary);
        min-width: 38px;
        padding-top: 1px;
    }

    .accomplishments-text {
        font-family: "Open Sans", sans-serif;
        font-size: 0.9rem;
        color: #333;
        line-height: 1.65;
        margin: 0;
    }

    @media (min-width: 768px) {
        .accomplishments-item {
            flex: 1 1 calc(50% - 12px);
        }
    }

    @media (max-width: 991.98px) {
    .about-img-wrapper {
        padding: 0 0 20px 14px;
        margin-bottom: 10px;
    }

    .about-est-badge {
        right: 0;
    }

    .about-heading {
        font-size: 1.65rem;
    }
}

@media (max-width: 767.98px) {
    .about-img-accent {
        display: none;
    }

    .about-img-wrapper {
        padding: 0;
    }

    .about-est-badge {
        right: 10px;
        bottom: 10px;
    }
}

/*** Ignite Youth Section ***/
.ignite-youth-section {
    background:
        linear-gradient(180deg, rgba(240, 249, 241, 0.92), rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at top left, rgba(42, 238, 84, 0.16), transparent 34%);
    padding: 86px 0;
}

.ignite-label {
    display: inline-block;
    background: #ffffff;
    color: #046a38 !important;
    font-family: "Jost", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
    border-color: rgba(68, 184, 57, 0.25) !important;
    box-shadow: 0 10px 24px rgba(1, 26, 65, 0.08);
}

.ignite-heading {
    font-family: "Jost", sans-serif;
    font-weight: 800;
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 26px;
}

.ignite-quote-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 40px;
}

.ignite-quote-text {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    color: #21312b;
    margin: 0;
    border-left: 5px solid var(--primary);
    background: #ffffff;
    border-radius: 8px;
    padding: 28px 34px;
    box-shadow: 0 18px 45px rgba(1, 26, 65, 0.09);
}

.ignite-program-grid {
    align-items: stretch;
}

.ignite-program-grid > [class*="col-"] {
    display: flex;
}

.ignite-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #046a38 0%, #35b449 100%);
    border-radius: 8px 8px 0 0;
    color: #fff;
    padding: 22px 24px;
}

.ignite-card-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.ignite-card-kicker {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ignite-card-title {
    font-family: "Jost", sans-serif;
    font-weight: 800;
    font-size: 1.65rem;
    margin: 0;
    color: #fff;
    letter-spacing: 0;
}

.ignite-program-card {
    background: #fff;
    border: 1px solid rgba(68, 184, 57, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.ignite-program-card:hover {
    box-shadow: 0 24px 52px rgba(1, 26, 65, 0.12);
    transform: translateY(-4px);
}

.ignite-list {
    list-style: none;
    padding: 10px 26px 18px;
    margin: 0;
    flex: 1;
}

.ignite-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(68, 184, 57, 0.14);
    font-family: "Open Sans", sans-serif;
    font-size: 0.96rem;
    color: #243833;
    line-height: 1.62;
}

.ignite-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ignite-bullet {
    flex-shrink: 0;
    display: inline-flex;
    width: 9px;
    height: 9px;
    background: #35b449;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(53, 180, 73, 0.12);
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .ignite-quote-wrap {
        padding: 0;
    }

    .ignite-quote-text {
        font-size: 1rem;
        padding: 24px;
    }

    .ignite-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .ignite-youth-section {
        padding: 50px 0;
    }

    .ignite-quote-text {
        font-size: 0.92rem;
    }

    .ignite-card-title {
        font-size: 1.35rem;
    }

    .ignite-card-head {
        padding: 20px;
    }

    .ignite-list {
        padding: 8px 20px 16px;
    }
}

/*** Youth Health Communication Section ***/
.yhc-section {
    background:
        linear-gradient(180deg, #f6fbf7 0%, #ffffff 58%, #f4f8fb 100%),
        radial-gradient(circle at 12% 10%, rgba(53, 180, 73, 0.14), transparent 32%);
    padding: 86px 0;
}

.yhc-hero-block {
    margin-bottom: 28px;
}

.yhc-eyebrow {
    background: #ffffff;
    border: 1px solid rgba(68, 184, 57, 0.24);
    border-radius: 50px;
    box-shadow: 0 10px 24px rgba(1, 26, 65, 0.08);
    color: #046a38;
    display: inline-block;
    font-family: "Jost", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.7px;
    margin-bottom: 18px;
    padding: 8px 18px;
    text-transform: uppercase;
}

.yhc-title {
    color: var(--dark);
    font-family: "Jost", sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
    max-width: 680px;
}

.yhc-lead {
    color: #3d514a;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 650px;
}

.yhc-mini-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 660px;
}

.yhc-mini-stats div,
.yhc-impact-grid div {
    background: #ffffff;
    border: 1px solid rgba(1, 26, 65, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.08);
    padding: 16px;
}

.yhc-mini-stats strong,
.yhc-impact-grid strong {
    color: #046a38;
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 7px;
}

.yhc-mini-stats span,
.yhc-impact-grid span {
    color: #4b5e58;
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.yhc-image-collage {
    min-height: 430px;
    position: relative;
}

.yhc-image-link {
    cursor: zoom-in;
    display: block;
    position: relative;
}

.yhc-image-link::after {
    align-items: center;
    background: rgba(1, 26, 65, 0.72);
    border-radius: 50%;
    color: #ffffff;
    content: "\f00e";
    display: inline-flex;
    font-family: "Font Awesome 5 Free";
    font-size: 0.95rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    opacity: 0;
    position: absolute;
    right: 14px;
    top: 14px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 38px;
    z-index: 3;
}

.yhc-image-link:hover::after {
    opacity: 1;
    transform: scale(1.04);
}

.yhc-image-main-link {
    height: 380px;
}

.yhc-image-float-link {
    bottom: 0;
    height: 230px;
    position: absolute;
    right: 0;
    width: 48%;
    z-index: 2;
}

.yhc-image-main,
.yhc-image-float,
.yhc-side-card img {
    display: block;
    object-fit: cover;
    width: 100%;
}

.yhc-image-main {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 24px 56px rgba(1, 26, 65, 0.16);
    height: 380px;
}

.yhc-image-float {
    aspect-ratio: 5 / 4;
    border: 8px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0 22px 48px rgba(1, 26, 65, 0.18);
    height: 230px;
    width: 100%;
}

.yhc-capability-row {
    margin-bottom: 8px;
}

.yhc-capability-card,
.yhc-panel,
.yhc-side-card,
.yhc-resource-panel,
.yhc-impact-panel {
    background: #ffffff;
    border: 1px solid rgba(68, 184, 57, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.08);
}

.yhc-capability-card {
    height: 100%;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yhc-capability-card:hover {
    box-shadow: 0 24px 52px rgba(1, 26, 65, 0.12);
    transform: translateY(-4px);
}

.yhc-card-icon {
    align-items: center;
    background: linear-gradient(135deg, #046a38 0%, #35b449 100%);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 18px;
    width: 48px;
}

.yhc-capability-card h4,
.yhc-focus-card h5 {
    color: var(--dark);
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.yhc-capability-card p,
.yhc-focus-card p {
    color: #4b5e58;
    font-size: 0.92rem;
    line-height: 1.62;
    margin: 0;
}

.yhc-panel {
    padding: 30px;
}

.yhc-section-heading span {
    color: #35b449;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.yhc-section-heading h2,
.yhc-side-card h3,
.yhc-resource-panel h3,
.yhc-impact-panel h3 {
    color: var(--dark);
    font-size: 1.55rem;
    margin-bottom: 22px;
}

.yhc-focus-card {
    background: #f8fcf9;
    border: 1px solid rgba(68, 184, 57, 0.13);
    border-radius: 8px;
    height: 100%;
    padding: 22px;
}

.yhc-focus-card i {
    color: #046a38;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.yhc-side-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.yhc-side-card img {
    aspect-ratio: 16 / 10;
}

.yhc-side-card > div {
    padding: 24px;
}

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

.yhc-method-list li {
    display: flex;
    gap: 13px;
    padding: 15px 0;
}

.yhc-method-list li + li {
    border-top: 1px solid rgba(68, 184, 57, 0.14);
}

.yhc-method-list i {
    align-items: center;
    background: rgba(53, 180, 73, 0.12);
    border-radius: 50%;
    color: #046a38;
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.yhc-method-list strong,
.yhc-method-list span {
    display: block;
}

.yhc-method-list strong {
    color: var(--dark);
    font-family: "Jost", sans-serif;
    margin-bottom: 2px;
}

.yhc-method-list span {
    color: #4b5e58;
    font-size: 0.9rem;
    line-height: 1.5;
}

.yhc-resource-panel,
.yhc-impact-panel {
    height: 100%;
    padding: 28px;
}

.yhc-resource-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yhc-resource-grid a {
    background: #f8fcf9;
    border: 1px solid rgba(68, 184, 57, 0.14);
    border-radius: 8px;
    color: #243833;
    font-weight: 700;
    padding: 14px 15px;
}

.yhc-resource-grid a:hover {
    background: #046a38;
    color: #ffffff;
}

.yhc-impact-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .yhc-section {
        padding: 64px 0;
    }

    .yhc-title {
        font-size: 2.1rem;
    }

    .yhc-image-collage {
        min-height: 360px;
    }

    .yhc-image-main {
        height: 320px;
    }

    .yhc-image-main-link {
        height: 320px;
    }

    .yhc-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .yhc-section {
        padding: 50px 0;
    }

    .yhc-mini-stats,
    .yhc-resource-grid,
    .yhc-impact-grid {
        grid-template-columns: 1fr;
    }

    .yhc-image-collage {
        min-height: 0;
    }

    .yhc-image-main-link,
    .yhc-image-float-link,
    .yhc-image-main,
    .yhc-image-float {
        height: auto;
        position: static;
        width: 100%;
    }

    .yhc-image-float-link {
        margin-top: 16px;
    }

    .yhc-panel,
    .yhc-resource-panel,
    .yhc-impact-panel {
        padding: 22px;
    }
}

/*** Families Services Section ***/
.families-services-section {
    background:
        linear-gradient(180deg, #f7fbf7 0%, #ffffff 58%, #f5f9fb 100%),
        radial-gradient(circle at 10% 6%, rgba(53, 180, 73, 0.15), transparent 34%);
    padding: 86px 0;
}

.families-hero {
    max-width: 860px;
    margin-bottom: 44px;
}

.families-eyebrow {
    background: #ffffff;
    border: 1px solid rgba(68, 184, 57, 0.24);
    border-radius: 50px;
    box-shadow: 0 10px 24px rgba(1, 26, 65, 0.08);
    color: #046a38;
    display: inline-block;
    font-family: "Jost", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 18px;
    padding: 8px 18px;
    text-transform: uppercase;
}

.families-hero h1 {
    color: var(--dark);
    font-size: 2.65rem;
    line-height: 1.12;
    margin-bottom: 16px;
}

.families-hero p {
    color: #3d514a;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

.families-program-panel,
.families-side-panel {
    background: #ffffff;
    border: 1px solid rgba(68, 184, 57, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.08);
}

.families-program-panel {
    padding: 30px;
}

.families-section-heading span {
    color: #35b449;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.families-section-heading h2 {
    color: var(--dark);
    font-size: 1.65rem;
    margin-bottom: 24px;
}

.families-service-list {
    counter-reset: families-service;
    list-style: none;
    margin: 0;
    padding: 0;
}

.families-service-list > li {
    align-items: flex-start;
    background: #f8fcf9;
    border: 1px solid rgba(68, 184, 57, 0.13);
    border-radius: 8px;
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
    padding: 18px;
}

.families-service-list > li:last-child {
    margin-bottom: 0;
}

.families-list-number {
    align-items: center;
    background: linear-gradient(135deg, #046a38 0%, #35b449 100%);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 46px;
    font-family: "Jost", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.families-service-list h3 {
    color: var(--dark);
    font-size: 1.08rem;
    margin-bottom: 5px;
}

.families-service-list p {
    color: #4b5e58;
    font-size: 0.94rem;
    line-height: 1.58;
    margin: 0;
}

.families-wellness-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 13px 0 0;
    padding: 0;
}

.families-wellness-list li {
    color: #243833;
    font-weight: 700;
    padding-left: 20px;
    position: relative;
}

.families-wellness-list li::before {
    background: #35b449;
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 8px;
}

.families-side-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.families-side-card {
    background: #f8fcf9;
    border: 1px solid rgba(68, 184, 57, 0.13);
    border-radius: 8px;
    padding: 24px;
}

.families-side-card-green {
    background: linear-gradient(135deg, #046a38 0%, #35b449 100%);
    color: #ffffff;
}

.families-side-card i {
    align-items: center;
    background: rgba(53, 180, 73, 0.13);
    border-radius: 50%;
    color: #046a38;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin-bottom: 16px;
    width: 46px;
}

.families-side-card-green i {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.families-side-card h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.families-side-card-green h3,
.families-side-card-green p {
    color: #ffffff;
}

.families-side-card p {
    color: #4b5e58;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991.98px) {
    .families-services-section {
        padding: 64px 0;
    }

    .families-hero h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 767.98px) {
    .families-services-section {
        padding: 50px 0;
    }

    .families-program-panel,
    .families-side-panel {
        padding: 20px;
    }

    .families-service-list > li {
        gap: 14px;
        padding: 16px;
    }

    .families-list-number {
        flex-basis: 40px;
        height: 40px;
        width: 40px;
    }
}
