/* Smooth dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  transition: all 0.3s ease-in-out;
}

footer .social-icons a {
  transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
  color: #0d6efd;
  transform: scale(1.2);
}


.hero-banner {
  position: relative;
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTvfu5NwlDPBD6iD_PIhQdXAaEvky3RLukVNQ&s'); /* Replace with your actual image */
  background-size: cover;
  background-position: center;
  height: 500px;
}

.hero-text {
  position: absolute;
  top: 120px;              /* push text down */
  left: 60px;              /* align slightly right from edge */
  color: white;          /* dark professional navy blue */
  text-align: left;
  max-width: 700px;        /* control text width */
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}


/* Service Cards Overlay */
/* Service card styles */
.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.service-box .label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: 600;
}

.service-box:hover {
  transform: scale(1.05);
}


/* .cleaning-section { */
  /* background-color: #f9f9fc;  */
  /* color: #212529; */
/* } */

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: black
}

.section-description {
  max-width: 800px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.hero-text .btn {
  padding: 10px 25px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
}

/* ===== Default styles apply to Desktop ===== */

/* ===== Tablet (768px and below) ===== */
@media (max-width: 768px) {
  .hero-text {
    top: 80px;
    left: 30px;
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text .btn {
    padding: 8px 20px;
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-description {
    font-size: 16px;
    max-width: 100%;
    padding: 0 15px;
  }

  .about-img {
    width: 100%;
    height: auto;
  }

  .service-box img {
    height: 150px;
  }
}

/* ===== Mobile (480px and below) ===== */
@media (max-width: 480px) {
  .hero-banner {
    height: 350px;
  }

  .hero-text {
    top: 50px;
    left: 20px;
    max-width: 95%;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text .btn {
    padding: 6px 16px;
    font-size: 14px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-description {
    font-size: 15px;
    padding: 0 10px;
  }

  .about-img {
    width: 100%;
    height: auto;
  }

  .service-box img {
    height: 120px;
  }

  footer .social-icons a {
    font-size: 18px;
  }
}
