@import url("../../css/style.css");

@media (max-width: 991.98px) {
    .header-carousel .owl-nav,
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next,
    .header-carousel .owl-nav button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
@import url("./header-footer.css");

.footer-mission-band {
    background:
        radial-gradient(circle at 18% 18%, rgba(35, 197, 94, 0.1), transparent 22%),
        radial-gradient(circle at 84% 78%, rgba(16, 185, 129, 0.08), transparent 18%),
        linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.footer-mission-card {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 64px 56px 40px;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(135deg, #16944b 0%, #188b46 54%, #14773c 100%);
    box-shadow: 0 28px 56px rgba(22, 122, 60, 0.18);
}

.footer-mission-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 28px solid rgba(255, 255, 255, 0.12);
}

.footer-mission-orb--left {
    top: -70px;
    left: -56px;
    width: 160px;
    height: 160px;
}

.footer-mission-orb--right {
    right: -74px;
    bottom: -92px;
    width: 192px;
    height: 192px;
}

.footer-mission-card__title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.footer-mission-card__text {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.14rem;
    line-height: 1.95;
}

.footer-mission-card__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.footer-mission-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    min-height: 52px;
    padding: 0.9rem 1.65rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.footer-mission-btn:hover {
    transform: translateY(-1px);
}

.footer-mission-btn--light {
    background: #ffffff;
    color: #15793c;
    box-shadow: 0 16px 28px rgba(255, 255, 255, 0.12);
}

.footer-mission-btn--light:hover {
    color: #126b35;
    background: #f7fff8;
}

.footer-mission-btn--dark {
    background: rgba(14, 87, 44, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-mission-btn--dark:hover {
    color: #ffffff;
    background: rgba(10, 68, 34, 0.82);
}

.footer-mission-pages {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.footer-mission-pages__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: background-color .18s ease, transform .18s ease;
}

.footer-mission-pages__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.newsletter-band {
    background:
        radial-gradient(circle at 16% 64%, rgba(255, 201, 222, 0.42), transparent 26%),
        radial-gradient(circle at 73% 16%, rgba(205, 255, 216, 0.42), transparent 24%),
        radial-gradient(circle at 48% 86%, rgba(161, 240, 197, 0.34), transparent 22%),
        radial-gradient(circle at 82% 78%, rgba(214, 255, 227, 0.22), transparent 18%),
        linear-gradient(135deg, #eef5ef 0%, #dff0e4 34%, #e8ddf6 68%, #edf7ef 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-band::before {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 210, 226, 0.24);
    filter: blur(24px);
    pointer-events: none;
}

.newsletter-band::after {
    content: "";
    position: absolute;
    inset: 32px 8% auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(198, 255, 212, 0.22);
    filter: blur(28px);
    pointer-events: none;
}

.newsletter-panel {
    max-width: 990px;
    position: relative;
    z-index: 1;
}

.newsletter-panel__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #111111;
    text-shadow: 0 12px 28px rgba(65, 110, 79, 0.18);
}

.newsletter-form {
    position: relative;
    width: 100%;
    max-width: 746px;
}

.newsletter-form__input {
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    color: #426252;
    font-size: 1.1rem;
    box-shadow: 0 18px 40px rgba(119, 153, 132, 0.16);
    backdrop-filter: blur(18px);
}

.newsletter-form__input::placeholder {
    color: #8ea296;
}

.newsletter-form__input:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 44px rgba(119, 153, 132, 0.2);
}

.newsletter-form__submit {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #ff9f0a;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    text-shadow: 0 8px 18px rgba(255, 159, 10, 0.24);
    transition: transform .2s ease, color .2s ease;
}

.newsletter-form__submit:hover {
    color: #ffbe2e;
    transform: translateY(-50%) scale(1.06);
}

.newsletter-panel__note {
    display: block;
    color: rgba(95, 95, 95, 0.92);
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 8px 22px rgba(65, 110, 79, 0.16);
}

#newsletterMsg {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 767.98px) {
    .footer-mission-card {
        padding: 42px 22px 28px;
        border-radius: 28px;
    }

    .footer-mission-orb {
        border-width: 18px;
    }

    .footer-mission-orb--left {
        top: -44px;
        left: -38px;
        width: 110px;
        height: 110px;
    }

    .footer-mission-orb--right {
        right: -54px;
        bottom: -64px;
        width: 132px;
        height: 132px;
    }

    .footer-mission-card__text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .footer-mission-card__actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-mission-btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-mission-pages {
        gap: 10px;
    }

    .footer-mission-pages__link {
        width: calc(50% - 5px);
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.95rem;
    }

    .newsletter-panel__title {
        font-size: 1.8rem;
    }

    .newsletter-form__input {
        height: 58px;
        font-size: 1rem;
    }

    .newsletter-form__submit {
        right: 14px;
        font-size: 1.75rem;
    }

    .newsletter-panel__note {
        font-size: 0.95rem;
    }
}

.blog-shell {
    padding-bottom: 2rem;
}

.blog-filter-bar {
    gap: 0.75rem;
}

.blog-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1.05rem;
    border-radius: 999px;
    font-weight: 700;
    border-width: 1px;
}

.blog-filter-pill .badge {
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
}

.blog-archive-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.blog-archive-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-archive-card__body {
    padding: 1.35rem;
}

.blog-archive-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.blog-archive-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
}

