/* ═════════════════════════════════════════════════════════════════
   Sudan Clinic — Internal Pages Styles (nasrf.ru Inspired)
   Supports Arabic (RTL, Primary) and English (LTR, Secondary)
   ═════════════════════════════════════════════════════════════════ */

/* ── 1. Page Layout (Main + Sidebar in nasrf.ru Style) ── */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    max-width: 1475px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    width: 100%;
    box-sizing: border-box;
}

body[dir="rtl"] .page-layout {
    grid-template-columns: 1fr 340px;
}

.page-sidebar {
    width: 100%;
    max-width: 340px;
    position: relative;
}

.page-main {
    min-width: 0;
    width: 100%;
}

.page-sidebar {
    width: 100%;
    max-width: 340px;
    position: relative;
}

.sidebar-inner {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 1024px) {
    .page-layout,
    body[dir="rtl"] .page-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .page-sidebar {
        max-width: 100%;
    }
}

/* ── 2. Sidebar Left Menu (nasrf.ru .left-menu Style) ── */
.nasrf-sidebar-menu {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.sidebar-menu-header {
    background: linear-gradient(135deg, #4074cb 0%, #2f5eb0 100%);
    padding: 18px 22px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-menu-header svg {
    width: 20px;
    height: 20px;
}

.sidebar-menu-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.sidebar-menu-list {
    padding: 12px 0;
    margin: 0;
    list-style: none;
}

.sidebar-menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tertiary);
    text-decoration: none;
    border-inline-start: 3px solid transparent;
    transition: var(--transition);
}

.sidebar-menu-item a:hover, .sidebar-menu-item.active a {
    background: var(--neutral);
    color: var(--primary);
    border-inline-start-color: var(--primary);
    padding-inline-start: 26px;
}

.sidebar-menu-item a svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

body[dir="rtl"] .sidebar-menu-item a svg {
    transform: rotate(180deg);
}

/* ── 3. Internal Hero Banner (.pg-hero / .RebCenter-baner) ── */
.pg-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 50%, #e2edf8 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.pg-hero__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.pg-hero__text {
    flex: 1;
    color: var(--text-main);
}

.pg-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(64, 116, 203, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(64, 116, 203, 0.2);
}

.pg-hero__title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text-main);
}

.pg-hero__subtitle {
    font-size: 16px;
    color: var(--text-slate);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 560px;
}

.pg-hero__image {
    flex-shrink: 0;
    width: 320px;
}

.pg-hero__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* ── 4. Content Cards & Features ── */
.pg-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    margin-bottom: 28px;
}

.pg-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-card-title-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--neutral);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pg-card-text {
    font-size: 15px;
    color: var(--text-slate);
    line-height: 1.8;
}

/* Step Badges inside Cards */
.pg-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.pg-step-item {
    background: var(--neutral);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.pg-step-item:hover {
    background: var(--surface);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.pg-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-yellow);
    color: var(--accent-yellow-text);
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: var(--shadow-yellow);
}

.pg-step-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.pg-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── 5. Doctor Detail Profile Styles ── */
.doctor-profile-header {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 36px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
}

.doctor-profile-avatar {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.doctor-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-profile-info h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.doctor-profile-spec {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.doctor-profile-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--neutral);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--tertiary);
}

/* ── 6. Responsive ── */
@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    .pg-hero__inner {
        flex-direction: column;
        text-align: center;
    }
    .pg-hero__subtitle {
        margin-inline: auto;
    }
    .pg-steps-grid {
        grid-template-columns: 1fr;
    }
    .doctor-profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .doctor-profile-avatar {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* ═════════════════════════════════════════════════════════════════
   7. Interactive Knowledge Base & Guide Styles (Figma & Donor 1:1)
   ═════════════════════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

.guide-hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: #ffffff;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.guide-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.guide-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.guide-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.guide-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.guide-hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 16px;
    color: #ffffff;
}

.guide-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 780px;
    margin: 0 0 26px;
}

.guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.guide-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.guide-hero-btn-primary {
    background: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.guide-hero-btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.guide-hero-btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.guide-hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* Guide Sections & Cards (Clean Open Layout, No Box Card) */
.guide-section-block {
    scroll-margin-top: 110px;
    margin-bottom: 0;
}

.guide-card {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 54px;
    margin-bottom: 54px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
    transition: none;
}

.guide-section-block:last-child .guide-card {
    border-bottom: none !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.guide-card:hover {
    box-shadow: none !important;
    border-color: transparent !important;
}

.guide-grid-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
}

body[dir="rtl"] .guide-grid-layout {
    grid-template-columns: 1fr 360px;
}

.guide-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #eef4fb;
    border: 1px solid #d0e1fd;
    border-radius: 9999px;
    color: #1e5cb8;
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 14px;
}

