/*--------------------------------------------------------------
# General Fixes
--------------------------------------------------------------*/

/* Prevents horizontal scrollbar on all devices */
html, body {
  overflow-x: hidden;
}

/* Ensures feature cards are full-width and centered for proper stacking */
.feature-one__single,
.feature-one__single .col,
.feature-one__single .col-xl-4 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
  display: block !important;
}

/* Adjusts card spacing on smaller screens */
@media (max-width: 768px) {
  .feature-one__single {
    margin-bottom: 20px;
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Medium Screen: 992px - 1199px
--------------------------------------------------------------*/
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .feature-one__single { padding: 40px 30px 50px; }
    .welcome-one__left { margin-left: 0; }
    .welcome-one__right { max-width: 600px; margin-top: 50px; margin-left: 0; }
    .counter-one__inner { padding: 57px 30px 57px; }
    .contact-one__left:before { right: -157px; }
    .contact-one__right { margin-right: -556px; }
    .contact-one-shape-4 { display: none; }
    .blog-one__content { padding: 22px 20px 20px; }
    .information__inner { margin-left: 30px; margin-right: 30px; }
    .information__inner:before { left: -30px; right: -30px; }
    .footer-widget__newsletter { margin-left: 0; margin-top: 34px; }
    .footer-widget__articles { margin-right: 0; margin-top: 34px; }
    .feature-two__single { max-width: 370px; margin-left: auto; margin-right: auto; }
    .we-cleaning__left { max-width: 600px; margin: 0 auto; }
    .we-cleaning__right { max-width: 600px; margin: 80px auto 0; }
    .we-cleaning-line { top: -30px; }
    .we-cleaning-line:after { bottom: -37px; }
    .services-two__content { padding: 50px 30px 40px; }
    .project-one__right { margin-left: 0; }
    .process__single { padding: 0 35px 0; }
    .process-line img { width: 75%; }
    .call-one__text { font-size: 30px; }
    .why-choose-one__right { max-width: 600px; }
    .why-choose-one { padding: 0 0 112px; }
    .why-choose-one-bubble-2, .why-choose-one-bubble-3 { display: none; }
    .why-choose-two__left, .why-choose-two__right { max-width: 600px; margin: auto; margin-top: 60px; }
    .project-two__top-right { margin-left: 0; }
    .feature-three__single { padding: 59px 29px 0; }
    .feature-three__points, .feature-three__points-two { float: none; margin-left: 0; margin-top: 9px; }
    .blog-three__content { padding: 35px; }
    .get-to-know__left, .get-to-know__right { max-width: 600px; margin: auto; margin-top: 60px; }
    .get-to-know__img:before { bottom: 28px; right: 29px; }
    .service-details__benefits-right { margin-top: 24px; }
    .team-details__top-left, .team-details__top-right, .team-details__bottom-left, .team-details__bottom-right { margin: 0; }
    .error-page__inner, .error-page__img { margin: 0; }
    .portfolio-details__points-box { margin-top: -9px; margin-left: 0; }
    .blog-details__pagenation li+li { margin-left: 0; margin-top: 30px; }
}

/*--------------------------------------------------------------
# Tablet: 768px - 991px
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .welcome-one__left { margin-left: 0; }
    .welcome-one__right { max-width: 600px; margin-top: 50px; margin-left: 0; }
    .services-one__single { margin: 0 auto; }
    .counter-one__list { justify-content: inherit; flex-wrap: wrap; }
    .counter-one__list li { flex: 0 0 50%; max-width: 50%; display: inherit; align-items: center; justify-content: center; width: 100%; margin-bottom: 33px; }
    .counter-one__inner { padding: 57px 30px 24px; }
    .contact-one-shape-4, .contact-one-shape-1, .contact-one-shape-2, .contact-one-shape-3 { display: none; }
    .contact-one__left { margin-right: 0; }
    .contact-one__left:before { transform: skewX(0deg); }
    .contact-one__right { margin: 0; margin-top: 0; }
    .contact-one__img { clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%); }
    .information__list { justify-content: center; flex-direction: column; }
    .information__list li+li { margin-top: 16px; }
    .information__inner { padding: 96px 0 73px; }
    .footer-widget__newsletter { margin-left: 0; margin-top: 34px; }
    .footer-widget__articles { margin-right: 0; margin-top: 34px; }
    .we-cleaning__left, .we-cleaning__right { max-width: 600px; margin: auto; margin-top: 80px; }
    .we-cleaning-line { top: -30px; }
    .we-cleaning-line:after { bottom: -37px; }
    .project-one__left .section-title, .project-two__top-left .section-title { margin-bottom: 37px; }
    .project-one__right, .project-two__top-right { margin: 0 0 50px; }
    .process-line { display: none; }
    .call-one__inner { justify-content: center; flex-direction: column; text-align: center; }
    .call-one__text-box { margin-bottom: 18px; }
    .why-choose-one, .why-choose-two__left, .why-choose-two__right { padding: 0 0 112px; margin: auto; }
    .why-choose-one-bubble-2, .why-choose-one-bubble-3 { display: none; }
    .counter-two__list li { flex: 0 0 50%; max-width: 50%; width: 100%; justify-content: center; margin-bottom: 34px; }
    .counter-two__inner { padding: 93px 60px 66px; }
    .cta-one__title br { display: none; }
}

/*--------------------------------------------------------------
# Mobile: <= 767px
--------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
    /* Main slider fix to ensure it fills the viewport on mobile */
    #hero-slider, #hero-slider .swiper, #hero-slider .swiper-wrapper, #hero-slider .swiper-slide {
        width: 100%;
        height: 70vh !important;
        min-height: 400px;
        overflow: hidden;
    }

    /* Adjusts font size and line height for main slider title */
    .main-slider__title { font-size: 24px; line-height: 32px; }
    .main-slider__btn { padding: 10px 16px; font-size: 14px; }

    /* Ensures feature cards stack properly on mobile */
    .feature-one .col-xl-4, .feature-one .col-lg-4 { 
        width: 100% !important; 
        max-width: 100% !important; 
        flex: 0 0 100% !important; 
    }

    .feature-one__single { margin-bottom: 20px; padding: 20px; }

    /* Welcome section adjustments for mobile */
    .welcome-one__left { margin-left: 0; min-height: 300px; }
    .welcome-one__bg, .welcome-one__circle-one { display: none; }
    .welcome-one__img-1 { top: 0; right: 0; left: 0; bottom: 0; text-align: center; }
    .welcome-one__img-1>img { width: 100%; }
    .welcome-one__small-img-1 { top: 500px; left: 0; }
    .welcome-one__small-img-2 { top: -162px; right: 0; }
    .welcome-one__right { margin-top: 448px; margin-left: 0; }
    .welcome-one__points, .welcome-one__points-two { float: none; margin-left: 0; margin-top: 9px; }
    .welcome-one__btn-call-box { flex-direction: column; align-items: baseline; }
    .welcome-one__call-box { margin-left: 0; margin-top: 20px; }

    /* Contact adjustments for mobile */
    .contact-one-shape-4, .contact-one-shape-1, .contact-one-shape-2, .contact-one-shape-3 { display: none; }
    .contact-one__left { margin-right: 0; padding-top: 50px; padding-bottom: 50px; }
    .contact-one__left:before { transform: skewX(0deg); }
    .contact-one__right { margin: 0; margin-top: 0; }
    .contact-one__img { clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%); }
    .contact-one__call { display: none; }

    /* Blog and information section adjustments */
    .blog-one__content { padding: 22px 20px 20px; }
    .information__list { justify-content: center; flex-direction: column; }
    .information__list li+li { margin-top: 16px; }
    .information__inner { padding: 96px 0 73px; margin: 0; }
    .information__inner:before { left: 0; right: 0; }
    .information__icon span { font-size: 35px; }
    .information__number { font-size: 20px; }

    /* Footer section adjustments */
    .footer-widget__newsletter, .footer-widget__links { margin-top: 44px; }
    .footer-widget__articles { margin-top: 34px; }

    /* We-cleaning section adjustments */
    .we-cleaning__small-img, .we-cleaning__shape-1, .we-cleaning-line { display: none; }
    .we-cleaning__right { margin: 60px 0 0 0; }
    .we-cleaning__left { margin: 0 auto; }

    /* Feature-three and get-to-know section adjustments */
    .feature-three__single, .feature-three__points, .feature-three__points-two, .get-to-know__points, .get-to-know__points--two { float: none; margin: 0; margin-top: 10px; }
    .get-to-know__left, .get-to-know__right { margin: 0 auto; }
}



