@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.4;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* 2. Main content should expand if needed */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  margin-top: 30px;
}

/* Carousel Section */
.carousel-section {
  max-width: 100%;
  margin: 60px auto;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 20px 60px rgba(26, 188, 156, 0.25);
}

.carousel-section:hover {
  scale: 1.03;
}
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
}
.carousel-inner {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.carousel-item {
  min-width: 100%;
  position: relative;
}
.carousel-item img {
  width: 100%;
  height: 52%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}
.carousel-caption {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 24px 24px;
}
.caption-content h3 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  color: #ffffff !important;
  letter-spacing: 1px;
  line-height: 1.1;
}
.caption-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f0f0f0;
}
.carousel-control {
  position: absolute;
  top: 39%;
  transform: translateY(0%);
  font-size: 3.4rem;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
  width: 60px;
  height: 60px;
}
.carousel-control:hover {
  transform: scale(1.1);
}
.carousel-control.prev { left: 0px; }
.carousel-control.next { right: 0px; }
.carousel-control i {
  font-size: 36px;
  vertical-align: middle;
  margin-bottom: 10px;
}
.carousel-dots {
  position: absolute;
  bottom: 18px;
  width: 100%;
  text-align: center;
}
.carousel-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 6px;
  border: 2px solid #1abc9c;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dots .dot.active {
  background: #1abc9c;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(26, 188, 156, 0.4);
}

.carousel-item video {
  width: 100%;
  height: 65%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  filter: brightness(0.6);
}

@media (max-width: 920px) {
  .carousel { height: 100%; }
  .carousel-caption {
    padding: 16px 20px;
    width: 100%;
    top: 50%;
  }
  .carousel-control i {
    margin-bottom: 5px;
  }
  .caption-content h3 { font-size: 1.6rem; }
  .caption-content p { font-size: 1rem; }
  .carousel-control { font-size: 1.8rem; padding: 0.5rem; }
  .carousel-item img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .carousel-item video {
    height: 100%;
  }
}

@media (max-width: 480px) {
  .carousel { height: 100%; }
  .caption-content h3 { font-size: 1.2rem; }
  .caption-content p { font-size: 0.95rem; }
  .carousel-control { font-size: 1.5rem; width: 38px; height: 38px; }
  .carousel-control i { font-size: 28px; margin-bottom: 11px;}
  .carousel-dots {
    bottom: 5px;
  }
}

/* Landing Hero */

.landing-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: linear-gradient(102deg, #e9f5ec 0%, #d4f1f4 100%);
  padding: 40px 5% 50px 5%;
  border-radius: 18px;
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.35);
}

.landing-hero:hover {
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.65);
  scale: 1.03;
}

.hero-content {
  flex: 1 1 425px;
  min-width: 360px;
  padding-right: 3%;
}

.hero-content h1 {
  font-size: 1.9rem;
  color: #204450;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
}
.tagline {
  font-size: 1.2rem;
  margin-bottom: 22px;
  color: #304b5a;
}
.highlight {
  color: #1bb394;
  font-weight: 600;
}
.service-list {
  padding: 0;
  margin: 0 0 22px 0;
  list-style: none;
}
.service-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #244053;
  margin: 10px 0;
  line-height: 1.4;
  gap: 10px;
  text-align: left;
}

.service-list .icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #1bb394;
  display: inline-block;
  width: 24px;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #1bb394 70%, #38b6ff 100%);
  color: white !important;
  padding: 14px 38px;
  font-size: 1.18rem;
  font-weight: 600;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 4px 24px #1bb39418;
  transition: background 0.18s, transform 0.13s;
  margin-top: 10px;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #38b6ff 70%, #1bb394 100%);
  transform: translateY(-2px) scale(1.03);
}

.hero-image {
  flex: 1 1 370px;
  min-width: 260px;
  display: flex;
  justify-content: flex-end;;
}
.hero-image img {
  max-width: 400px;
  width: 80%;
  border-radius: 22px;
}

.trusted-companies {
  text-align: center;
  margin: 20px 0 24px 0;
}
.trusted-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #083b2d !important;
}

.companies-logos img {
  margin: 0px;;
  opacity: 1;
  width: 189px;
  height: 55px;
  object-fit: contain;
  vertical-align: middle;
}



