:root {
    --primary: #0E6E6D;
    --primary-dark: #084D4C;
    --primary-light: #E1F5F3;
    --accent: #B45309;
    --accent-light: #FFFBEB;
    --danger: #B91C1C;
    --danger-light: #FEF2F2;
    --info: #2563EB;
    --info-light: #EFF6FF;
    --success: #047857;
    --success-light: #ECFDF5;
    --text: #1F2A2A;
    --text-muted: #62726F;
    --bg: #FAFAF7;
    --card: #FFFFFF;
    --border: #EDEDE8;
    --shadow-sm: 0 2px 8px rgba(14, 110, 109, 0.06);
    --shadow: 0 8px 30px rgba(14, 110, 109, 0.08);
    --shadow-lg: 0 20px 50px rgba(14, 110, 109, 0.12);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14, 110, 109, 0.3);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(14, 110, 109, 0);
    }
}

@keyframes morphBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* ===== Utility ===== */
.animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}
.delay-1 {
    animation-delay: 0.1s;
}
.delay-2 {
    animation-delay: 0.2s;
}
.delay-3 {
    animation-delay: 0.3s;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(228, 228, 222, 0.6);
    transition: all var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(250, 250, 247, 0.97);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

a.brand {
    color: inherit;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(14, 110, 109, 0.3);
    border: none;
    cursor: pointer;
}

a.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 110, 109, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== Main ===== */
main {
    display: block;
    padding-top: var(--header-h, 88px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 48px 24px 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14, 110, 109, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(217, 119, 6, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--primary-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease 0.1s both;
}

.hero-badge .icon {
    font-size: 0.7rem;
    animation: pulse-glow 2s infinite;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 32px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.5s ease 0.3s both;
}

.hero-actions .btn {
    flex: 1 1 auto;
    min-width: 160px;
    justify-content: center;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .hero-actions .btn {
        min-width: 140px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-actions .btn {
        min-width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        justify-content: center;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 12px 32px -10px rgba(14, 110, 109, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -10px rgba(14, 110, 109, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ✅ زر GFR المميز (جديد) */
.btn-accent {
    background: linear-gradient(145deg, var(--accent), #8B3A00);
    color: white;
    box-shadow: 0 8px 32px -8px rgba(180, 83, 9, 0.35);
    transition: all var(--transition);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px -8px rgba(180, 83, 9, 0.45);
}

/* ===== Hero Visual ===== */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), rgba(14, 110, 109, 0.1));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphBlob 8s ease-in-out infinite;
    position: absolute;
}

.hero-kidney {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-kidney svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(14, 110, 109, 0.2));
}

.hero-stats {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.5s ease 0.5s both;
    z-index: 3;
}

.stat-1 {
    top: 20px;
    right: -20px;
}
.stat-2 {
    bottom: 40px;
    left: -30px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-icon.green {
    background: var(--success-light);
    color: var(--success);
}
.stat-icon.blue {
    background: var(--info-light);
    color: var(--info);
}

.stat-text {
    font-size: 0.85rem;
}
.stat-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text);
}

/* ===== Info Section ===== */
.info-section {
    padding: 40px 24px;
    position: relative;
    z-index: 2;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.info-card:hover::before {
    transform: scaleX(1);
}

.info-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.info-card:nth-child(1) .icon {
    background: var(--primary-light);
    color: var(--primary);
}
.info-card:nth-child(2) .icon {
    background: var(--accent-light);
    color: var(--accent);
}
.info-card:nth-child(3) .icon {
    background: var(--info-light);
    color: var(--info);
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 6px;
}
.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Services Section ===== */
.services-section {
    padding: 80px 24px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card .service-body {
    padding: 24px 20px;
}

.service-card .service-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 12px;
    transition: gap var(--transition);
}

.service-card:hover .read-more {
    gap: 10px;
}

/* ===== Disease Page ===== */
.disease-page {
    padding: 24px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-light), rgba(14, 110, 109, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.content-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.content-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.content-card h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card h2 .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.content-card ul {
    padding-right: 20px;
    color: var(--text-muted);
}
.content-card ul li {
    margin-bottom: 10px;
}
.content-card ul li::marker {
    color: var(--primary);
}

.highlight-box {
    background: var(--accent-light);
    border-right: 4px solid var(--accent);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: serif;
}

.highlight-box h3 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.highlight-box p {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.warning-box {
    background: var(--danger-light);
    border-right: 4px solid var(--danger);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    text-align: center;
}

.warning-box h3 {
    color: var(--danger);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.warning-box p {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all var(--transition);
}

.back-btn:hover {
    background: var(--primary-light);
}

.back-btn {
    text-decoration: none;
}

/* ===== Details ===== */
details {
    background: var(--card);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

details:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

details summary {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform var(--transition);
}

details[open] summary::before {
    transform: rotate(180deg);
}

details p {
    margin-top: 12px;
    color: var(--text-muted);
    padding-right: 24px;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, transparent, rgba(14, 110, 109, 0.03), transparent);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-blob {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphBlob 10s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(14, 110, 109, 0.25);
}

.about-blob svg {
    width: 160px;
    height: 160px;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--primary-light);
    border-radius: 12px;
}

.about-feature .icon {
    color: var(--primary);
    font-size: 1.1rem;
}
.about-feature span {
    font-weight: 600;
    color: var(--text);
}

/* ===== Connect Section ===== */
.connect-section {
    padding: 60px 24px;
}

.connect-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.qr-side {
    text-align: center;
}
.qr-side h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.qr-box {
    width: 200px;
    height: 200px;
    background: white;
    padding: 16px;
    border-radius: 20px;
    border: 2px solid var(--border);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.qr-box svg {
    width: 100%;
    height: 100%;
}

.social-side {
    text-align: center;
}
.social-side h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.social-side p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
/* زر نسخ الرابط - يظهر رسالة تأكيد */
.social-btn.copy {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
}

.social-btn.copy:hover {
    background: linear-gradient(135deg, var(--primary-dark), #062E2E);
}

/* رسالة تأكيد النسخ */
.copy-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0,0,0,0.85);
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    bottom: 120%;
}

/* تحسين أيقونات البريد الإلكتروني */
.social-btn.email:hover {
    background: #C5221F;
}

/* تنسيق الفاصل بين أزرار المشاركة والمتابعة */
.social-grid .divider {
    width: 2px;
    height: 40px;
    background: var(--border);
    align-self: center;
}

@media (max-width: 768px) {
    .social-grid .divider {
        display: none;
    }
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.social-btn.fb {
    background: #1877F2;
}
.social-btn.tw {
    background: #000;
}
.social-btn.ig {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fdf497 20%, #fd5949 45%, #d6249f 70%, #285AEB);
}
.social-btn.wa {
    background: #25D366;
}
.social-btn.li {
    background: #0A66C2;
}
.social-btn.yt {
    background: #FF0000;
}

/* ===== FAB ===== */
.fab-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-map {
    background: #4285F4;
}
.fab-call {
    background: #25D366;
    animation: pulse-glow 2s infinite;
}
.fab-top {
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.fab-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== Gallery ===== */
.gallery-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, rgba(14, 110, 109, 0.02), transparent);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 110, 109, 0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateY(10px);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.featured .gallery-overlay span {
    font-size: 1.3rem;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.4s ease;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 24px;
    border-radius: 999px;
}

/* ===== Footer ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 24px 30px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 24px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Doctor Announcement ===== */
.doctor-announcement {
    width: 100%;
    background: #FFFBEB;
    border-bottom: 1px solid #FCD34D;
}

.doctor-announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.doctor-announcement-inner .icon {
    color: #92400E;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doctor-announcement-inner span {
    color: #92400E;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== Icons ===== */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* ===== Accessibility ===== */
[role="button"]:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.service-card[role="button"],
.gallery-item[role="button"] {
    cursor: pointer;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* ============================================ */
/* ===== RESPONSIVE DESIGN ===== */
/* ============================================ */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-lead {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-blob {
        width: 280px;
        height: 280px;
    }

    .hero-kidney {
        width: 200px;
        height: 200px;
    }

    .hero-stats {
        display: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .about-blob {
        width: 250px;
        height: 250px;
    }

    .connect-grid {
        grid-template-columns: 1fr;
        padding: 36px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.featured {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 32px 20px 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-section {
        padding: 60px 20px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .connect-grid {
        padding: 30px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.featured {
        grid-column: span 1;
    }

    .page-header {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 24px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .content-card {
        padding: 20px;
    }

    .connect-grid {
        padding: 24px 16px;
    }
}
/* ============================================ */
/* ===== اسم الطبيب + زر الحجز: نسخ قصيرة للهاتف ===== */
/* ============================================ */

/* افتراضي (كمبيوتر): عرض النص الطويل، إخفاء القصير */
.brand-long    { display: inline; }
.brand-short   { display: none; }
.nav-cta-long  { display: inline; }
.nav-cta-short { display: none; }

/* على الهاتف (≤ 600px): عرض القصير، إخفاء الطويل */
@media (max-width: 600px) {
    .brand-long    { display: none; }
    .brand-short   { display: inline; }
    .nav-cta-long  { display: none; }
    .nav-cta-short { display: inline; }

    
}

/* على الشاشات الصغيرة جداً (≤ 400px): إخفاء الأيقونة لتوفير مساحة إضافية */
@media (max-width: 400px) {
    .nav-cta .icon {
        display: none;
    }
    .nav-cta {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .brand {
        font-size: 1rem;
    }
}