.guide-step-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 14px;
}

.guide-step-text {
    font-size: 15.5px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 22px;
}

/* UI Elements Breakdown List - Open Design Without White Boxes */
.guide-ui-box {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 22px;
}

.guide-ui-box-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-ui-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guide-ui-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
}

.guide-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.guide-ui-item strong {
    color: #0f172a;
    font-weight: 700;
}

/* Callout Alerts */
.guide-callout {
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.65;
}

.guide-callout-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.guide-callout-tip {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #166534;
}

.guide-callout-note {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #1e40af;
}

.guide-callout-important {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #92400e;
}

/* Device Mockup Illustration */
.guide-mockup-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
}

.guide-mockup-img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 36px rgba(15, 23, 42, 0.12));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-card:hover .guide-mockup-img {
    transform: scale(1.02) translateY(-4px);
}

/* Sidebar Specifics (nasrf.ru Screenshot 2 1:1) */
.sidebar-sticky-box {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pg-sidebar-card#sidebar-toc {
    background: #f3f5f8;
    border-radius: 25px;
    border: none;
    box-shadow: 8px 8px 65px rgba(120, 150, 201, 0.17);
    padding: 24px 18px;
}

.pg-sidebar-card#sidebar-toc .pg-sidebar-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pg-sidebar-card#sidebar-toc .pg-sidebar-card__title svg {
    width: 20px !important;
    height: 20px !important;
    color: #1e293b;
}

.pg-sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pg-sidebar-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    border-radius: 50px;
    background: transparent;
    transition: all 0.2s ease;
}

.pg-sidebar-nav-item a:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #0d6efd;
}

.pg-sidebar-nav-item.active a {
    background: #ffffff;
    color: #0d6efd;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
}

.pg-sidebar-nav-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    flex-shrink: 0;
}

.pg-sidebar-nav-item.active .pg-sidebar-nav-num {
    background: #0d6efd;
    color: #ffffff;
}

/* ── Combined Sidebar Banner Card (nasrf.ru Inspired with Wave Silhouette) ── */
.sidebar-donor-banner {
    position: relative;
    border-radius: 25px;
    box-shadow: 8px 8px 65px rgba(120, 150, 201, 0.22);
    overflow: hidden;
    margin-top: 10px;
    background: url('/images/sidebar-banner-bg.png') top center / 100% 100% no-repeat;
    color: #ffffff;
    padding: 135px 24px 28px;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    box-sizing: border-box;
}

body[dir="rtl"] .sidebar-donor-banner {
    background-image: url('/images/sidebar-banner-bg-rtl.png');
}

.sidebar-donor-banner__title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 10px;
    text-shadow: 0 2px 8px rgba(0, 30, 80, 0.3);
}

.sidebar-donor-banner__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    width: fit-content;
}

.sidebar-donor-banner__text {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 18px;
    text-shadow: 0 1px 4px rgba(0, 30, 80, 0.2);
}

.sidebar-donor-banner__contact {
    margin-bottom: 20px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-donor-banner__contact strong {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 0.5px;
    direction: ltr;
    display: inline-block;
}

.sidebar-donor-banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    background: #ffffff;
    color: #0d6efd;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.sidebar-donor-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    background: #f8fafc;
}

.sidebar-donor-banner__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-donor-banner__sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-donor-banner__sublink:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ── Doctor Sidebar TOC Card with Custom Cover (Doctor Top + Menu + Wave Bottom) ── */
.pg-sidebar-card.sidebar-doctor-toc {
    position: relative;
    background: #ffffff !important;
    border-radius: 25px;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(37, 99, 235, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 110, 253, 0.14);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-doctor-toc__top {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #ffffff;
    overflow: hidden;
}

.sidebar-doctor-toc__top img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top left;
    margin: 0;
}

.sidebar-doctor-toc__body {
    background: #ffffff;
    padding: 16px 20px 10px;
    position: relative;
    z-index: 2;
}

.sidebar-doctor-toc__body .pg-sidebar-card__title {
    margin-top: 0;
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.sidebar-doctor-toc__bottom {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #ffffff;
    overflow: hidden;
}

.sidebar-doctor-toc__bottom img.sidebar-doctor-toc__wave-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: bottom center;
}

/* Responsive */
@media (max-width: 960px) {
    .guide-grid-layout,
    body[dir="rtl"] .guide-grid-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .guide-mockup-wrap {
        order: -1;
        max-width: 280px;
        margin: 0 auto 16px;
    }
    
    .guide-hero-title {
        font-size: 28px;
    }
}

