/* =========================================================
   Doctors directory & Founders showcase — clean modern cards
   ========================================================= */

.vh-doc-page {
    position: relative;
    padding: 60px 0 96px;
    background: #f7f9fc;
}

.vh-doc-page>.container {
    position: relative;
    z-index: 1;
}

/* ---------- Intro & Section Titles (Unified Green Dot + Two-Tone Navy/Green System) ---------- */
.vh-doc-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 44px;
}

.vh-founders-intro {
    margin-bottom: 42px;
}

.vh-specialists-intro {
    margin-bottom: 42px;
}

.vh-doc-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--label-color, #15803d);
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.vh-doc-label::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--label-color, #15803d);
    border-radius: 50%;
    flex: 0 0 auto;
}

.vh-doc-label i {
    display: none;
}

.vh-doc-intro h2 {
    max-width: 760px;
    margin: 0 auto 16px;
    color: var(--heading-color, #123A5C);
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -1.5px;
}

.vh-doc-intro h2 span {
    display: block;
    color: var(--label-color, #15803d);
}

.vh-doc-intro p {
    margin: 0 auto;
    max-width: 660px;
    color: var(--text-color, #5a6573);
    font-size: 16.5px;
    line-height: 1.7;
}

/* ---------- Section Divider ---------- */
.vh-doc-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 64px 0 54px;
}

.vh-doc-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(21, 128, 61, 0.28), transparent);
}

.vh-doc-divider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--label-color, #15803d);
    font-size: 16px;
    border: 1px solid rgba(21, 128, 61, 0.28);
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.12);
}

/* ---------- Doctor Grids ---------- */
.vh-doc-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 26px;
    width: 100%;
}

/* Base: Founders 4-column, Specialists 3-column */
.vh-founders-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.vh-specialists-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

/* ---------- Individual Doctor Card ---------- */
.vh-doc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(18, 58, 92, 0.09);
    box-shadow: 0 8px 24px rgba(10, 37, 72, 0.05);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.vh-doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(10, 37, 72, 0.1);
    border-color: rgba(2, 95, 190, 0.25);
}

/* Founder Card Accent */
.vh-founder-card {
    border: 1.5px solid rgba(254, 109, 2, 0.32);
    box-shadow: 0 10px 28px rgba(254, 109, 2, 0.1), 0 4px 12px rgba(10, 37, 72, 0.04);
}

.vh-founder-card:hover {
    border-color: #fe6d02;
    box-shadow: 0 20px 44px rgba(254, 109, 2, 0.2), 0 6px 16px rgba(10, 37, 72, 0.08);
}

/* ---------- Photo Container ---------- */
.vh-doc-photo-wrap {
    position: relative;
    width: 100%;
    height: 290px;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f4f9 0%, #e3ebf3 100%);
}

.vh-doc-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    transition: transform 0.45s ease;
}

.vh-doc-card:hover .vh-doc-photo {
    transform: scale(1.05);
}

/* Founder Badge pill on top-left */
.vh-founder-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fe6d02 0%, #ff8c37 100%);
    color: #ffffff;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(254, 109, 2, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.vh-founder-pill i {
    font-size: 11px;
}

/* External Link Arrow on top-right */
.vh-doc-arrow-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--heading-color, #123A5C);
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(10, 37, 72, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.vh-doc-arrow-btn:hover {
    background: var(--label-color, #15803d);
    color: #ffffff;
    transform: scale(1.1);
}

/* Placeholder for doctors without uploaded photo */
.vh-doc-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #103254 0%, #06192e 100%);
}

.vh-doc-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

/* ---------- Card Content Body ---------- */
.vh-doc-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 20px 20px;
    text-align: left;
}

.vh-doc-header {
    margin-bottom: 12px;
}

