/* ========================================
   Dr. Emad Shaheen Kids Clinic
   Light Theme - Colors from Logo
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
    --navy: #000071;
    --navy-dark: #000050;
    --sky-blue: #00adef;
    --sky-blue-light: #33c0f5;
    --teal: #0090d0;
    --teal-light: #00adef;
    --baby-blue: #e6f5fd;
    --baby-blue-lighter: #f0f9fe;
    --white: #ffffff;
    --off-white: #f8fbfe;
    --light-gray: #e9ecef;
    --text-dark: #000071;
    --text-muted: #4a5a8a;
    --text-light: #7a8ab8;
    --gradient-primary: linear-gradient(135deg, #00adef 0%, #000071 100%);
    --gradient-hero: linear-gradient(135deg, #e6f5fd 0%, #f0f9fe 50%, #e6f5fd 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0f9fe 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 113, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 113, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 113, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 113, 0.15);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.7;
    width: 100%;
    position: relative;
    padding-top: 100px;
}

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

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

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--baby-blue-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--sky-blue);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal);
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 173, 239, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.navbar-brand img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.navbar-brand .brand-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
}

.navbar-brand .brand-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--sky-blue);
    background: var(--baby-blue);
}

.nav-links .cta-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 10px;
}

.nav-links .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 173, 239, 0.4);
    background: var(--gradient-primary) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 4px;
    transition: var(--transition);
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section ── */
.section {
    padding: 80px 0;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--baby-blue);
    color: var(--sky-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 173, 239, 0.2);
}

.section-badge i {
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(230, 245, 253, 0.50) 50%, rgba(255, 255, 255, 0.55) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

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

.hero-content {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--teal);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 173, 239, 0.15);
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 173, 239, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 173, 239, 0.4);
}

.btn-outline {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--sky-blue);
}

.btn-outline:hover {
    background: var(--baby-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: 1;
    animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.3;
    }
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 173, 239, 0.2);
    z-index: 0;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Float decorations */
.hero-float {
    position: absolute;
    z-index: 3;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-float i {
    font-size: 1.2rem;
}

.hero-float.float-1 {
    top: 20px;
    right: -20px;
    color: var(--teal);
}

.hero-float.float-2 {
    bottom: 40px;
    left: -10px;
    color: var(--sky-blue);
    animation-delay: 2s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ── Stats ── */
.stats-bar {
    background: var(--white);
    padding: 32px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--baby-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.4rem;
    color: var(--sky-blue);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── About Section ── */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-img:first-child {
    grid-row: span 2;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--baby-blue-lighter);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--baby-blue);
    transform: translateX(-4px);
}

.about-feature i {
    color: var(--teal);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

/* ── Clinics Section ── */
.clinics {
    background: var(--off-white);
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.clinic-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 173, 239, 0.08);
    transition: var(--transition);
    position: relative;
}

.clinic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 173, 239, 0.2);
}

.clinic-card-header {
    background: var(--gradient-primary);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.clinic-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.clinic-card-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.clinic-card-header .clinic-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.clinic-card-body {
    padding: 28px;
}

.clinic-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.clinic-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.clinic-info-icon {
    width: 40px;
    height: 40px;
    background: var(--baby-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sky-blue);
    font-size: 1rem;
    transition: var(--transition);
}

.clinic-card:hover .clinic-info-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.clinic-info-text {
    flex: 1;
}

.clinic-info-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clinic-info-value {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.6;
}

.clinic-info-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    line-height: 1.5;
}

.clinic-card-footer {
    padding: 0 28px 28px;
    display: flex;
    gap: 10px;
}

.clinic-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.clinic-btn-call {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 173, 239, 0.25);
}

.clinic-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 173, 239, 0.35);
}

.clinic-btn-map {
    background: var(--baby-blue);
    color: var(--navy);
    border: 1px solid rgba(0, 173, 239, 0.15);
}

.clinic-btn-map:hover {
    background: var(--baby-blue-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ── CTA Section ── */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ── Contact / Social ── */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--baby-blue-lighter);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--baby-blue);
    transform: translateX(-4px);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-item-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.social-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.social-section p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--baby-blue-lighter);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 173, 239, 0.2);
}

.social-link i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--white);
}

.social-link.facebook i {
    background: #1877f2;
}

.social-link.youtube i {
    background: #ff0000;
}

.social-link.tiktok i {
    background: #010101;
}

.social-link.instagram i {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

/* ── Footer ── */
.footer {
    background: var(--navy-dark);
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    text-align: center;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #25d366;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulseWhatsapp {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* ── Scroll to Top ── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    animation: pulseScrollTop 2s infinite;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@keyframes pulseScrollTop {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 173, 239, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(0, 173, 239, 0.6);
    }
}

/* ── Animations (scroll reveal) ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

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

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

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

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-float {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar-brand .brand-text {
        display: none;
    }

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

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}