/* Sidebar SVG size constraint */
.pg-sidebar-card svg,
.page-sidebar svg,
.pg-sidebar-card__title svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Responsive Layout Fixes */
@media (max-width: 992px) {
    .page-layout,
    body[dir="rtl"] .page-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 24px 16px 60px !important;
    }
    .page-sidebar {
        order: 2;
        width: 100% !important;
    }
    .sidebar-sticky-box,
    .sidebar-inner {
        position: static !important;
    }
    .guide-grid-layout,
    body[dir="rtl"] .guide-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .guide-card {
        padding: 0 0 36px !important;
        margin-bottom: 36px !important;
    }
    .guide-mockup-wrap {
        max-width: 280px;
        margin: 0 auto 16px;
    }
}

/* ── World Doctors Hero Banner (for-patients, for-doctors) ── */
.main-page-baner.guide-world-hero {
    background-image: url('/images/sudan-clinic-world-doctors-banner-1920x749.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

body[dir="rtl"] .main-page-baner.guide-world-hero {
    background-image: none;
}

body[dir="rtl"] .main-page-baner.guide-world-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/sudan-clinic-world-doctors-banner-1920x749.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    transform: scaleX(-1);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 960px) {
    .main-page-baner.guide-world-hero,
    body[dir="rtl"] .main-page-baner.guide-world-hero {
        background-color: #fafbfe !important;
        background-image: url('/images/sudan-clinic-world-doctors-mobile-banner.png') !important;
        background-position: center calc(100% + 45px) !important;
        background-size: 100% auto !important;
        background-repeat: no-repeat !important;
        min-height: 740px !important;
        padding: 24px 0 380px !important;
        box-sizing: border-box !important;
    }
    body[dir="rtl"] .main-page-baner.guide-world-hero::before {
        display: none !important;
    }
}

/* ── Doctors Catalog Hero Banner (doctors-ar, doctors-en) ── */
.main-page-baner.doctors-catalog-hero {
    background-image: url('/images/sudan-clinic-doctors-hero-english-1920x749.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center right !important;
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

body[dir="rtl"] .main-page-baner.doctors-catalog-hero {
    background-image: url('/images/sudan-clinic-doctors-hero-1920x749.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center left !important;
}

body[dir="rtl"] .main-page-baner.doctors-catalog-hero::before {
    display: none !important;
}

/* Doctors Catalog Hero: White vertical bar & White big headline */
.main-page-baner.doctors-catalog-hero .text-logo {
    border-inline-start: 4px solid #ffffff !important;
}

.main-page-baner.doctors-catalog-hero .text-logo ul {
    border-inline-start-color: #ffffff !important;
}

.main-page-baner.doctors-catalog-hero .main-text h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 960px) {
    .main-page-baner.doctors-catalog-hero .text-logo {
        border-inline-start: none !important;
    }
    .main-page-baner.doctors-catalog-hero .text-logo ul {
        border-inline-start: 3px solid #ffffff !important;
    }
}

@media (max-width: 960px) {
    .main-page-baner.doctors-catalog-hero,
    body[dir="rtl"] .main-page-baner.doctors-catalog-hero {
        background-image: url('/images/sudan-clinic-doctors-hero-phone-1920x749.png') !important;
        background-position: center bottom !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 420px !important;
    }
}

/* Breadcrumbs (Screenshot 2 / nasrf.ru Style) */
.pg-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.pg-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pg-breadcrumbs a:hover {
    color: #2563eb;
}

.pg-breadcrumb-sep {
    color: #94a3b8;
    font-size: 13px;
}

.pg-breadcrumb-current {
    color: #1e293b;
    font-weight: 700;
}

/* Secondary Sidebar Cards (Clean Donor Style) */
.pg-sidebar-card {
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 22px 20px;
    box-shadow: none;
}

.pg-sidebar-card__title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
}

.pg-sidebar-card__text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 16px;
}

/* ── Exact Donor Left-Menu Sidebar & Open Typography (nasrf.ru 1:1) ── */
.donor-left-nav {
    background-color: #f3f5f8;
    border-radius: 25px; /* 2.5rem */
    box-shadow: 8px 8px 65px rgba(120, 150, 201, 0.17);
    padding: 14px 12px 24px;
    position: sticky;
    top: 90px;
}

.donor-left-nav-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 14px;
    font-size: 22px;
    font-weight: 700;
    color: #1b1b1b;
}

.donor-left-nav-header svg {
    width: 24px !important;
    height: 24px !important;
    color: #1b1b1b;
    flex-shrink: 0;
}

