/* Responsive */
@media (max-width: 768px) {
    .container {
        display: none;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #156759;
        width: 200px;
        height: auto;
        display: none;
        flex-direction: column;
        padding: 15px;
        border-radius: 8px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }

    nav.active {
        display: flex;
    }

    .banner {
        height: 60vh;
    }

    .caption {
        padding: 20px;
    }

    .caption-details {
        top: 45%;
        left: 5%;
    }

    .caption-details h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .caption-details p {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .explore-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .arrow {
        height: 40px;
        width: 40px;
        font-size: 20px;
    }

    .dots {
        bottom: 15px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }



    /* tourist place */
    .places {
        padding: 30px 15px;
    }

    .places button {
        width: 55% !important;
    }

    .places h1 {
        font-size: 26px;
        border-bottom: 3px solid #156759;
    }

    .places .place-gallery {
        flex-direction: column;
        align-items: center;
    }

    .place-card {
        width: 90%;
    }

    .place-card img {
        height: 200px;
    }

    .card-content h3 {
        font-size: 17px;
    }

    .card-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .card-buttons button {
        width: 100%;
        font-size: 13px;
    }

    /* veichles */
    .cars {
        padding: 40px 15px;
    }

    .car-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cars h2 {
        font-size: 1.6rem;
    }

    .cars button {
        width: 60% !important;
    }

    .car-container {
        flex-direction: column;
        align-items: center;
    }

    .car-card {
        width: 90%;
    }

    .car-card img {
        height: auto;
    }

    .car-card h3 {
        font-size: 1.1rem;
    }

    .car-card p {
        font-size: 0.9rem;
    }

    .car-card button,
    .car-card .More_details {
        width: 100%;
        font-size: 0.8rem;
        text-align: center;
    }


    /* rent a driver */
    .driver h2 {
        font-size: 1.8rem;
    }

    .driver-container {
        gap: 20px;
    }

    .driver-card {
        width: 90%;
        /* full width on small screens */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .driver-card button {
        width: 55% !important;
    }

    .driver-card h3 {
        font-size: 1.2rem;
    }

    .driver-card .details-btn,
    .driver-card .hire {
        width: 100%;
        margin: 5px 0;
    }

    /* hotel */
    .hotel-card {
        max-width: 90%;
    }

    .hotel-section .section-title {
        font-size: 1.6em;
        margin-bottom: 40px;
    }

    .hotel-card img {
        height: 180px;
    }

    /* testimonials */
    .testimonials h2 {
        font-size: 1.8rem !important;
    }

    .testimonial-card {
        flex: 0 0 85%;
        /* big readable card */
        margin: 0 auto;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-track {
        animation-duration: 35s;
        /* even slower */
    }

    /* footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        max-width: 350px;
    }

    .banner-section {
        height: 30vh;
    }

    .banner-caption {
        padding: 10px 20px;
        top: 80%;
    }

    .banner-caption h1 {
        font-size: 22px;
    }

    .banner-caption p {
        font-size: 14px;
    }

    .about-section {
        padding: 40px 15px;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .about-image img {
        max-width: 100%;
    }

    .maint-cnt {
        background-color: #156759;
        color: white;
        border-radius: 15px;
        padding: 3rem;
        margin: 25px;
        /* text-align: center; */
    }

    .packages {
        padding: 2rem;
    }

    .packages h1 {
        font-size: 1.8rem;
    }

    .package-card img {
        height: 180px;
    }
}

/* Hamburger toggle animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}