.vh-doc-name {
    margin: 0 0 6px;
    color: var(--heading-color, #0a2548);
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    transition: color 0.2s ease;
}

.vh-doc-card:hover .vh-doc-name {
    color: var(--label-color, #15803d);
}

.vh-doc-specialty {
    display: block;
    margin: 0 0 8px;
    color: #fe6d02;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vh-doc-qualifications {
    margin: 0;
    color: #5a6573;
    font-size: 13px;
    line-height: 1.5;
    min-height: 39px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Department Tag */
.vh-doc-tag-wrap {
    margin-bottom: 18px;
}

.vh-doc-dept-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    background: rgba(37, 211, 102, 0.08);
    color: #1e7e34;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(37, 211, 102, 0.22);
}

.vh-doc-dept-pill i {
    font-size: 11px;
}

/* ---------- Card Footer & Action Buttons ---------- */
.vh-doc-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(18, 58, 92, 0.07);
}

.vh-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    border-radius: 10px;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vh-btn-book {
    flex: 1 1 auto;
    background: #fe6d02;
    color: #ffffff !important;
    border: 1px solid #fe6d02;
    box-shadow: 0 4px 12px rgba(254, 109, 2, 0.24);
}

.vh-btn-book:hover {
    background: #e55e00;
    border-color: #e55e00;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 94, 0, 0.35);
}

.vh-btn-call {
    flex: 0 0 auto;
    padding: 0 16px;
    background: #f0f4f9;
    color: #123a5c !important;
    border: 1px solid rgba(18, 58, 92, 0.12);
}

.vh-btn-call:hover {
    background: var(--heading-color, #123A5C);
    color: #ffffff !important;
    border-color: var(--heading-color, #123A5C);
    transform: translateY(-1px);
}

/* Bottom Page CTA */
.vh-doc-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 52px;
}

.vh-doc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 30px;
    border-radius: 999px;
    background: #fe6d02;
    color: #ffffff !important;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 14px 28px rgba(254, 109, 2, 0.32);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vh-doc-cta:hover {
    background: #e55e00;
    box-shadow: 0 16px 32px rgba(229, 94, 0, 0.4);
    transform: translateY(-2px);
}

.vh-doc-cta i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.vh-doc-cta:hover i {
    transform: translateX(3px);
}

/* =========================================================
   Responsive Breakpoints for All Devices
   ========================================================= */

/* Desktop & Large Screen (1200px and up) */
@media (min-width: 1200px) {
    .vh-founders-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .vh-specialists-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 26px;
    }
}

/* Medium Screens / Laptops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .vh-founders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        max-width: 860px;
        margin: 0 auto;
    }

    .vh-specialists-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .vh-doc-photo-wrap {
        height: 270px;
    }

    .vh-doc-name {
        font-size: 18px;
    }
}

/* Tablets (640px to 991px) */
@media (min-width: 640px) and (max-width: 991px) {
    .vh-doc-page {
        padding: 48px 0 68px;
    }

    .vh-founders-grid,
    .vh-specialists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .vh-doc-photo-wrap {
        height: 280px;
    }

    .vh-doc-section-divider {
        margin: 50px 0 42px;
    }
}

/* Mobile Phones (under 640px) */
@media (max-width: 639px) {
    .vh-doc-page {
        padding: 36px 0 56px;
    }

    .vh-doc-intro {
        margin-bottom: 28px;
    }

    .vh-doc-intro h2 {
        font-size: 27px;
    }

    .vh-doc-intro p {
        font-size: 14.5px;
    }

    .vh-founders-grid,
    .vh-specialists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .vh-doc-photo-wrap {
        height: 310px;
    }

    .vh-doc-body {
        padding: 18px 16px 16px;
    }

    .vh-doc-name {
        font-size: 18px;
    }

    .vh-doc-specialty {
        font-size: 12.5px;
    }

    .vh-doc-qualifications {
        font-size: 12.5px;
        min-height: auto;
        margin-bottom: 12px;
    }

    .vh-doc-section-divider {
        margin: 40px 0 32px;
        gap: 14px;
    }

    .vh-doc-divider-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .vh-doc-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* Small Mobile Screens (under 380px) */
@media (max-width: 379px) {
    .vh-doc-photo-wrap {
        height: 270px;
    }

    .vh-doc-name {
        font-size: 16.5px;
    }

    .vh-btn-call {
        padding: 0 12px;
    }

    .vh-doc-btn {
        font-size: 12px;
        height: 38px;
    }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {

    .vh-doc-card,
    .vh-doc-photo,
    .vh-doc-arrow-btn,
    .vh-doc-btn,
    .vh-doc-cta {
        transition: none;
    }

    .vh-doc-card:hover,
    .vh-doc-card:hover .vh-doc-photo,
    .vh-doc-cta:hover,
    .vh-doc-btn:hover {
        transform: none;
    }
}