.blog-archive-card__date {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-archive-card__title {
    color: #0f2a23;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.blog-archive-card__excerpt {
    color: #556070;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.blog-archive-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-round-btn {
    border-radius: 999px !important;
    padding: 0.7rem 1.1rem !important;
    font-weight: 700 !important;
}

.blog-sidebar-card {
    background: linear-gradient(180deg, #f8fbf9 0%, #edf5f0 100%);
    border-radius: 24px;
    border: 1px solid rgba(22, 163, 74, 0.08);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.blog-sidebar-card .card-body {
    padding: 1.4rem;
}

.blog-sidebar-title {
    color: #102c23;
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-search-group {
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.blog-search-group .form-control,
.blog-search-group .btn {
    border-radius: 999px !important;
    border: 0;
    min-height: 50px;
}

.blog-search-group .form-control {
    background: transparent;
    box-shadow: none;
    padding-left: 1rem;
}

.blog-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff;
    border: 0;
    border-radius: 16px !important;
    padding: 0.9rem 1rem !important;
    margin-bottom: 0.7rem;
    color: #102c23;
    font-weight: 600;
}

.blog-category-link:last-child {
    margin-bottom: 0;
}

.blog-category-link .badge {
    border-radius: 999px;
    padding: 0.45rem 0.6rem;
}

.blog-latest-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 18px;
    background: #fff;
    margin-bottom: 0.85rem;
}

.blog-latest-item:last-child {
    margin-bottom: 0;
}

.blog-latest-item__img {
    width: 74px;
    height: 58px;
    object-fit: cover;
    border-radius: 14px;
    flex: 0 0 74px;
}

.blog-latest-item__title {
    color: #102c23;
    font-weight: 700;
    line-height: 1.4;
}

.blog-latest-item__date {
    color: #6b7280;
    font-size: 0.84rem;
    margin-top: 0.25rem;
}

.blog-pagination .page-link,
.blog-pagination .page-item:first-child .page-link,
.blog-pagination .page-item:last-child .page-link {
    border-radius: 999px !important;
}

.blog-pagination .page-link {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    border: 1px solid rgba(22, 163, 74, 0.18);
    color: #118344;
    font-weight: 700;
}

.blog-pagination .page-item.active .page-link {
    background: #16a34a;
    border-color: #16a34a;
}

@media (max-width: 767.98px) {
    .blog-archive-card,
    .blog-sidebar-card {
        border-radius: 18px;
    }

    .blog-archive-card__body,
    .blog-sidebar-card .card-body {
        padding: 1rem;
    }

    .blog-archive-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Home Page */
.home-page {
    --home-accent: #169c52;
    --home-accent-dark: #0d713c;
    --home-accent-soft: #edf8f0;
    --home-ink: #0f1720;
    --home-muted: #617067;
    --home-line: rgba(15, 23, 32, 0.08);
    --home-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.home-page .section-title {
    background: #ffffff !important;
    padding: 0 1rem !important;
}

.home-page .home-hero-section {
    background:
        radial-gradient(circle at 14% 16%, rgba(49, 196, 98, 0.14), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(29, 78, 216, 0.08), transparent 22%),
        linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.home-page .home-hero-slide {
    min-height: min(70vh, 620px);
}

.home-page .home-hero-slide__container {
    padding-top: 62px;
    padding-bottom: 62px;
}

.home-page .home-hero-slide__content {
    padding: 34px 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(7, 14, 24, 0.3), rgba(7, 14, 24, 0.06));
    backdrop-filter: blur(10px);
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.18);
}

.home-page .home-hero-slide__eyebrow {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: inherit;
}

.home-page .header-carousel .carousel-text h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 4.7vw, 4.5rem);
    line-height: 1.02;
}

.home-page .home-programs-section {
    position: relative;
    background:
        radial-gradient(circle at 20% 14%, rgba(22, 156, 82, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.home-page .home-programs-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.home-page .home-programs-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.1);
    border-color: rgba(22, 156, 82, 0.12);
}

.home-page .home-programs-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--home-accent-soft);
    color: var(--home-accent);
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.home-page .home-programs-card__title {
    margin-bottom: 12px;
    color: var(--home-ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.32;
    font-weight: 800;
}

.home-page .home-programs-card__desc {
    flex-grow: 1;
    margin-bottom: 18px;
    color: var(--home-muted);
    line-height: 1.7;
}

.home-page .home-programs-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--home-accent);
    font-weight: 700;
    font-size: 0.98rem;
}

.home-page .home-about-media {
    position: relative;
    padding: 14px;
    border-radius: 38px;
    overflow: visible;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.home-page .home-about-media__frame {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 30px;
    background: #d8e0db;
}

.home-page .home-about-media__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.2) 100%);
    pointer-events: none;
}

