.hero {
  background: url('assets/images/top-view-eco-cleaning-product-with-brushes.jpg') no-repeat center center/cover;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  color: #13272B;
  transition: background-image 1s ease-in-out;
}

.hero-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  max-width: fit-content;
  margin: 0 auto;
  border: none;
  border-radius: 1rem;
}

.hero-box h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #13272B;
}

.hero-box p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #13272B;
}

.hero-box .primary-btn {
  margin-bottom: 1rem;
}


.services {
  padding: 50px 60px 20px;

}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h1 {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 30px;
  text-align: center;
  color: #13272B;
  font-weight: bold;
}
.service-box {
  display: flex;
  align-items: center;
  background: #f8f4f0; /* light background */
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background 0.3s, box-shadow 0.3s;
}

.service-box:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.service-icon img {
  width: 32px;  
  height: 32px;
}

.service-text {
  flex: 1;
}

.service-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #13272B;
}

.service-text p {
  margin: 0;
  font-size: 1rem;
  color: #13272B;
  line-height: 1.5;
}

.service-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}

.service-arrow img {
  width: 20px;
  height: 20px;
  transform: rotate(-30deg);
  filter: invert(38%) sepia(35%) saturate(400%) hue-rotate(125deg) brightness(90%);
  transition: transform 0.3s ease;
}

.service-box:hover .service-arrow img {
  transform: rotate(0deg);
}

@media (max-width: 768px) {
  .services{
    padding: 0;
  }
  .service-box {
    flex-direction: row; /* KEEP horizontal layout */
    align-items: center;
  }

  .service-icon {
    margin-bottom: 0;
    margin-right: 20px;
  }

  .service-text {
    text-align: left;
    width: 100%;
  }

  .service-arrow {
    margin-top: 0;
    margin-left: auto;
    align-self: center;
  }
}




.testimonials {
  padding: 30px 20px;
  background-color: #fff;
  overflow: hidden;
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #13272B;
  font-weight: bold;
}

.carousel-wrapper {
  position: relative;
}

.carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.testimonial-box {
  flex: 0 0 300px;
  background-color: #F8F4F0;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: #13272B;
}

.testimonial-box p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.testimonial-box h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #13272B;
}

.testimonial-box .location {
  font-size: 0.9rem;
  color: #5B9F99;
  margin-top: 10px; /* spacing above mobile arrows */
}

.stars {
  font-size: 1.2rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Arrow Button Styles */
.carousel-btn {
  background: #5B9F99;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.carousel-btn:hover{
  background: #4f8883;
}

.carousel-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.carousel-btn.prev img {
  transform: rotate(180deg);
}

/* Desktop positioning - arrows outside container */
@media (min-width: 769px) {
  .carousel-arrows {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    justify-content: space-between;
  }
}

/* Mobile positioning - arrows inside container at bottom center */
@media (max-width: 768px) {
  .carousel-arrows {
    margin-top: 10px;
    justify-content: center;
    gap: 10px;
  }

  .carousel-btn {
    position: relative;
  }
  .testimonials .container{
    width: 100%;
  }
}






  