@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Josefin+Sans:wght@100;200;300;400&display=swap');
/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

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

h1{
 font-size: 40px !important;
}

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

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

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


/* ============================================================
   GLOBAL TYPOGRAPHY
   Replaces / overrides the existing h1–h6 and body font rules
   ============================================================ */
body {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

h1, .h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400 !important;
    font-size: 40px !important;
    letter-spacing: 0.06em;
}

h2, .h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400 !important;
    letter-spacing: 0.05em;
}

h3, .h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400 !important;
    letter-spacing: 0.04em;
}

h4, .h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400 !important;
    letter-spacing: 0.03em;
}

h5, .h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h6, .h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Bootstrap fw- utility overrides to match */
.fw-bold   { font-weight: 400 !important; }
.fw-medium { font-weight: 400 !important; }
.fw-semi-bold { font-weight: 300 !important; }

p, li, span, a, .nav-link, .btn, label, input, textarea {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
}


/* ============================================================
   SERVICE PAGE — DETAIL LAYOUT
   ============================================================ */

/* Intro band */
.services-intro {
    background: var(--light);
    padding: 60px 0;
    text-align: center;
}
.services-intro h2 {
    font-size: 3rem;
    color: var(--dark);
}
.services-intro p {
    font-size: 14px;
    color: #666;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
    font-weight: 400;
}

/* Individual service rows */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid #e8f0e9;
}
.service-detail:last-child {
    border-bottom: none;
}

/* Image block */
.service-detail-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.service-detail-img img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-detail-img:hover img {
    transform: scale(1.04);
}
.service-detail-img .service-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--primary);
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 11px;
    padding: 8px 18px;
    border-radius: 2px;
}

/* Text block — normal and reversed rows */
.service-detail-content {
    padding: 20px 0 20px 40px;
}
.service-detail.reverse .service-detail-content {
    padding: 20px 40px 20px 0;
}

/* Small uppercase label above heading */
.service-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

/* Heading inside service detail */
.service-detail h2 {
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Short green rule under heading */
.service-divider {
    width: 48px;
    height: 1px;
    background: var(--primary);
    margin: 20px 0 28px;
}

/* Bold intro line */
.service-detail .lead-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Body paragraph */
.service-detail .body-text {
    font-size: 14px;
    color: #777;
    line-height: 1.9;
    margin-bottom: 28px;
    font-weight: 400;
}

/* What's included checklist */
.service-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.service-includes li {
    font-size: 13px;
    color: #555;
    font-weight: 400;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-includes li i {
    color: var(--primary);
    font-size: 11px;
    flex-shrink: 0;
}

/* Inline text CTA link */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 4px;
    transition: color 0.3s, gap 0.3s;
}
.service-cta:hover {
    color: var(--primary);
    gap: 18px;
}

/* Bottom CTA strip */
.cta-strip {
    background: #072A19;
    padding: 70px 0;
    text-align: center;
}
.cta-strip h2 {
    color: #fff;
    font-size: 2.6rem;
    margin-bottom: 12px;
}
.cta-strip p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.cta-strip .btn-outline-light {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 14px 36px;
    border-radius: 2px;
    border-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}
.cta-strip .btn-outline-light:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 991.98px) {
    .service-detail-content,
    .service-detail.reverse .service-detail-content {
        padding: 30px 0 0;
    }
    .service-detail-img img {
        height: 280px;
    }
    .service-includes {
        grid-template-columns: 1fr;
    }
}


/*** 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;
    font-weight: 500;
}

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

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

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

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

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


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

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

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-size: cover;
}

.ih1 {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/h11.webp) center center no-repeat;
    background-size: cover;
}

.ih2 {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/h2.jpg) center center no-repeat;
    background-size: cover;
}

.ih3 {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/h3.jpg) center center no-repeat;
    background-size: cover;
}

.ih4 {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/h4.jpg) center center no-repeat;
    background-size: cover;
}

.ih5 {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/h5.jpg) center center no-repeat;
    background-size: cover;
}

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

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


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

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

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

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

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


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

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

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