.donor-left-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.donor-left-nav-item a {
    font-size: 16px;
    font-weight: 500;
    color: #1b1b1b;
    padding: 12px 20px;
    display: block;
    border-radius: 25px;
    text-decoration: none;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

.donor-left-nav-item a:hover {
    background-color: #ffffff;
    border-radius: 25px;
    color: #1b1b1b;
}

.donor-left-nav-item.active a {
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    color: #4074cb;
    font-weight: 700;
}

/* Document Content Flow (Strictly NO Boxed Cards) */
.donor-doc-flow {
    padding: 0;
    margin: 0;
}

.donor-doc-title {
    font-size: 40px;
    font-weight: 700;
    color: #1b1b1b;
    line-height: 1.25;
    margin: 0 0 12px;
}

.donor-doc-meta {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 40px;
}

.donor-doc-section {
    scroll-margin-top: 110px;
    margin-bottom: 44px;
}

.donor-doc-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1b1b1b;
    line-height: 1.35;
    margin: 0 0 18px;
}

.donor-doc-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 24px 0 12px;
}

.donor-doc-p {
    font-size: 16px;
    line-height: 1.85;
    color: #2e384d;
    margin: 0 0 16px;
}

.donor-doc-list {
    margin: 0 0 20px;
    padding-inline-start: 26px;
    color: #2e384d;
    font-size: 16px;
    line-height: 1.85;
}

.donor-doc-list li {
    margin-bottom: 8px;
}

.donor-doc-highlight {
    background-color: #f3f5f8;
    border-radius: 25px;
    padding: 24px 28px;
    margin: 24px 0;
    border-inline-start: 4px solid #4074cb;
}

.donor-doc-highlight p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: #1b1b1b;
}

.donor-doc-contact-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
}

.donor-doc-contact-list a {
    color: #4074cb;
    text-decoration: none;
    font-weight: 600;
}

.donor-doc-contact-list a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Doctors & Clinics Map Dashboard Frame (1:1 with Admin Panel)
   ========================================================================== */

.map-section {
    padding: 50px 0 70px;
    background-color: #f8fafc;
}

.map-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.map-dashboard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 0 6px;
}

.map-dashboard-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: inline;
}

.badge-map-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 4px 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 30px;
    font-size: 13px;
    background-color: #3abaf4 !important;
    color: #ffffff !important;
    min-width: 24px;
    box-shadow: 0 2px 8px rgba(58, 186, 244, 0.35);
}

.map-dashboard-locations {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
}

/* Exact Card Container from Admin Panel */
.map-dashboard-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 0.46875rem 2.1875rem rgba(90, 97, 105, 0.1),
                0 0.9375rem 1.40625rem rgba(90, 97, 105, 0.08),
                0 0.25rem 0.53125rem rgba(90, 97, 105, 0.1),
                0 0.125rem 0.1875rem rgba(90, 97, 105, 0.08);
    transition: all 0.3s ease;
}

.map-dashboard-card .card-body {
    padding: 24px;
}

