/* ─────────────────────────────────────────────────────────────────────────────
   1. GLOBAL RESET
──────────────────────────────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom right, #cceeff, #ccffcc);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. HEADER (STICKY)
──────────────────────────────────────────────────────────────────────────── */

.cleaning-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  padding: 10px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  z-index: 1000;

  display: flex;
  align-items: center;
  position: relative; /* allows absolute nav positioning */
}

.cleaning-header .logo img {
  height: 45px;
  width: auto;
}

/* 🔥 Fix the nav to be centered absolutely */
.cleaning-header nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Menu styling */
.cleaning-header nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 5px 30px;
}

.cleaning-header nav ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.cleaning-header nav ul li a:hover {
  color: #1dbf73;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.6);
}

/* Mobile nav fallback */
@media (max-width: 768px) {
  .cleaning-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cleaning-header nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. HERO SECTION
──────────────────────────────────────────────────────────────────────────── */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #d4fc79, #96e6a1);
  padding: 60px 30px;
}

.hero-left {
  flex: 1 1 300px;
  max-width: 600px;
  padding: 20px;
  color: #00303f;
}

.hero-left h2 {
  font-size: 1.2rem;
  color: #007a78;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-left h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(0,198,255,0.6);
}

.hero-right {
  flex: 1 1 300px;
  max-width: 600px;
  padding: 20px;
}

.hero-right img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. SERVICES
──────────────────────────────────────────────────────────────────────────── */
.services-section {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.services-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.service-card img {
  width: 60px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. WHY CHOOSE US
──────────────────────────────────────────────────────────────────────────── */
.why-choose-us {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 32px;
  color: #004e6d;
  margin-bottom: 10px;
}

.why-choose-us h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
}

.why-choose-us .subtitle {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.choose-box {
  padding: 20px;
  text-align: center;
}

.choose-box img {
  width: 50px;
  margin-bottom: 20px;
}

.choose-box h4 {
  font-size: 18px;
  color: #003344;
  margin-bottom: 10px;
}

.choose-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. TESTIMONIALS (CSS‑ONLY FALLBACK)
──────────────────────────────────────────────────────────────────────────── */
.carousel img {
  width: 70px;
  max-height: 70px;
  border-radius: 50%;
  margin-right: 1rem;
  overflow: hidden;
}
.carousel-inner {
  padding: 1em;
}

@media screen and (min-width: 576px) {
  .carousel-inner {
    display: flex;
    width: 90%;
    margin-inline: auto;
    padding: 1em 0;
    overflow: hidden;
  }
  .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 calc(100% / 2);
  }
}
@media screen and (min-width: 768px) {
  .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 calc(100% / 3);
  }
}
.carousel .card {
  margin: 0 0.5em;
  border: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  background-color: grey;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
