
/* Scoped styling for main content of individual service pages only */
.service-details h2 {
  font-size: 2rem;
  color: #cc0000;
  font-weight: 700;
  text-align: left;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.service-details p,
.service-details li {
  font-size: 1.125rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
}

.service-details ul {
  padding-left: 1.2rem;
}

.service-details ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.2rem;
}

.service-details ul li::before {
  content: '➤';
  position: absolute;
  left: 0;
  color: #003366;
  font-weight: bold;
}

/* === Product Detail Section Styling === */
.product-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  color: #222;
}

.product-content h2 {
  font-size: 28px;
  color: #0a3d62; /* Navy tone instead of red */
  margin-bottom: 12px;
}

.product-content p,
.product-content li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.product-content ul {
  padding-left: 20px;
}

.product-content-wrapper {
  background-color: #eaf4fc; /* light blue background */
  padding: 40px 0; /* vertical spacing */
}

.products-slider-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85vh;
  overflow: hidden;
  padding: 0 2rem;
  background: url('light-background.jpg') repeat;
  background-size: cover;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  z-index: 2;
}

.hero-headline {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center horizontally inside left block */
  height: 100%;
  text-align: center;  /* Center text */
  padding: 0 2rem;
}

.hero-headline h1 {
  font-size: 3.6rem;
  font-weight: 800;
  color: #b50000;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-headline .subheading {
  font-size: 1.8rem;
  font-weight: 500;
  color: #002244;
  margin-bottom: 0.5rem;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  letter-spacing: 0.4px;
}

.hero-headline .tagline {
  font-size: 1.5rem;
  color: #0072bb;
  font-style: italic;
  font-weight: 500;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  margin-top: 0.3rem;
}

.hero-slider-wrapper {
  flex: 1 1 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  width: calc(100% * 5); /* 5 slides total */
  animation: scrollHeroSlider 25s linear infinite;
}



.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  box-shadow: none;
  position: relative; /* ✅ Add this only */
}


.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  z-index: 2;
}

@keyframes scrollHeroSlider {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }

  25%  { transform: translateX(-100%); }
  45%  { transform: translateX(-100%); }

  50%  { transform: translateX(-200%); }
  70%  { transform: translateX(-200%); }

  75%  { transform: translateX(-300%); }
  95%  { transform: translateX(-300%); }

  100% { transform: translateX(-400%); }
}

@media (max-width: 768px) {
  /* Make hero and product slider section stack vertically */
  .products-slider-section,
  .hero-content,
  .hero-headline,
  .hero-slider-wrapper {
    flex-direction: column;
    flex: 1 1 100%;
    height: auto;
    padding: 1rem;
    text-align: center;
  }

  .hero-headline h1 {
    font-size: 2rem;
  }

  .hero-headline .subheading {
    font-size: 1.2rem;
  }

  .hero-headline .tagline {
    font-size: 1rem;
  }

  .hero-slider-wrapper {
    height: 250px;
    margin-top: 1rem;
  }

  .hero-slide {
    height: 250px;
    background-size: contain;
  }

  .hero-slide-caption {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  .product-content {
    padding: 1rem;
    margin: 30px auto;
  }

  .product-content h2 {
    font-size: 1.6rem;
  }

  .product-content p,
  .product-content li {
    font-size: 1rem;
  }

  .service-details h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .service-details p,
  .service-details li {
    font-size: 1rem;
    text-align: left;
  }

  .service-details ul {
    padding-left: 1rem;
  }
}
