/* ==========================================================
   APEX HOSPITAL DARBHANGA
   PREMIUM DOCTOR PROFILE
   File: 02-doctors.css
========================================================== */


/* ==========================================================
   COMMON DOCTOR CONTAINER
========================================================== */

.doctor-profile-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}


/* ==========================================================
   DOCTOR PROFILE HERO
========================================================== */

.doctor-profile-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    margin-top: 80px;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #123b5d 55%,
            #0284c7 100%
        );
    color: #ffffff;
}

.doctor-profile-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -220px;
    right: -100px;
}

.doctor-profile-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.12);
    bottom: -150px;
    left: -80px;
}

.doctor-profile-hero .doctor-profile-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: 5rem;
}


/* ==========================================================
   HERO INTRO
========================================================== */

.doctor-profile-intro {
    max-width: 760px;
}

.doctor-profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    color: #bae6fd;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doctor-profile-eyebrow i {
    font-size: 1rem;
}

.doctor-profile-intro h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.doctor-profile-intro h2 {
    margin: 1rem 0 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: #bae6fd;
}

.doctor-qualification {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.doctor-qualification i {
    color: #f59e0b;
}

.doctor-profile-summary {
    max-width: 680px;
    margin: 1.75rem 0 0;
    color: #dbeafe;
    font-size: 1.05rem;
    line-height: 1.85;
}


/* ==========================================================
   HERO META
========================================================== */

.doctor-profile-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.doctor-meta-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.doctor-meta-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    font-size: 1.15rem;
}

.doctor-meta-item strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
}

.doctor-meta-item small {
    display: block;
    margin-top: 0.15rem;
    color: #bae6fd;
    font-size: 0.78rem;
}


/* ==========================================================
   DOCTOR BUTTON
========================================================== */

.doctor-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.95rem 1.5rem;
    border-radius: 10px;
    background: #ffffff;
    color: #0284c7;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease;
}

.doctor-profile-btn i {
    transition: transform 0.3s ease;
}

.doctor-profile-btn:hover {
    transform: translateY(-3px);
    color: #0284c7;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.doctor-profile-btn:hover i {
    transform: translateX(4px);
}


/* ==========================================================
   DOCTOR IMAGE
========================================================== */

.doctor-profile-image-wrapper {
    position: relative;
    max-width: 470px;
    width: 100%;
    margin-left: auto;
}

.doctor-profile-image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 10px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.doctor-profile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-profile-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 5rem;
}

.doctor-profile-image-badge {
    position: absolute;
    right: -20px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
}

.doctor-profile-image-badge i {
    color: #16a34a;
    font-size: 1rem;
}


/* ==========================================================
   ABOUT SECTION
========================================================== */

.doctor-about-section {
    padding: 6rem 0;
    background: #ffffff;
}

.doctor-section-heading {
    margin-bottom: 2.5rem;
}

.doctor-section-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: #0284c7;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doctor-section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.doctor-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
    gap: 4rem;
    align-items: start;
}

.doctor-about-content {
    max-width: 850px;
}

.doctor-about-content p {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.9;
}


/* ==========================================================
   CREDENTIALS CARD
========================================================== */

.doctor-credentials-card {
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.doctor-credential {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.doctor-credential + .doctor-credential {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.doctor-credential-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
}

.doctor-credential span {
    display: block;
    margin-bottom: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
}

.doctor-credential strong {
    color: #0f172a;
    font-size: 0.95rem;
}


/* ==========================================================
   EXPERTISE SECTION
========================================================== */

.doctor-expertise-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.doctor-section-heading-center {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.doctor-section-heading-center p {
    margin: 1rem auto 0;
    color: #64748b;
    line-height: 1.7;
}

.doctor-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.doctor-expertise-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.doctor-expertise-card:hover {
    transform: translateY(-6px);
    border-color: #bae6fd;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.doctor-expertise-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 1.45rem;
}

.doctor-expertise-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.1rem;
}


/* ==========================================================
   DOCTOR CTA
========================================================== */

.doctor-profile-cta {
    padding: 0 0 6rem;
    background: #f8fafc;
}

.doctor-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #123b5d 60%,
            #0284c7 100%
        );
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.doctor-cta-content {
    max-width: 780px;
}

.doctor-cta-content .doctor-section-label {
    color: #bae6fd;
}

.doctor-cta-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.doctor-cta-content p {
    margin: 0.8rem 0 0;
    color: #dbeafe;
    line-height: 1.7;
}

.doctor-cta-action {
    flex-shrink: 0;
}


/* ==========================================================
   RESPONSIVE — TABLET
========================================================== */

@media (max-width: 1100px) {

    .doctor-profile-hero .doctor-profile-container {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
        gap: 3rem;
    }

    .doctor-profile-intro h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .doctor-about-grid {
        gap: 2.5rem;
    }

}


/* ==========================================================
   RESPONSIVE — TABLET / MOBILE
========================================================== */

@media (max-width: 900px) {

    .doctor-profile-hero {
        padding: 4.5rem 0 4rem;
    }

    .doctor-profile-hero .doctor-profile-container {
        grid-template-columns: 1fr;
    }

    .doctor-profile-image-wrapper {
        margin: 0 auto;
        max-width: 430px;
        order: -1;
    }

    .doctor-profile-intro {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .doctor-profile-eyebrow,
    .doctor-qualification {
        justify-content: center;
    }

    .doctor-profile-summary {
        margin-left: auto;
        margin-right: auto;
    }

    .doctor-profile-meta {
        justify-content: center;
    }

    .doctor-profile-btn {
        margin-left: auto;
        margin-right: auto;
    }

    .doctor-about-grid {
        grid-template-columns: 1fr;
    }

    .doctor-about-content {
        max-width: none;
    }

    .doctor-expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .doctor-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ==========================================================
   RESPONSIVE — MOBILE
========================================================== */

@media (max-width: 600px) {

    .doctor-profile-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .doctor-profile-hero {
        margin-top: 70px;
        padding: 3.5rem 0;
    }

    .doctor-profile-intro h1 {
        font-size: 2.4rem;
    }

    .doctor-profile-intro h2 {
        font-size: 1.05rem;
    }

    .doctor-profile-summary {
        font-size: 0.95rem;
    }

    .doctor-profile-image-wrapper {
        max-width: 340px;
    }

    .doctor-profile-image-badge {
        right: -5px;
        bottom: 20px;
        font-size: 0.72rem;
    }

    .doctor-about-section,
    .doctor-expertise-section {
        padding: 4rem 0;
    }

    .doctor-expertise-grid {
        grid-template-columns: 1fr;
    }

    .doctor-expertise-card {
        padding: 1.5rem;
    }

    .doctor-profile-cta {
        padding-bottom: 4rem;
    }

    .doctor-cta-inner {
        padding: 2rem 1.5rem;
    }

    .doctor-cta-action {
        width: 100%;
    }

    .doctor-cta-action .doctor-profile-btn {
        width: 100%;
    }

}


/* ==========================================================
   RESPONSIVE — SMALL MOBILE
========================================================== */

@media (max-width: 400px) {

    .doctor-profile-intro h1 {
        font-size: 2.1rem;
    }

    .doctor-profile-image-wrapper {
        max-width: 300px;
    }

    .doctor-profile-image-frame {
        border-width: 7px;
        border-radius: 22px;
    }

}