:root {
    --first-color: #144220;
    --second-color: #f5f6fa;
    --third-color: #E1ECE3;
    --text-color: #333;
    --green-color: #718b73;
    --logo-first-color: #1E492B;
    --logo-second-color: #498115;
    --logo-third-color: #93BB20;
}

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('woff2');
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PlusJakartaSans', Arial, Helvetica, sans-serif;
    background: var(--second-color);
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-first {
    background: var(--first-color);
}

.bg-second {
    background: var(--second-color);
}

.bg-third {
    background: var(--third-color);
}

.bg-logo-first {
    background: var(--logo-first-color);
}

.bg-logo-second {
    background: var(--logo-second-color);
}

.bg-logo--third {
    background: var(--logo--third-color);
}

.btn-first {
    background: var(--first-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
}

.btn-first:hover {
    background: #718b73;
    color: var(--first-color);
}

.btn-second {
    background: var(--second-color);
    color: var(--first-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
}

.btn-second:hover {
    background: #e1ece3;
    color: var(--first-color);
}

.btn-third {
    background: var(--third-color);
    color: var(--first-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
}

.btn-third:hover {
    background: #d0e2d6;
    color: var(--first-color);
}

.text-first {
    color: var(--first-color);
}

.text-green {
    color: var(--green-color);
}

.navbar {
    z-index: 1000;
    background: transparent;
}

.navbar .nav-link {
    color: #fff;
    padding: 10px 20px !important;
    background: transparent;
    border-radius: 10px;
    margin: 0 5px;
    font-size: 14px;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: #fff;
    background: var(--green-color);
}

.bg-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.jpg') no-repeat center center/cover;
    min-height: 680px;
    height: 110vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -120px;
    padding-top: 60px;
}

.thf-1 {
    font-size: 4rem;
    /* font-weight: 700; */
    z-index: 1;
    color: #fff;
}

/* .bg-banner .thf-1 {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
} */

.bg-banner .content {
    position: absolute;
    top: 50%;
    left: 112px;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 3;
    max-width: 640px;
}

.bg-banner .content h3 {
    font-size: 4rem;
    font-weight: 600;
    margin-top: 60px;
}

.banner-bg-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: 2;
}

.card1 {
    position: absolute;
    bottom: 100px;
    right: 112px;
    width: 360px;
    background: linear-gradient(37deg, #ffffff1a, #ffffff80);
    border: 1px solid #ccc;
    border-radius: 20px;
    z-index: 4;
    padding: 16px;
    color: #fff;
}

/* .icon1 {
    font-size: 2rem;
    color: #fff;
} */

.icon2 {
    background: var(--first-color);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /*font-size: 1.5rem;*/
    color: #fff;
}

.icon2 i {
    transform: rotate(-45deg);
}

.card2 {
    position: absolute;
    top: 120px;
    right: 112px;
    width: 150px;
    background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .5));
    border: 1px solid #ccc;
    border-radius: 20px;
    z-index: 5;
    padding: 20px 16px;
    color: #fff;
}

.card2 p {
    font-size: 18px;
}

.heading {
    max-width: 600px;
    margin-top: 50px;
}

.title {
    font-size: 60px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.subtitle::before {
    content: '[';
    width: 20px;
    display: inline-block;
}

.subtitle::after {
    content: ']';
    width: 20px;
    margin-left: 15px;
    display: inline-block;
}

p {
    font-size: 14px;
}

.hover-text-first, .hover-text-second, .hover-text-third, .hover-text-green {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.hover-text-first:hover {
    color: var(--first-color);
}

.hover-text-second:hover {
    color: var(--second-color);
}

.hover-text-third:hover {
    color: var(--third-color);
}

.hover-text-green:hover {
    color: var(--green-color);
}

.desc {
    width: 200px;
    margin-top: 50px;
}

.div-divider {
    width: 50px;
    height: 4px;
    background: var(--first-color);
    margin: 20px 0;
    position: relative;
}

.div-divider::before {
    content: '';
    position: absolute;
    top: 0px;
    right: 0;
    width: 20px;
    height: 4px;
    background: var(--bs-warning);
}

.products {
    position: relative;
    padding-bottom: 100px;
    border-radius: 20px;
    overflow: hidden;
}

.products_bg_img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}

.products .card, .products .row {
    z-index: 1;
}

.service1, .service2, .service3 {
    background: linear-gradient(rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.75)), url('../images/services/1.jpg') no-repeat center center/cover;
    color: #fff;
    height: 540px;
    transition: all 0.3s ease-in-out;
}

