
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 118px;
    transition: .5s;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 86px;
}

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

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

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

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 82px;
    }
}

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

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 700px;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/about-5b.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    transition: 0.5s;
}

.team .team-item .team-img img[src$="opaki-jonathan.jpg"] {
    object-position: center 38%;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

/*** Modern Theme Upgrade ***/
:root {
    --font-sans: "Manrope", "Segoe UI", Tahoma, sans-serif;
    --font-serif: "Fraunces", "Georgia", "Times New Roman", serif;
    --brand-forest: #1b7b5a;
    --brand-forest-dark: #0d3a2c;
    --brand-gold: #d9a441;
    --brand-ink: #0b1b17;
    --brand-sand: #f4f8f5;
    --brand-shadow: 0 20px 45px rgba(11, 27, 23, 0.18);
    --brand-soft-shadow: 0 12px 25px rgba(11, 27, 23, 0.12);
}

:root {
    --bs-primary: var(--brand-forest);
    --bs-secondary: #10342a;
    --bs-dark: var(--brand-ink);
    --bs-light: var(--brand-sand);
    --bs-body-color: #142521;
    --bs-body-bg: #f6faf7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--bs-body-color);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(217, 164, 65, 0.18), transparent 60%),
        radial-gradient(900px 500px at 90% 0%, rgba(27, 123, 90, 0.14), transparent 60%),
        linear-gradient(180deg, #f9fcfa 0%, #f2f7f4 40%, #f9fcfa 100%);
    letter-spacing: 0.01em;
    animation: page-fade 0.8s ease-out;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(27, 123, 90, 0.08) 0, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(217, 164, 65, 0.08) 0, transparent 45%);
    opacity: 0.7;
    z-index: -1;
}

@keyframes page-fade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

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

:focus-visible {
    outline: 3px solid rgba(27, 123, 90, 0.45);
    outline-offset: 3px;
}

::selection {
    background: rgba(27, 123, 90, 0.2);
}

.topbar {
    background: linear-gradient(90deg, rgba(244, 248, 245, 0.95), rgba(255, 255, 255, 0.75));
    border-bottom: 1px solid rgba(16, 52, 42, 0.12);
}

.topbar a {
    color: #2b3b36;
}

.navbar-light {
    background: rgba(11, 27, 23, 0.6);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-item .nav-link {
    color: #f3f7f5;
}

.sticky-top.navbar-light {
    background: rgba(250, 252, 250, 0.96);
    box-shadow: 0 12px 30px rgba(11, 27, 23, 0.18);
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-dark);
}

.navbar .dropdown-menu {
    box-shadow: 0 18px 45px rgba(11, 27, 23, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(16, 52, 42, 0.08);
}

.navbar .dropdown-menu a {
    font-weight: 600;
}

.btn {
    border-radius: 999px;
    box-shadow: 0 12px 25px rgba(11, 27, 23, 0.15);
}

.btn.btn-primary {
    background: linear-gradient(135deg, var(--brand-forest) 0%, #2ca176 100%);
    color: #fff;
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #154e3b 0%, #1f6f54 100%);
    color: #fff;
    transform: translateY(-1px);
}

.btn.btn-light {
    background: rgba(244, 248, 245, 0.92);
    color: var(--bs-dark);
    border: 1px solid rgba(16, 52, 42, 0.15);
}

.btn.btn-light:hover {
    background: #fff;
    color: var(--bs-primary);
}

.back-to-top {
    box-shadow: var(--brand-soft-shadow);
}

.header-carousel .header-carousel-item .carousel-caption {
    background: linear-gradient(90deg, rgba(11, 27, 23, 0.85) 0%, rgba(11, 27, 23, 0.45) 60%, rgba(11, 27, 23, 0.15) 100%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    background: rgba(243, 247, 245, 0.92);
    color: var(--brand-forest-dark);
    box-shadow: var(--brand-soft-shadow);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #fff;
    color: var(--brand-forest);
}

.bg-breadcrumb {
    background:
        linear-gradient(rgba(11, 27, 23, 0.75), rgba(11, 27, 23, 0.85)),
        url(../img/about-5b.jpg);
    background-position: center;
    background-size: cover;
}

.feature .feature-item,
.service .service-item,
.blog .blog-item,
.team .team-item,
.testimonial .testimonial-item,
.contact .bg-light {
    border-radius: 18px;
    box-shadow: var(--brand-soft-shadow);
    border: 1px solid rgba(16, 52, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.feature .feature-item:hover,
.service .service-item:hover,
.blog .blog-item:hover,
.team .team-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--brand-shadow);
}

.team .team-item::before,
.testimonial .testimonial-item::before {
    background: rgba(244, 248, 245, 0.95);
}

.testimonial .testimonial-item .testimonial-quote-left,
.testimonial .testimonial-item .testimonial-quote-right {
    background: #fff;
    box-shadow: var(--brand-soft-shadow);
}

.contact .contact-add-item {
    padding: 14px;
    border-radius: 14px;
    background: rgba(244, 248, 245, 0.8);
    border: 1px solid rgba(16, 52, 42, 0.08);
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid rgba(16, 52, 42, 0.15);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(27, 123, 90, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(27, 123, 90, 0.2);
}

.footer {
    background: linear-gradient(120deg, #0b1b17 0%, #12342a 60%, #1b4a3b 100%);
}

.copyright {
    background: #081412;
}

#donorCard {
    border-radius: 22px !important;
    box-shadow: 0 20px 40px rgba(11, 27, 23, 0.25) !important;
}

#countdown {
    font-family: var(--font-sans) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(10px);
}

@media (max-width: 991px) {
    .navbar-light {
        background: #f8fbf8;
    }
    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 520px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*** Site-wide Professional Polish ***/
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #f7faf8;
}

.container,
.container-fluid {
    min-width: 0;
}

.container.py-5,
.container.pb-5 {
    position: relative;
}

.bg-breadcrumb {
    min-height: 340px;
    display: flex;
    align-items: center;
}

.bg-breadcrumb h4 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.05;
}

.feature .feature-item,
.service .service-item,
.contact .bg-light,
.contact .contact-add-item,
.testimonial .testimonial-item {
    overflow: hidden;
}

.feature .feature-item,
.service .service-item {
    height: 100%;
}

.feature .feature-item p,
.service .service-item p,
.contact p,
.footer p,
.footer a {
    overflow-wrap: anywhere;
    word-break: normal;
}

.contact .row.g-5 > .col-xl-6:first-child {
    width: 100%;
}

.contact .row.g-5 > .col-xl-6:last-child {
    display: none;
}

.contact .bg-light {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(16, 52, 42, 0.08);
}

.contact .contact-add-item {
    height: 100%;
    min-height: 178px;
    padding: 22px;
}

.contact .contact-add-item h4 {
    font-size: 1.25rem;
}

.contact .contact-add-item a {
    color: #263b34;
    text-decoration: none;
}

.contact .contact-add-item a:hover {
    color: var(--bs-primary);
}

.faq-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(27, 123, 90, 0.08), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(217, 164, 65, 0.08), transparent 26%),
        #f7faf8;
}

.faq-section .accordion {
    border: 1px solid rgba(16, 52, 42, 0.08);
    box-shadow: 0 18px 45px rgba(10, 24, 20, 0.08);
}

.faq-section .accordion-item {
    border-color: rgba(16, 52, 42, 0.1);
    background: #fff;
}

.faq-section .accordion-button {
    color: #10241f;
    background: #fff;
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 1.35;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #fff;
    background: #17684e;
    box-shadow: none;
}

.faq-section .accordion-body {
    color: #4b5c56;
    line-height: 1.75;
}

.faq-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(10, 24, 20, 0.12);
    background: #fff;
}

