/* Tablet */

@media (max-width: 768px) {
    .banner-section {
        overflow: hidden;
    }

    #slider {
        height: auto !important;
        min-height: auto !important;
        padding: 30px 0;
    }

    .slide {
        position: relative !important;
        opacity: 1 !important;
        display: none;
    }

    .slide.active {
        display: block;
    }

    .doctor-slide {
        padding: 15px 0;
    }

    .doctor-slide .row {
        flex-direction: column;
        text-align: center;
    }

    .doctor-img {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        width: 85%;
        max-width: 280px;
        max-height: 320px;

        margin: 0 auto 20px;
        display: block;
    }

    .hero-content {
        order: 2;
        padding: 0 15px;
        text-align: center;
        align-items: center;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero-content p:first-of-type {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .hero-content p:last-of-type {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .doctor-image-link {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
}

/* Mobile */

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content p:first-of-type {
        font-size: 0.85rem;
    }

    .hero-content p:last-of-type {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .doctor-img {
        width: 90%;
        max-width: 240px;
        max-height: 280px;
    }
}