.service2 {
    background: linear-gradient(rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.75)), url('../images/services/2.jpg') no-repeat center center/cover;
}

.service3 {
    background: linear-gradient(rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.75)), url('../images/services/3.jpg') no-repeat center center/cover;
}

.service1:hover, .service2:hover, .service3:hover {
    transform: translateY(-25px);
}

.service1 .icon2, .service2 .icon2, .service3 .icon2 {
    background: #fff;
    color: var(--first-color);
}

.categories {
    max-width: 200px;
    display: flex;
    overflow: hidden;
    align-items: center;
    flex-wrap: wrap;
}

.categories h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 2px;
    margin-bottom: 0;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 50px;
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
    backdrop-filter: blur(20px);
}

.testimonial-item {
    padding: 30px;
    text-align: center;
}
.testimonial-text {
    font-size: 24px;
    margin-bottom: 20px;
}
.testimonial-name {
    font-weight: bold;
    margin-bottom: 5px;
}
.testimonial-role {
    color: #777;
}

.testimonial-carousel {
    position: relative;
    text-align: center;
}

.owl-nav span {
    background: var(--first-color);
    color: #fff;
    /* margin: 0 10px; */
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 40%;
    transform: translateY(-90%);
    width: 50px;
    height: 50px;
    display: flex
;
    justify-content: center;
    align-items: center;
}

.owl-nav .prev {
    left: -50px;
}

.owl-nav .next {
    right: -50px;
}

.form-control::placeholder { font-size: 14px; }

.blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
}