/* Filter Chips (1:1 with index.blade.php) */
.map-filter-chips-row {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-chip {
    padding: 8px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: #ffffff;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    outline: none;
    user-select: none;
}

.filter-chip:hover {
    border-color: #0080cb;
    color: #0080cb;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 128, 203, 0.3);
}

.filter-chip.active {
    background: #0080cb !important;
    border-color: #0080cb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 128, 203, 0.3);
}

.filter-chip i {
    font-size: 16px;
}

/* Map inside card */
.doctors-map-element {
    height: 520px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .map-dashboard-card .card-body {
        padding: 16px 14px;
    }
    .doctors-map-element {
        height: 400px;
    }
    .filter-chip {
        padding: 7px 14px;
        font-size: 13px;
        gap: 6px;
    }
    .map-dashboard-header {
        margin-bottom: 14px;
    }
    .map-dashboard-title {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   About Us Page (nasrf.ru/podderzhka/ 1:1 Design)
   ========================================================================== */

body.about-page,
.about-page .page-content,
.about-cv-main-block {
    background-color: #f4f5f8 !important;
}

.about-cv-main-block {
    padding: 40px 0 80px;
}

/* 1. Hero Section */
.about-main {
    margin-bottom: 70px;
    padding-top: 10px;
}

.about-main-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-main-cont .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.about-main-cont .center .img {
    width: 460px;
    max-width: 85vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
}

.about-main-cont .center .img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 15px 35px rgba(0, 128, 203, 0.18));
}

.about-main-cont .center .suptitle {
    font-size: 18px;
    font-weight: 700;
    color: #4074cb;
    margin-top: 10px;
    margin-bottom: 8px;
    text-align: center;
}

.about-main-cont .center .title {
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.25;
}

.about-main-cont .center .subtitle {
    font-size: 19px;
    font-weight: 400;
    color: #555555;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Content Sections (Nasrf 2-Column Layout) */
.about-cv-main {
    margin-bottom: 80px;
}

.about-cv-main:last-child {
    margin-bottom: 0;
}

.about-cv-main .cont {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-cv-main .cont .left {
    width: 21.8%;
    flex-shrink: 0;
    text-align: start;
}

.about-cv-main .cont .left .suptitle {
    font-size: 18px;
    font-weight: 700;
    color: #4074cb;
    margin-bottom: 18px;
}

.about-cv-main .cont .left .title {
    font-size: 38px;
    font-weight: 400;
    color: #202020;
    line-height: 1.3;
    margin: 0;
}

.about-cv-main .cont .right {
    width: 74.5%;
    flex-grow: 0;
    text-align: start;
}

.about-cv-main .cont .right .title {
    font-size: 21px;
    font-weight: 700;
    color: #202020;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-cv-main .cont .right .text {
    font-size: 17.5px;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-cv-main .cont .right .text p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: #333333;
}

.about-cv-main .cont .right .text p strong {
    color: #111111;
    font-weight: 700;
}

.about-cv-main .cont .right .text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-cv-main .cont .right .text ul li {
    position: relative;
    padding-inline-start: 24px;
    line-height: 1.75;
    font-size: 17px;
    color: #333333;
}

.about-cv-main .cont .right .text ul li::before {
    content: "•";
    position: absolute;
    inset-inline-start: 4px;
    color: #4074cb;
    font-size: 24px;
    line-height: 1;
    top: -1px;
}

.about-cv-main .cont .right .text.list ul li {
    margin-bottom: 8px;
}

/* 3. Circular Diagram Banner Section */
.img-baner-main {
    width: 100%;
    text-align: center;
}

.img-baner-main img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive visibility utilities */
.block-hid {
    display: none !important;
}

.block-hid-mob {
    display: block !important;
}

@media (max-width: 768px) {
    .block-hid {
        display: block !important;
    }
    
    .block-hid-mob {
        display: none !important;
    }

    .about-main {
        margin-bottom: 45px;
    }

    .about-main-cont .center .img {
        width: 300px;
    }

    .about-main-cont .center .title {
        font-size: 28px;
    }

    .about-main-cont .center .subtitle {
        font-size: 16px;
    }

    .about-cv-main {
        margin-bottom: 45px;
    }

    .about-cv-main .cont {
        flex-direction: column;
        gap: 20px;
    }

    .about-cv-main .cont .left {
        width: 100%;
    }

    .about-cv-main .cont .left .suptitle {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .about-cv-main .cont .left .title {
        font-size: 26px;
        line-height: 1.35;
    }

    .about-cv-main .cont .right {
        width: 100%;
    }

    .about-cv-main .cont .right .title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .about-cv-main .cont .right .text {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .about-cv-main .cont .right .text ul li {
        font-size: 15.5px;
        padding-inline-start: 20px;
    }
}

/* ==========================================================================
   Original Vision & Mission Statement Card (Preserved text with watermark)
   ========================================================================== */

.about-original-vision-block {
    margin-top: 60px;
    margin-bottom: 50px;
    position: relative;
}

.about-original-vision-card {
    position: relative;
    background: #F3F5F8;
    border: 2px solid #FFFFFF;
    border-radius: 35px;
    padding: 60px 70px;
    overflow: hidden;
    box-shadow: #FFFFFF -15px -15px 30px 0px, rgba(150, 172, 205, 0.22) 18px 18px 40px 0px;
    display: flex;
    align-items: center;
    min-height: 420px;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-original-vision-card:hover {
    box-shadow: #FFFFFF -15px -15px 30px 0px, rgba(73, 114, 199, 0.28) 18px 20px 45px 0px;
    transform: translateY(-3px);
}

.about-original-vision-bg {
    position: absolute;
    top: 50%;
    inset-inline-start: -40px;
    transform: translateY(-50%);
    width: 480px;
    height: auto;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.vision-watermark-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 16px rgba(73, 114, 199, 0.35));
}

.about-original-vision-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 840px;
    margin-inline-start: auto;
    text-align: start;
}

.about-original-vision-title {
    font-size: 34px;
    font-weight: 800;
    color: #29344A;
    margin-bottom: 24px;
    line-height: 1.35;
}

.about-original-vision-text p {
    font-size: 16.5px;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 18px;
}

.about-original-vision-signature {
    margin-top: 30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 19px;
    font-weight: 700;
    color: #4972C7;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .about-original-vision-card {
        padding: 35px 22px;
        min-height: auto;
        border-radius: 16px;
    }
    .about-original-vision-bg {
        width: 260px;
        inset-inline-start: -30px;
        opacity: 0.07;
    }
    .about-original-vision-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    .about-original-vision-text p {
        font-size: 15.5px;
        line-height: 1.75;
        margin-bottom: 14px;
    }
    .about-original-vision-signature {
        font-size: 16px;
        margin-top: 20px;
    }
}

/* ── Doctors Catalog Page: Two-Column Layout with Sidebar Filter (1:1 Figma & nasrf.ru) ── */
.doctors-catalog-section {
    background-color: #f3f5f8;
    padding: 36px 0 70px;
}

.doctors-page-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1040px) {
    .doctors-page-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (min-width: 1041px) {
    .doctors-sidebar-col {
        position: sticky;
        top: 24px;
        z-index: 10;
    }
}

@media (max-width: 1040px) {
    .doctors-sidebar-col {
        position: static;
        margin-bottom: 24px;
    }
}

.doctors-filter-card {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(37, 99, 235, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 110, 253, 0.14);
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.doctors-filter-card__top {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #ffffff;
    overflow: hidden;
}

.doctors-filter-card__top img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top left;
    margin: 0;
    transition: transform 0.35s ease;
}

.doctors-filter-card:hover .doctors-filter-card__top img {
    transform: scale(1.02);
}

.doctors-filter-card__body {
    background: #ffffff;
    padding: 22px 22px 18px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctors-filter-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctors-filter-card__title svg {
    color: #2563eb;
}

.doctors-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doctors-filter-group label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.doctors-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.doctors-search-box input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 13.5px;
    font-family: inherit;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

body[dir="ltr"] .doctors-search-box input {
    padding: 12px 14px 12px 44px;
}

.doctors-search-box input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.doctors-search-box .search-btn-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-end: 8px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.doctors-search-box .search-btn-icon:hover {
    background: #1d4ed8;
}

.doctors-filter-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 13.5px;
    font-family: inherit;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.doctors-filter-select:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.doctors-filter-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.doctors-filter-reset-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.doctors-filter-card__bottom {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #ffffff;
    overflow: hidden;
}

.doctors-filter-card__bottom img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: bottom center;
}

/* Main Column styles */
.doctors-main-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.doctors-main-col .doctors-page-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
    padding: 16px 0 40px;
}

@media (max-width: 1320px) {
    .doctors-main-col .doctors-page-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .doctors-main-col .doctors-page-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Exact Donor nasrf.ru Doctor Card (1:1 Design) ── */
.page-doctors__item {
    background: #F3F5F8;
    border: 1.8px solid #FFFFFF;
    border-radius: 45px;
    box-shadow: #FFFFFF -20px -20px 30px 0px, rgba(150, 172, 205, 0.2) 25px 25px 50px 0px;
    padding: 12px 12px 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-sizing: border-box;
}

.page-doctors__item:hover {
    transform: translateY(-6px);
    box-shadow: #FFFFFF -20px -20px 30px 0px, rgba(73, 114, 199, 0.28) 25px 25px 50px 0px;
}

.page-doctors__item-photo {
    position: relative;
    width: 100%;
    height: 255px;
    border-radius: 40px;
    margin-bottom: 34px;
    background: #e9eef5;
    overflow: visible;
}

.page-doctors__item-photo img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
    object-position: center top !important;
    display: block;
    transition: transform 0.4s ease;
}

.page-doctors__item:hover .page-doctors__item-photo img {
    transform: scale(1.02);
}

.page-doctors__item-experience {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    border-radius: 48px;
    background: #F6F8FC;
    border: 1.5px solid #FFFFFF;
    box-shadow: -2px -2px 6px #FFFFFF, 2px 2px 10px rgba(170, 184, 215, 0.45);
    color: #C8224A;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-doctors__item-info {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: start;
}

.page-doctors__item-name {
    font-size: 19px;
    font-weight: 700;
    color: #29344A;
    line-height: 1.35;
    margin: 0 0 12px;
    min-height: 52px;
    display: flex;
    align-items: center;
    text-align: start;
}

.page-doctors__item-education {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    min-height: 54px;
    font-size: 14px;
    color: #475569;
    line-height: 1.45;
    text-align: start;
}

.page-doctors__item-education span {
    text-align: start;
    flex: 1;
}

.doctor-diploma-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.doctor-diploma-icon path {
    fill: #29344A;
}

.page-doctors__item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 100px;
    background: #4972C7;
    color: #FFFFFF;
    font-size: 16.5px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(73, 114, 199, 0.35);
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.25s ease;
}

.page-doctors__item-btn:hover {
    background: #395fae;
    box-shadow: 0 14px 32px rgba(73, 114, 199, 0.48);
    transform: translateY(-2px);
    color: #FFFFFF;
}







/* ═════════════════════════════════════════════════════════════════
   Sudan Clinic — Mobile Apps Showcase Page (Exact Donor nasrf.ru 1:1 Design)
   ═════════════════════════════════════════════════════════════════ */

.apps-hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    padding: 65px 0 85px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.apps-hero-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.apps-quick-switcher {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.switcher-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.32);
    transition: all 0.3s ease;
    cursor: pointer;
}

