/* ==========================================================================
   Dr. Ahmed Essam - Spine Care Theme Master Stylesheet
   Modern Medical Aesthetics & RTL Architecture
   ========================================================================== */

:root {
    --color-primary: #0284c7;
    --color-primary-dark: #0369a1;
    --color-primary-light: #38bdf8;
    --color-primary-soft: #f0f9ff;
    
    --color-navy-dark: #0a2540;
    --color-navy-card: #0d2038;
    --color-navy-light: #162c4a;
    
    --color-gold: #c5a880;
    --color-gold-hover: #b39268;
    --color-gold-soft: #fbf8f3;
    
    --color-emerald: #10b981;
    --color-emerald-soft: #ecfdf5;
    
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-bg-light: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-white: #ffffff;
    --color-border: #e2e8f0;

    --font-arabic: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

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

body {
    font-family: var(--font-arabic);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.7;
    text-align: right;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--color-primary-dark);
}

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

ul {
    list-style: none;
}

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

/* Typography Helpers */
.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.text-white-muted { color: #cbd5e1 !important; }

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-tag.light-tag {
    color: var(--color-gold);
    background: rgba(197, 168, 128, 0.15);
    border-color: rgba(197, 168, 128, 0.3);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   Top Bar (Harmonized Medical Blue / Ocean Palette)
   ========================================================================== */
.site-topbar {
    background: rgba(6, 21, 40, 0.92);
    color: #ffffff;
    font-size: 0.8125rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topbar-right, .topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: #ffffff;
}

.topbar-installment {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fef08a;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.12);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
}

.topbar-phones {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-label {
    color: rgba(255, 255, 255, 0.85);
}

.topbar-phone {
    color: #ffffff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.topbar-phone:hover {
    background: #ffffff;
    color: var(--color-primary-dark);
}

.topbar-branches {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

/* Topbar Social Links */
.topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.top-social-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.top-social-link svg {
    display: block;
    transition: transform 0.25s ease;
}

.top-social-link:hover {
    transform: translateY(-2px) scale(1.1);
    color: #ffffff;
}

.top-social-link.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 8px rgba(24, 119, 242, 0.6);
}

.top-social-link.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 0 8px rgba(220, 39, 67, 0.6);
}

.top-social-link.yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.top-social-link.tt:hover {
    background: #000000;
    border-color: #00f2fe;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.6), 0 0 8px rgba(254, 44, 85, 0.6);
}

/* ==========================================================================
   Site Header & Navigation (Transparent -> Solid On Scroll)
   ========================================================================== */
.site-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: -68px;
    height: 68px;
    display: flex;
    align-items: center;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
    background: rgba(10, 37, 64, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 2rem;
    margin-inline-end: 2rem;
}

.logo-image {
    height: 58px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-image {
    transform: scale(1.04);
}

.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-inline-end: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.35rem 0.5rem;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0.5rem;
    left: 0.5rem;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    transform-origin: center;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Header Social Media Buttons */
.header-social-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    text-decoration: none;
}

.header-social-btn svg {
    display: block;
    transition: transform 0.25s ease;
}

.header-social-btn:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.header-social-btn:hover svg {
    transform: scale(1.1);
}

.header-social-btn.fb:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.header-social-btn.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border-color: #dc2743;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

.header-social-btn.yt:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.header-social-btn.tt:hover {
    background: #09090b;
    color: #ffffff;
    border-color: #09090b;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Branches Call Dropdown */
.branches-call-dropdown-wrapper {
    position: relative;
}

.btn-call-branches {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-arabic);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.52rem 1.35rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45);
    transition: all var(--transition-fast);
}

.btn-call-branches:hover, .btn-call-branches.active {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
    transform: translateY(-2px);
}

.dropdown-chevron {
    transition: transform var(--transition-fast);
}

.btn-call-branches.active .dropdown-chevron {
    transform: rotate(180deg);
}

.branches-call-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    padding: 1.15rem;
    z-index: 1200;
    animation: fadeInDrop 0.25s ease forwards;
}

.branches-call-dropdown.show {
    display: block;
}

@keyframes fadeInDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0.75rem;
}

.dropdown-branch-item {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--color-border);
}

.dropdown-branch-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.branch-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.branch-pill {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

.branch-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-navy-dark);
}

.branch-call-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.call-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.call-btn-link:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.call-btn-link.landline {
    background: #f1f5f9;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-drawer {
    display: none;
    background: #0a2540;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.25rem 1.5rem;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mobile-menu a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    padding: 0.35rem 0;
}