.faq-image-card img {
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.faq-support-card {
    padding: 28px;
    background: #fff;
}

.faq-support-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--bs-primary);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-support-card h3 {
    margin-bottom: 10px;
    color: #10241f;
    font-size: 1.65rem;
}

.faq-support-card p {
    color: #4b5c56;
}

.impact-page {
    background: #f7faf8;
}

.impact-intro {
    background:
        radial-gradient(circle at 8% 20%, rgba(27, 123, 90, 0.08), transparent 30%),
        #f7faf8;
}

.impact-photo {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(10, 24, 20, 0.14);
}

.impact-photo img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.impact-stats {
    background: #edf5f0;
}

.impact-stat-card,
.impact-outcome-card {
    height: 100%;
    padding: 30px;
    border: 1px solid rgba(16, 52, 42, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(10, 24, 20, 0.08);
}

.impact-stat-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 12px;
    color: #fff;
    background: #17684e;
    font-size: 1.35rem;
}

.impact-stat-card h3,
.impact-outcome-card h3 {
    margin-bottom: 10px;
    color: #10241f;
    font-size: 1.25rem;
}

.impact-stat-card p,
.impact-outcome-card p {
    margin-bottom: 0;
    color: #4b5c56;
    line-height: 1.7;
}

.impact-outcomes {
    background: #fff;
}