.switcher-tab-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    color: #ffffff;
}

.switcher-tab-btn.active {
    background: #ffffff;
    color: #1e3a8a;
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Page Container - Matches exact 1475px Figma standard */
.apps-container,
.apps-page-content {
    max-width: 1475px;
    margin: 0 auto;
    padding: 40px 15px 80px;
    width: 100%;
    box-sizing: border-box;
}

/* 1. App Showcase Section - NO giant white container box! */
.app-showcase-section {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 30px 0 70px;
    margin-bottom: 20px;
    box-shadow: none !important;
    position: relative;
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.app-showcase-grid.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

/* Audience Pill Badge */
.app-audience-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 48px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    background: #F6F8FC;
    border: 1.5px solid #FFFFFF;
    box-shadow: -2px -2px 6px #FFFFFF, 2px 2px 10px rgba(170, 184, 215, 0.45);
}

.app-audience-pill.patient {
    color: #2563eb;
}

.app-audience-pill.doctor {
    color: #059669;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.app-showcase-title {
    font-size: 36px;
    font-weight: 800;
    color: #29344A;
    line-height: 1.35;
    margin: 0 0 16px;
}

.app-showcase-desc {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.85;
    margin: 0 0 34px;
}

/* Mini Feature Cards in Donor Style */
.app-features-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 34px;
}

