.banner-section {
    background-color: #f8fbfd;
}
/* =========================
   SLIDER BASE
========================= */

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* =========================
   HERO SECTION
========================= */

.doctor-slide {
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    overflow: hidden;
    position: relative;
}

/* =========================
   TEXT CONTENT
========================= */

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.hero-content p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
}

.hero-content p:last-of-type {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

/* =========================
   IMAGE STYLING
========================= */

.doctor-img {
    position: absolute;
    bottom: 0;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.slide.active .doctor-img {
    transform: translateY(-8px);
}

/* LEFT IMAGE */
.doctor-img.left {
    left: 10%;
}

/* RIGHT IMAGE */
.doctor-img.right {
    right: 10%;
}

/* Soft image shadow (professional look) */
.doctor-image-link img {
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.15));
}

/* =========================
   DOTS
========================= */

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #111;
    transform: scale(1.2);
}

/* =========================
   RESPONSIVE
========================= */
/* =====================================
   EXTRA MOBILE OPTIMIZATION
===================================== */
@media (max-width: 768px) {
    .banner-section {
        overflow: hidden;
    }

    #slider {
        min-height: auto !important;
        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;
    }

    /* Image Section */
    .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;
    }

    /* Text Section */
    .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;
    }

    /* Better spacing */
    .doctor-image-link {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
}

/* Small Devices */
@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;
    }
}
