/* ============================================================
   Provider pages — shared stylesheet
   Used by: Views/User/ProvidersOverview, ProviderProfile,
            ProviderDoctors (+ _ProviderDoctorsPartial modal)
   Reuses the EMTC brand tokens defined in emtc-brand.css
   (--emtc-navy / -primary / -blue / -teal / -teal-light /
    -tint / -ink / -muted / -grad / -radius / -shadow).
   Loaded AFTER emtc-brand.css via a <link> in each view.
   Logical, symmetric spacing so it works in LTR and RTL (ar).
   ============================================================ */

/* ------------------------------------------------------------
   1. PAGE-TITLE BANNER
   The theme navbar is position:absolute, so the banner needs
   generous top padding to keep its content clear of the navbar.
   These views only ever load this file, so overriding the
   global .page-title-area here is safe and scoped to them.
   ------------------------------------------------------------ */
.page-title-area {
    height: auto !important;              /* replaces the forced 400/500px hacks */
    min-height: 300px;
    padding: 160px 0 70px;                /* top padding clears the absolute navbar */
    background-attachment: scroll !important;
}
/* keep banner subtitle text readable on the dark gradient banner
   (replaces the removed global `p { color:#fff }` rule) */
.page-title-area p,
.page-title-content p {
    color: #fff !important;
    opacity: .92;
    max-width: 640px;
    margin-inline: auto;
}
/* stat strip that lives inside the ProvidersOverview banner */
.stats-overview {
    margin-top: 26px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}

/* ------------------------------------------------------------
   2. PAGE LAYOUT WRAPPERS
   Normal, non-overlapping flow (removed margin-top:-150px &
   min-height:100vh). A soft tint sits behind the white cards.
   ------------------------------------------------------------ */
.providers-overview,
.provider-profile,
.provider-doctors {
    position: relative;
    padding: 60px 0 80px;
    background: var(--emtc-tint);
}

.providers-container,
.provider-doctors-container {
    background: #fff;
    border-radius: var(--emtc-radius);
    box-shadow: var(--emtc-shadow);
    padding: 40px;
}
.profile-container {
    background: #fff;
    border-radius: var(--emtc-radius);
    box-shadow: var(--emtc-shadow);
    overflow: hidden;
}

/* ------------------------------------------------------------
   3. SHARED STAT PRIMITIVES
   Defaults are dark-on-white; the banner .stat-card overrides
   to white-on-gradient below.
   ------------------------------------------------------------ */
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    color: var(--emtc-navy);
}
.stat-label {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--emtc-muted);
}
.stat-icon {
    display: block;
    font-size: 1.4rem;
    color: var(--emtc-teal);
    margin-bottom: 8px;
}
.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emtc-navy);
    margin-bottom: 4px;
}
.stat-title {
    font-size: .72rem;
    color: var(--emtc-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Banner stat cards (ProvidersOverview) — glass on the gradient */
.stat-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--emtc-radius);
    padding: 22px 18px;
    text-align: center;
    color: #fff;
    backdrop-filter: blur(6px);
    transition: transform .3s ease, background .3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .18);
}
.stat-card .stat-number { color: #fff; }
.stat-card .stat-label { color: #fff; opacity: .9; }

/* ------------------------------------------------------------
   4. PROVIDER CARDS (ProvidersOverview grid)
   ------------------------------------------------------------ */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 10px;
}
.provider-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--emtc-tint-2);
    border-radius: var(--emtc-radius);
    overflow: hidden;
    box-shadow: 0 12px 30px -20px rgba(4, 50, 74, .35);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.provider-card:hover {
    transform: translateY(-8px);
    border-color: var(--emtc-teal);
    box-shadow: var(--emtc-shadow);
}
.provider-header {
    background: var(--emtc-grad);
    color: #fff;
    padding: 30px 26px;
    text-align: center;
}
.provider-logo {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(4, 50, 74, .25);
}
.provider-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.provider-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.provider-description {
    font-size: .95rem;
    line-height: 1.5;
    color: #fff;
    opacity: .9;
}
.provider-stats {
    padding: 24px 26px 10px;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: var(--emtc-tint);
    border-radius: 12px;
    transition: transform .3s ease, background .3s ease;
}
.stat-item:hover {
    background: var(--emtc-tint-2);
    transform: translateY(-2px);
}
.provider-actions {
    margin-top: auto;               /* pins the buttons to the card bottom */
    padding: 20px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.view-doctors-btn {
    width: 100%;
    background: var(--emtc-grad);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.view-doctors-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: var(--emtc-shadow);
    color: #fff;
    text-decoration: none;
}

/* ------------------------------------------------------------
   5. PROVIDER PROFILE
   ------------------------------------------------------------ */
/* 5a. Hero */
.profile-hero {
    position: relative;
    background: var(--emtc-grad);
    color: #fff;
    padding: 56px 40px;
    overflow: hidden;
}
.profile-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.provider-logo-large {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(4, 50, 74, .3);
}
.provider-logo-large img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}
.provider-logo-large i {
    font-size: 4rem;
    color: var(--emtc-blue);
}
.provider-info-hero { flex: 1; }
.provider-name-large {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.provider-tagline {
    font-size: 1.2rem;
    line-height: 1.5;
    opacity: .92;
    margin-bottom: 24px;
}
.provider-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

/* 5b. Stats section */
.stats-section {
    padding: 40px;
    background: var(--emtc-tint);
    border-bottom: 1px solid var(--emtc-tint-2);
}
.stat-box {
    background: #fff;
    border: 2px solid transparent;
    border-radius: var(--emtc-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 22px -16px rgba(4, 50, 74, .5);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--emtc-blue);
    box-shadow: var(--emtc-shadow);
}
.stat-box .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--emtc-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
}

