/* DOCTORS PAGE STYLES */
:root {
    --default-font: "Roboto", system-ui, sans-serif;
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Raleway", sans-serif;
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #2c4964;
    --accent-color: #1977cc;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    scroll-behavior: smooth;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PAGE TITLE */
.page-title {
    background: linear-gradient(145deg, #ffffff 0%, #e8f4fd 50%, #cce4f7 100%);
    padding: 60px 0 50px;
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-title .breadcrumb-item a {
    color: var(--accent-color);
}

.page-title .breadcrumb-item.active {
    color: var(--default-color);
}

.page-title .breadcrumb-item+.breadcrumb-item::before {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/* SECTIONS */
section {
    padding: 60px 0;
    overflow: hidden;
}

.light-background {
    background-color: #f1f7fc;
}

.section-title {
    text-align: center;
    padding-bottom: 55px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.section-title p {
    margin-bottom: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* ---- DOCTOR PROFILE CARDS ---- */
.doctor-profile {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(25, 119, 204, 0.07);
    transition: all 0.4s;
    height: 100%;
}

.doctor-profile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(25, 119, 204, 0.15);
}

.doctor-profile .profile-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1255a0 100%);
    padding: 40px 35px 30px;
    position: relative;
    overflow: hidden;
}

.doctor-profile .profile-header::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: -60px;
    right: -60px;
}

.doctor-profile .profile-header::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
}

.doctor-profile .avatar-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 22px;
}

.doctor-profile .avatar {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.18);
    border: 3px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doctor-profile .avatar span {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    font-family: var(--heading-font);
}

.doctor-profile .header-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.doctor-profile .header-info .role-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--nav-font);
}

.doctor-profile .profile-body {
    padding: 30px 35px 35px;
}

.doctor-profile .profile-body p {
    font-size: 14.5px;
    line-height: 1.85;
    color: color-mix(in srgb, var(--default-color), transparent 18%);
    margin-bottom: 25px;
}

.expertise-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--default-color);
}

.expertise-list li i {
    width: 22px;
    height: 22px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 11px;
    flex-shrink: 0;
}

.stat-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.stat-chip {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
}

.stat-chip .val {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--heading-font);
    display: block;
    line-height: 1.2;
}

.stat-chip .lbl {
    font-size: 11px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
}

.social-row {
    display: flex;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.social-row a {
    width: 38px;
    height: 38px;
    border: 1.5px solid color-mix(in srgb, var(--default-color), transparent 75%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 15px;
    transition: 0.3s;
}

.social-row a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* ---- TEAM INTRO BANNER ---- */
.team-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1255a0 100%);
    border-radius: 16px;
    padding: 50px 45px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.team-banner::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    right: -80px;
}

.team-banner::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: 60px;
}

.team-banner h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.team-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
}

.team-banner .stats-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.team-banner .stat-item {
    text-align: center;
}

.team-banner .stat-item .num {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--heading-font);
    display: block;
    color: #fff;
    line-height: 1.1;
}

.team-banner .stat-item .lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- VALUES STRIP ---- */
.value-strip {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
    border-radius: 12px;
    padding: 28px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    transition: 0.3s;
}

.value-strip:hover {
    box-shadow: 0 8px 30px rgba(25, 119, 204, 0.12);
    transform: translateY(-3px);
}

.value-strip .vs-icon {
    width: 52px;
    height: 52px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.value-strip:hover .vs-icon {
    background: var(--accent-color);
}

.value-strip .vs-icon i {
    font-size: 22px;
    color: var(--accent-color);
    transition: color 0.3s;
}

.value-strip:hover .vs-icon i {
    color: #fff;
}

.value-strip h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-strip p {
    font-size: 13px;
    margin: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    line-height: 1.6;
}

/* ---- FAQ ---- */
.faq-item {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 18px rgba(25, 119, 204, 0.1);
}

.faq-question {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.faq-question span {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.faq-question i {
    color: var(--accent-color);
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
    padding: 0 22px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    padding-bottom: 18px;
    margin: 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 0;
}

/* ---- CTA ---- */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1255a0 100%);
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    margin-bottom: 30px;
}

.cta-section .btn-cta {
    background: #fff;
    color: var(--accent-color);
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--heading-font);
    font-size: 15px;
    transition: 0.3s;
    display: inline-block;
}

.cta-section .btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* scroll top */
.scroll-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: #fff;
}

@media (max-width: 576px) {
    .doctor-profile .profile-header {
        padding: 30px 22px 22px;
    }

    .doctor-profile .profile-body {
        padding: 22px;
    }

    .team-banner {
        padding: 32px 22px;
    }

    .team-banner .stats-row {
        gap: 18px;
    }
}