/********** Template CSS **********/
:root {
    --bs-primary: #1A685B;
    --bs-secondary: #145248;
    --bs-light: #ffffff;
    --bs-tertiary: #5a6b68;
    --sphe-green: #1A685B;
    --sphe-green-dark: #145248;
}

/*** Theme palette (white + green) ***/
.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
    color: #fff !important;
    background-color: var(--sphe-green) !important;
    border-color: var(--sphe-green) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: var(--sphe-green-dark) !important;
    border-color: var(--sphe-green-dark) !important;
}

.btn-secondary,
.btn-secondary:disabled,
.btn-secondary.disabled {
    color: var(--sphe-green) !important;
    background-color: #fff !important;
    border-color: var(--sphe-green) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
    color: #fff !important;
    background-color: var(--sphe-green) !important;
    border-color: var(--sphe-green) !important;
}

.text-primary {
    color: var(--sphe-green) !important;
}

.bg-primary {
    background-color: var(--sphe-green) !important;
}

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

.text-secondary {
    color: var(--sphe-green) !important;
}

.bg-secondary {
    background-color: var(--sphe-green) !important;
}

.spinner-border.text-primary {
    color: var(--sphe-green) !important;
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary p,
.bg-primary span,
.bg-primary label,
.bg-primary .display-5,
.bg-primary .display-6,
.bg-primary .h3,
.bg-primary .h5,
.bg-secondary,
.bg-secondary h1,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary h4,
.bg-secondary h5,
.bg-secondary h6,
.bg-secondary p,
.bg-secondary span,
.bg-secondary label,
.bg-secondary .display-5,
.bg-secondary .display-6,
.bg-secondary .h3,
.bg-secondary .h5 {
    color: #fff;
}

.bg-primary,
.bg-secondary {
    color: #fff;
}

.bg-primary a:not(.btn):not(.dropdown-item),
.bg-secondary a:not(.btn):not(.dropdown-item) {
    color: #fff;
}

.bg-primary a:not(.btn):not(.dropdown-item):hover,
.bg-secondary a:not(.btn):not(.dropdown-item):hover {
    color: rgba(255, 255, 255, .85);
}

.bg-primary .text-dark,
.bg-primary .text-primary,
.bg-secondary .text-dark,
.bg-secondary .text-primary {
    color: #fff !important;
}

.bg-primary .btn-square.bg-white .text-secondary,
.bg-secondary .btn-square.bg-white .text-secondary {
    color: var(--sphe-green) !important;
}

.bg-primary .text-white-50,
.bg-secondary .text-white-50 {
    color: rgba(255, 255, 255, .75) !important;
}

.donate-form.bg-primary .form-check-label {
    color: #fff;
}

.donation-item .progress-bar.bg-secondary {
    color: #fff;
}

.footer .btn-light {
    color: var(--sphe-green) !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.footer .btn-light:hover {
    color: #fff !important;
    background-color: var(--sphe-green) !important;
    border-color: var(--sphe-green) !important;
}

.bg-primary .btn-lg-square {
    background: #fff !important;
}

.bg-primary .btn-lg-square i.text-white {
    color: var(--sphe-green) !important;
}

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

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

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

.fw-normal {
    font-weight: 400 !important;
}


/*** 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 {
    transition: .5s;
}

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


/*** Top Bar (green) ***/
.top-bar {
    height: 90px;
    padding: 0 90px;
}

.top-bar h6 {
    letter-spacing: 1px;
}

.top-bar.bg-secondary .text-primary {
    color: rgba(255, 255, 255, .85) !important;
}

.top-bar.bg-secondary .display-5.text-primary {
    color: #fff !important;
}

.top-bar .btn-square.bg-primary {
    background-color: #fff !important;
}

.top-bar .btn-square.bg-primary i.text-dark {
    color: var(--sphe-green) !important;
}

.top-bar__contacts {
    gap: 1.75rem;
    height: 100%;
}

.top-bar__item {
    flex: 0 0 auto;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.nav-bar.fixed-top {
    padding: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    font-size: 18px;
    outline: none;
}

.navbar.bg-white,
.navbar.navbar-light {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.navbar.bg-white .navbar-nav .nav-link,
.navbar.navbar-light .navbar-nav .nav-link {
    color: var(--sphe-green-dark);
}

.navbar.bg-white .navbar-nav .nav-link:hover,
.navbar.bg-white .navbar-nav .nav-link.active,
.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link.active {
    color: var(--sphe-green);
}

.navbar.bg-white .d-lg-none,
.navbar.bg-white > .d-flex > h4,
.navbar.navbar-light .d-lg-none,
.navbar.navbar-light > .d-flex > h4 {
    color: var(--sphe-green-dark);
}

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

.navbar a.btn-primary,
.navbar a.btn-primary:hover,
.navbar a.btn-primary:focus,
.navbar .btn-square.btn-primary,
.navbar .btn-square.btn-primary i {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

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

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel {
    position: relative;
    --sphe-banner-bg: url(../img/bg.jpg);
    background: var(--sphe-banner-bg) center center no-repeat;
    background-size: cover;
}

.header-carousel .owl-item > .container {
    min-height: 100%;
}

.header-carousel .carousel-img {
    position: relative;
    overflow: hidden;
    line-height: 0;
    height: clamp(280px, 55vw, 500px);
    padding: 0 0 24px 24px;
}

.header-carousel .carousel-img__shadow {
    position: absolute;
    top: 24px;
    left: 0;
    right: 24px;
    bottom: 0;
    background: var(--sphe-green);
    z-index: 0;
}

.header-carousel .carousel-img__media {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow: hidden;
    background-color: #FDF8EA;
    background-image: var(--sphe-banner-bg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.header-carousel .carousel-img__media::before,
.header-carousel .carousel-img__media::after {
    position: absolute;
    content: "";
    width: 32%;
    height: 72px;
    background-color: #FDF8EA;
    background-image: var(--sphe-banner-bg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 2;
    pointer-events: none;
}

.header-carousel .carousel-img__media::before {
    top: 0;
    left: 0;
}

.header-carousel .carousel-img__media::after {
    right: 0;
    bottom: 0;
}

.header-carousel .carousel-img__media img,
.header-carousel .carousel-img__media .sphe-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.header-carousel .owl-item {
    transform: none !important;
}

@media (min-width: 992px) {
    .header-carousel .carousel-img {
        height: 700px;
        padding: 0 0 32px 32px;
    }

    .header-carousel .carousel-img__shadow {
        top: 32px;
        right: 32px;
    }

    .header-carousel .carousel-img__media::before,
    .header-carousel .carousel-img__media::after {
        height: 90px;
    }
}

@media (max-width: 575.98px) {
    .header-carousel .carousel-img {
        padding: 0 0 16px 16px;
    }

    .header-carousel .carousel-img__shadow {
        top: 16px;
        right: 16px;
    }

    .header-carousel .carousel-img__media::before,
    .header-carousel .carousel-img__media::after {
        width: 38%;
        height: 48px;
    }
}

.sphe-banner-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: var(--sphe-green);
}

.page-header {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

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

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}

.sphe-single-post-title {
    font-weight: 700;
    color: var(--bs-dark);
}


/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #fff;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #fff;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #fff;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--sphe-green);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-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;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}


/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}

.donate .sphe-donation-payment-info--section {
    background: var(--bs-light);
    border-radius: 0;
    padding: 1.5rem;
}

.donate .sphe-donation-payment-info__method {
    background: var(--bs-white);
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    padding: 1.25rem;
    height: 100%;
}

.donate .sphe-donation-payment-info__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

.donate .sphe-donation-payment-info__list {
    margin: 0;
}

.donate .sphe-donation-payment-info__item {
    margin-bottom: .75rem;
}

.donate .sphe-donation-payment-info__item:last-child {
    margin-bottom: 0;
}

.donate .sphe-donation-payment-info__item dt {
    font-weight: 600;
    margin-bottom: .15rem;
}

.donate .sphe-donation-payment-info__item dd {
    margin: 0;
}

.donate .sphe-donation-payment-info__instructions {
    margin-bottom: 1.5rem;
}

.donate .donate-form .form-select {
    border: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
}

.donate .donate-form .sphe-donation-file {
    border: none;
    background: rgba(255, 255, 255, .1);
}

.donate .donate-form .form-check-input {
    border-color: rgba(255, 255, 255, .75);
}

.donate .donate-form .sphe-donation-errors ul {
    text-align: left;
}

.sphe-donation-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/*** Contact form ***/
.sphe-contact-form .form-control.is-invalid,
.sphe-contact-form .form-control.is-valid {
    background-image: none;
}

.sphe-contact-form .invalid-feedback {
    display: none;
}

.sphe-contact-form .is-invalid ~ .invalid-feedback {
    display: block;
}

.sphe-contact-alert {
    margin-bottom: 1.25rem;
}

.sphe-contact-hours h6:last-child {
    margin-bottom: 0;
}

/*** Join Now ***/
.sphe-join {
    background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 42%, #ffffff 100%);
}

.sphe-join__intro {
    max-width: 720px;
}

.sphe-join__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(26, 104, 91, 0.1);
    color: var(--sphe-green, #1A685B);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sphe-join__lead {
    color: #5a6462;
    font-size: 1.1rem;
    line-height: 1.75;
}

.sphe-join__benefit {
    background: #fff;
    border: 1px solid rgba(26, 104, 91, 0.1);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 24px rgba(5, 19, 17, 0.04);
}

.sphe-join__benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--sphe-green, #1A685B);
    color: #fff;
    font-size: 1.15rem;
}

.sphe-join__benefit h3 {
    color: #051311;
}

.sphe-join__benefit p {
    color: #66706e;
    font-size: 0.95rem;
    line-height: 1.6;
}

.sphe-join__panel {
    background: #fff;
    border: 1px solid rgba(26, 104, 91, 0.12);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 16px 40px rgba(5, 19, 17, 0.06);
}

@media (min-width: 768px) {
    .sphe-join__panel {
        padding: 2.5rem 2.75rem;
    }
}

.sphe-join__panel-head p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.sphe-join__form .form-label {
    font-weight: 600;
    color: #145248;
    margin-bottom: 0.45rem;
}

.sphe-join__form .form-control,
.sphe-join__form .form-select {
    border: 1px solid rgba(26, 104, 91, 0.22);
    border-radius: 10px;
    background: #fff;
    color: #051311;
    font-size: 16px;
    box-shadow: none;
}

.sphe-join__form .form-control:focus,
.sphe-join__form .form-select:focus {
    border-color: var(--sphe-green, #1A685B);
    box-shadow: 0 0 0 0.2rem rgba(26, 104, 91, 0.15);
}

.sphe-join__form textarea.form-control {
    min-height: 110px;
}

.sphe-join__interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.sphe-join__chip {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.sphe-join__chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sphe-join__chip span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(26, 104, 91, 0.25);
    border-radius: 999px;
    background: #f7fbfa;
    color: #145248;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.sphe-join__chip input:checked + span,
.sphe-join__chip:hover span {
    background: var(--sphe-green, #1A685B);
    border-color: var(--sphe-green, #1A685B);
    color: #fff;
}

.sphe-join__chip input:focus-visible + span {
    outline: 2px solid var(--sphe-green, #1A685B);
    outline-offset: 2px;
}

.sphe-join__consent {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #f7fbfa;
}

.sphe-join__consent .form-check-input {
    border-color: rgba(26, 104, 91, 0.45);
}

.sphe-join__consent .form-check-input:checked {
    background-color: var(--sphe-green, #1A685B);
    border-color: var(--sphe-green, #1A685B);
}

.sphe-join__submit {
    border: 0;
    border-radius: 10px;
    font-weight: 700;
}

.sphe-join__success {
    padding: 2rem 1rem;
}

.sphe-join__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--sphe-green, #1A685B);
    color: #fff;
    font-size: 1.5rem;
}

.sphe-join__errors {
    border-radius: 10px;
}

.donate .sphe-donation-campaign-display {
    background: rgba(255, 255, 255, .12);
    border-left: 4px solid var(--bs-secondary);
    padding: .85rem 1rem;
}

@media (min-width: 768px) {
    .donate .sphe-donation-payment-info--section {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .donate .sphe-donation-payment-info__instructions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .donate .sphe-donation-payment-info--section {
        padding: 1rem;
    }

    .donate .sphe-donation-payment-info__method + .sphe-donation-payment-info__method {
        margin-top: 1rem;
    }
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--sphe-green);
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--sphe-green);
    background: #fff;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}



/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .sphe-footer-quick-links .btn.btn-link {
    margin-bottom: 0;
}

.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(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

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

.footer .sphe-footer-legal-link {
    color: var(--bs-tertiary);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer .sphe-footer-legal-link:hover {
    color: var(--bs-light);
}

.footer .sphe-footer-legal-sep {
    margin: 0 0.65rem;
    color: rgba(255, 255, 255, .35);
}

.footer .sphe-footer-gallery__item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.footer .sphe-footer-gallery__item img,
.footer .sphe-footer-gallery__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/*** About Registration / Achievements sliders ***/
.sphe-about-slider-section {
    background: var(--bs-light);
}

.sphe-about-slider-section--achievements {
    background: #fff;
}

.sphe-about-slide__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(5, 19, 17, .08);
    box-shadow: 0 8px 24px rgba(5, 19, 17, .06);
}

.sphe-about-slide__frame img,
.sphe-about-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem;
    display: block;
}

.sphe-about-slide__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    color: var(--bs-secondary);
    font-weight: 600;
}

.sphe-about-slide__title {
    font-size: 1rem;
}

.sphe-about-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 0.25rem;
}

.sphe-about-carousel .owl-prev,
.sphe-about-carousel .owl-next {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    background: var(--bs-secondary);
    pointer-events: auto;
    margin: 0;
}

.sphe-about-carousel .owl-prev:hover,
.sphe-about-carousel .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-dark);
}

.sphe-about-carousel .owl-dots {
    margin-top: 1.5rem;
    text-align: center;
}

.sphe-about-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    display: block;
    background: rgba(26, 104, 91, .25);
    border-radius: 50%;
}

.sphe-about-carousel .owl-dot.active span,
.sphe-about-carousel .owl-dot:hover span {
    background: var(--bs-secondary);
}


/*** Gallery ***/
.sphe-gallery-item {
    border-radius: 4px;
    background: var(--bs-light);
}

.sphe-gallery-item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease;
}

.sphe-gallery-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 104, 91, .55);
    opacity: 0;
    transition: opacity .3s ease;
}

.sphe-gallery-item:hover img,
.sphe-gallery-item:focus img {
    transform: scale(1.06);
}

.sphe-gallery-item:hover .sphe-gallery-item__overlay,
.sphe-gallery-item:focus .sphe-gallery-item__overlay {
    opacity: 1;
}

.sphe-gallery-item__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--sphe-green, #1A685B);
    font-size: 1.1rem;
}

.sphe-gallery-modal__dialog {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.sphe-gallery-modal__content {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(5, 19, 17, .96);
    box-shadow: none;
}

.sphe-gallery-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sphe-green, #1A685B);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease;
}

.sphe-gallery-modal__close:hover,
.sphe-gallery-modal__close:focus {
    background: var(--sphe-green-dark, #145248);
    color: #fff;
}

.sphe-gallery-modal__body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1.5rem 2rem !important;
    overflow: auto;
}

.sphe-gallery-modal__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.sphe-gallery-modal__caption {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
}

#spheGalleryModal {
    padding: 0 !important;
}

#spheGalleryModal .modal-dialog {
    max-width: 100%;
}