/* 5c. About section */
.about-section { padding: 50px 40px; }
.about-section .section-title,
.doctors-section .section-title {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--emtc-navy);
    padding-bottom: 14px;
    margin-bottom: 24px;
}
.about-section .section-title::after,
.doctors-section .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 4px;
    background: var(--emtc-grad);
}
.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--emtc-ink);
    margin-bottom: 30px;
}
.fancy-bio-box {
    position: relative;
    background: var(--emtc-grad);
    border-radius: var(--emtc-radius);
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    box-shadow: var(--emtc-shadow);
}
.fancy-bio-box::before {
    content: "";
    position: absolute;
    top: -50%;
    inset-inline-end: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
    animation: emtcPulse 3s ease-in-out infinite;
}
.fancy-bio-box .bio-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: .9;
}
.fancy-bio-box .bio-text {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
}
.fancy-bio-box .bio-quote { font-style: italic; opacity: .95; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--emtc-tint);
    border-radius: 12px;
    padding: 20px;
    transition: background .3s ease, transform .3s ease;
}
.info-item:hover {
    background: var(--emtc-tint-2);
    transform: translateX(4px);
}
.info-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--emtc-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.info-content { flex: 1; }
.info-label {
    font-size: .82rem;
    color: var(--emtc-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--emtc-navy);
}

/* 5d. Doctors section (profile) */
.doctors-section {
    padding: 50px 40px;
    background: var(--emtc-tint);
}
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 35px;
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    background: var(--emtc-grad);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--emtc-shadow);
    color: #fff;
    text-decoration: none;
}

/* ------------------------------------------------------------
   6. DOCTOR CARDS
   Shared look for the ProviderDoctors grid and the Profile grid.
   Flex column so cards are equal height and footers align.
   ------------------------------------------------------------ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 10px;
}
.doctor-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--emtc-tint-2);
    border-radius: var(--emtc-radius);
    overflow: hidden;
    box-shadow: 0 12px 30px -20px rgba(4, 50, 74, .35);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.doctor-card:hover {
    transform: translateY(-8px);
    border-color: var(--emtc-teal);
    box-shadow: var(--emtc-shadow);
}
.doctor-header {
    background: var(--emtc-grad);
    color: #fff;
    padding: 28px 22px;
    text-align: center;
}
/* circular avatar / image with graceful icon fallback */
.doctor-image,
.doctor-avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(4, 50, 74, .25);
}
.doctor-image img,
.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doctor-image i,
.doctor-avatar i {
    font-size: 2.3rem;
    color: var(--emtc-blue);
}
.doctor-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.doctor-title,
.doctor-specialty {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .9;
}
.doctor-content,
.doctor-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}
.doctor-bio {
    font-size: .95rem;
    line-height: 1.55;
    color: var(--emtc-muted);
    margin-bottom: 20px;
    min-height: 66px;
}
/* ProviderDoctors: two-up stat tiles */
.doctor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
/* Profile: inline stats row */
.doctor-stats-inline {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--emtc-tint-2);
}
.stat-inline { text-align: center; }
.stat-inline-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--emtc-blue);
}
.stat-inline-label {
    font-size: .72rem;
    color: var(--emtc-muted);
    text-transform: uppercase;
}
/* ProviderDoctors: contact footer */
.doctor-contact {
    padding: 18px 24px;
    background: var(--emtc-tint);
    border-top: 1px solid var(--emtc-tint-2);
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--emtc-muted);
    margin-bottom: 10px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item i {
    width: 20px;
    color: var(--emtc-blue);
}
.rating i { color: #ffc107; }
.rating1 i { color: var(--emtc-tint-2); }

/* ------------------------------------------------------------
   7. PROVIDER-DOCTORS: back button + provider banner card
   ------------------------------------------------------------ */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    padding: 11px 20px;
    border: 1px solid var(--emtc-tint-2);
    border-radius: 50px;
    background: var(--emtc-tint);
    color: var(--emtc-primary);
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, color .25s ease;
}
.back-btn:hover {
    background: var(--emtc-tint-2);
    color: var(--emtc-navy);
    text-decoration: none;
    transform: translateY(-2px);
}
.provider-info {
    text-align: center;
    background: var(--emtc-grad);
    border-radius: var(--emtc-radius);
    padding: 34px 30px;
    margin-bottom: 40px;
    color: #fff;
    box-shadow: var(--emtc-shadow);
}
.doctors-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .3);
    font-weight: 600;
}

/* ------------------------------------------------------------
   8. EMPTY STATES (readable dark-on-white — no white-on-white)
   ------------------------------------------------------------ */