.impact-outcome-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #17684e;
    background: #e9f4ee;
    font-weight: 800;
}

.impact-story {
    background: #fff;
}

.impact-story-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 44px;
    border-radius: 12px;
    color: #fff;
    background:
        linear-gradient(rgba(10, 24, 20, 0.82), rgba(10, 24, 20, 0.82)),
        url(../img/Bazil1b.jpg) center / cover;
}

.impact-story-panel h4 {
    color: #f0c36f;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.impact-story-panel h2 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.impact-story-panel p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.impact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

.donation-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid #17684e;
    border-radius: 8px;
    color: #173f33;
    background: #e9f4ee;
}

.video-link-card {
    margin: 32px 0;
    border-radius: 14px;
    background:
        linear-gradient(rgba(10, 24, 20, 0.76), rgba(10, 24, 20, 0.76)),
        url(../img/Basil.jpg) center / cover;
    box-shadow: 0 18px 45px rgba(10, 24, 20, 0.16);
    overflow: hidden;
}

.video-link-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 260px;
    padding: 32px;
    color: #fff;
    text-align: left;
    text-decoration: none;
}

.video-link-card a:hover {
    color: #fff;
}

.video-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: #d72525;
    font-size: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.video-link-card strong,
.video-link-card small {
    display: block;
}

.video-link-card strong {
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.2;
}

.video-link-card small {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
}

@media (max-width: 991px) {
    .impact-story-panel {
        display: block;
        padding: 30px;
    }

    .impact-actions {
        margin-top: 26px;
    }
}

.contact .form-control {
    min-height: 58px;
    color: #10241f;
    background-color: #fff;
    border: 1.5px solid rgba(16, 52, 42, 0.22) !important;
    box-shadow: 0 10px 22px rgba(10, 24, 20, 0.05);
}

.contact textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.contact .form-floating > label {
    color: #4b5c56;
    opacity: 0.9;
}

.contact .form-control:focus {
    border-color: #17684e !important;
    box-shadow: 0 0 0 0.18rem rgba(23, 104, 78, 0.18);
}

.contact-form-note {
    color: #61736d;
    font-size: 0.92rem;
    text-align: center;
}

.contact-form-status {
    color: #17684e;
    font-weight: 700;
    text-align: center;
}

.contact-mail-fallback {
    color: #17684e;
    display: block;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
}

.service-overview,
.get-involved-page {
    background: linear-gradient(135deg, #f4fbf8 0%, #ffffff 58%, #f8faf5 100%);
}

.service-hero-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(13, 49, 39, 0.14);
}

