/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES - PEDIATRIC SURGERY PORTFOLIO
   ========================================================================== */
:root {
    /* Color Palette - Medical Luxury & Pediatric Warmth */
    --primary: #0a2540;
    --primary-dark: #051525;
    --primary-light: #163d66;
    --primary-gradient: linear-gradient(135deg, #0a2540 0%, #0e4b75 100%);
    
    --accent: #0098a6;
    --accent-hover: #007c87;
    --accent-light: #e0f7fa;
    --accent-glow: rgba(0, 152, 166, 0.25);
    --accent-gradient: linear-gradient(135deg, #0098a6 0%, #00b4d8 100%);

    --gold: #f59e0b;
    --gold-light: #fffbeb;
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

    --whatsapp: #25d366;
    --whatsapp-dark: #1ea952;
    --whatsapp-glow: rgba(37, 211, 102, 0.35);

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-card: #ffffff;
    
    --border-color: #e2e8f0;
    --border-light: #edf2f7;

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.04);
    --shadow-md: 0 8px 20px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 16px 36px rgba(10, 37, 64, 0.12);
    --shadow-xl: 0 24px 50px rgba(10, 37, 64, 0.16);
    --shadow-glow: 0 0 25px rgba(0, 152, 166, 0.2);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en: 'Outfit', sans-serif;
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography & Headings */
.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    padding: 14px 28px;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #133961 0%, #0098a6 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #ffffff;
    box-shadow: 0 6px 18px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--whatsapp-glow);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-light);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.08rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-glow:hover::after {
    opacity: 0.6;
    filter: blur(8px);
}

/* ==========================================================================
   TOP BAR STRIP
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.88rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.live-pulse {
    width: 9px;
    height: 9px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    font-weight: 600;
}

.top-link:hover {
    color: var(--accent);
}

.top-link-wa {
    color: var(--whatsapp);
}

.top-link-wa:hover {
    color: #6ee7b7;
}

.divider {
    opacity: 0.3;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-wrap {
    width: 46px;
    height: 46px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.96rem;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 70px 0 80px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 152, 166, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}

.badge-academic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 26px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.98rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    background-color: var(--accent-light);
    padding: 3px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Media Visual */
.hero-visual {
    position: relative;
}

.visual-card-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.doctor-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--primary-gradient);
    border: 6px solid #ffffff;
}

.hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.02);
}

.visual-badge-floating {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.visual-badge-floating.top-right {
    top: 24px;
    right: -24px;
}

.visual-badge-floating.bottom-left {
    bottom: 24px;
    left: -24px;
    animation-delay: 2s;
}

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

.badge-icon-circ {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-icon-circ.star-gold {
    background-color: var(--gold-light);
}

.visual-badge-floating strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary);
}

.visual-badge-floating small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-bio-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.bio-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.bio-paragraph {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 28px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.pillar-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.pillar-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.pillar-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.pillar-item p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-action-banner {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #bae6fd;
}

.about-action-banner p {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.about-media-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #ffffff;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0) 100%);
    color: #ffffff;
    padding: 24px 16px 12px;
    font-size: 0.84rem;
    font-weight: 600;
}

/* ==========================================================================
   SPECIALTIES & SURGERIES SECTION
   ========================================================================== */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.specialty-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.specialty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition);
}

.specialty-card:hover .card-icon-wrap {
    background: var(--accent-gradient);
    color: #ffffff;
}

.specialty-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 0.76rem;
    font-weight: 700;
    background-color: var(--bg-light);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.specialty-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.specialty-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.specialty-list {
    margin-top: auto;
    margin-bottom: 20px;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}

.specialty-list li {
    font-size: 0.86rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 6px;
    position: relative;
    padding-right: 16px;
}

.specialty-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: 900;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.92rem;
    margin-top: 8px;
}

.card-link:hover {
    color: var(--accent-hover);
    gap: 12px;
}

/* ==========================================================================
   CLINICS & SCHEDULES SECTION
   ========================================================================== */
.clinic-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.clinic-tab-btn {
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: right;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clinic-tab-btn .tab-badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--bg-light);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.clinic-tab-btn strong {
    font-size: 1.15rem;
    color: var(--primary);
}

.clinic-tab-btn small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.clinic-tab-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.clinic-tab-btn.active {
    border-color: var(--accent);
    background-color: #f0fdfa;
    box-shadow: var(--shadow-md);
}

.clinic-tab-btn.active .tab-badge {
    background-color: var(--accent);
    color: #ffffff;
}

/* Detailed Clinic Cards */
.clinic-card-detailed {
    display: none;
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.clinic-card-detailed.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.clinic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.branch-num-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.branch-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.branch-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-map {
    border-color: #0284c7;
    color: #0284c7;
}

.btn-map:hover {
    background-color: #f0f9ff;
    border-color: #0284c7;
    color: #0369a1;
}

.clinic-card-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    margin-bottom: 32px;
}