.app-feature-box {
    background: #F3F5F8;
    border: 1.8px solid #FFFFFF;
    border-radius: 28px;
    box-shadow: #FFFFFF -12px -12px 24px 0px, rgba(150, 172, 205, 0.2) 14px 14px 32px 0px;
    padding: 24px 26px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.app-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: #FFFFFF -12px -12px 24px 0px, rgba(73, 114, 199, 0.28) 16px 18px 38px 0px;
}

.app-feature-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: #F6F8FC;
    border: 1.5px solid #FFFFFF;
    box-shadow: -2px -2px 6px #FFFFFF, 2px 2px 8px rgba(170, 184, 215, 0.35);
    color: #4972C7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.app-feature-name {
    font-size: 17px;
    font-weight: 800;
    color: #29344A;
    margin: 0 0 8px;
}

.app-feature-sub {
    font-size: 14px;
    color: #7B8BA5;
    line-height: 1.6;
    margin: 0;
}

/* Download Hub Card in Donor Style */
.download-hub-card {
    background: #F3F5F8;
    border: 1.8px solid #FFFFFF;
    border-radius: 35px;
    box-shadow: #FFFFFF -15px -15px 30px 0px, rgba(150, 172, 205, 0.22) 18px 18px 40px 0px;
    padding: 28px 34px;
    margin-top: 14px;
}

.download-hub-label {
    font-size: 15px;
    font-weight: 800;
    color: #29344A;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-buttons-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #29344A;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid #1e293b;
    position: relative;
    box-shadow: 0 6px 18px rgba(41, 52, 74, 0.2);
}

.app-store-btn:hover {
    background: #1e3a8a;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(41, 52, 74, 0.3);
    color: #ffffff !important;
}

.store-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

body[dir="ltr"] .store-btn-text {
    text-align: left;
}

.store-btn-sub {
    font-size: 11px;
    opacity: 0.85;
    line-height: 1.2;
}

.store-btn-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.store-badge-live {
    background: #10b981;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    margin-right: 6px;
}

body[dir="ltr"] .store-badge-live {
    margin-right: 0;
    margin-left: 6px;
}

.store-badge-soon {
    background: #f59e0b;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    margin-right: 6px;
}

body[dir="ltr"] .store-badge-soon {
    margin-right: 0;
    margin-left: 6px;
}

.store-verified-line {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #059669;
    font-weight: 700;
}