.home-page .home-about-media__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-about-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px 10px 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(39, 33, 35, 0.74);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(16px);
    transform: translate(-50%, -50%);
}

.home-page .home-about-video-btn::before,
.home-page .home-about-video-btn::after {
    display: none;
}

.home-page .home-about-video-btn-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.home-page .home-about-video-btn-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 12px solid var(--home-accent);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.home-page .home-about-video-btn-label {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-page .home-about-video-btn:hover {
    background: rgba(13, 113, 60, 0.88);
}

.home-page .home-about-years {
    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 2;
    min-width: 210px;
    padding: 30px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-dark) 100%);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(22, 156, 82, 0.28);
}

.home-page .home-about-years__number {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.home-page .home-about-years__label {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.94;
}

.home-page .home-about-copy .home-about-excerpt {
    max-width: 58ch;
    margin-bottom: 12px !important;
}

.home-page .home-about-copy .home-about-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--home-accent-dark);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.home-page .home-about-copy .home-about-readmore:hover {
    gap: 14px;
    color: var(--home-accent);
}

.home-page .home-about-join-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 30px 24px !important;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-dark) 100%) !important;
    box-shadow: 0 20px 46px rgba(22, 156, 82, 0.22);
}

.home-page .home-about-join-card p {
    max-width: 16ch;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 700;
    line-height: 1.55;
}

.home-page .home-about-join-card .btn {
    align-self: center;
    min-width: 180px;
    border-radius: 999px;
    background: #ffffff;
    border-color: #ffffff;
    color: var(--home-accent-dark);
    font-weight: 700;
}