.mobile-menu a:hover {
    color: var(--color-primary-light);
}

/* Mobile Drawer Social Links */
.mobile-social-drawer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-social-drawer > span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
}

.mobile-social-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.mob-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--color-navy-dark);
    transition: all 0.2s ease;
    text-decoration: none;
}

.mob-social-btn.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.mob-social-btn.yt:hover { background: #ff0000; color: #fff; border-color: #ff0000; }
.mob-social-btn.ig:hover { background: #dc2743; color: #fff; border-color: #dc2743; }
.mob-social-btn.tt:hover { background: #000000; color: #fff; border-color: #000000; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #061528 0%, #0a2540 60%, #112d4e 100%);
    color: var(--color-white);
    padding: calc(4.5rem + 68px) 0 5.5rem;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
    filter: blur(40px);
}

.shape-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e0f2fe;
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-doctor-name {
    display: block;
    font-size: 3.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.4rem;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-doctor-specialty {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.hero-tagline {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.hero-tagline .highlight {
    background: linear-gradient(120deg, #38bdf8 0%, #c5a880 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.95rem 2rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
    transition: all var(--transition-fast);
}

.btn-primary-hero:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.55);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9375rem;
    color: #e2e8f0;
}

.hero-feat-item.highlight-feat {
    color: var(--color-gold);
    font-weight: 700;
}

/* Hero Visual Box */
.doctor-card-wrapper {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.doctor-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.doctor-banner-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-card-wrapper:hover .doctor-banner-img {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    background: rgba(13, 32, 56, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 3;
}

.floating-badge strong {
    display: block;
    color: var(--color-white);
    font-size: 0.9375rem;
}

.floating-badge span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.badge-top {
    top: -20px;
    right: -25px;
}

.badge-bottom {
    bottom: -20px;
    left: -25px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(197, 168, 128, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon.green-icon {
    background: rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 5.5rem 0;
    background: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.about-photo {
    width: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-card) 100%);
    color: var(--color-white);
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.exp-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.25rem;
}

.about-paragraph {
    font-size: 1.05rem;
    color: var(--color-text-main);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--color-white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.pillar-card:hover {
    transform: translateX(-4px);
    border-color: var(--color-primary-light);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    margin-bottom: 0.2rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-whatsapp-inline {
    background: #25d366;
    color: var(--color-white);
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp-inline:hover {
    background: #20bd5a;
    color: var(--color-white);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 5.5rem 0;
    background: var(--color-white);
}

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

.service-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.service-card.highlight-card {
    border-color: var(--color-gold);
    background: linear-gradient(180deg, #fdfbf7 0%, #ffffff 100%);
}

.service-image-box {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image-box img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(7, 21, 39, 0.85);
    backdrop-filter: blur(6px);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.service-badge.gold-badge {
    background: var(--color-gold);
    color: var(--color-navy-dark);
}

.service-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-simple-icon {
    font-size: 1.75rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.service-text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-points {
    margin-bottom: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--color-border);
}

.service-points li {
    font-size: 0.85rem;
    color: var(--color-text-main);
    margin-bottom: 0.35rem;
    position: relative;
    padding-right: 1.1rem;
}

.service-points li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: -4px;
}

.service-btn {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: auto;
    display: inline-block;
    transition: var(--transition-fast);
}

.service-btn:hover {
    color: var(--color-primary-dark);
    transform: translateX(-4px);
}

/* ==========================================================================
   Why Non-Surgical Section
   ========================================================================== */
.why-section {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, #0d223c 100%);
    padding: 5.5rem 0;
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.comp-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
}

.comp-modern {
    background: linear-gradient(145deg, #132b4b 0%, #0c1d33 100%);
    border: 2px solid var(--color-primary);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.2);
}

.comp-traditional {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.comp-badge {
    display: inline-block;
    background: var(--color-emerald);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.comp-badge.traditional-badge {
    background: #ef4444;
}

.comp-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.comp-sub {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.icon-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-cross {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-primary-comp {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 800;
    padding: 0.9rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45);
    transition: all var(--transition-fast);
}

.btn-primary-comp:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--color-primary-light);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

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

/* ==========================================================================
   Infographics & Patient Education Section
   ========================================================================== */
.infographics-section {
    padding: 5.5rem 0;
    background: var(--color-bg-light);
}

.infographics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-img-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.info-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.info-card:hover .info-img {
    transform: scale(1.04);
}

.info-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 39, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
}

.info-card:hover .info-overlay {
    opacity: 1;
}

.info-zoom-btn {
    background: var(--color-white);
    color: var(--color-navy-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.info-content {
    padding: 1.25rem;
}

.info-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    display: block;
}

.info-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.info-summary {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.btn-primary-info {
    display: inline-block;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45);
    margin-top: 1rem;
    transition: all var(--transition-fast);
}

.btn-primary-info:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

/* Modal Lightbox */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.image-modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2001;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute;
    top: -45px;
    left: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   YouTube Video Library Section & Carousel (مكتبة الفيديوهات)
   ========================================================================== */
.videos-section {
    padding: 5.5rem 0;
    background: #f8fafc;
    position: relative;
    border-top: 1px solid #e2e8f0;
}

.videos-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.25rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.videos-title-box .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fee2e2;
    color: #dc2626;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0;
}

.videos-main-heading {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--color-navy-dark);
    margin: 0;
    line-height: 1.25;
}

.videos-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.videos-more-link:hover {
    color: #ffffff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

.videos-more-link svg {
    transition: transform 0.25s ease;
}

.videos-more-link:hover svg {
    transform: translateX(-4px);
}

/* Carousel Container */
.videos-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.videos-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.75rem 0.25rem 1.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.videos-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Carousel Side Navigation Arrows */
.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--color-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    z-index: 5;
}

.carousel-arrow:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

/* Video Card (Matches Reference Image Cards) */
.video-card {
    flex: 0 0 calc(25% - 1.15rem);
    min-width: 275px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    outline: none;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
}

/* Card Thumbnail */
.video-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-img {
    transform: scale(1.06);
}

/* Badges on Thumbnail */
.video-badge-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 37, 64, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.video-badge-yt {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Play Button Overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 1;
}

.video-card:hover .video-play-overlay {
    background: rgba(10, 37, 64, 0.15);
}

.play-btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn-circle svg {
    margin-right: -3px;
    transition: transform 0.25s ease;
}

.video-card:hover .play-btn-circle {
    transform: scale(1.15);
    background: #dc2626;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.7);
}

/* Card Body */
.video-card-body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-card-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    line-height: 1.5;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.95em;
    transition: color 0.2s ease;
}

.video-card:hover .video-card-title {
    color: var(--color-primary);
}

.video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.video-doctor-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.doctor-avatar-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-meta-text {
    display: flex;
    flex-direction: column;
}

.doctor-meta-text .meta-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-navy-dark);
}

.doctor-meta-text .meta-sub {
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

.video-watch-cta {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.video-card:hover .video-watch-cta {
    transform: translateX(-3px);
}

/* Pagination Dots (Matches Reference Image: ● ○ ○ ○) */
.video-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.75rem;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: #94a3b8;
}

.carousel-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.45);
}

/* ==========================================================================
   YouTube Video Modal Popup (النافذة المنبثقة الاحترافية)
   ========================================================================== */
.yt-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.5rem;
}

.yt-video-modal.open {
    opacity: 1;
    visibility: visible;
}

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 21, 40, 0.88);
    backdrop-filter: blur(12px);
}

.yt-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    background: #0a2540;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 2;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.yt-video-modal.open .yt-modal-dialog {
    transform: scale(1) translateY(0);
}

.yt-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.yt-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}

.yt-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.yt-modal-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.yt-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* 16:9 Responsive Player Box */
.yt-modal-player-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000000;
}

.yt-modal-player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Modal Footer */
.yt-modal-footer {
    padding: 1.15rem 1.4rem;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.yt-modal-desc {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    max-width: 460px;
}

.yt-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Matches Unified Button Style */
.btn-yt-modal-booking {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
    transition: all var(--transition-fast);
}

.btn-yt-modal-booking:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}

.btn-yt-modal-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #25d366;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all var(--transition-fast);
}