.schedule-heading, .channels-heading {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.timings-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timing-row {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.timing-days strong {
    font-size: 0.98rem;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.timing-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-season {
    font-size: 0.88rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.badge-season.summer {
    background-color: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.badge-season.winter {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.badge-season.night {
    background-color: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ede9fe;
}

.channels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-channel-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-channel-item:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-sm);
}

.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-channel .channel-icon {
    background-color: #dcfce7;
    color: var(--whatsapp);
}

.wa-channel:hover {
    border-color: var(--whatsapp);
    background-color: #f0fdf4;
}

.tel-channel .channel-icon {
    background-color: #e0f2fe;
    color: #0284c7;
}

.mob-channel .channel-icon {
    background-color: #f1f5f9;
    color: var(--primary);
}

.channel-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.channel-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.channel-text strong {
    font-size: 1.05rem;
    color: var(--primary);
    direction: ltr;
    text-align: right;
    font-family: var(--font-en), var(--font-ar);
}

.action-arrow {
    font-size: 1.2rem;
    color: var(--accent);
}

.map-embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.overall-rating-card {
    background: linear-gradient(135deg, #0a2540 0%, #163d66 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 36px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-xl);
    flex-wrap: wrap;
}

.rating-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.big-score {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-en), var(--font-ar);
    color: #ffffff;
}

.stars-row {
    font-size: 1.4rem;
    margin: 6px 0;
}

.score-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 600;
}

.rating-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
}

.rating-features-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feat-badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    color: #e2e8f0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-score-badge {
    background-color: #0284c7;
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    text-align: center;
    line-height: 1;
}

.review-score-badge span {
    font-size: 1.1rem;
    font-weight: 900;
    display: block;
    font-family: var(--font-en);
}

.review-score-badge small {
    font-size: 0.65rem;
    display: block;
}

.review-stars {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.98rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 18px;
    font-weight: 500;
    font-style: italic;
}

.verified-tag {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background-color: var(--accent-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    width: fit-content;
}

/* ==========================================================================
   FAQ SECTION (SEO & AI OPTIMIZED)
   ========================================================================== */
.faq-accordion-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 20px 24px;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background-color: var(--accent);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 500px;
}

/* ==========================================================================
   SMART BOOKING FORM
   ========================================================================== */
.booking-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    max-width: 860px;
    margin: 0 auto;
}

.booking-badge {
    display: inline-block;
    background-color: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.booking-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.booking-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.smart-booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    color: var(--text-main);
    font-size: 0.96rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    font-size: 2rem;
}

.footer-logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-logo-sub {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.footer-bio-summary {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-verified-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
}

.footer-col-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2.5px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #94a3b8;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
    padding-right: 6px;
}

.footer-branch-list li {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #94a3b8;
}

.footer-branch-list strong {
    color: #ffffff;
    display: block;
}

.footer-branch-list a {
    color: var(--accent);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    font-size: 0.84rem;
    color: #64748b;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.medical-disclaimer {
    font-size: 0.78rem;
    color: #64748b;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET & POPUP
   ========================================================================== */
.floating-wa-container {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
}

.floating-wa-btn {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #ffffff;
    box-shadow: 0 10px 25px var(--whatsapp-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
}

.floating-wa-btn:hover {
    transform: scale(1.08);
    background-color: var(--whatsapp-dark);
}

.pulse-ring {
    position: absolute;
    inset: -6px;
    border: 2.5px solid var(--whatsapp);
    border-radius: 50%;
    animation: waPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
}

@keyframes waPulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

.floating-tooltip {
    position: absolute;
    left: 76px;
    background-color: var(--primary-dark);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-wa-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(6px);
}

/* WhatsApp Popup */
.wa-popup {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 340px;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: popupSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wa-popup.open {
    display: flex;
}

@keyframes popupSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-popup-header {
    background-color: #075e54;
    color: #ffffff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.wa-header-avatar {
    position: relative;
}

.wa-header-avatar img {
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background-color: #25d366;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.wa-header-info {
    flex-grow: 1;
}

.wa-header-info strong {
    display: block;
    font-size: 0.96rem;
}

.wa-header-info span {
    font-size: 0.76rem;
    opacity: 0.9;
    display: block;
}

.reply-time {
    font-size: 0.7rem;
    color: #a7f3d0;
    display: block;
}

.wa-popup-close {
    background: transparent;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
}

.wa-popup-close:hover {
    opacity: 1;
}

.wa-popup-body {
    background-color: #ece5dd;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wa-bubble-incoming {
    background-color: #ffffff;
    border-radius: 12px 12px 12px 2px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.wa-time {
    font-size: 0.68rem;
    color: #94a3b8;
    display: block;
    text-align: left;
    margin-top: 4px;
}

.wa-branches-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-branch-btn {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.wa-branch-btn:hover {
    background-color: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.wa-branch-btn span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.wa-branch-btn small {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--whatsapp-dark);
    direction: ltr;
    font-family: var(--font-en);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .badge-academic {
        margin: 0 auto 20px;
    }

    .hero-features-list {
        align-items: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats-grid {
        max-width: 550px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .clinic-card-body {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .top-bar-container {
        justify-content: center;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-menu.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .mobile-toggle {
        display: flex;
    }

    .clinic-tabs {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 28px 20px;
    }

    .floating-wa-container {
        bottom: 20px;
        left: 20px;
    }

    .wa-popup {
        width: calc(100vw - 40px);
        left: -10px;
    }
}
