/* Responsive Styles */

/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1366px) {
  .phone-number-text {
    font-size: 24px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 3rem);
  }

  .navbar {
    padding: 28px 30px;
  }

  .drain-stats {
    position: relative;
    z-index: 9;
  }

  .trusted-drainage .trusted-img img {
    max-width: 730px;
  }

  .drain-services-image-main img {
    max-width: 580px;
  }

  .ready-to-speak h2 {
    font-size: clamp(2rem, 2vw + 1rem, 2rem);
  }

  .ready-to-speak li {
    margin-bottom: -2px;
  }

  .ready-to-speak {
    padding-top: 94px;
  }

  .footer-logo {
    margin-bottom: 40px;
  }

  .ready-to-speak ul {
    margin-bottom: 7px;
  }

  .footer-client-img {
    margin-top: -19px;
  }

  .navbar .phone-number-text {
    font-size: 21px;
  }

  .footer-client-img img {
    max-width: 412px;
    width: 100%;
    height: 460px;
  }

  .container.footer-container {
    padding-top: 20px;
  }

  .experience-section .container {
    margin-top: 141px;
  }

  .drain-flowing-img .drain-flowing-person.img-fluid {
    margin-top: -70px;
  }

  .effective-solutions-content h2 {
    font-size: clamp(2rem, 2.5vw + 1rem, 2.2rem);
  }

  .contact-buttons .btn-green {
    padding: 8px 27px 8px 55px;
    gap: 15px;
    font-size: 20px;
    margin-left: 12px;
    height: 60px;
  }

  .contact-buttons .btn-yellow {
    padding: 8px 22px 8px 60px;
    gap: 15px;
    font-size: 20px;
    max-width: fit-content;
    width: auto;
    height: 60px;
    margin-left: 20px;
  }

  .trusted-drainage {
    background-size: 71%;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
  .navbar-toggler-icon {
    background: url(../images/nav-menu-icon.svg) no-repeat center center #1ac1f7;
    background-size: 64%;
    border: 2px solid #1ac1f7;
    border-radius: 8px;
    padding: 10px;
    width: 45px;
    height: 45px;
    opacity: 1;
    z-index: 1;
    position: relative;
  }

  .offcanvas-header {
    border-bottom: 1px solid #ededed;
  }

  .offcanvas-header .btn-close {
    border: 2px solid #ed0000;
    border-radius: 100%;
    padding: 10px;
    width: 35px;
    height: 35px;
    padding: 0;
    margin: 0 0 0;
    margin-left: auto;
    opacity: 1;
    background: url(../images/close-icon.svg) no-repeat center center;
    background-size: 32%;
  }

  .offcanvas-header .btn-close:focus {
    box-shadow: none;
  }

  .navbar-toggler {
    padding: 0;
    border: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .drain-services-grid .service-card img {
    margin-left: 0;
  }

  .hero::before {
    display: none;
  }

  .navbar {
    padding: 15px 0;
  }

  .container-fluid,
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 200px;
    background-size: cover !important;
    min-height: 700px;
    background-position: center;
    padding-bottom: 0;
    background: url(../images/mobile-banner.jpg) no-repeat center center / cover !important;
  }

  .hero .hero-content {
    padding: 0 !important;
  }

  .hero-img img {
    margin-bottom: -63px;
    width: 120%;
    margin-left: -20px;
  }

  .hide-on-mobile {
    display: none;
  }

  .show-on-mobile {
    display: flex;
  }

  .hero-img.show-on-mobile {
    margin-top: 0;
  }

  .why-choose .row {
    margin-top: 0 !important;
  }

  .why-choose .phone-pill {
    margin-left: 0;
  }

  .drain-services-image-main img {
    max-width: 100%;
  }

  .drain-services.local-experts .col-lg-7 {
    order: 1;
  }

  .drain-services.local-experts {
    padding: 70px 0 0;
  }

  .drain-services.local-experts .col-lg-5 {
    order: 2;
    margin-top: 40px;
    margin-bottom: 0 !important;
  }

  .drain-services.local-experts {
    background-size: 100%;
    background-position: 0 660px;
  }

  .trusted-drainage .trusted-img img {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: -57px;
  }

  .drain-process .process-step:before {
    top: 413px;
    right: 0;
    transform: rotate(90deg);
    background-size: 100%;
    left: 0;
    margin: auto;
    background-size: 100%;
    width: 80px;
  }

  .drain-process .process-step {
    margin-bottom: 90px;
    padding: 0;
  }

  .drain-process .col-md-4:last-child .process-step {
    margin-bottom: 0;
  }

  .ready-to-speak {
    background: url(../images/ready-to-speak-mobile-bg.png) no-repeat center center / cover;
    padding-left: 20px;
    padding-right: 20px;
    background-position: 0 0;
    padding-top: 60px;
    margin-top: -200px;
    border-radius: 0 0 20px 20px;
  }

  .footer-client-img {
    margin-top: 30px;
    text-align: center;
  }

  .footer-client-img img {
    max-width: 252px;
    width: 100%;
    margin: auto;
  }

  .ready-to-speak h2 {
    font-size: clamp(1.6rem, 2vw + 1rem, 2rem);
  }

  .container.footer-container:before {
    top: -220px;
    height: 360px;
    background-size: 100%;
  }

  .footer-logo {
    margin-bottom: 29px;
  }

  .footer-logo img {
    max-width: 154px;
  }

  .rating-wrapper .avatar-group .avatar {
    width: 30px;
    height: 30px;
  }

  .rating-wrapper .avatar-group {
    margin-right: 0 !important;
  }

  .rating-wrapper .rating-text strong {
    font-size: 15px;
  }

  .rating-text.rating-text-white div {
    margin-bottom: 0 !important;
  }

  .container.footer-container {
    padding-top: 20px;
    margin-top: 30px;
  }

  .faq-accordion .accordion-button {
    padding: 20px 18px 20px 24px;
    font-size: 16px;
    gap: 10px;
  }

  .faq-accordion .accordion-body {
    padding: 0 71px 24px 24px;
    font-size: 16px;
  }

  .faq h2 {
    margin-bottom: 20px;
  }

  h2 br {
    display: none;
  }

  .drain-process h2 {
    font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  }

  .faq-accordion h2 {
    margin-bottom: 0;
  }

  .local-experts li img {
    min-width: 28px;
    width: 28px;
    height: 28px;
    min-height: 18px;
  }

  .trusted-drainage {
    background-size: 110%;
    background-position: 50px 450px;
    padding-top: clamp(4rem, 6vw + 1rem, 6rem);
  }

  .why-drain4sure {
    padding: 70px 0 0;
  }

  .trusted-drainage .rating-wrapper {
    margin-bottom: 20px;
  }

  .why-item p {
    margin-bottom: 0;
  }

  .why-drain4sure .col-lg-4.col-md-6.col-6 {
    margin-top: 30px;
    padding: 0 8px;
  }

  .why-item h5 {
    font-size: 18px;
    margin-bottom: 13px;
  }

  .drain-services-grid .service-card {
    padding: 19px;
    display: flex;
    flex-direction: column;
  }

  .drain-services-grid .col-lg-4.col-md-6.col-6 {
    padding: 0 8px;
    margin-top: 15px;
  }

  .drain-services-grid .row {
    margin: 0 -8px;
  }

  .drain-services-grid .service-card p {
    flex: 1;
  }

  .drain-services .col-lg-6:first-child {
    order: 2;
    margin-top: 50px;
    margin-bottom: 0 !important;
  }

  .drain-flowing {
    padding: 40px 25px 0;
    border-radius: 25px;
    max-height: initial;
    height: 100%;
    text-align: center;
  }

  .drain-flowing .col-lg-3 {
    order: 3;
  }

  .drain-flowing .col-lg-5 {
    order: 2;
  }

  .drain-flowing-img {
    text-align: center;
  }

  .drain-flowing-img .drain-flowing-person.img-fluid {
    margin-top: 30px;
    max-height: none;
  }

  .container.drain-flowing-container .drain-flowing-content {
    margin-top: 0;
  }

  .container.drain-flowing-container {
    background-position: 0 650px;
    background-size: 100%;
    padding-bottom: 80px;
    margin-top: -170px;
  }

  .why-choose .row.justify-content-center.mt-5 {
    margin-top: 2.5rem !important;
  }

  .why-choose .rating-wrapper {
    margin-top: 2rem !important;
  }

  .why-drain4sure .row {
    margin: 0 -8px;
  }

  .drain-stats {
    padding: 50px 20px 26px;
  }

  .testimonials .testimonial-card p {
    font-size: 14px;
  }

  .site-header .nav-pill .nav-link {
    padding: 16px 18px;
  }

  .nav-pill .nav-item {
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-pill .nav-item:last-child {
    border-bottom: none;
    margin-top: auto;
  }

  .nav-pill {
    padding: 20px 20px !important;
    border-radius: 0;
    box-shadow: none;
    align-items: flex-start !important;
    flex: 1;
    width: 100%;
  }

  .site-header .nav-pill .nav-link .phone-pill {
    margin-left: 0;
  }

  .hero .hero-content .btn {
    padding: 22px 64px;
  }

  .marquee-track {
    gap: 15px;
  }

  .marquee-right {
    margin-bottom: 15px;
  }

  .page-footer .rating-wrapper .rating-text strong {
    font-size: 14px;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .blog-hero-img img {
    height: 440px;
  }

  .blog-hero .container {
    top: 65%;
  }

  .sidebar-wrapper {
    margin-bottom: 20px;
  }

  .blog-page {
    margin-bottom: 130px;
  }

  .blog-page .custom-blog-card .card-body {
    padding: 1.5rem 1rem;
  }

  .blog-page .custom-blog-card h5 {
    font-size: 17px;
    font-weight: 700;
  }

  .blog-page .custom-blog-card p {
    font-size: 15px;
    margin-bottom: 9px;
  }

  .blog-page .card-img-bottom {
    height: 224px;
    object-fit: cover;
  }

  .blog-page .col-6 {
    padding: 0 8px;
    margin-top: 16px;
  }

  .blog-page .row {
    margin: 0 -10px;
  }

  .blog-page .col-lg-4 {
    order: 1;
  }

  .blog-page .col-lg-8 {
    order: 2;
  }

  .services-listing .service-card-content {
    padding: 15px 10px;
  }

  .services-listing .service-card img {
    height: 240px;
  }

  .services-listing .service-card h4 {
    font-size: 18px;
  }

  .services-listing .service-card p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .services-listing .col-lg-4 {
    order: 1;
  }

  .services-listing .col-lg-8 {
    order: 2;
  }

  .services-listing {
    margin-bottom: 130px;
  }

  .services-listing .col-6 {
    padding: 0 8px;
    margin-top: 16px;
  }

  .services-listing .row {
    margin: 0 -10px;
  }

  .blog-hero.blog-detail-hero h1 {
    line-height: 39px;
  }

  .blog-hero.blog-detail-hero h6 {
    margin-bottom: 15px;
  }

  .blog-detail-img {
    margin-top: -220px;
    margin-bottom: 64px;
  }

  .blog-detail-img img {
    height: 300px;
    object-fit: cover;
  }

  .blog-detail-content p {
    font-size: 16px;
  }

  .blog-detail-content ul li {
    font-size: 16px;
  }

  .blog-detail-content h3 {
    font-size: clamp(1.7rem, 2vw + 1rem, 2rem);
  }

  .blog-detail-content {
    margin-top: 20px;
  }

  .contact-us {
    padding: 60px 0;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
  }

  .contact-right-panel {
    padding-left: 0;
    margin-top: 0;
  }

  .contact-alert-box {
    padding: 30px 25px;
  }

  .contact-buttons {
    justify-content: flex-start;
  }

  .btn-yellow,
  .btn-green {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-us h2 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
    margin-bottom: 25px;
  }

  .emergency-support {
    padding: 0;
  }

  .emergency-support h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.2rem);
    margin-bottom: 20px;
  }

  .btn-yellow-large {
    margin-top: 20px;
  }

  .emergency-img-wrapper {
    margin-bottom: 0;
    margin-top: 30px;
  }

  .emergency-support .row {
    flex-direction: column-reverse;
  }

  .contact-info-item {
    gap: 15px;
  }

  .contact-us .btn-yellow,
  .contact-us .btn-green {
    margin-bottom: 17px;
  }

  .contact-page {
    margin-bottom: 100px;
  }

  .btn-large-text .main {
    font-size: 24px;
  }

  .btn-large-text .sub {
    font-size: 14px;
  }

  .btn-large-icon img {
    width: 66px;
    height: 66px;
  }

  /* New Service Detail Sections Responsive */
  .emergency-img-wrapper {
    margin-bottom: 30px;
  }

  /* Blocked Drain Intro */
  .blocked-drain-intro {
    padding: 40px 0 20px;
  }

  .blocked-drain-intro h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2rem);
  }

  /* Emergency CTA Banner */
  .emergency-cta-banner {
    margin-bottom: 50px;
  }

  .emergency-cta-content {
    padding: 40px 25px;
    text-align: center;
  }

  .emergency-cta-content h2 {
    font-size: clamp(1.7rem, 2.5vw + 1rem, 2.2rem);
  }

  .emergency-cta-content h3 {
    font-size: 24px;
  }

  .emergency-cta-img {
    justify-content: center;
    max-height: 300px;
  }

  /* Drain Problems Section */
  .drain-problems {
    padding: 70px 0;
  }

  .drain-problems .section-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.2rem);
    margin-bottom: 30px;
  }

  .drain-problem-card {
    padding: 30px 20px;
  }

  /* Effective Solutions Section */
  .effective-solutions {
    padding: 0 0 50px 0;
  }

  .effective-solutions-content {
    padding-left: 0;
    margin-top: 30px;
  }

  .effective-solutions-content h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.2rem);
    margin-bottom: 20px;
  }

  .btn.btn-primary {
    padding: 18px 24px;
  }

  .drain-problems .btn.btn-primary {
    padding: 18px 24px;
  }

  .testimonials.services-detail-testimonials {
    padding-bottom: 0rem;
  }

  .drain-problem-card h4 {
    font-size: 18px;
  }

  .drain-problem-card {
    padding: 25px 15px;
    text-align: center;
  }

  .drain-problems .col-lg-4.col-md-6.col-6 {
    padding: 0 7px;
  }

  .drain-problems .row {
    margin: 0 -8px;
  }

  .drain-problem-icon {
    margin-bottom: 25px;
    margin: 0 auto 16px;
  }

  .drain-problem-card p {
    font-size: 14px;
  }

  .why-drain4sure .text-center.mb-5 {
    margin-bottom: 0 !important;
  }

  .why-drain4sure h2 {
    margin-bottom: 0;
  }

  h2 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.5rem);
  }

  .emergency-cta-wrapper {
    max-height: initial;
  }

  .emergency-cta-img img {
    width: 100%;
    margin-top: 0;
  }

  .emergency-cta-content p br {
    display: none;
  }

  .blog-hero.services-detail-hero .blog-hero-img img {
    height: 550px;
  }

  .drain-problems .text-center.mb-5 {
    margin-bottom: 10px !important;
  }

  .drain-problems .section-title {
    margin-bottom: 0;
  }

  .drain-stats .stat-number {
    font-size: 75px;
  }

  .experience-section .main-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  }

  .experience-section .description {
    font-size: 16px;
    margin-bottom: 2rem;
    line-height: 1.5;
  }

  .experience-section .btn.btn-primary {
    padding: 18px 19px;
    font-size: 15px;
  }

  .experience-section {
    background: url(../images/experience-mobile-banner.png) no-repeat center center;
    height: auto;
    background-size: contain;
    background-position: top;
    padding-bottom: 98px;
  }

  .experience-section .experience-badge img {
    width: 171px;
  }

  .experience-section .experience-badge {
    top: -95px;
    width: 171px;
  }

  .experience-section .container {
    margin-top: 40px;
  }

  .emergency-support.who-we-are-sec {
    padding: 60px 0 0;
    border-radius: 40px 40px 0 0;
  }

  .emergency-support.who-we-are-sec .col-lg-6.mb-5.mb-lg-0 {
    margin-bottom: 0 !important;
  }

  .why-drain4sure.business-trust {
    padding: 70px 0;
  }

  .why-drain4sure.business-trust .btn.btn-primary {
    padding: 18px 20px;
    font-size: 15px;
  }

  .effective-solutions.effective-solutions-mission {
    padding: 70px 0 30px;
  }

  .effective-solutions.effective-solutions-mission .effective-solutions-content {
    margin-top: 0;
  }

  .row.mt-solutions {
    margin-top: 30px;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .drain-services.local-experts .col-lg-5 {
    margin-left: -20px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 5vw + 1rem, 3rem);
    margin-bottom: 26px;
  }

  .hero h6 {
    margin-bottom: 14px;
  }

  .page-template-about-us-page-template .ready-to-speak .btn.btn-primary,
  .page-template-services-page-template .ready-to-speak .btn.btn-primary,
  .service-template-default .ready-to-speak .btn.btn-primary,
  .page-template-blog-page-template .ready-to-speak .btn.btn-primary,
  .page-template-contact-us-page-template .ready-to-speak .btn.btn-primary,
  .single .ready-to-speak .btn.btn-primary {
    padding: 18px 19px;
    font-size: 13px;
  }

  .services-listing .service-card a:first-child {
    height: 240px;
  }

  .faq-accordion .accordion-item {
    margin-bottom: 11px;
  }

  .contact-us .btn-yellow,
  .contact-us .btn-green {
    margin-bottom: 17px;
    max-width: 280px;
    width: 100%;
    margin: auto;
    gap: 10px;
  }

  .contact-buttons .btn-yellow {
    margin-bottom: 13px !important;
  }


}

@media (max-width:480px) {

  .btn-yellow,
  .btn-green {
    width: 100%;
    justify-content: flex-start;
    max-width: 100%;
  }
}