.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 992px) {

    /* HEADER FIXED */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        background: #fff;
        z-index: 10000;
        border-bottom: 1px solid #1c7c3c;
    }

    body {
        padding-top: 80px;
    }

    /* MENU CONTAINER */
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 10px 20px 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

        .nav.active {
            opacity: 1;
            pointer-events: auto;
        }

        

        /* LINKS */
        .nav a {
            width: 100%;
            padding: 14px 40px;
            border-bottom: 1px solid #eee;
            font-size: 16px;
        }

            .nav a:last-child {
                border-bottom: none;
            }

            .nav a.active {
                color: #1c7c3c;
                font-weight: 600;
                border-bottom: none;
            }

    /* CTA INSIDE MENU */
    .nav-cta {
        display: none;
    }

    /* HAMBURGER */
    .menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        margin-right: 10px;
    }
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 40px 0;
    }

    .hero-content {
        width: 100%;
    }

        .hero-content h1 {
            font-size: 36px;
        }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .city-box {
        width: 100%;
    }

    .stats {
        width: 100%;
        justify-content: space-between;
    }

    /* REMOVE ABSOLUTE LAYERS */
    .hero-car {
        position: relative;
        width: 100%;
        margin-top: 30px;
        right: 0;
    }

    .hero-shape {
        display: none;
    }

    .hero::before {
        background: #fff;
    }
}




/* ================= WHY SECTION ================= */
@media (max-width: 992px) {
    .nav {
        display: flex;
        gap: 5px;
        z-index: 10001;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }
    .why-section {
        padding: 20px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 16px;
    }

    .section-header .line {
        width: 40px;
    }



    .nav a {
        position: relative;
        display: inline-block;
        transition: transform 0.2s ease;
    }

        .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0%;
            height: 2px;
            background: #007bff;
            transition: width 0.2s ease;
        }

        .nav a:hover {
            transform: scale(1.08);
        }

            .nav a:hover::after {
                width: 100%;
            }
}



/*OUR COURSES*/
@media (max-width: 768px) {

    .cta-cards {
        flex-direction: column;
        gap: 15px;
    }

    .mini-card {
        width: 100%;
    }

    .main-card {
        width: 100%;
        transform: none;
    }
}
@media (max-width: 768px) {
    .mini-card,
    .main-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
}



/* ================= HOW IT WORKS ================= */
@media (max-width: 992px) {

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .steps-wrapper::before {
        display: none; /* remove connector line */
    }
}
@media (max-width: 576px) {

    .how-section {
        padding: 20px 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .circle {
        width: 80px;
        height: 80px;
    }

        .circle img {
            width: 30px;
        }

    .step-number {
        font-size: 11px;
    }

    .step p {
        font-size: 13px;
    }
}




/* ================= TESTIMONIAL ================= */

/* RESPONSIVE */
@media (max-width: 767px) {

    /* Show only ONE card per slide */
    .carousel-item .col-md-4,
    .carousel-item .col-md-6,
    .carousel-item .col-lg-4 {
        display: none;
    }

        .carousel-item .col-12:first-child,
        .carousel-item .col-md-6:first-child,
        .carousel-item .col-lg-4:first-child {
            display: block;
        }

    .testimonial-section {
        padding: 20px 0 20px;
        background: #fff; /* keep this */
    }
}






/* ================= LOCATION SERVICE AREA ================= */

/* TABLET */
@media (max-width: 991px) {
    .service-area {
        padding: 20px 0;
        background: #fff;
    }
    .service-map iframe {
        height: 300px;
    }
    .service-left h3{
        text-align: center;
    }
        .service-left h3::after {
            text-align: center;
            width: 100%;
        }
    .city {
        margin-left: 10%;
    }
}

/* MOBILE */
@media (max-width: 576px) {

    .service-left {
        text-align: left;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }


    .service-map iframe {
        height: 250px;
        margin-top: 20px;
    }
}






/*Driver Poster*/
@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-text {
        max-width: 100%;
        margin-left: 0%;
    }

    .cta-box::before,
    .cta-box::after {
        width: 100%;
        opacity: 0.2;
    }

    .cta-text h2 {
        font-weight: 700;
        margin-bottom: 5px;
        font-size: 17px;
    }
    .cta-text p {
        font-size: 14px;
    }
}