.other-blog-img {
    height: 100px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-img:hover img {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

.category {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: rgba(0, 0, 0, 1);
    color: #fff;
    font-size: .8rem;
    font-weight: normal;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 10px;
}

.gallery {
    overflow: hidden;
    height: 600px;
    border-radius: 20px;
}

.gallery-25 {
    height: 180px;
}

.gallery-25 img {
    width: 100%;
}

.gallery-75 {
    height: 400px;
}

.gallery img {
    height: 100%;
    object-fit: cover;
    transition: all ease 3s;
}

.gallery:hover img {
    transform: scale(1.1);
}

.cta-section {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.jpg');
    background-repeat: repeat, no-repeat;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;
}

footer {
    background-image: linear-gradient(rgba(225, 236, 227,1) 30%, rgba(225, 236, 227,0.1)), url('../images/galleries/1.jpg');
    background-position: 0 0, 0 30%;
    background-repeat: no-repeat;
    background-size: cover;
}

footer p {
    font-weight: 600;
}

.contact-icon {
    width: 50px;
    height: 50px; /* Equal to width */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Makes it circular */
    background: var(--logo-first-color); /* Use your desired variable or fallback color */
    color: #fff;
    font-size: 18px; /* Adjust for better sizing */
    margin-right: 15px;
    flex-shrink: 0; /* Prevent squishing if parent is flex */
}

.contact-icon2 {
    background: var(--logo-second-color);
}

.contact-icon3 {
    background: var(--logo-third-color);
}

.accordion-item {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--first-color) !important;
    border-radius: 0px !important;
}

.accordion-item, .accordion-item .accordion-button {
    background-color: var(--third-color);
    border: none;
}

.accordion-item .accordion-button {
    color: var(--first-color);
    font-size: 20px;
    box-shadow: none;
}

.accordion-button, .accordion-body {
    padding-left: 0px;
    padding-right: 0px;
}

.object-fit {
    object-fit: cover;
    height: 100%;
}

.display-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-popup {
    background: #fff;
    padding: 24px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.custom-popup h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #222;
}

.custom-popup p {
    font-size: 16px;
    color: #555;
}

.video-container {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    max-width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    display: block;
    width: 200px;
    height: auto;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.video-container:hover .video-thumbnail {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.play-button:hover {
    background-color: #ffcc00; /* Optional: Add your brand color */
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    width: 32px;
    height: 32px;
    stroke: #000;
    stroke-width: 2;
}

.play-button i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 48px;
    /*font-size: 24px;*/
    z-index: 1000;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#backToTop:hover {
    background-color: #222;
    transform: translateY(-4px);
}


.mb-10 {
    margin-bottom: 10rem;
}

.mb-20 {
    margin-bottom: 20rem;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-50 {
    margin-top: 50px;
}

.p-30 {
    padding: 30px;
}

.p-50 {
    padding: 50px;
}

.p-100 {
    padding: 100px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-50 {
    padding-bottom: 50px;
}

.pb-100 {
    padding-bottom: 100px;
}

.px-100 {
    padding-left: 100px;
    padding-right: 100px;
}

.ps-100 {
    padding-left: 100px;
}

.py-150 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.mw-640 {
    max-width: 640px;
}

.mw-720 {
    max-width: 720px;
}

.mx-w-100 {
    max-width: 100px;
}

.mx-w-200 {
    max-width: 200px;
}

.min_full_screen {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

/* responsive media query */
@media (max-width: 767px) {
    .ps-sm-0 {
        padding-left: 0px !important;
    }

    .p-sm-30 {
        padding: 30px !important;
    }

    footer {
        background: rgba(225, 236, 227,1);
    }

    .text-sm-dark {
        color: var(--bs-dark) !important;
    }

    .products_bg_img {
        max-width: 50%;
    }
}

@media (min-width: 576px) {
  .container {
    max-width: 95%;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 90%;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
    .container {
        max-width: calc(100vw - 200px);
        margin-left: auto;
        margin-right: auto;
    }
}

/*@media (min-width: 1920px) {
  .container {
    max-width: 1720px;
  }
}*/

@media (max-width: 1236px) and (min-width: 1025px) {
  .card1, .card2 {
    right: 62px;
  }
}

@media (max-width: 1400px) and (min-width: 1237px) {
  .card1, .card2 {
    right: 132px;
  }
}

@media (max-width: 1536px) and (min-width: 1401px) {
  .card1, .card2 {
    right: 112px;
  }
}

@media (max-width: 1680px) and (min-width: 1537px) {
  .card1, .card2 {
    right: 192px;
  }
}


/* Max-width media queries — target smaller viewports with overrides */

/* Tablets and below (max-width: 1024px) */
@media (max-width: 1024px) {
  .navbar {
    background: var(--first-color);
  }

  .navbar .nav-link {
    color: #fff;
    padding: 10px 15px !important;
  }

  .bg-banner .content {
    max-width: 480px;
  }

  .card1,
  .card2 {
    display: none;
  } 
}

@media (max-width: 768px) {
    .bg-banner {
        height: 100vh;
        margin-top: -72px;
    }

  .display-flex {
    flex-flow: column;
  }

  .service1 .display-flex, .service2 .display-flex, .service3 .display-flex {
    flex-flow: row;
  }

  .gallery {
    max-height: 200px !important;
    margin-bottom: 20px;
  }

  .gallery img {
    width: 100%;
  }
}

/* Small tablets and large phones (max-width: 667px) */
@media (max-width: 667px) {
    .bg-banner .content {
        left: 20px;
        max-width: 100%;
    }

  .thf-1 {
    font-size: 6rem;
    /* top: 20% !important; */
  }

  /* .heading {
    max-width: 320px;
  } */

  .heading {
    max-width: 480px;
  }

  .owl-nav .prev {
    left: -20px;
  }

  .owl-nav .next {
    right: -20px;
  }
}

/* Small phones (max-width: 425px) */
@media (max-width: 425px) {

  .desc {
    display: none;
  }

  .display-flex {
    flex-direction: column;
    align-items: center;
  }

  .owl-nav .prev {
    left: -10px;
  }

  .owl-nav .next {
    right: -10px;
  }
}