.home-page .home-features-section {
    background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.home-page .home-features-panel {
    padding: 44px 40px;
    border-radius: 36px;
    border: 1px solid var(--home-line);
    background: #ffffff;
    box-shadow: var(--home-shadow);
}

.home-page .home-features-panel p.text-dark {
    color: var(--home-ink) !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-page .home-features-panel p.text-dark i {
    margin-top: 0.3rem;
}

.home-page .home-gallery-section .home-gallery-card {
    position: relative;
    border-radius: 26px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .home-gallery-section .home-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
}

.home-page .home-gallery-section .home-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(7, 14, 24, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-page .home-gallery-section .home-gallery-card:hover::after {
    opacity: 1;
}

.home-page .home-gallery-section .home-gallery-card img {
    transition: transform 0.4s ease;
}

.home-page .home-gallery-section .home-gallery-card:hover img {
    transform: scale(1.05);
}

.home-page .home-blog-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.home-page .home-blog-section .home-blog-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
}

.home-page .home-blog-section .home-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.home-page .home-blog-section .home-blog-card__img img {
    height: 250px;
    transition: transform 0.4s ease;
}

.home-page .home-blog-section .home-blog-card:hover .home-blog-card__img img {
    transform: scale(1.05);
}

.home-page .home-blog-section .home-blog-card__body {
    padding: 24px 22px 26px;
}

.home-page .home-blog-section .home-blog-card__date {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--home-accent-soft);
    color: var(--home-accent-dark);
    font-weight: 700;
}

.home-page .home-blog-head {
    gap: 18px;
}

.home-page .home-blog-section .btn-outline-success {
    border-radius: 999px;
    font-weight: 700;
}

.home-page .home-testimonial-section .testimonial-title {
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f3faf5 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.home-page .home-testimonial-section .testimonial-img::before {
    border-radius: 30px;
    background: linear-gradient(180deg, var(--home-accent) 0%, var(--home-accent-dark) 100%);
}

.home-page .home-testimonial-section .testimonial-img img,
.home-page .home-testimonial-section .testimonial-text {
    border-radius: 28px;
}

.home-page .home-testimonial-section .testimonial-text {
    border: 1px solid var(--home-line);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.quick-donate-wrap {
    margin-top: -42px;
    margin-bottom: 32px;
    position: relative;
    z-index: 5;
}

.quick-donate-box {
    background:
        linear-gradient(rgba(243, 192, 87, 0.92), rgba(243, 192, 87, 0.92)),
        url('../img/bg-footer.jpg') center/cover no-repeat;
    border-radius: 18px;
    padding: 50px 24px 60px;
    box-shadow: 0 18px 40px rgba(15, 41, 32, 0.18);
    border: 1px solid rgba(15, 41, 32, 0.08);
    margin-top: -134px;
}

.quick-donate-title {
    font-size: clamp(1.25rem, 2vw, 2rem);
    text-align: center;
    font-weight: 700;
    color: #0f2920;
}

.quick-donate-input {
    border-radius: 12px;
    min-height: 50px;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.quick-donate-input:focus {
    border-color: #17b857;
    box-shadow: 0 0 0 3px rgba(23, 184, 87, 0.14);
}

.quick-donate-btn {
    min-height: 50px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
}

.quick-donate-note {
    text-align: center;
    color: #0f2920;
    font-weight: 600;
}

.quick-donate-note a {
    color: #0a8c42;
}

.home-donation-section {
    background:
        linear-gradient(rgba(247, 248, 250, 0.88), rgba(247, 248, 250, 0.88)),
        url('https://assunnahfoundation.org/assets/background/background-overlay-3.svg');
    background-position: center, center;
    background-repeat: repeat, repeat;
    background-size: auto, auto;
}

.home-donation-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    margin: 8px 0;
}

.home-donation-card__img {
    display: block;
    position: relative;
    height: 230px;
    overflow: hidden;
}

.home-donation-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-donation-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #19b74c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 12px;
}

.home-donation-card__body {
    padding: 18px 18px 16px;
}

.home-donation-card__body h5 {
    min-height: 2.8em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-donation-card__body .btn {
    border-radius: 999px;
    font-weight: 700;
}

.home-donation-slider-wrap {
    position: relative;
}

.donation-carousel .owl-stage-outer {
    padding: 4px 2px 14px;
}

.donation-carousel--single .owl-stage {
    display: flex;
    justify-content: center;
}

.donation-carousel--single .owl-item {
    max-width: 420px;
}

.donation-carousel--single .home-donation-card {
    margin-left: auto;
    margin-right: auto;
}

.donation-carousel .owl-nav {
    display: none !important;
}

.home-donation-nav {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #dbe4ef;
    background: #fff;
    color: #149647;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 230px;
    transform: translateY(-50%);
    z-index: 8;
}

.home-donation-nav:hover {
    background: #149647;
    color: #fff;
    border-color: #149647;
}

.home-donation-nav--prev {
    left: -34px;
}

.home-donation-nav--next {
    right: -34px;
}

.home-gallery-card {
    display: block;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.home-gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.home-gallery-viewer {
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 20, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.home-gallery-viewer.show {
    display: flex;
}

.home-gallery-viewer__box {
    width: min(1100px, 100%);
    position: relative;
}

.home-gallery-viewer__title {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.56);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    max-width: calc(100% - 70px);
    line-height: 1.35;
}

.home-gallery-viewer__img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: #0b1220;
}

.home-gallery-viewer__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .home-page .home-hero-slide {
        min-height: 460px;
    }

    .home-page .home-hero-slide__container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-page .home-hero-slide__content {
        padding: 24px 22px;
        border-radius: 24px;
    }

    .home-page .header-carousel .carousel-text h1 {
        font-size: clamp(1.9rem, 7.8vw, 3rem);
    }

    .home-page .home-features-panel {
        padding: 30px 24px;
        border-radius: 28px;
    }

    .home-page .home-programs-card {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .home-page .home-about-media {
        padding: 12px;
    }

    .home-page .home-about-media__frame {
        min-height: 500px;
    }

    .quick-donate-wrap {
        margin-top: 14px;
    }

    .quick-donate-box {
        padding: 18px 16px 14px;
        border-radius: 14px;
    }

    .home-donation-section {
        padding-top: 2.3rem !important;
        padding-bottom: 2.3rem !important;
    }

    .donation-carousel {
        padding: 0 4px;
    }

    .home-donation-card {
        margin: 6px 0;
        border-radius: 18px;
    }

    .home-donation-card__img {
        height: 200px;
    }

    .home-donation-card__body {
        padding: 14px 14px 12px;
    }

    .home-donation-card__body h5 {
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .home-donation-nav {
        width: 40px;
        height: 40px;
        top: 200px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
    }

    .home-donation-nav--prev {
        left: 4px;
    }

    .home-donation-nav--next {
        right: 4px;
    }

    .donation-carousel--single .owl-item {
        max-width: 100%;
    }

    .home-gallery-card img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .home-page .home-hero-slide {
        min-height: 390px;
    }

    .home-page .home-hero-slide__container {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .home-page .home-about-media {
        padding: 10px;
        border-radius: 28px;
    }

    .home-page .home-about-media__frame {
        min-height: 360px;
        border-radius: 22px;
    }

    .home-page .home-about-video-btn {
        gap: 10px;
        padding: 8px 16px 8px 8px;
    }

    .home-page .home-about-video-btn-icon {
        width: 44px;
        height: 44px;
    }

    .home-page .home-about-video-btn-icon::before {
        border-left-width: 11px;
        border-top-width: 7px;
        border-bottom-width: 7px;
    }

    .home-page .home-about-video-btn-label {
        font-size: 0.88rem;
    }

    .home-page .home-about-years {
        right: 18px;
        bottom: 18px;
        min-width: 152px;
        padding: 18px 16px;
        border-radius: 22px;
    }

    .home-page .home-about-years__number {
        font-size: 2rem;
    }

    .home-page .home-about-years__label {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .home-page .home-blog-head {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .home-page .home-blog-section .home-blog-card__img img {
        height: 220px;
    }

    .home-page .home-hero-slide__eyebrow {
        font-size: 0.72rem;
    }
}

@media (max-width: 575.98px) {
    .donation-carousel {
        padding: 0 2px;
    }

    .home-donation-card__img {
        height: 180px;
    }

    .home-donation-card__body h5 {
        font-size: 1.25rem;
    }

    .home-donation-nav {
        top: 180px;
    }

    .home-donation-nav--prev {
        left: 2px;
    }

    .home-donation-nav--next {
        right: 2px;
    }

    .home-gallery-card img {
        height: 210px;
    }
}
