:root {
  --primary-color: #007141;
  --secondary-color: #ae8cdaab;
  --tertiary-color: #ae8cdaab;
  --black-color: #010101;
  --white-color: #ffffff;
}

body {
  font-family: "Quicksand", serif;
  box-sizing: border-box;

  margin: 0;
  padding: 0;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Roboto Slab", serif;

}
a {
  text-decoration: none;
}

.text-primary-color {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 2px solid var(--primary-color);
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
}

.btn-primary:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color:var(--primary-color);
  color: var(--white-color);
  border: 2px solid var(--white-color);
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--black-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

p {
  font-weight: 500;
}

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

.bg-light2 {
  background-color: rgba(248, 249, 250);
}

.text-primary {
  color: #007141 !important;
}

.section-head h3 {
  position: relative;
  padding: 0;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: 0.3px;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  text-transform: none;
  margin-bottom: 30px;
}

.section-head h3:before {
  content: \"\";
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  position: absolute;
  left: 0px;
  bottom: -10px;
  right: 0;
  margin: 0 auto;
}

.section-head p {
  /* color: var(--tertiary-color); */
  font-size: 16px;
  line-height: 28px;
  text-align: center;
}

.item2 {
  background: var(--white-color);
  text-align: start;
  padding: 30px 25px;
  box-shadow: 0 0px 25px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  border: 5px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 30px;
  transition: all 0.5s ease 0s;
}

.item2:hover {
  box-shadow: 0 8px 20px 0px rgba(0, 0, 0, 0.2);
}
.service-block {
  margin-bottom: 2rem;
}
.item2 .icon {
  font-size: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
  width: 90px;
  height: 90px;
  line-height: 96px;
  border-radius: 50%;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color) !important;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: underline;
}

.card-img-top {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.tranformationSectionImg {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#stickyDiv {
  position: sticky;
  top: 0;
  padding: 20px;
  background-color: #fff;
  border-top-right-radius: 10px;
  border-top: 4px solid var(--primary-color);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}


#stickyDiv.hidden {
  display: none;
  /* This hides the sticky div completely */
}

.ctaBg {
  background-color: var(--primary-color);


}

@keyframes slides {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden !important;
  padding: 30px 0px;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  content: \"\";
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  /* background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255)); */
}

.logos:after {
  right: 0;
  /* background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255)); */
}

.logo_items {
  display: inline-block;
  animation: 35s slides infinite linear;
}

/* .logos:hover .logo_items {
    animation-play-state: paused;
  } */

.logo_items img {
  height: 50px;
}

@media screen and (max-device-width: 480px) and (orientation: portrait) {

  .fs-5,
  .fs-4 {
    font-size: 1rem !important;
  }

  .stickyText {
    font-size: 18px;
  }
  .carousel-control-next-icon, 
.carousel-control-prev-icon{
  display: none;
}
}

/* New styles for the redesigned service cards */
.service-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card .card-text {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.service-details {
  transition: all 0.3s ease;
}

.service-toggle {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.object-fit-cover {
  object-fit: cover;
}

@media (max-width: 768px) {
  .service-card .row {
    flex-direction: column;
  }

  .service-card .col-md-5,
  .service-card .col-md-7 {
    width: 100%;
  }

  .service-card img {
    height: 200px;
  }
}
