:root {
  --brand: #2e7d32;
  --sub: #fbc02d;
  --body: #516171;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
}
/* Container overflow to hide edges */
#testimonial {
  overflow-x: hidden;
  position: relative;
}

/* Gradient overlays on left and right */
.testimonial-carousel::before,
.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  height: 100%;
  width: 0;
  z-index: 1;
  pointer-events: none;
}

.testimonial-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffff 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffff 0%, rgba(255, 255, 255, 0) 100%);
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

/* Testimonial items */
.testimonial-carousel .owl-item .testimonial-item {
  background-color: #f7f7f7ff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  border: 1px solid transparent;
  transform: scale(0.85);
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Centered item style */
.testimonial-carousel .owl-item.center .testimonial-item {
  background-color: var(--brand);
  transform: scale(1);
  border-color: var(--brand);
  box-shadow: none;
}

/* Text inside testimonial */
#testimonial .testimonial-item h6 {
  font-size: 18px;
  font-weight: 700;
  color: #224e18;
  margin-top: 15px;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
  transition: 0.5s;
}

#testimonial .testimonial-item small {
  font-size: 14px;
  color: black;
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  transition: 0.5s;
}

#testimonial .testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #5d7e55;
  margin: 10px 0;
  /* font-family: "Lato", sans-serif; */
  transition: 0.5s;
}

/* Quote icon */
#testimonial .testimonial-item i.fa-quote-left {
  font-size: 20px;
  color: var(--brand);
  margin-bottom: 0;
  transition: 0.5s;
}

/* Image */
.testimonial-carousel .owl-item .testimonial-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: white !important;
}

/* Navigation buttons */
.testimonial-carousel .owl-nav {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  width: 300px;
  opacity: 1; /* Always visible */
  transition: 0.5s;
  z-index: 2;
}

/* Remove hover opacity effect */
.testimonial-carousel:hover .owl-nav {
  width: 350px; /* Optional: keep the slight width expansion on hover */
}

/* Navigation buttons style */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 50%;
  font-size: 20px;
  transition: 0.5s;
}

/* Hover effect */
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #fff;
  background: var(--brand);
}
/* ================================================================================  */


/* ================= WHO WE SERVE ================= */

.icb-service-container {
  width: 100%;
  padding: 60px 0;
  font-family: "Poppins", sans-serif;
  background: #0a0a0a;
}

.icb-main-heading {
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Accordion Layout */
.icb-service-accordion {
  display: flex;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

/* Individual Items */
.icb-item {
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

/* Hover Expand */
.icb-item:hover {
  flex: 3;
}

/* Zoom Effect */
.icb-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.icb-item:hover::before {
  transform: scale(1.1);
}

/* Overlay */
.icb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 20%,
    rgba(0, 0, 0, 0.2) 80%
  );
  z-index: 1;
}

/* Hover Overlay Color */
.icb-item:hover .icb-overlay {
  /* background: rgba(230, 57, 26, 0.6); */
  background: none;
}

/* Content */
.icb-content {
  position: relative;
  z-index: 2;
  padding: 25px;
  color: #fff;
}

/* Text Styling */
.icb-number {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  color: white;
}

.icb-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  color: white;
}

.icb-item.active {
    transform: scale(1.02);
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .icb-service-accordion {
    flex-direction: column;
    height: auto;
  }

  .icb-item {
    height: 200px;
    flex: none;
  }

  .icb-item:hover {
    height: 240px;
  }
}


/* Default overlay (for non-active items) */
.icb-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0.3) 80%);
    transition: 0.4s ease;
}

/* 🔥 ACTIVE ITEM → NO OVERLAY */
.icb-item.active .icb-overlay {
    background: none;
}

/* Optional: dim inactive items more */
.icb-item:not(.active) {
    filter: brightness(0.7);
}

.icb-item.active {
    filter: brightness(1);
}