﻿/* =========================================
   DOCTORS PAGE - PREMIUM DESIGN
   ========================================= */


/* =========================================
   DOCTORS HERO
   ========================================= */

.doctors-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 100px;
    background: radial-gradient(circle at 12% 20%, rgba(15, 157, 154, 0.18), transparent 30%), radial-gradient(circle at 88% 15%, rgba(37, 99, 235, 0.16), transparent 32%), radial-gradient(circle at 50% 100%, rgba(91, 91, 214, 0.10), transparent 38%), linear-gradient(135deg, #eef8fb 0%, #f7fbfe 46%, #edf4fb 100%);
    border-bottom: 1px solid rgba(19, 61, 91, 0.08);
}


    /* Decorative glow */

    .doctors-hero::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        top: -170px;
        right: -90px;
        border-radius: 50%;
        background: rgba(15, 157, 154, 0.10);
        filter: blur(8px);
        pointer-events: none;
    }

    .doctors-hero::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        left: -120px;
        bottom: -150px;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.08);
        filter: blur(10px);
        pointer-events: none;
    }


/* =========================================
   HERO CONTENT
   ========================================= */

.doctors-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 42px;
    text-align: center;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(24, 63, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
}


/* =========================================
   HERO SUBTITLE
   ========================================= */

.doctors-hero .section-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    color: #087f8c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.3px;
    text-transform: uppercase;
    background: rgba(8, 127, 140, 0.08);
    border: 1px solid rgba(8, 127, 140, 0.12);
    border-radius: 30px;
}


/* =========================================
   HERO TITLE
   ========================================= */

.doctors-hero h1 {
    color: #12304a;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 18px;
    letter-spacing: -1px;
}


    /* Accent */

    .doctors-hero h1 span {
        color: #0f9d9a;
    }


/* =========================================
   HERO DESCRIPTION
   ========================================= */

.doctors-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #607789;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   DOCTORS SECTION
   ========================================= */

.doctors-section {
    position: relative;
    padding: 90px 0 100px;
    background: radial-gradient(circle at 10% 10%, rgba(15, 157, 154, 0.055), transparent 28%), radial-gradient(circle at 90% 25%, rgba(37, 99, 235, 0.05), transparent 30%), linear-gradient(180deg, #eef5f9 0%, #f7fafc 52%, #edf4f8 100%);
}


/* =========================================
   DOCTOR CARD
   ========================================= */

.doctor-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(18, 48, 74, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(18, 48, 74, 0.08), 0 2px 8px rgba(18, 48, 74, 0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    .doctor-card:hover {
        transform: translateY(-8px);
        border-color: rgba(8, 127, 140, 0.18);
        box-shadow: 0 22px 50px rgba(18, 48, 74, 0.14), 0 5px 14px rgba(8, 127, 140, 0.06);
    }


/* =========================================
   DOCTOR IMAGE
   ========================================= */

.doctor-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f3f7, #dfeaf2);
}


    /* Image overlay */

    .doctor-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(18, 48, 74, 0) 55%, rgba(18, 48, 74, 0.12) 100% );
        pointer-events: none;
    }


    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
        transition: transform 0.5s ease;
    }


.doctor-card:hover .doctor-image img {
    transform: scale(1.045);
}


/* =========================================
   DOCTOR CONTENT
   ========================================= */

.doctor-content {
    padding: 28px 28px 30px;
    background: rgba(255, 255, 255, 0.96);
}


    /* =========================================
   DOCTOR NAME
   ========================================= */

    .doctor-content h2 {
        color: #12304a;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.3;
        margin: 0 0 6px;
    }


/* =========================================
   SPECIALIZATION
   ========================================= */

.doctor-specialization {
    display: inline-flex;
    color: #087f8c;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 6px 11px;
    background: #edf8f9;
    border: 1px solid #d8edef;
    border-radius: 8px;
}


/* =========================================
   DOCTOR DETAILS
   ========================================= */