.btn-yt-modal-wa:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Responsive adjustments for Videos Section */
@media (max-width: 991px) {
    .video-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 260px;
    }
    .carousel-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .video-card {
        flex: 0 0 calc(85% - 0.5rem);
        min-width: 250px;
    }
    .videos-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .yt-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .yt-modal-actions {
        flex-direction: column;
    }
    .btn-yt-modal-booking, .btn-yt-modal-wa {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Branches Section
   ========================================================================== */
.branches-section {
    padding: 5.5rem 0;
    background: var(--color-white);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.branch-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-card.primary-branch {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.branch-card-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.branch-city-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.branch-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy-dark);
}

.branch-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.branch-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.branch-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.branch-info-row .info-icon {
    color: var(--color-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.branch-info-row strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-navy-dark);
    margin-bottom: 0.2rem;
}

.branch-info-row p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.time-badge {
    display: inline-block;
    background: #e2e8f0;
    color: var(--color-navy-dark);
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
}

.branch-phones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.phone-link {
    display: inline-block;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.phone-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.branch-card-footer {
    padding: 1rem 1.5rem 1.5rem;
}

.btn-branch-select {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 800;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    transition: all var(--transition-fast);
}

.btn-branch-select:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}

/* ==========================================================================
   Booking Section
   ========================================================================== */
.booking-section {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, #091a32 0%, #0d223c 100%);
    color: var(--color-white);
}

.booking-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.booking-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.booking-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.booking-perks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.perk-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-emerald);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}

