/* =========================================================
   DOCTORS LISTING PAGE
========================================================= */

.doctors-page-hero {
    position: relative;
    overflow: hidden;

    padding: 75px 0 85px;

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

    color: #fff;
}


.doctors-page-hero::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -150px;
    bottom: -190px;

    border: 55px solid rgba(255,255,255,0.05);

    border-radius: 50%;
}


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

.doctors-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 30px;

    font-size: 13px;
}


.doctors-breadcrumbs a {
    color: rgba(255,255,255,0.75);

    text-decoration: none;
}


.doctors-breadcrumbs a:hover {
    color: #fff;
}


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


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

.doctors-hero-content {
    max-width: 760px;
}


.doctors-hero-content .section-eyebrow {
    color: #bff4e9;
}


.doctors-hero-content h1 {
    margin: 12px 0 18px;

    max-width: 700px;

    color: #fff;

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

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.doctors-hero-content p {
    max-width: 670px;

    margin: 0;

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

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   LISTING SECTION
========================================================= */

.doctors-listing {
    padding: 85px 0;

    background: #f7fcfb;
}


.doctors-section-heading {
    display: flex;

    justify-content: space-between;

    margin-bottom: 38px;
}


.doctors-section-heading h2 {
    margin: 8px 0 8px;

    color: var(--dark);

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.15;
}


.doctors-section-heading p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   GRID
========================================================= */

.doctors-listing-grid {
    display: grid;

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

    gap: 25px;
}


/* =========================================================
   DOCTOR CARD
========================================================= */

.doctor-listing-card {
    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    min-height: 100%;

    background: #fff;

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

    border-radius: 18px;

    box-shadow:
        0 8px 28px rgba(0, 64, 61, 0.06);

    opacity: 0;

    transform: translateY(20px);

    animation:
        doctor-card-reveal 0.6s ease forwards;

    animation-delay: var(--doctor-delay);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.doctor-listing-card:hover {
    transform: translateY(-8px);

    border-color: rgba(0,108,99,0.2);

    box-shadow:
        0 20px 45px rgba(0, 64, 61, 0.13);
}


@keyframes doctor-card-reveal {

    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================================
   DOCTOR IMAGE
========================================================= */

.doctor-listing-image {
    position: relative;

    overflow: hidden;

    height: 300px;

    background: var(--light);
}


.doctor-listing-image > a {
    display: block;

    width: 100%;
    height: 100%;
}


.doctor-feature-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform 0.5s ease;
}


.doctor-listing-card:hover
.doctor-feature-image {
    transform: scale(1.06);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.doctor-listing-image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 90px;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0,64,61,0.18),
            transparent
        );
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.doctor-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

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

    gap: 8px;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0,
            #e9f8f4 65%,
            #d8f1eb 100%
        );

    color: var(--primary);
}


.doctor-placeholder-icon {
    width: 75px;
    height: 75px;

    display: flex;

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

    border-radius: 50%;

    background: #fff;

    color: var(--primary);

    font-size: 34px;

    box-shadow:
        0 10px 25px rgba(0,108,99,0.12);
}


.doctor-image-placeholder span:last-child {
    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   EXPERIENCE BADGE
========================================================= */

.doctor-experience-badge {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border-radius: 30px;

    background: #fff;

    color: var(--primary-dark);

    font-size: 12px;

    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 8px 22px rgba(0,64,61,0.13);
}


.experience-icon {
    display: flex;

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

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    font-size: 10px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.doctor-listing-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 25px;
}


.doctor-specialist-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    line-height: 1.3;
}


.doctor-listing-content h3 {
    margin: 0 0 8px;

    font-size: 21px;

    line-height: 1.3;
}


.doctor-listing-content h3 a {
    color: var(--dark);

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.doctor-listing-card:hover
.doctor-listing-content h3 a {
    color: var(--primary);
}


.doctor-listing-designation {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   DIVIDER
========================================================= */

.doctor-card-divider {
    width: 100%;

    height: 1px;

    margin: 20px 0 18px;

    background: var(--border);
}


/* =========================================================
   CARD FOOTER
========================================================= */

.doctor-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
}


.doctor-view-profile {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;
}


.doctor-arrow {
    font-size: 17px;

    transition:
        transform 0.25s ease;
}


.doctor-view-profile:hover {
    color: var(--primary-dark);
}


.doctor-view-profile:hover
.doctor-arrow {
    transform: translateX(5px);
}


.doctor-book-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 13px;

    border-radius: 8px;

    background: var(--primary);

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

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


.doctor-book-btn:hover {
    background: var(--primary-dark);

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.doctors-empty {
    grid-column: 1 / -1;

    padding: 60px 30px;

    text-align: center;

    background: #fff;

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

    border-radius: 18px;
}


.doctors-empty h3 {
    margin: 0 0 8px;

    color: var(--dark);
}


.doctors-empty p {
    margin: 0;

    color: var(--muted);
}


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

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

    background: #fff;
}


.doctors-cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 45px 50px;

    border-radius: 22px;

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

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


.doctors-cta-inner h2 {
    max-width: 620px;

    margin: 8px 0 10px;

    color: var(--dark);

    font-size: 32px;

    line-height: 1.2;
}


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

    color: var(--muted);

    font-size: 15px;
}


.doctors-cta-inner .btn {
    flex: 0 0 auto;

    white-space: nowrap;
}


.doctors-cta-btn span {
    margin-left: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

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

}


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

@media (max-width: 700px) {

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


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


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


    .doctors-listing {
        padding: 60px 0;
    }


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

        gap: 20px;
    }


    .doctor-listing-image {
        height: 280px;
    }


    .doctor-listing-content {
        padding: 22px;
    }


    .doctors-cta-inner {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px 25px;
    }


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

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

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


    .doctor-listing-image {
        height: 250px;
    }


    .doctor-card-footer {
        align-items: flex-start;

        flex-direction: column;
    }


    .doctor-book-btn {
        width: 100%;
    }


    .doctor-listing-content {
        padding: 22px;
    }

}