.empty-state,
.empty-doctors {
    text-align: center;
    padding: 70px 20px;
    color: var(--emtc-muted);
}
.empty-state i,
.empty-doctors i {
    font-size: 4rem;
    color: var(--emtc-teal-light);
    margin-bottom: 20px;
}
.empty-state h3,
.empty-doctors h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--emtc-navy);
}
.empty-state p,
.empty-doctors p {
    max-width: 420px;
    margin-inline: auto;
}

/* ------------------------------------------------------------
   9. SHARE SECTION (profile)
   ------------------------------------------------------------ */
.share-section {
    padding: 44px 40px;
    background: var(--emtc-grad);
    color: #fff;
    text-align: center;
}
.share-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.share-subtitle {
    font-size: 1.1rem;
    opacity: .92;
    margin-bottom: 28px;
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}
.share-btn:hover {
    background: rgba(255, 255, 255, .3);
    transform: translateY(-3px);
    color: #fff;
    text-decoration: none;
}
.share-btn i { font-size: 1.2rem; }
.copy-link-btn { cursor: pointer; }

/* ------------------------------------------------------------
   10. "View Doctors" MODAL (#doctorsModal + injected partial)
   ------------------------------------------------------------ */
#doctorsModal .modal-content {
    border: none;
    border-radius: var(--emtc-radius);
    overflow: hidden;
}
#doctorsModal .modal-header {
    background: var(--emtc-grad);
    color: #fff;
    border: none;
    padding: 24px 30px;
}
#doctorsModal .modal-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}
#doctorsModal .close {
    color: #fff;
    opacity: .85;
    font-size: 1.5rem;
    text-shadow: none;
    background: transparent;
    border: none;
}
#doctorsModal .close:hover { opacity: 1; }
#doctorsModal .modal-body {
    padding: 30px;
    max-height: 72vh;
    overflow-y: auto;
}

/* Injected partial (_ProviderDoctorsPartial) card grid */
.modal-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 10px;
}
.modal-doctor-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--emtc-tint-2);
    border-radius: var(--emtc-radius);
    overflow: hidden;
    box-shadow: 0 8px 20px -14px rgba(4, 50, 74, .4);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.modal-doctor-card:hover {
    transform: translateY(-5px);
    border-color: var(--emtc-teal);
    box-shadow: var(--emtc-shadow);
}
.modal-doctor-header {
    background: var(--emtc-grad);
    color: #fff;
    padding: 20px;
    text-align: center;
}
.modal-doctor-image {
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(4, 50, 74, .25);
}
.modal-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-doctor-image i {
    font-size: 2rem;
    color: var(--emtc-blue);
}
.modal-doctor-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.modal-doctor-title {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .9;
}
.modal-doctor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.modal-doctor-bio {
    font-size: .88rem;
    line-height: 1.5;
    color: var(--emtc-muted);
    margin-bottom: 15px;
    min-height: 60px;
}
.modal-doctor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.modal-stat-item {
    text-align: center;
    padding: 10px;
    background: var(--emtc-tint);
    border-radius: 8px;
    transition: background .3s ease, transform .3s ease;
}
.modal-stat-item:hover {
    background: var(--emtc-tint-2);
    transform: translateY(-2px);
}
.modal-stat-icon {
    display: block;
    font-size: 1rem;
    color: var(--emtc-blue);
    margin-bottom: 3px;
}
.modal-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--emtc-navy);
    margin-bottom: 2px;
}
.modal-stat-title {
    font-size: .7rem;
    color: var(--emtc-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.modal-doctor-actions { margin-top: auto; }
.modal-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--emtc-muted);
}
.modal-empty-state i {
    font-size: 3rem;
    color: var(--emtc-teal-light);
    margin-bottom: 15px;
}
.modal-empty-state h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--emtc-navy);
}
.modal-empty-state p {
    max-width: 300px;
    margin-inline: auto;
}

/* ------------------------------------------------------------
   11. LOADING + ANIMATIONS
   ------------------------------------------------------------ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--emtc-tint-2);
    border-top-color: var(--emtc-blue);
    border-radius: 50%;
    animation: emtcSpin 1s linear infinite;
}
.fade-in-up { animation: emtcFadeInUp .6s ease forwards; }

@keyframes emtcSpin {
    to { transform: rotate(360deg); }
}
@keyframes emtcFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes emtcPulse {
    0%, 100% { transform: scale(1);   opacity: .5; }
    50%      { transform: scale(1.1); opacity: .8; }
}

/* ------------------------------------------------------------
   12. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .page-title-area { padding: 130px 0 50px; }

    .providers-container,
    .provider-doctors-container {
        padding: 28px 20px;
    }
    .providers-grid,
    .doctors-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stats-row { grid-template-columns: 1fr; }

    .profile-hero { padding: 40px 22px; }
    .profile-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .provider-name-large { font-size: 2rem; }
    .provider-tagline { font-size: 1rem; }
    .provider-badges { justify-content: center; }

    .stats-section,
    .about-section,
    .doctors-section,
    .share-section {
        padding: 30px 20px;
    }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
