/* =========================================
   DOCTOR PROFILE PAGE
   ========================================= */

.doctor-page {
    width: 96%;
    max-width: 1366px;
    margin: 30px auto;
    box-sizing: border-box;
    font-family: "Poppins", "Inter", Arial, sans-serif;
    color: #333333;
}


/* =========================================
   DOCTOR HEADER
   ========================================= */

.doctor-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: #f3f9fb;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 30px;
}


/* Doctor photograph */

.doctor-photo {
    flex: 0 0 200px;
    width: 200px;
    height: 153px;
}

.doctor-photo img {
    display: block;
    width: 200px;
    height: 153px;
    object-fit: cover;
    border-radius: 5px;
}


/* Heading area */

.doctor-heading {
    flex: 1;
}

.doctor-heading h1 {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #123f58;
}

.doctor-qualification {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #197a8c;
    margin-bottom: 8px;
}

.doctor-specialization {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    color: #333333;
}


/* =========================================
   DOCTOR CONTENT
   ========================================= */

.doctor-content {
    width: 100%;
    box-sizing: border-box;
}

.doctor-content p {
    margin: 0 0 22px 0;
    font-size: 17px;
    line-height: 1.8;
    text-align: left;
    color: #3d3d3d;
}

.doctor-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .doctor-page {
        width: 96%;
    }

    .doctor-header {
        gap: 20px;
        padding: 20px;
    }

    .doctor-heading h1 {
        font-size: 26px;
    }

    .doctor-qualification {
        font-size: 18px;
    }

    .doctor-specialization {
        font-size: 16px;
    }

    .doctor-content p {
        font-size: 16px;
        line-height: 1.75;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .doctor-page {
        width: 98%;
        margin: 20px auto;
    }

    .doctor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
        gap: 15px;
        margin-bottom: 25px;
    }

    .doctor-photo {
        flex: none;
        width: 200px;
        height: 153px;
    }

    .doctor-photo img {
        width: 200px;
        height: 153px;
    }

    .doctor-heading {
        width: 100%;
    }

    .doctor-heading h1 {
        font-size: 23px;
        line-height: 1.3;
        margin-bottom: 7px;
    }

    .doctor-qualification {
        font-size: 17px;
        margin-bottom: 7px;
    }

    .doctor-specialization {
        font-size: 15px;
        line-height: 1.5;
    }

    .doctor-content p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 18px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 450px) {

    .doctor-page {
        width: 98%;
        margin-top: 15px;
    }

    .doctor-header {
        padding: 15px 10px;
    }

    .doctor-heading h1 {
        font-size: 20px;
    }

    .doctor-qualification {
        font-size: 16px;
    }

    .doctor-specialization {
        font-size: 14px;
    }

    .doctor-content p {
        font-size: 14px;
        line-height: 1.7;
    }
}