/* Phone Mockup in Donor Style */
.mockup-visual-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-phone-frame {
    position: relative;
    width: 310px;
    height: 620px;
    border-radius: 48px;
    background: #F3F5F8;
    border: 3.5px solid #FFFFFF;
    box-shadow: #FFFFFF -20px -20px 40px 0px, rgba(150, 172, 205, 0.28) 25px 25px 55px 0px;
    padding: 10px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-sizing: border-box;
}

.mockup-phone-frame:hover {
    transform: translateY(-8px);
    box-shadow: #FFFFFF -20px -20px 40px 0px, rgba(73, 114, 199, 0.35) 25px 28px 60px 0px;
}

.mockup-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: #F6F8FC;
    border: 1.5px solid #FFFFFF;
    box-shadow: -3px -3px 8px #FFFFFF, 3px 3px 12px rgba(170, 184, 215, 0.45);
    padding: 10px 18px;
    border-radius: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #29344A;
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge.badge-top-left {
    top: 30px;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge.badge-bottom-right {
    bottom: 50px;
    right: -25px;
    animation-delay: 2s;
}

.floating-badge.badge-mid-right {
    top: 45%;
    right: -30px;
    animation-delay: 1.2s;
}

.badge-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: #4972C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── 2. Onboarding Steps Cards in Exact Donor Style (Screenshot 4 & 3) ── */
.apps-steps-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 50px 0 85px;
}

.apps-section-header {
    text-align: center;
    margin-bottom: 45px;
}

.apps-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #29344A;
    margin-bottom: 12px;
}

.apps-section-subtitle {
    font-size: 16px;
    color: #7B8BA5;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.steps-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.step-card {
    background: #F3F5F8;
    border: 1.8px solid #FFFFFF;
    border-radius: 35px;
    box-shadow: #FFFFFF -15px -15px 30px 0px, rgba(150, 172, 205, 0.22) 20px 20px 45px 0px;
    padding: 40px 24px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: #FFFFFF -15px -15px 30px 0px, rgba(73, 114, 199, 0.3) 20px 22px 48px 0px;
}

.step-number-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #4972C7;
    border: 3px solid #FFFFFF;
    box-shadow: 0 10px 22px rgba(73, 114, 199, 0.38), -3px -3px 8px #FFFFFF;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number-circle {
    transform: scale(1.08);
}

.step-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #29344A;
    margin-bottom: 12px;
    line-height: 1.35;
}

.step-card-desc {
    font-size: 14.5px;
    color: #7B8BA5;
    line-height: 1.65;
    margin: 0;
}

/* ── 3. FAQ Section in Donor Style (NO big white container box!) ── */
.apps-faq-section {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 0 80px;
    margin-bottom: 30px;
}

.faq-apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
}

.faq-app-item {
    background: #F3F5F8;
    border: 1.8px solid #FFFFFF;
    border-radius: 30px;
    box-shadow: #FFFFFF -12px -12px 26px 0px, rgba(150, 172, 205, 0.2) 15px 15px 35px 0px;
    padding: 28px 32px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.faq-app-item:hover {
    transform: translateY(-4px);
    box-shadow: #FFFFFF -12px -12px 26px 0px, rgba(73, 114, 199, 0.28) 16px 18px 40px 0px;
}

.faq-app-q {
    font-size: 17.5px;
    font-weight: 800;
    color: #29344A;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-app-q i,
.faq-app-q svg {
    color: #4972C7;
    flex-shrink: 0;
    font-size: 20px;
}

.faq-app-a {
    font-size: 14.5px;
    color: #7B8BA5;
    line-height: 1.75;
    margin: 0;
}

/* ── 4. CTA Bottom Banner in Donor Style ── */
.apps-bottom-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    border-radius: 36px;
    padding: 60px 40px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
    margin-bottom: 40px;
}

.apps-cta-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 14px;
}

.apps-cta-subtitle {
    font-size: 17px;
    opacity: 0.92;
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.apps-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Toast Alert for App Store */
.app-store-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #29344A;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.2);
    padding: 16px 28px;
    border-radius: 100px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 700;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.app-store-toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-apple-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

@media (max-width: 1024px) {
    .app-showcase-grid,
    .app-showcase-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mockup-visual-wrapper {
        order: -1;
    }
    .steps-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .steps-cards-grid {
        grid-template-columns: 1fr;
    }
    .app-features-mini-grid {
        grid-template-columns: 1fr;
    }
    .download-buttons-row {
        flex-direction: column;
        width: 100%;
    }
    .app-store-btn {
        width: 100%;
        justify-content: center;
    }
    .mockup-phone-frame {
        width: 260px;
        height: 520px;
    }
    .floating-badge {
        display: none;
    }
}
