/* =========================
   SLIDER WIDTH BOOST (15%)
========================= */

/* =========================
   SLIDER BASE
========================= */

/* Each slide */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* =========================
   DOCTOR SLIDE
========================= */
.doctor-slide {
    position: relative;
    height: 100%;
    background: linear-gradient(
        135deg,
        #fff1f1,
        /* very light red */ #ffe4e6,
        /* blush */ #fffafa /* airy white */
    );
    color: #2b2b2b;
    overflow: hidden;
}

/* Content always above image */
.doctor-slide .container,
.doctor-slide .row,
.doctor-slide .col-md-6 {
    position: relative;
    z-index: 3;
}

/* =========================
   TEXT CONTENT
========================= */
.doctor-slide h2 {
    letter-spacing: 0.3px;
    color: #8b0000; /* deep medical red */
}

.doctor-slide p {
    font-size: 1.05rem;
    color: #333;
}
/* EXTRA FIX FOR AKM (RIGHT IMAGE SLIDE) */
.slide:first-child .col-md-6.text-white {
    padding-right: 3rem;
    padding-left: 1.5rem;
}

.doctor-image-link img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.doctor-image-link img:hover {
    transform: scale(1.03);
}


/* =========================
   DOCTOR IMAGE
========================= */
.doctor-img {
    position: absolute;
    bottom: 0;
    max-height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
    transition: transform 0.6s ease;
    z-index: 1;
}

.slide.active .doctor-img {
    transform: translateY(-6px);
}

/* LEFT IMAGE (ASIF – DO NOT TOUCH MUCH) */
.doctor-img.left {
    left: 6%;
}

/* RIGHT IMAGE (AKM – PUSH OUT SLIGHTLY) */
.doctor-img.right {
    right: 3%;
}

/* =========================
   NAVIGATION ARROWS
========================= */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.6rem 0.9rem;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease;
}

.arrow-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.arrow-btn.start {
    left: 15px;
}

.arrow-btn.end {
    right: 15px;
}

/* =========================
   DOT INDICATORS
========================= */
.dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #ff6b6b;
    width: 16px;
    height: 16px;
}

/* =========================
   RESPONSIVE FIXES
========================= */
@media (max-width: 768px) {
    #slider {
        height: 50vh;
    }

    .doctor-img {
        position: static;
        max-height: 260px;
        margin: 1rem auto 0;
        display: block;
        transform: none !important;
    }

    .doctor-slide {
        text-align: center;
        padding-top: 2rem;
    }

    .doctor-slide h2 {
        font-size: 1.5rem;
    }

    .doctor-slide p {
        font-size: 1rem;
    }

    .slide:first-child .col-md-6.text-white {
        padding: 0 1rem;
    }
}