@media (max-width: 990px) {
  .landing-hero, .about-content {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .hero-content, .hero-image, .about-text, .about-image {
    padding: 0;
    justify-content: center;
  }
  .hero-image img, .about-image img {
    display: none;
  }
  .hero-image {
    flex: 0;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    padding: 20px 0;
  }
}

@media (max-width: 600px) {
  .landing-hero {
    padding: 20px 3.5% 30px 3.5%;
  }
}

@media (max-width: 600px) {
  .service-list {
    margin-top: 30px;
  }
}

/* About EHS section */
.about-ehs-modern {
  padding: 40px 0px;
  background: transparent;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 20px;
}

.about-ehs-heading-wrapper h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}

.about-ehs-heading-wrapper h2 span {
  color: #0059ff;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cards-wrapper {
    display: flex;
    flex-direction: column;
  }

  .about-ehs-heading-wrapper h2 {
    font-size: 2.3rem;
    line-height: 1.2;
  }
}
.ehs-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 25px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.35);
  border: 1px solid #e0e0e0;
}

.ehs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.65);
}

.card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: #0059ff10;
  color: #0059ff;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.card-icon img {
  width: 70%;
}

.ehs-card:hover .card-icon {
  background: #0059ff22;
}

.ehs-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.ehs-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.2;
}


/* Service Section */
.content-section {
  padding: 20px 20px;
  background: transparent;
  margin-top: 30px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #083b2d;
}

.services-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 20px 20px;
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.35);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.65);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 5px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #053e2a;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 5px;
  min-height: 50px;
}

.more-btn {
  text-decoration: none;
  color: #007b5f;
  font-weight: bold;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.more-btn:hover {
  color: #004b3f;
}

/* ✅ Responsive Styling */
@media (max-width: 769px) {
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
  }

  .service-card {
    padding: 25px 16px;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .service-card p {
    font-size: 0.9rem;
    min-height: auto;
  }
  
}

@media (max-width: 480px) {
  .content-section {
    padding: 40px 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }

  .service-card {
    padding: 20px 14px;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .service-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 16px;
  }

  .service-card p {
    font-size: 0.88rem;
  }
  .more-btn {
    font-size: 1.2rem;
  }
}

/* Client Name Carousel */

.carouselbody4 {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
}

.carousel-container4 {
  width: 100%;
  margin: 0px auto;
  overflow: hidden;
  position: relative;
}

.carousel-button4.prev {
  left: 0px; /* Adjusted for better visibility */
  font-size: 30px;
}

.carousel-button4.next {
  right: 0px; /* Adjusted for better visibility */
  font-size: 30px;
}

.carousel-track4 {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item4 {
  min-width: 20%;
  flex-shrink: 0;
  text-align: center;
}

.carousel-item4 img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.carousel-button4 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 768px) {
  .carousel-item4 {
    min-width: 100%; /* Show one item at a time on mobile */
  }
}

/* Testimonials */

.testimonials-home {
  padding: 40px 0px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #083b2d;
  margin-bottom: 25px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.35);
  transition: all 0.3s ease;
  height: 370px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px 0 rgba(26, 188, 156, 0.65);
}

.client-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 15px;
  object-fit: contain;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 20px;
  position: relative;
}

.client-info h4 {
  font-size: 1.1rem;
  color: #083b2d;
  margin: 0;
}

.client-info span {
  position: absolute;
  bottom: 20px;     /* fixed 20px above bottom */
  left: 0;          /* align left (adjust as needed) */
  width: 100%;      /* optional if you want it full width */
  font-size: 1rem;
  color: #666;
  font-weight: bolder;
}

.see-all-container {
  text-align: center;
  margin-top: 40px;
}

.see-all-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  color: white !important;
  background: #0a4a38;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.see-all-btn:hover {
  background: #097a5f;
  transform: translateY(-2px);
}

@media (max-width: 769px) {
  .testimonials-home {
    padding: 40px 15px;
  }
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  .testimonial-card {
    padding: 20px 15px;
    height: 340px;
  }
  .client-logo {
    width: 70px;
    height: 70px;
  }
  .testimonial-text {
    font-size: 0.95rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}