/* ==========================================================
   DYNAMIC BACKGROUND
   ========================================================== */
#dynamic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* sits behind everything */
  background: linear-gradient(180deg, #0b0c10, #111827);
  transition: background 1s ease;
}

.highlight {
  animation: glowHighlight 1.5s ease-in-out;
}

@keyframes glowHighlight {
  0% { box-shadow: 0 0 0px rgba(255, 165, 0, 0); }
  50% { box-shadow: 0 0 20px rgba(255, 165, 0, 0.8); }
  100% { box-shadow: 0 0 0px rgba(255, 165, 0, 0); }
}


html {
  scroll-behavior: smooth;
}


/* ==========================================================
   BASE BODY STYLES
   ========================================================== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: transparent; /* lets #dynamic-bg show through */
  color: #fff;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* ==========================================================
   HERO TOP SECTION
   ========================================================== */
.service-top-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding: 0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 6s ease;
}
.service-top-banner:hover .banner-img {
  transform: scale(1.05);
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}
.banner-text {
  position: absolute;
  color: #fff;
  text-align: left;
  left: 10%;
  z-index: 2;
}
.banner-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.banner-text p {
  color: #ffeebc;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}
.btn-enquire {
  display: inline-block;
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  color: #111;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
  transition: 0.3s;
}
.btn-enquire:hover {
  background: #ffaa33;
  transform: translateY(-2px);
}

/* ==========================================================
   CONTENT SECTIONS (Shared Styles)
   ========================================================== */
[class^="content-section"] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 40px;
  background: rgba(255, 255, 255, 0.08); /* transparent glass */
  backdrop-filter: blur(8px);             /* frosted effect */
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 1200px;
  margin: 50px auto;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
[class^="content-section"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   TEXT BOXES
   ========================================================== */
[class^="text-box"] {
  flex: 1;
}
[class^="text-box"] h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 15px;
}
[class^="text-box"] p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
}
[class^="text-box"] .btn {
  text-decoration: none;
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  color: #111;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}
[class^="text-box"] .btn:hover {
  background: linear-gradient(135deg, #ff5500, #ffbb00);
  transform: translateY(-2px);
}

/* ==========================================================
   IMAGE BOXES
   ========================================================== */
[class^="image-box"] {
  flex: 1;
  display: flex;
  justify-content: center;
}
[class^="image-box"] img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
[class^="image-box"] img:hover {
  transform: scale(1.05);
}

/* ==========================================================
   RESPONSIVE (Mobile)
   ========================================================== */
@media (max-width: 768px) {
  [class^="content-section"] {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  [class^="image-box"] img {
    max-width: 100%;
  }
}




/* ✅ Hidden initially */
.content-section1, .content-section2, .content-section3, .content-section4 {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

/* ✅ When visible */
.section-visible {
  opacity: 1;
  transform: translateY(0);
}



.image-box1 img, .image-box2 img, .image-box3 img, .image-box4 img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border-radius: 10px;
}

.image-box1 img:hover,
.image-box2 img:hover,
.image-box3 img:hover,
.image-box4 img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 110, 0, 0.5);
}