#spheGalleryModal .modal-content {
    box-shadow: none;
}


/*** Programs ***/
.sphe-program-filters {
    margin-bottom: 2rem;
}

.sphe-program-filters__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sphe-program-filters__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--sphe-green, #1A685B);
    border-radius: 4px;
    background: #fff;
    color: var(--sphe-green, #1A685B);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.sphe-program-filters__btn:hover,
.sphe-program-filters__btn:focus,
.sphe-program-filters__btn.is-active {
    background: var(--sphe-green, #1A685B);
    border-color: var(--sphe-green, #1A685B);
    color: #fff;
}

.sphe-program-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(26, 104, 91, .12);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}

.sphe-program-card:hover {
    box-shadow: 0 10px 28px rgba(5, 19, 17, .1);
    transform: translateY(-3px);
}

.sphe-program-card__media img,
.sphe-program-card__placeholder {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    transition: transform .35s ease;
}

.sphe-program-card__placeholder {
    display: block;
    background: linear-gradient(135deg, #e8f3f0, #f7fbfa);
}

.sphe-program-card:hover .sphe-program-card__media img {
    transform: scale(1.04);
}

.sphe-program-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.sphe-program-card__slogan {
    font-size: 0.8rem;
    letter-spacing: .04em;
    font-weight: 600;
}

.sphe-program-card__title a {
    color: inherit;
    text-decoration: none;
}

.sphe-program-card__title a:hover {
    color: var(--sphe-green, #1A685B);
}

.sphe-program-card__body .btn {
    margin-top: auto;
    align-self: flex-start;
}

.sphe-program-single__slogan {
    display: inline-block;
    margin-bottom: 1rem;
}

.sphe-program-single__image img {
    max-height: 520px;
    object-fit: cover;
}

.sphe-program-content {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.sphe-program-content > *:first-child {
    margin-top: 0;
}

.sphe-program-content > *:last-child {
    margin-bottom: 0;
}

.sphe-program-content p {
    margin-bottom: 1.25rem;
}

.sphe-program-content h1,
.sphe-program-content h2,
.sphe-program-content h3,
.sphe-program-content h4,
.sphe-program-content h5,
.sphe-program-content h6 {
    color: #051311;
    font-weight: 700;
    line-height: 1.35;
    margin: 2rem 0 1rem;
}

.sphe-program-content h2 {
    font-size: 1.75rem;
}

.sphe-program-content h3 {
    font-size: 1.4rem;
}

.sphe-program-content h4 {
    font-size: 1.2rem;
}

.sphe-program-content ul,
.sphe-program-content ol {
    margin: 0 0 1.35rem;
    padding-left: 1.35rem;
}

.sphe-program-content ul {
    list-style: disc;
}

.sphe-program-content ol {
    list-style: decimal;
}

.sphe-program-content li {
    margin-bottom: 0.45rem;
}

.sphe-program-content li > ul,
.sphe-program-content li > ol {
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
}

.sphe-program-content blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--sphe-green, #1A685B);
    background: #f7fbfa;
    color: #145248;
    font-style: italic;
}

.sphe-program-content blockquote p:last-child {
    margin-bottom: 0;
}

.sphe-program-content img,
.sphe-program-content figure {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.75rem auto;
    border-radius: 4px;
}

.sphe-program-content figure img {
    margin: 0;
}

.sphe-program-content figcaption {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

.sphe-program-content a {
    color: var(--sphe-green, #1A685B);
    text-decoration: underline;
}

.sphe-program-content a:hover {
    color: var(--sphe-green-dark, #145248);
}

.sphe-program-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.sphe-program-content th,
.sphe-program-content td {
    padding: 0.75rem;
    border: 1px solid rgba(26, 104, 91, .18);
    text-align: left;
}

.sphe-program-content th {
    background: #f7fbfa;
    color: #051311;
}

.sphe-program-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid rgba(26, 104, 91, .15);
}

.sphe-program-content pre,
.sphe-program-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sphe-program-content pre {
    overflow-x: auto;
    padding: 1rem;
    margin-bottom: 1.35rem;
    background: #f4f7f6;
    border-radius: 4px;
}

.sphe-program-content .alignleft {
    float: left;
    margin: 0.35rem 1.25rem 1rem 0;
}

.sphe-program-content .alignright {
    float: right;
    margin: 0.35rem 0 1rem 1.25rem;
}

.sphe-program-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.sphe-program-content .wp-block-gallery,
.sphe-program-content .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.sphe-program-content .wp-block-gallery img,
.sphe-program-content .gallery img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*** FAQ accordion ***/
.sphe-faq {
    background: linear-gradient(180deg, rgba(26, 104, 91, 0.04) 0%, #fff 48%, #fff 100%);
}

.sphe-faq__accordion {
    --bs-accordion-border-color: rgba(26, 104, 91, 0.14);
    --bs-accordion-btn-color: #051311;
    --bs-accordion-active-color: var(--sphe-green, #1A685B);
    --bs-accordion-active-bg: rgba(26, 104, 91, 0.08);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(26, 104, 91, 0.18);
}

.sphe-faq__item {
    border: 1px solid rgba(26, 104, 91, 0.14);
    border-radius: 0.5rem !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(5, 19, 17, 0.04);
}

.sphe-faq__item + .sphe-faq__item {
    border-top: 1px solid rgba(26, 104, 91, 0.14);
}

.sphe-faq__button {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
}

.sphe-faq__button:not(.collapsed) {
    color: var(--sphe-green, #1A685B);
    background: rgba(26, 104, 91, 0.08);
    box-shadow: none;
}

.sphe-faq__button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231A685B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.sphe-faq__body {
    color: #50575e;
    line-height: 1.7;
    padding: 0 1.25rem 1.25rem;
}

.sphe-faq__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .sphe-faq__button {
        font-size: 1rem;
        padding: 0.95rem 1rem;
    }

    .sphe-faq__body {
        padding: 0 1rem 1rem;
    }
}