.booking-direct-call {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.direct-phone-badge {
    background: rgba(2, 132, 199, 0.3);
    border: 1px solid var(--color-primary-light);
    color: var(--color-white);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.direct-phone-badge:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Form Styles */
.clinic-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
}

.form-group .req {
    color: #f87171;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    color: var(--color-navy-dark);
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
}

.form-submit-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-submit-booking {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-arabic);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45);
    transition: all var(--transition-fast);
}

.btn-submit-booking:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0a2540 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

.btn-whatsapp-booking {
    background: #25d366;
    color: var(--color-white);
    border: none;
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background var(--transition-fast);
}

.btn-whatsapp-booking:hover {
    background: #20bd5a;
}

.booking-feedback {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.booking-feedback.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 5.5rem 0;
    background: var(--color-white);
}

.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.faq-item.active {
    border-color: var(--color-primary);
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 300;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-navy-dark);
    color: #e2e8f0;
    padding: 4.5rem 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 92px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.footer-doctor-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-white);
}

.footer-doctor-title {
    font-size: 0.75rem;
    color: var(--color-primary-light);
    font-weight: 700;
}

.footer-tag {
    font-size: 0.7rem;
    color: var(--color-gold);
    display: block;
}

.footer-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer Social Media Hub */
.footer-social-section {
    margin-top: 1.25rem;
}

.footer-social-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 0.85rem;
}

.footer-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.footer-social-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-card .social-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.footer-social-card .social-card-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-social-card .social-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    transition: color 0.25s ease;
}

.footer-social-card .social-handle {
    font-size: 0.68rem;
    color: #94a3b8;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    direction: ltr;
    text-align: right;
    transition: color 0.25s ease;
}

.footer-social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Facebook hover */
.footer-social-card.fb:hover {
    background: rgba(24, 119, 242, 0.18);
    border-color: rgba(24, 119, 242, 0.6);
}
.footer-social-card.fb:hover .social-card-icon {
    background: #1877f2;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.6);
}

/* YouTube hover */
.footer-social-card.yt:hover {
    background: rgba(255, 0, 0, 0.18);
    border-color: rgba(255, 0, 0, 0.6);
}
.footer-social-card.yt:hover .social-card-icon {
    background: #ff0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

/* Instagram hover */
.footer-social-card.ig:hover {
    background: rgba(225, 48, 108, 0.18);
    border-color: rgba(225, 48, 108, 0.6);
}
.footer-social-card.ig:hover .social-card-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 12px rgba(220, 39, 67, 0.6);
}

/* TikTok hover */
.footer-social-card.tt:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 242, 254, 0.5);
}
.footer-social-card.tt:hover .social-card-icon {
    background: #000000;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.6), 0 0 8px rgba(254, 44, 85, 0.6);
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.branch-details strong {
    color: var(--color-primary-light);
}

.phone-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.phone-group a {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.phone-group a:hover {
    background: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0 1.5rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-bottom-inner .copyright {
    margin: 0;
    line-height: 1.7;
}

.footer-sep {
    display: inline-block;
    margin: 0 0.6rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Floating Branches & Contact Hub (All-in-One Professional Widget)
   ========================================================================== */
.floating-contact-hub {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floating-triggers-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Master Floating Button */
.float-master-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0a2540 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.65rem 1.25rem 0.65rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--font-arabic);
    text-decoration: none;
}

.float-master-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.55);
}

.float-master-btn.active {
    background: linear-gradient(135deg, #0a2540 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.6);
}

/* Pulse animation ring */
.fmaster-pulse {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    transform: translateY(-50%);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.fmaster-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 0.65rem;
    position: relative;
    transition: all 0.3s ease;
}

.fmaster-icon-wrap svg {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.icon-phone-default {
    display: block;
}

.icon-close-active {
    display: none;
}

.float-master-btn.active .icon-phone-default {
    display: none;
}

.float-master-btn.active .icon-close-active {
    display: block;
    transform: rotate(90deg);
}

.fmaster-labels {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.25;
}

.fmaster-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.fmaster-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #7dd3fc;
}

/* Back to Top button in hub */
.float-btn.float-top {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--color-navy-dark);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-fast);
}

