/* ==========================================================================
   AAA Towing - Responsive Stylesheet
   ==========================================================================
   Section-specific responsive rules go here, scoped under each section's
   unique parent class. Bootstrap's responsive utilities should be used
   in the HTML first; only add rules here when Bootstrap can't express it.
   ========================================================================== */

/* -------------------- Extra large devices (≥1400px) -------------------- */
@media (max-width: 1400px) {
    /* xxl */
    .header-logo {
        max-width: 200px;
    }
}

/* -------------------- Large devices (≤1399px) -------------------- */
@media (max-width: 1399.98px) {
    /* xl and below */
    

}

/* -------------------- Desktop (≤1199px) -------------------- */
@media (max-width: 1199.98px) {
    /* lg and below */
    .site-header .nav-link {
        color: var(--color-text);
        font-size: 14px;
    }
    .py-8{
        padding: 50px 0;
    }

}

/* -------------------- Tablet (≤991px) -------------------- */
@media (max-width: 991.98px) {
    body, .service-areas-section .area-tag{
        font-size:16px;
    }
    /* md and below */

    section{
        text-align: center;
    }
    section ul li{
        text-align: left;
    }

    .site-header .navbar-collapse {
        padding: 1rem 0;
    }
    .site-header .navbar-nav{
        gap:0px;
    }

    /* Mega menu: collapse to stacked list on mobile */
    .site-header .mega-menu-parent {
        position: relative;
    }
    .site-header .mega-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        border-top: 1px solid #f0f0f0;
        width: auto;
        min-width: unset;
        margin-top: 0;
        max-height: 300px;
        overflow-y: auto;
    }
    .mega-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .mega-col {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 4px;
    }
    .mega-cta-col {
        display: none;
    }

    .hero-section { min-height: auto; }
    .hero-section .banner-content{
        padding: 50px 0;
    }

   
    .hero-section .hero-title { font-size: 1.9rem; }
    .services-section .service-card{
        border: 1px solid var(--color-primary);
    }
    .services-section .service-card h3 {
        font-size: 16px;
    }
    .service-card-body .service-desc{
        display: none;
    }
    .service-areas-section{
        padding: 50px 0;
    }

    .faq-section .faq-accordion .accordion-button{
        font-size: 16px;
    }

    .step-item{
        border: 1px solid var(--color-primary);
        border-radius: 20px;
        margin-bottom: 20px;
        padding: 10px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }
    .eyebrow-icon{
        margin: 0 auto;
    }
    .our-partners {
        background: #0e0e0e;
        padding: 40px 0px;
    }
     /* CTA section: stack cards, remove overlap */
    .cta-section .contact-form-card {
        margin: -10px 10px 10px 10px;
    }
    .cta-section .cta-card{
        background-color: unset !important;
        padding: 15px !important;
    }
    .cta-section .cta-row{
        border-radius: 10px;
        background: linear-gradient(to bottom, var(--color-primary) 60%, #fff 60%);
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
}
}

/* -------------------- Mobile landscape (≤767px) -------------------- */
@media (max-width: 767.98px) {
    /* sm and below */
    .announcement-bar p { font-size: 12px; }
    .hero-section { padding: 2rem 0; }

    /* Page Title Banner */

    .page-title-banner .banner-title { font-size: 32px; }
    .page-title-banner .banner-right {
        -webkit-clip-path: none;
        clip-path: none;
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-title-banner .banner-right h2 { font-size: 22px; }
    .page-title-banner .banner-right p { font-size: 14px; }

    /* About Content */
    .about-content-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    h2 { font-size: 26px; }
    .hero-section{
        background: url('../images/mobile-bg.webp') no-repeat center center;
        background-size: cover;
    }
    .hero-section .banner-content{
        padding: 20px 0;
    }
    .services-section .services-tabs .nav-link { padding: 6px 16px; font-size: 13px; }
    .why-choose-section .stat-number { font-size: 28px; }
}

/* -------------------- Mobile portrait (≤575px) -------------------- */
@media (max-width: 575.98px) {
    /* xs */
   
}