.service-page-card,
.involved-card {
    background: #ffffff;
    border: 1px solid rgba(16, 52, 42, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(13, 49, 39, 0.08);
    display: block;
    height: 100%;
    padding: 32px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-page-card:hover,
.involved-card:hover {
    border-color: rgba(23, 104, 78, 0.35);
    box-shadow: 0 24px 52px rgba(13, 49, 39, 0.13);
    transform: translateY(-5px);
}

.service-page-card i,
.involved-card i {
    align-items: center;
    background: rgba(32, 159, 113, 0.12);
    border-radius: 50%;
    color: #17684e;
    display: inline-flex;
    font-size: 1.6rem;
    height: 58px;
    justify-content: center;
    margin-bottom: 22px;
    width: 58px;
}

.service-page-card h3,
.involved-card h3 {
    color: #132c25;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-page-card p,
.involved-card p {
    color: #51645f;
    margin-bottom: 0;
}

.involved-card a {
    color: #17684e;
    display: inline-block;
    font-weight: 800;
    margin-top: 18px;
}

.footer {
    color: rgba(255, 255, 255, 0.82);
}

.footer .container {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.footer .footer-item h4 {
    color: #fff;
    line-height: 1.25;
}

.footer .footer-item p,
.footer .footer-item a {
    color: rgba(255, 255, 255, 0.76) !important;
    line-height: 1.75;
}

.footer .footer-item a {
    margin-bottom: 8px;
}

.footer .footer-item a:hover {
    color: #f0c36f !important;
}

.footer .footer-item .d-flex {
    align-items: flex-start !important;
    gap: 10px;
}

.footer .footer-item .d-flex > i {
    flex: 0 0 auto;
    margin-top: 6px;
}

.footer .btn-sm-square {
    flex: 0 0 auto;
}

.copyright,
.copyright p,
.copyright .text-body {
    color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        min-height: 280px;
        padding-top: 95px;
    }

    .contact .bg-light {
        padding: 28px !important;
    }
}

@media (max-width: 575px) {
    .contact .bg-light {
        padding: 20px !important;
    }

    .contact .contact-add-item {
        min-height: auto;
    }
}

/*** Home Experience Upgrade ***/
:root {
    --home-ink: #0a1814;
    --home-forest: #17684e;
    --home-mint: #e9f4ee;
    --home-gold: #c9912b;
    --home-blue: #305f83;
    --home-white: #ffffff;
    --home-line: rgba(10, 24, 20, 0.11);
    --home-shadow: 0 18px 42px rgba(10, 24, 20, 0.15);
}

body.home-upgrade {
    background: #fff;
    color: var(--home-ink);
    letter-spacing: 0;
    overflow-x: hidden;
}

body.home-upgrade::before {
    display: none;
}

.home-upgrade h1,
.home-upgrade h2,
.home-upgrade h3,
.home-upgrade h4,
.home-upgrade h5,
.home-upgrade h6,
.home-upgrade .display-1,
.home-upgrade .display-2,
.home-upgrade .display-3,
.home-upgrade .display-4,
.home-upgrade .display-5,
.home-upgrade .display-6 {
    letter-spacing: 0;
}

.home-upgrade .btn {
    border-radius: 8px;
    box-shadow: none;
}

.home-upgrade .btn-lg {
    padding: 14px 22px;
    font-size: 1rem;
}

.home-upgrade .topbar {
    display: none !important;
}

.home-upgrade .topbar-note {
    display: inline-flex;
    align-items: center;
    min-height: 45px;
    color: #243a34;
    font-size: 0.92rem;
    font-weight: 700;
}

.home-upgrade > .container-fluid.position-relative.p-0 {
    position: absolute !important;
    top: 18px;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    z-index: 20;
}

.home-upgrade .navbar-light {
    position: relative;
    padding: 10px 18px !important;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    min-height: 215px;
    align-items: flex-start;
}

.home-upgrade .navbar-light .navbar-brand img {
    border-radius: 0;
    box-shadow: none;
    filter:
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
        drop-shadow(0 12px 22px rgba(0, 0, 0, 0.42));
    max-height: 245px;
}

.home-upgrade .navbar-light .navbar-brand {
    display: flex;
    align-items: flex-start;
    min-width: 280px;
    margin-top: -18px;
}

.home-upgrade .navbar-light .navbar-collapse {
    padding-top: 36px;
}

@media (min-width: 992px) {
    .home-upgrade .navbar-light {
        justify-content: center;
    }

    .home-upgrade .navbar-light .navbar-brand {
        left: 22px;
        position: absolute;
        top: 10px;
        z-index: 3;
    }

    .home-upgrade .navbar-light .navbar-collapse {
        align-items: flex-start;
        flex-grow: 1;
        justify-content: flex-end;
        left: auto;
        padding-top: 38px;
        position: static;
        top: 0;
        transform: none;
        width: 100%;
        z-index: 2;
    }

    .home-upgrade .navbar-light .navbar-nav {
        left: 50%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: absolute;
        top: 48px;
        transform: translateX(-50%);
    }

    .home-upgrade .navbar .btn.btn-primary {
        position: relative;
        right: auto;
        top: auto;
        z-index: 3;
    }
}

.home-upgrade .navbar-light .navbar-nav .nav-link,
.home-upgrade .navbar-light .navbar-nav .nav-item .nav-link {
    padding: 12px 0;
    margin-right: clamp(12px, 1.8vw, 24px);
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.82rem, 1vw, 0.92rem);
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.home-upgrade .navbar-light .navbar-nav > .nav-link:last-child {
    margin-right: 0;
}

.home-upgrade .navbar-light .navbar-nav .nav-link:hover,
.home-upgrade .navbar-light .navbar-nav .nav-link.active,
.home-upgrade .navbar-light .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
}

.home-upgrade .navbar-light .navbar-nav .nav-link::before,
.home-upgrade .navbar-light .navbar-nav .nav-link::after {
    display: none;
}

.home-upgrade .navbar .btn.btn-primary {
    background: rgba(255, 255, 255, 0.94);
    color: #12342a;
    border-radius: 999px;
    padding: 10px 18px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
}

.home-upgrade .navbar .btn.btn-primary:hover {
    background: #fff;
    color: var(--home-forest);
    transform: none;
}

.home-upgrade .navbar .dropdown-menu {
    border-radius: 8px;
}

.modern-hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    margin: 0 0 70px;
    padding: 220px max(24px, 4vw) 96px;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    color: #fff;
    background: #0a1814;
    display: flex;
    align-items: center;
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.22), transparent 16%),
        linear-gradient(180deg, rgba(8, 34, 24, 0.24) 0%, rgba(8, 34, 24, 0.58) 42%, rgba(8, 34, 24, 0.78) 100%),
        linear-gradient(90deg, rgba(8, 34, 24, 0.5), rgba(8, 34, 24, 0.36));
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--home-forest);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modern-hero h1 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(2.7rem, 6vw, 5.7rem);
    font-weight: 800;
    line-height: 0.96;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.hero-brand-name {
    max-width: 760px;
    margin: 0 auto 18px;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.34);
}

