/* =========================================================
   MEDIBORDER DOCTORS PAGE
   Uses mediborder-department-common.css for the shared
   MediBorder visual language and adds doctor-page styles.
========================================================= */

.doctors-page {
    background: #fff;
    color: #526477;
}

.doctors-page * {
    box-sizing: border-box;
}

.doctors-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 78px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(247,253,255,.94) 48%, rgba(223,245,249,.72) 100%),
        url('../img/bg/doctors-banner.jpg') center right/cover no-repeat;
}

.doctors-hero:after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -120px;
    width: 620px;
    height: 250px;
    background: rgba(1,162,190,.14);
    border-radius: 50%;
    transform: rotate(-8deg);
}

.doctors-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.doctors-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    padding: 7px 14px;
    border-radius: 30px;
    background: #e9f8fa;
    color: #01a2be;
    font-size: 13px;
    font-weight: 700;
}

.doctors-hero h1 {
    margin: 0 0 14px;
    color: #073b73;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 800;
}

.doctors-hero h1 span {
    color: #70c018;
}

.doctors-hero p {
    max-width: 650px;
    margin: 0;
    color: #536b7b;
    font-size: 18px;
    line-height: 1.65;
}

.doctors-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 820px;
    margin-top: 28px;
    padding: 15px 0;
    border-top: 1px solid #c8e4ea;
    border-bottom: 1px solid #c8e4ea;
}

.doctor-stat {
    text-align: center;
    padding: 5px 12px;
    border-right: 1px solid #c8e4ea;
}

.doctor-stat:last-child {
    border-right: 0;
}

.doctor-stat i {
    display: block;
    margin-bottom: 6px;
    color: #01a2be;
    font-size: 25px;
}

.doctor-stat strong {
    display: block;
    color: #073b73;
    font-size: 14px;
}

.doctor-stat span {
    display: block;
    margin-top: 3px;
    color: #72818d;
    font-size: 11px;
}

.doctors-section {
    padding: 38px 0;
}

.doctors-section-soft {
    background: linear-gradient(180deg, #f6fcfd, #fff);
}

.doctors-section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 25px;
}

.doctors-section-heading h2 {
    margin: 0 0 8px;
    color: #01a2be;
    font-size: 30px;
    font-weight: 800;
}

.doctors-section-heading p {
    margin: 0;
    color: #667987;
    font-size: 14px;
    line-height: 1.6;
}

.doctors-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #dcecf1;
    border-radius: 12px;
    background: #f5fbfd;
}

.doctors-toolbar-title {
    color: #073b73;
    font-weight: 800;
    font-size: 16px;
}

.doctors-toolbar-note {
    color: #71818d;
    font-size: 12px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.doctor-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 385px;
    border: 1px solid #dcecf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(7,91,115,.07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    border-color: #b9dce5;
    box-shadow: 0 14px 30px rgba(7,91,115,.13);
}

/* =========================================================
   DOCTOR PHOTO
   Source images: 1254 x 1254 px
========================================================= */

.doctor-photo {
    position: relative;

    height: 255px;

    overflow: hidden;

    background:
        linear-gradient(145deg, #eaf7fa, #dceff3);

    display: flex;
    align-items: flex-end;
    justify-content: center;
}


/* Doctor Image */
.doctor-photo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center bottom;

    display: block;
}

.doctor-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #087b8f;
    font-size: 72px;
}

.doctor-specialty-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    color: #075a8a;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.doctor-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 17px 16px;
}

.doctor-body h3 {
    margin: 0 0 7px;
    color: #073b73;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.doctor-body p {
    margin: 0;
    color: #667987;
    font-size: 13px;
    line-height: 1.45;
}

.doctor-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.doctor-details {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 7px;
    background: #01a2be;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.doctor-details:hover {
    color: #fff;
    background: #075a8a;
}

.doctor-consult {
    color: #075a8a;
    font-size: 11px;
    font-weight: 700;
}

.doctors-trust {
    padding: 28px 0;
    background:
        linear-gradient(90deg, rgba(0,75,105,.92), rgba(0,106,128,.94)),
        url('../img/services/doctors-care.jpg') left center/cover no-repeat;
    color: #fff;
}

.doctors-trust-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    align-items: center;
}

.doctors-trust-lead {
    padding-right: 28px;
}

.doctors-trust-lead .quote {
    font-size: 42px;
    line-height: .6;
    font-weight: 800;
}

.doctors-trust-lead h3 {
    margin: 8px 0 5px;
    color: #fff;
    font-size: 20px;
}

.doctors-trust-lead p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 12px;
}

.doctors-trust-item {
    min-height: 80px;
    padding: 8px 12px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.4);
}

.doctors-trust-item i {
    display: block;
    margin-bottom: 7px;
    font-size: 28px;
}

.doctors-trust-item strong {
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
}

.doctors-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 30px auto;
    padding: 22px 26px;
    border-radius: 13px;
    background: linear-gradient(100deg, #70c018, #007f91);
    color: #fff;
    box-shadow: 0 7px 20px rgba(0,87,105,.15);
}

.doctors-cta-left {
    display: flex;
    align-items: center;
    gap: 17px;
}

.doctors-cta-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: #087b8f;
    font-size: 25px;
}

.doctors-cta h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.doctors-cta p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 12px;
}

.doctors-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 21px;
    border-radius: 8px;
    background: #fff;
    color: #15acaf;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .doctors-trust-grid {
        grid-template-columns: 1fr repeat(4, 1fr);
    }

    .doctors-trust-lead {
        grid-column: 1 / -1;
        padding-bottom: 18px;
    }
}

@media (max-width: 991px) {
    .doctors-hero h1 {
        font-size: 42px;
    }

    .doctors-stats {
        max-width: 100%;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctors-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctors-trust-lead {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .doctors-hero {
        padding: 45px 0 55px;
        background:
            linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.87)),
            url('../img/bg/doctors-banner.jpg') center/cover no-repeat;
    }

    .doctors-hero h1 {
        font-size: 36px;
    }

    .doctors-hero p {
        font-size: 16px;
    }

    .doctors-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-stat:nth-child(2) {
        border-right: 0;
    }

    .doctor-stat:nth-child(-n+2) {
        border-bottom: 1px solid #c8e4ea;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctors-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .doctors-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .doctors-trust-lead {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
    }

    .doctors-trust-item {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.3);
    }

    .doctors-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .doctors-trust-grid {
        grid-template-columns: 1fr;
    }

    .doctors-trust-item {
        border-left: 0;
    }

    .doctor-photo {
        height: 220px;
    }
}