/* Mobile: <= 767px */
@media only screen and (max-width: 767px) {
    .main-header__top-details-list {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center;    /* Center them */
        padding: 0;
        margin: 0;
    }

    .main-header__top-details-list li {
        display: flex;
        flex-direction: row;      /* Icon + text side by side */
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;      /* Space between items */
        width: 100%;
        text-align: left;
    }

    .main-header__top-details-list li .icon {
        margin-right: 10px;       /* Space between icon and text */
        font-size: 20px;          /* Icon size */
    }

    .main-header__top-details-list li .text h5 {
        font-size: 14px;          /* Smaller title */
        margin: 0 0 3px 0;
    }

    .main-header__top-details-list li .text p {
        font-size: 13px;          /* Smaller text */
        margin: 0;
    }

    /* Optional: center text under logo */
    .main-header__top-details {
        text-align: center;
    }
}




/* Top header logo */
.top-logo {
    max-height: 80px;
}

/* Contact row */
.contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* space between phone & location */
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-row li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-row li i {
    font-size: 16px;
    margin-right: 5px;
    color: #000;
}

.contact-row li a, .contact-row li span {
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

/* Mobile adjustments: smaller icons and text */
@media (max-width: 767px) {
    .top-logo {
        max-height: 60px;
    }

    .contact-row li i {
        font-size: 14px;
    }

    .contact-row li a, .contact-row li span {
        font-size: 13px;
    }

    .contact-row {
        gap: 10px; /* smaller gap on mobile */
    }
}