.hero-lead {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.care-badge span {
    display: block;
    margin-bottom: 8px;
    color: #f0c36f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mission-section,
.services-section,
.pathway-section,
.team-preview,
.story-section,
.partners-section,
.cta-section {
    padding: 96px 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 22px;
    color: var(--home-ink);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.mission-grid > div,
.service-card,
.person-card,
.quote-card,
.partner-logo {
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: var(--home-white);
    box-shadow: 0 12px 30px rgba(10, 24, 20, 0.07);
}

.mission-grid > div {
    padding: 24px;
}

.mission-grid i,
.service-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--home-forest);
    font-size: 1.35rem;
}

.mission-grid h3,
.service-card h3,
.care-step h3,
.person-card h3 {
    margin-bottom: 10px;
    color: var(--home-ink);
    font-size: 1.25rem;
}

.mission-grid p,
.service-card p,
.care-step p,
.person-card p,
.quote-card p {
    margin-bottom: 0;
    color: #4b5c56;
}

.image-composition {
    position: relative;
    min-height: 620px;
}

.image-primary,
.image-secondary {
    position: absolute;
    width: 72%;
    height: 420px;
    border: 10px solid #fff;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--home-shadow);
}

.image-primary {
    top: 0;
    right: 0;
}

.image-secondary {
    left: 0;
    bottom: 26px;
    width: 58%;
    height: 300px;
}

.care-badge {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: min(340px, 70%);
    padding: 24px;
    border-radius: 8px;
    color: #fff;
    background: #113b30;
    box-shadow: var(--home-shadow);
}

.care-badge strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.5;
}

.services-section {
    background: #edf5f0;
}

.service-card {
    position: relative;
    min-height: 100%;
    padding: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow);
}

.service-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 24px;
    border-radius: 8px;
    color: #fff;
    background: var(--home-blue);
    text-decoration: none;
}

.pathway-section {
    color: #fff;
    background: linear-gradient(135deg, #0a1814 0%, #173f33 58%, #315d78 100%);
}

.pathway-section .section-title,
.pathway-section h3 {
    color: #fff;
}

.pathway-section p {
    color: rgba(255, 255, 255, 0.78);
}

.care-steps {
    display: grid;
    gap: 18px;
}

.care-step {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.care-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    color: #0a1814;
    background: #f0c36f;
    font-weight: 800;
}

.person-card {
    overflow: hidden;
}

.person-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
}

.person-card img[src$="opaki-jonathan.jpg"] {
    object-position: center 38%;
}

.person-card div {
    padding: 24px;
}

.story-section {
    background: #fff;
}

.story-intro {
    min-height: 100%;
    padding: 36px;
    border-radius: 8px;
    color: #fff;
    background: #10342a;
}

.story-intro h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.story-intro p {
    color: rgba(255, 255, 255, 0.78);
}

.quote-card {
    height: 100%;
    padding: 22px;
}

