/********** Template CSS **********/
:root {
  --primary: #2caa79; /* Deep green from the leaf */
  --secondary: #63c29b; /* Mint green from background */
  --accent: #1d6d50; /* Richer green for highlights or hover effects */
  --light: #f4fbf8; /* Very light greenish-white for backgrounds */
  --dark: #1d2a4d; /* For strong contrast like headings */
  --white: #ffffff; /* Clean backgrounds or contrast text */
  --text: #1c2e2b; /* For general readable text, dark green/gray */

  --bs-primary: var(--primary);
  --bs-secondary: var(--secondary);
  --bs-light: var(--light);
  --bs-dark: var(--dark);
}

.btn {
  font-weight: 700;
  transition: 0.5s;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  position: relative;
  margin-left: 30px;
  padding: 30px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

.hero-header {
  background: url(../img/hero-bg.jpg) top right no-repeat;
  background-size: cover;
}

.service-item {
  position: relative;
  height: 350px;
  padding: 0 30px;
  transition: 0.5s;
}

.service-item .service-icon {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.service-item .service-icon i {
  transform: rotate(15deg);
}

.service-item a.btn {
  position: absolute;
  width: 60px;
  bottom: -48px;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
}

.service-item:hover a.btn {
  bottom: -24px;
  opacity: 1;
}

.price-carousel::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: var(--primary);
  border-radius: 8px 8px 50% 50%;
  z-index: -1;
}

.price-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

@media (min-width: 576px) {
  .team-item .row {
    height: 350px;
  }
}

.team-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}

@media (max-width: 468px) {
  .map {
    width: 300px;
  }
}

/* Overlay only for mobile screens */
@media (max-width: 767px) {
  .mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 91%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    z-index: 1;
  }

  .hero-header .container {
    position: relative;
    z-index: 2;
  }
}

/* Section subtitle with a border and spacing */
.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #007bff;
  display: inline-block;
  border-bottom: 3px solid #007bff;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* Ensure image fills and crops properly */
.object-fit-cover {
  object-fit: cover;
  height: 100%;
  border-radius: 0;
}

/* Card styling */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  background: #fff;
  border-radius: 16px;
}

.team-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Social icon hover effects */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #148b44;
  color: #fff;
  border-color: #007bff;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #007bff;
  display: inline-block;
  border-bottom: 3px solid #007bff;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #007bff;
  background: #fff;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-card i {
  color: #007bff;
}

.contact-info i {
  width: 32px;
  text-align: center;
  color: #fff;
}

.contact-info h6 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-info p {
  margin-bottom: 0;
  color: #f8f9fa;
  font-size: 0.95rem;
}

.about-description p {
  font-size: 1rem;
  color: #343a40;
  line-height: 1.6;
}
.about-description i {
  min-width: 24px;
}

ul > li {
  padding: 10px 0px;
}

body {
  color: var(--text);
  background-color: var(--light);
  /* font-family: 'Roboto', sans-serif; */
}

.bg-primary {
  background-color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent);
  border-color: var(--accent);
}

.text-primary {
  color: var(--primary) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.section-subtitle {
  color: var(--secondary);

  border-bottom: 3px solid var(--secondary);
}
