/* =========================================================
   DOCTOR HERO
========================================================= */

.doctor-hero {
    position: relative;
    overflow: hidden;

    padding: 70px 0 80px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255,255,255,0.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #006c63,
            #004f49
        );

    color: #fff;
}


.doctor-hero-grid {
    display: grid;

    grid-template-columns: 1fr 0.85fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.doctor-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 30px;

    font-size: 13px;
}


.doctor-breadcrumbs a {
    color: rgba(255,255,255,0.7);

    text-decoration: none;
}


.doctor-breadcrumbs span:last-child {
    color: #fff;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.doctor-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #bff4e9;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.doctor-hero-content h1 {
    margin: 0 0 10px;

    color: #fff;

    font-size: clamp(40px, 5vw, 62px);

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.doctor-designation {
    margin-bottom: 25px;

    color: rgba(255,255,255,0.82);

    font-size: 18px;
}


.doctor-experience {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 30px;
}


.doctor-experience > span {
    width: 30px;
    height: 30px;

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

    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    color: #bff4e9;
}


.doctor-experience strong {
    font-size: 14px;
}


.doctor-experience small {
    color: rgba(255,255,255,0.65);
}


.doctor-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.doctor-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.doctor-hero-actions .btn span {
    transition: transform 0.2s ease;
}


.doctor-hero-actions .btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.doctor-hero-image {
    position: relative;

    overflow: hidden;

    min-height: 450px;

    border-radius: 24px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.14);

    box-shadow:
        0 25px 60px rgba(0,40,37,0.18);
}


.doctor-hero-image img {
    display: block;

    width: 100%;
    height: 100%;
    max-height: 450px;
    min-height: 450px;

    object-fit: cover;
object-position: top;
    transition: transform 0.5s ease;
}


.doctor-hero-image:hover img {
    transform: scale(1.03);
}


.doctor-no-image {
    min-height: 450px;

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

    background: var(--light);
}


.doctor-no-image span {
    width: 100px;
    height: 100px;

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

    border-radius: 50%;

    background: #fff;

    color: var(--primary);

    font-size: 42px;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.doctor-detail {
    padding: 85px 0;

    background: #f7fcfb;
}


.doctor-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 340px;

    gap: 55px;

    align-items: start;
}


.doctor-main {
    min-width: 0;
}


.doctor-content-section {
    margin-bottom: 55px;

    padding: 35px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0,64,61,0.04);
}


.doctor-content-section:last-child {
    margin-bottom: 0;
}


.content-section-label {
    display: block;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}


.doctor-content-section h2 {
    margin: 0 0 20px;

    color: var(--dark);

    font-size: 30px;

    line-height: 1.2;
}


.doctor-rich-content {
    color: var(--text);

    font-size: 15px;

    line-height: 1.8;
}


.doctor-rich-content p {
    margin: 0 0 16px;
}


.doctor-rich-content p:last-child {
    margin-bottom: 0;
}


.doctor-rich-content ul {
    margin: 15px 0;

    padding-left: 20px;
}


.doctor-rich-content li {
    margin-bottom: 9px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.doctor-sidebar {
    position: sticky;

    top: 110px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


.doctor-sidebar-card {
    padding: 27px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0,64,61,0.05);
}


.doctor-sidebar-card h3 {
    margin: 0 0 10px;

    color: var(--dark);

    font-size: 20px;
}


.doctor-sidebar-card p {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   BOOKING CARD
========================================================= */

.doctor-booking-card {
    background:
        linear-gradient(
            145deg,
            #e9f8f4,
            #ffffff
        );
}


.doctor-card-icon {
    width: 44px;
    height: 44px;

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

    margin-bottom: 17px;

    border-radius: 12px;

    background: var(--primary);

    color: #fff;

    font-size: 18px;
}


.doctor-booking-card .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
}


.doctor-booking-card .btn span {
    transition: transform 0.2s ease;
}


.doctor-booking-card .btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   DOCTOR INFO
========================================================= */

.doctor-info-row {
    padding: 14px 0;

    border-bottom: 1px solid var(--border);
}


.doctor-info-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


.doctor-info-row span,
.doctor-info-row strong {
    display: block;
}


.doctor-info-row span {
    margin-bottom: 4px;

    color: var(--muted);

    font-size: 11px;
}


.doctor-info-row strong {
    color: var(--dark);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.doctor-contact-card {
    background: var(--dark);

    border-color: var(--dark);

    color: #fff;
}


.doctor-contact-card h3 {
    color: #fff;
}


.doctor-contact-card p {
    color: rgba(255,255,255,0.68);
}


.doctor-contact-icon {
    display: block;

    margin-bottom: 14px;

    color: #bff4e9;

    font-size: 24px;
}


.doctor-phone {
    display: inline-block;

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.doctor-bottom-cta {
    padding: 75px 0;

    background: #fff;
}


.doctor-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 45px 50px;

    border: 1px solid var(--border);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #e9f8f4,
            #f5fcfb
        );
}


.doctor-cta-inner h2 {
    max-width: 650px;

    margin: 8px 0 10px;

    color: var(--dark);

    font-size: 32px;

    line-height: 1.2;
}


.doctor-cta-inner p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .doctor-hero-grid {
        grid-template-columns: 1fr 0.8fr;

        gap: 35px;
    }

    .doctor-layout {
        grid-template-columns: 1fr;
    }

    .doctor-sidebar {
        position: static;

        display: grid;

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

}


@media (max-width: 700px) {

    .doctor-hero {
        padding: 55px 0 60px;
    }

    .doctor-hero-grid {
        grid-template-columns: 1fr;
    }

    .doctor-hero-content h1 {
        font-size: 40px;
    }

    .doctor-hero-image {
        min-height: 360px;
    }

    .doctor-hero-image img {
        min-height: 360px;
    }

    .doctor-detail {
        padding: 60px 0;
    }

    .doctor-content-section {
        padding: 25px;
        margin-bottom: 0px;
    }

    .doctor-sidebar {
        grid-template-columns: 1fr;
    }

    .doctor-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 25px;
    }

    .doctor-cta-inner h2 {
        font-size: 27px;
    }

}


@media (max-width: 480px) {

    .doctor-hero-content h1 {
        font-size: 34px;
    }

    .doctor-hero-actions {
        flex-direction: column;
    }

    .doctor-hero-actions .btn {
        width: 100%;

        justify-content: center;
    }

}
/* =========================================================
   DOCTOR TABS
========================================================= */

.doctor-tabs {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-bottom: 35px;

    padding: 7px;

    overflow-x: auto;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0,64,61,0.05);

    scrollbar-width: none;
}

.doctor-tabs::-webkit-scrollbar {
    display: none;
}


.doctor-tabs a {
    flex: 0 0 auto;

    padding: 13px 20px;

    border-radius: 9px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.doctor-tabs a:hover {
    color: var(--primary);

    background: var(--light);
}


.doctor-tabs a.active {
    color: #fff;

    background: var(--primary);

    box-shadow:
        0 5px 14px rgba(0,108,99,0.18);
}


/* =========================================================
   TAB CONTENT
========================================================= */

.doctor-content-section {
    display: none;
}


.doctor-content-section.active {
    display: block;

    animation: doctorTabFade 0.25s ease;
}


@keyframes doctorTabFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   MOBILE TABS
========================================================= */

@media (max-width: 700px) {

    .doctor-tabs {
        margin-bottom: 25px;

        border-radius: 11px;
    }

    .doctor-tabs a {
        padding: 11px 15px;

        font-size: 12px;
    }

}