.doctor-detail {
    padding: 11px 0;
    border-bottom: 1px solid #e8eef3;
}


    .doctor-detail strong {
        display: block;
        color: #345064;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 4px;
    }


    .doctor-detail p {
        color: #607687;
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }


/* =========================================
   CONSULTATION BOX
   ========================================= */

.consultation-box {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient( 135deg, #eff9fa 0%, #f6fbfc 100% );
    border: 1px solid #d7eaed;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}


    .consultation-box h3 {
        color: #12304a;
        font-size: 16px;
        font-weight: 800;
        margin: 0 0 12px;
    }


/* =========================================
   CONSULTATION ROW
   ========================================= */

.consultation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 7px 0;
}


    .consultation-row span {
        color: #647b8b;
        font-size: 14px;
    }


    .consultation-row strong {
        color: #087f8c;
        font-size: 14px;
        font-weight: 700;
        text-align: right;
    }


/* =========================================
   BUTTONS
   ========================================= */

.doctor-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}


.btn-doctor-profile,
.btn-doctor-appointment {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}


/* =========================================
   PROFILE BUTTON
   ========================================= */

.btn-doctor-profile {
    color: #087f8c;
    background: #e9f7f8;
    border: 1px solid #cfe7e9;
}


    .btn-doctor-profile:hover {
        color: #ffffff;
        background: #087f8c;
        border-color: #087f8c;
        box-shadow: 0 8px 18px rgba(8, 127, 140, 0.18);
        transform: translateY(-2px);
    }


/* =========================================
   APPOINTMENT BUTTON
   ========================================= */

.btn-doctor-appointment {
    color: #ffffff;
    background: linear-gradient( 135deg, #12304a, #194665 );
    border: 1px solid #12304a;
    box-shadow: 0 7px 18px rgba(18, 48, 74, 0.14);
}


    .btn-doctor-appointment:hover {
        color: #ffffff;
        background: linear-gradient( 135deg, #087f8c, #0f9d9a );
        border-color: #087f8c;
        box-shadow: 0 8px 20px rgba(8, 127, 140, 0.20);
        transform: translateY(-2px);
    }


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991px) {

    .doctors-hero {
        padding: 75px 0 80px;
    }

    .doctors-hero-content {
        max-width: 760px;
        padding: 30px 32px;
    }

    .doctors-hero h1 {
        font-size: 42px;
    }

    .doctors-section {
        padding: 75px 0 85px;
    }

    .doctor-image {
        height: 280px;
    }

    .doctor-content {
        padding: 25px 23px 27px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .doctors-hero {
        padding: 60px 0 65px;
    }

    .doctors-hero-content {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .doctors-hero .section-subtitle {
        font-size: 10px;
        letter-spacing: 1.8px;
        padding: 7px 12px;
    }

    .doctors-hero h1 {
        font-size: 32px;
        line-height: 1.18;
        margin: 13px 0 15px;
    }

    .doctors-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .doctors-section {
        padding: 65px 0 70px;
    }

    .doctor-image {
        height: 280px;
    }

    .doctor-content {
        padding: 24px 20px 25px;
    }

        .doctor-content h2 {
            font-size: 21px;
        }

    .doctor-specialization {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .doctor-actions {
        flex-direction: column;
    }

    .btn-doctor-profile,
    .btn-doctor-appointment {
        width: 100%;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 575px) {

    .doctors-hero {
        padding: 48px 0 52px;
    }

    .doctors-hero-content {
        padding: 23px 17px;
        border-radius: 19px;
    }

    .doctors-hero h1 {
        font-size: 29px;
    }

    .doctors-hero p {
        font-size: 13.5px;
    }

    .doctors-section {
        padding: 50px 0 60px;
    }

    .doctor-image {
        height: 265px;
    }

    .doctor-content {
        padding: 22px 18px 23px;
    }

    .doctor-detail {
        padding: 10px 0;
    }

    .consultation-box {
        padding: 15px;
    }
}
