/* 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:ANd9GcRtdNeet9izpNmOFFKXk1ocb-j4zu7BpereIQ&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: #0a2740;          /* 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;
}
/* Base Styles (Default for large screens) */
/* Your existing styles remain here */

/* Media Queries */

/* Mobile Devices (Portrait) - Up to 575px */
@media (max-width: 575.98px) {
  .hero-banner {
    height: 300px;
  }

  .hero-text {
    top: 60px;
    left: 20px;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-description {
    font-size: 14px;
  }

  .hero-text .btn {
    font-size: 14px;
    padding: 8px 18px;
  }

  .service-box img {
    height: 140px;
  }

  .service-box .label {
    font-size: 14px;
    padding: 6px;
  }
}

/* Tablets - 576px to 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-banner {
    height: 350px;
  }

  .hero-text {
    top: 80px;
    left: 30px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 16px;
  }

  .hero-text .btn {
    font-size: 16px;
    padding: 9px 20px;
  }

  .service-box img {
    height: 160px;
  }

  .service-box .label {
    font-size: 15px;
  }
}

/* Small Laptops - 768px to 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-banner {
    height: 400px;
  }

  .hero-text {
    top: 90px;
    left: 40px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-description {
    font-size: 17px;
  }

  .hero-text .btn {
    font-size: 17px;
    padding: 10px 22px;
  }

  .service-box img {
    height: 170px;
  }
}

/* Large Screens / Desktops - 992px and up */
@media (min-width: 992px) {
  .hero-banner {
    height: 500px;
  }

  .hero-text {
    top: 120px;
    left: 60px;
  }

  .hero-text h1 {
    font-size: 52px;
  }

  .section-title {
    font-size: 40px;
  }

  .section-description {
    font-size: 18px;
  }

  .hero-text .btn {
    font-size: 18px;
  }

  .service-box img {
    height: 180px;
  }
}

