@media (max-width:1300px) {
nav .navbar-collapse {
    gap: 0px;
}
}


@media (max-width:1300px) {
    .hero-section {
    min-height: calc(75vh - 111px);
    margin-top: 100px;
}

.nav-link {
    font-size: 15px;
}
}






@media (max-width:1024px) {
    .hero-section {
           min-height: calc(57vh - 111px);
}



}

@media (max-width:991px) {
.nav-item {
    padding: 10px 0;
    padding-right: 10px;
}

.nav-link {
    font-size: 17px;
}


}











@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
    .stat-number { font-size: 2.8rem; }
    .facility-icon { font-size: 2.8rem; }
    .navbar-brand { font-size: 1.3rem; }
    /* .hero-section { padding: 100px 0 60px; } */
    .btn-custom, .btn-outline-custom { 
        width: 100%; 
        margin-right: 0; 
        margin-bottom: 1rem; 
    }

    .hero-section {
        min-height: auto;
    }


    .facilities-section {
        padding: 40px 0;
        background: white;
    }

    .insurance-logo {
        padding: 1rem 1rem;
    }


    .insurance-logos {
        grid-template-columns: repeat(2, 1fr);
    }


    .doctors-section {
        padding: 40px 0;
    }


    .section-subtitle{
        margin-bottom: 1rem;
    }

    .stats-section {
        padding: 16px 0;
    }

    /* .hero-section {
        padding: 100px 0 0px;
    } */

    section.about {
        padding: 60px 0;
    }

    .nav-item {
        padding: 5px 0;
        padding-right: 20px;
    }

    .section-title {
        font-size: 1.8rem !important;
        text-align: start;
    }

    .section-subtitle {
        margin-bottom: 0;
        text-align: start;
    }


    .contact-section {
        padding: 40px 0;
    }

    .founder-card {
    padding: 1rem 0;

}


    html,body{
        overflow-x: hidden !important;
    }

    section.bg-last{
        background-attachment: unset;
    }

}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .facility-card, .doctor-card, .about-content, .contact-card { 
        padding: 1.5rem; 
    }



    .card-img-overlay {
        position: absolute;
        top: -360px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: var(--bs-card-img-overlay-padding);
        border-radius: var(--bs-card-inner-border-radius);
    }

    


    .carousel-control-next {
        width: 67px;
    }
    .carousel-control-prev {
        width: 67px;
    }


}

@media (max-width: 476px) {
    .hero-title { font-size: 1.1rem; }
    .section-title { font-size: 1.3rem; }
    .facility-card, .doctor-card, .about-content, .contact-card { 
        padding: 1.5rem; 
    }



}


