
/* =========================================
   KNOW YOUR DOCTOR PAGE
========================================= */

.doctor-profile-page {
    background: #ffffff;
    color: #29252B;
}

.doctor-profile-section {
    padding: 30px 0 70px;
}

.doctor-profile-row {
    align-items: flex-start;
    --bs-gutter-x: 3.5rem;
    --bs-gutter-y: 2rem;
}

/* =========================================
   DOCTOR IMAGE — NO STICKY
========================================= */

.doctor-image-sticky {
    position: static;
    align-self: flex-start;
    height: auto;
    margin: 0;
}

/* Image frame */

.doctor-image-frame {
    position: relative;
    overflow: hidden;
    border: 10px solid #FAF7F3;
    border-radius: 30px;
    background: #FAF7F3;
    box-shadow: 0 16px 30px rgba(41, 37, 43, 0.14);
}

/* Image */

.doctor-profile-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 19px;

    /* Smooth image effect */
    transform: scale(1);
    transition:
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.7s ease;
}

/* Hover zoom effect */

.doctor-image-frame:hover .doctor-profile-image {
    transform: scale(1.045);
    filter: brightness(1.03);
}

/* Smooth frame shadow */

.doctor-image-frame {
    transition: box-shadow 0.5s ease;
}

.doctor-image-frame:hover {
    box-shadow: 0 22px 42px rgba(41, 37, 43, 0.18);
}

/* =========================================
   DOCTOR NAME AND DESIGNATION
========================================= */

.doctor-profile-content {
    min-width: 0;
}

.doctor-profile-name {
    margin: 0 0 8px;
    color: #49304F;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.doctor-profile-designation {
    margin: 0 0 30px;
    color: #C5A46D;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
}

/* =========================================
   QUALIFICATION BADGES
========================================= */

.doctor-qualifications {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px;
    background: #FAF7F3;
    border: 1px solid #D8CAD9;
    border-radius: 15px;
}

.qualification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    color: #49304F;
    background: #ffffff;
    border: 1px solid #E5DCE6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(41, 37, 43, 0.04);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* =========================================
   OVERVIEW CONTENT
========================================= */

.doctor-section-title {
    margin: 0 0 18px;
    color: #49304F;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.3;
}

.doctor-overview p {
    margin: 0 0 20px;
    color: #514B53;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

/* =========================================
   LANGUAGES
========================================= */

.doctor-languages {
    margin-top: 30px;
}

.doctor-languages-title {
    padding-bottom: 14px;
    border-bottom: 1px solid #D8CAD9;
}

.doctor-language-list {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #514B53;
    font-size: 19px;
    line-height: 1.6;
}

.doctor-language-list i {
    flex: 0 0 auto;
    color: #C5A46D;
    font-size: 29px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .doctor-profile-section {
        padding-top: 25px;
    }

    .doctor-profile-row {
        --bs-gutter-x: 2rem;
    }

    .doctor-profile-designation {
        font-size: 21px;
    }

    .doctor-qualifications {
        padding: 15px;
        gap: 8px;
    }

    .qualification-badge {
        padding: 6px 10px;
        font-size: 14px;
    }

    .doctor-overview p {
        font-size: 17px;
    }

    .doctor-section-title {
        font-size: 27px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .doctor-profile-section {
        padding: 25px 0 45px;
    }

    .doctor-profile-row {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 28px;
    }

    .doctor-image-sticky {
        position: static;
        max-width: 380px;
        margin: 0 auto;
    }

    .doctor-image-frame {
        border-width: 8px;
        border-radius: 25px;
    }

    .doctor-profile-image {
        border-radius: 17px;
    }

    .doctor-profile-name {
        font-size: 32px;
        letter-spacing: -0.4px;
    }

    .doctor-profile-designation {
        margin-bottom: 22px;
        font-size: 19px;
    }

    .doctor-qualifications {
        margin-bottom: 30px;
        padding: 14px;
        gap: 8px;
    }

    .qualification-badge {
        font-size: 14px;
    }

    .doctor-section-title {
        margin-bottom: 14px;
        font-size: 26px;
    }

    .doctor-overview p {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 1.75;
    }

    .doctor-languages {
        margin-top: 25px;
    }

    .doctor-language-list {
        align-items: flex-start;
        font-size: 16px;
    }

    .doctor-language-list i {
        font-size: 25px;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    .doctor-profile-image,
    .doctor-image-frame {
        transition: none;
    }
}






























