/* Responsive CSS for Maid Service */

/* Laptop (1440px) */
@media (max-width: 1440px) {
  .hero-section {
    padding: 100px 0 60px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}

/* Tablet (991px and below) */
@media (max-width: 991px) {
  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .about-image {
    margin-bottom: 40px;
    height: 400px;
  }
  .cta-section-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .cta-image {
    margin-bottom: 30px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .work-step {
    margin-bottom: 40px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .footer {
    text-align: center;
  }
  .footer-contact li {
    justify-content: center;
  }
  .social-icons {
    margin-bottom: 30px;
  }
  .footer-links li {
    margin-bottom: 10px;
  }
  .hero-image {
    height: 350px;
  }
  .about-image {
    height: 300px;
  }
}

/* Hide Banner Carousel Arrows on Mobile */
@media (max-width: 768px) {
  #galleryBanner .carousel-control-prev,
  #galleryBanner .carousel-control-next {
    display: none !important;
  }
}

/* Services Grid Cards (services.php) Mobile Responsive */
@media (max-width: 768px) {
  .services-section .service-card-custom {
    margin-bottom: 20px;
  }
  .services-section .service-card-img {
    height: 180px !important;
  }
  .services-section .service-card-img img {
    height: 100% !important;
  }
  .services-section .service-card-body {
    padding: 18px !important;
  }
  .services-section .service-card-body h4 {
    font-size: 1.05rem !important;
  }
  .services-section .service-card-body p {
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .services-section .service-card-badge {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
    top: 10px !important;
    left: 10px !important;
  }
  .services-section .btn-custom {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .services-section .service-card-img {
    height: 160px !important;
  }
  .services-section .service-card-body {
    padding: 15px !important;
  }
  .services-section .service-card-body h4 {
    font-size: 0.98rem !important;
  }
  .services-section .service-card-body p {
    font-size: 0.8rem !important;
    -webkit-line-clamp: 2 !important;
  }
  .services-section .service-card-badge {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
  }
  .services-section .btn-custom {
    padding: 7px 15px !important;
    font-size: 0.78rem !important;
  }
}

/* Services Cards Mobile Responsive */
@media (max-width: 768px) {
  .services-slider-wrapper {
    padding: 0 45px !important;
    overflow: hidden !important;
  }
  .services-slider {
    gap: 24px !important;
  }
  .services-slider .service-card {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
  }
  .services-slider .service-img-wrapper img {
    height: 180px !important;
  }
  .services-slider .service-card .p-4 {
    padding: 15px !important;
    height: auto !important;
    min-height: 170px !important;
  }
  .services-slider .service-card h4 {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .services-slider .service-card p {
    font-size: 0.82rem !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .services-slider .service-card .btn {
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }
  .slider-btn {
    display: none !important;
  }
  .slider-dots {
    margin-top: 15px !important;
  }
  .slider-dot {
    width: 9px !important;
    height: 9px !important;
  }
}

@media (max-width: 480px) {
  .services-slider-wrapper {
    padding: 0 40px !important;
  }
  .services-slider .service-card {
    margin: 0 !important;
  }
  .services-slider .service-img-wrapper img {
    height: 160px !important;
  }
  .services-slider .service-card .service-img-wrapper > div {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    top: 10px !important;
    left: 10px !important;
  }
  .services-slider .service-card .p-4 {
    padding: 12px !important;
    min-height: 160px !important;
  }
  .services-slider .service-card h4 {
    font-size: 0.98rem !important;
    margin-bottom: 5px !important;
  }
  .services-slider .service-card p {
    font-size: 0.78rem !important;
    margin-bottom: 10px !important;
    -webkit-line-clamp: 2 !important;
  }
  .services-slider .service-card .btn {
    padding: 7px 15px !important;
    font-size: 0.78rem !important;
  }
  .slider-btn {
    display: none !important;
  }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 10px;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .services-slider-wrapper {
    padding: 0 35px !important;
  }
  .services-slider .service-card .service-img-wrapper img {
    height: 130px !important;
  }
  .services-slider .service-card .p-4 {
    padding: 10px !important;
  }
  .services-slider .service-card h4 {
    font-size: 0.9rem !important;
  }
  .services-slider .service-card p {
    font-size: 0.7rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .services-slider .service-card .btn {
    padding: 5px 12px !important;
    font-size: 0.7rem !important;
  }
  .slider-btn {
    display: none !important;
  }
}