.quote-card img {
    width: 100%;
    aspect-ratio: 16 / 11;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.quote-card strong,
.quote-card span {
    display: block;
}

.quote-card strong {
    margin-top: 18px;
    color: var(--home-ink);
}

.quote-card span {
    color: var(--home-forest);
    font-size: 0.92rem;
    font-weight: 700;
}

.partners-section {
    background: #f7faf8;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow);
}

.partner-logo img {
    max-width: 100%;
    max-height: 92px;
    object-fit: contain;
}

.cta-section {
    padding-top: 36px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 46px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(rgba(10, 24, 20, 0.82), rgba(10, 24, 20, 0.82)),
        url(../img/Bazil1aa.jpg) center / cover;
}

.cta-panel h2 {
    max-width: 760px;
    margin-bottom: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

.home-upgrade .footer .container {
    border-color: rgba(255, 255, 255, 0.08);
}

.home-upgrade .footer .footer-item a,
.home-upgrade .footer .footer-item p {
    color: rgba(255, 255, 255, 0.78);
}

.home-upgrade .footer .footer-item a:hover {
    color: #f0c36f;
}

.home-upgrade .copyright p,
.home-upgrade .copyright .text-body {
    color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 1199px) {
    .modern-hero {
        min-height: 590px;
        padding-top: 190px;
    }
}

@media (max-width: 991px) {
    .home-upgrade > .container-fluid.position-relative.p-0 {
        top: 14px;
        width: calc(100% - 24px);
    }

    .home-upgrade .navbar-light {
        padding: 10px 14px !important;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 14px 34px rgba(10, 24, 20, 0.12);
        min-height: auto;
        align-items: center;
    }

    .home-upgrade .navbar-light .navbar-brand img {
        max-height: 140px;
        filter:
            drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
            drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
    }

    .home-upgrade .navbar-light .navbar-brand {
        min-width: auto;
        margin-top: 0;
    }

    .home-upgrade .navbar-light .navbar-collapse {
        padding-top: 0;
    }

    .home-upgrade .navbar-light .navbar-collapse {
        margin-top: 10px;
        border-top: 1px solid rgba(10, 24, 20, 0.12);
    }

    .home-upgrade .navbar-light .navbar-nav .nav-link,
    .home-upgrade .navbar-light .navbar-nav .nav-item .nav-link {
        padding: 10px 0;
        margin-right: 0;
        color: var(--home-ink);
        text-shadow: none;
    }

    .home-upgrade .navbar .btn.btn-primary {
        width: 100%;
        margin-top: 10px !important;
        background: var(--home-forest);
        color: #fff;
    }

    .modern-hero {
        width: 100%;
        min-height: 610px;
        margin-top: 0;
        padding: 180px 24px 72px;
    }

    .mission-section,
    .services-section,
    .pathway-section,
    .team-preview,
    .story-section,
    .partners-section,
    .cta-section {
        padding: 72px 0;
    }

    .image-composition {
        min-height: auto;
    }

    .image-primary,
    .image-secondary,
    .care-badge {
        position: static;
        width: 100%;
    }

    .image-primary,
    .image-secondary {
        height: auto;
        max-height: 420px;
        margin-bottom: 18px;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-panel {
        display: block;
    }

    .cta-actions {
        margin-top: 28px;
    }
}

@media (max-width: 575px) {
    .modern-hero {
        min-height: 540px;
        margin-top: 0;
        border-radius: 0 0 22px 22px;
        padding: 118px 20px 56px;
    }

    .home-upgrade > .container-fluid.position-relative.p-0 {
        top: 8px;
        width: calc(100% - 20px);
    }

    .home-upgrade .navbar-light {
        min-height: auto;
        padding: 6px 8px !important;
        border-radius: 0;
        align-items: center;
        background: transparent;
        box-shadow: none;
    }

    .modern-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.8rem);
    }

    .home-upgrade .navbar-light .navbar-brand img {
        max-height: 76px;
    }

    .home-upgrade .navbar.navbar-expand-lg .navbar-toggler {
        width: 66px;
        height: 54px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-width: 2px;
        border-radius: 12px;
        font-size: 1.45rem;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 22px rgba(10, 24, 20, 0.18);
    }

    .hero-brand-name {
        font-size: 1.05rem;
    }

    .hero-lead {
        font-size: 0.95rem;
    }

    .hero-actions,
    .cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mission-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .care-step {
        grid-template-columns: 1fr;
    }

    .mission-section,
    .services-section,
    .pathway-section,
    .team-preview,
    .story-section,
    .partners-section,
    .cta-section {
        padding: 58px 0;
    }

    .mission-grid > div,
    .service-card,
    .story-intro,
    .quote-card,
    .cta-panel {
        padding: 22px;
    }
}