.float-btn.float-top.visible {
    display: flex;
}

.float-btn.float-top:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

/* Floating Branches Card Panel */
.floating-branches-card {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: 380px;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.28), 0 0 0 1px rgba(10, 37, 64, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.97);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    pointer-events: none;
    z-index: 1510;
}

.floating-branches-card.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Card Header */
.fcard-header {
    background: linear-gradient(135deg, #0a2540 0%, #0d2b4d 100%);
    color: #ffffff;
    padding: 1.15rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(2, 132, 199, 0.4);
}

.fcard-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fcard-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    flex-shrink: 0;
}

.fcard-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.fcard-subtitle {
    font-size: 0.72rem;
    color: #94a3b8;
}

.fcard-close-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    font-size: 1.35rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.fcard-close-btn:hover {
    background: rgba(239, 68, 68, 0.85);
    transform: rotate(90deg);
}

/* Card Body */
.fcard-body {
    padding: 1rem 1.15rem;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.fcard-body::-webkit-scrollbar {
    width: 5px;
}
.fcard-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* WhatsApp Fast CTA */
.fcard-whatsapp-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.fcard-whatsapp-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    filter: brightness(1.05);
}

.fcard-wa-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fcard-wa-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fcard-wa-title {
    font-size: 0.92rem;
    font-weight: 800;
}

.fcard-wa-sub {
    font-size: 0.72rem;
    opacity: 0.9;
}

.fcard-wa-arrow {
    opacity: 0.8;
}

/* Branches Section Title */
.fcard-branches-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-navy-dark);
    margin-top: 0.25rem;
}

/* Branch Item Card */
.fcard-branch-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    transition: border-color var(--transition-fast);
}

.fcard-branch-item:hover {
    border-color: #0284c7;
}

.fcard-branch-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.fcard-pill {
    font-size: 0.68rem;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

.fcard-branch-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-navy-dark);
}

.fcard-branch-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 0.65rem;
}

.fcard-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}

.fcard-info-row svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.fcard-info-row.schedule svg {
    color: #d97706;
}

.fcard-call-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.fcard-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--color-navy-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.fcard-call-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.fcard-call-btn.primary {
    background: #f0f9ff;
    border-color: #7dd3fc;
    color: #0369a1;
}

.fcard-call-btn.primary:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.fcard-call-btn.landline {
    background: #f1f5f9;
}

/* Card Footer */
.fcard-footer {
    background: #f1f5f9;
    padding: 0.55rem 1rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    border-top: 1px solid #e2e8f0;
}

/* Overlay for Mobile */
.floating-branches-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1505;
}

.floating-branches-overlay.active {
    display: block;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1250px) {
    .brand-logo {
        margin-left: 1.5rem;
        margin-inline-end: 1.5rem;
    }

    .nav-menu {
        gap: 0.35rem;
    }

    .nav-menu a {
        font-size: 0.88rem;
        padding: 0.45rem 0.55rem;
    }

    .header-social-group {
        display: none;
    }
}

@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-social-group {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions, .hero-features-list {
        justify-content: center;
    }

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

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

    .booking-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .topbar-content {
        justify-content: center;
        text-align: center;
    }

    .topbar-right, .topbar-left {
        justify-content: center;
    }

    .hero-doctor-name {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.35rem;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
    }

    .branches-call-dropdown {
        left: auto;
        right: 0;
        width: 290px;
    }

    .header-social-group {
        display: none;
    }

    .floating-contact-hub {
        bottom: 15px;
        right: 15px;
    }

    .float-master-btn {
        padding: 0.55rem 0.95rem 0.55rem 0.75rem;
    }

    .fmaster-title {
        font-size: 0.88rem;
    }

    .fmaster-tag {
        font-size: 0.68rem;
    }

    .floating-branches-card {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-height: 85vh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }

    .floating-branches-card.open {
        transform: translateY(0);
    }
}

@media (max-width: 420px) {
    .footer-social-grid {
        grid-template-columns: 1fr;
    }
}
