:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #0e2f44;
    --secondary: #27ae60;
    --secondary-light: #2ecc71;
    --accent: #e74c3c;
    --accent-light: #ff6b6b;
    --dark-bg: #1a1a2e;
    --dark-bg-light: #16213e;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f0f0f0;
    --gray-200: #e0e0e0;
    --gray-300: #cccccc;
    --gray-400: #aaaaaa;
    --gray-500: #888888;
    --gray-600: #666666;
    --gray-700: #444444;
    --gray-800: #222222;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --container-max: 1200px;
    --navbar-height: 70px;
    --section-padding: 80px 0;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================== */
/* NAVBAR                    */
/* ======================== */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--navbar-height);
    background-color: var(--dark-bg);
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.97);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

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

.nav-right {
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

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

.nav-links li a {
    color: var(--gray-300);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color var(--transition-fast), background-color var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-cta {
    padding: 10px 24px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.nav-login {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
}

.nav-login:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

.lang-switch {
    flex-shrink: 0;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    color: var(--gray-300);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--white);
    border-color: var(--white);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}
.mobile-menu-btn i {
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1;
}

/* Mobile menu panel */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.mobile-overlay.active {
    display: block;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
}
.mobile-menu.active {
    display: block;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-header .logo-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}
.mobile-close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.mobile-nav-links li {
    margin-bottom: 4px;
}
.mobile-nav-links a {
    display: block;
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.mobile-nav-links a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-nav-actions .btn-block {
    display: block;
    text-align: center;
}
.lang-switch-mobile {
    margin-top: 8px;
}
.lang-switch-mobile .lang-btn {
    display: block;
    text-align: center;
    padding: 10px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.lang-switch-mobile .lang-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* ======================== */
/* HERO SECTION              */
/* ======================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 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.03'%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");
    opacity: 0.5;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    animation: float-particle linear infinite;
}

.hero__particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; width: 4px; height: 4px; }
.hero__particle:nth-child(2) { left: 25%; animation-duration: 18s; animation-delay: 2s; width: 8px; height: 8px; }
.hero__particle:nth-child(3) { left: 40%; animation-duration: 12s; animation-delay: 4s; }
.hero__particle:nth-child(4) { left: 55%; animation-duration: 20s; animation-delay: 1s; width: 5px; height: 5px; }
.hero__particle:nth-child(5) { left: 70%; animation-duration: 16s; animation-delay: 3s; width: 7px; height: 7px; }
.hero__particle:nth-child(6) { left: 85%; animation-duration: 14s; animation-delay: 5s; width: 4px; height: 4px; }
.hero__particle:nth-child(7) { left: 15%; animation-duration: 22s; animation-delay: 6s; width: 3px; height: 3px; }
.hero__particle:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: 7s; width: 6px; height: 6px; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(39, 174, 96, 0.2);
    border: 1px solid rgba(39, 174, 96, 0.4);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    color: var(--secondary-light);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero__title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero__title span {
    color: var(--secondary-light);
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.hero__btn--primary {
    background-color: var(--secondary);
    color: var(--white);
}

.hero__btn--primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.35);
}

.hero__btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero__btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--secondary-light);
    line-height: 1;
    margin-bottom: 8px;
}

.hero__stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
}

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

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

/* ======================== */
/* SECTION SHARED STYLES     */
/* ======================== */

.section {
    padding: var(--section-padding);
}

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

.section--dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__subtitle {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section--dark .section__title {
    color: var(--white);
}

.section__title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 3px;
    transition: width var(--transition-normal);
}

.section__title:hover::after {
    width: 100px;
}

.section__description {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

.section--dark .section__description {
    color: var(--gray-400);
}

/* ======================== */
/* CENTERS GRID              */
/* ======================== */

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

.center-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.center-card__image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    overflow: hidden;
}

.center-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.center-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--secondary);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: 50px;
}

.center-card__body {
    padding: 24px;
}

.center-card__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.center-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-bottom: 12px;
}

.center-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.center-card__service-tag {
    padding: 4px 10px;
    background: var(--light-bg);
    color: var(--gray-600);
    font-size: var(--font-size-xs);
    border-radius: 50px;
}

.center-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.center-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #f39c12;
}

.center-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.center-card__link:hover {
    gap: 10px;
    color: var(--primary-light);
}

/* ======================== */
/* DOCTORS SECTION           */
/* ======================== */

.doctors__scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-200);
    padding-bottom: 10px;
}

.doctors__scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.doctors__scroll-wrapper::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 3px;
}

.doctors__scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.doctors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    min-width: min-content;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    min-width: 240px;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.doctor-card__avatar {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
}

.doctor-card__avatar::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 3px solid var(--secondary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.doctor-card:hover .doctor-card__avatar::after {
    opacity: 1;
}

.doctor-card__name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.doctor-card__specialty {
    font-size: var(--font-size-sm);
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.doctor-card__department {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    margin-bottom: 16px;
}

.doctor-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.doctor-card__btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.doctors__actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ======================== */
/* SERVICES GRID             */
/* ======================== */

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.03), rgba(39, 174, 96, 0.03));
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:nth-child(1) { border-top-color: var(--primary); }
.service-card:nth-child(2) { border-top-color: var(--secondary); }
.service-card:nth-child(3) { border-top-color: var(--accent); }
.service-card:nth-child(4) { border-top-color: #8e44ad; }
.service-card:nth-child(5) { border-top-color: #e67e22; }
.service-card:nth-child(6) { border-top-color: #1abc9c; }
.service-card:nth-child(7) { border-top-color: #2c3e50; }
.service-card:nth-child(8) { border-top-color: #d35400; }

.service-card:hover:nth-child(1) { border-top-color: var(--primary-light); }
.service-card:hover:nth-child(2) { border-top-color: var(--secondary-light); }
.service-card:hover:nth-child(3) { border-top-color: var(--accent-light); }

.service-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.service-card__text {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.7;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.service-card__link:hover {
    gap: 10px;
}

/* ======================== */
/* STATS COUNTER             */
/* ======================== */

.stats {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stats__item {
    text-align: center;
}

.stats__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(39, 174, 96, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-light);
}

.stats__number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stats__number span {
    color: var(--secondary-light);
}

.stats__label {
    font-size: var(--font-size-base);
    color: var(--gray-400);
}

/* ======================== */
/* INSURANCE / PARTNERS      */
/* ======================== */

.partners__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    align-items: center;
}

.partner-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--gray-200);
}

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

.partner-card__logo {
    max-width: 120px;
    max-height: 50px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity var(--transition-normal), filter var(--transition-normal);
}

.partner-card:hover .partner-card__logo {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-card__placeholder {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--gray-400);
    text-align: center;
}

/* ======================== */
/* CTA SECTION               */
/* ======================== */

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.15) 0%, transparent 60%);
    animation: cta-glow 8s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta__text {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.cta__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.cta__btn--white {
    background: var(--white);
    color: var(--primary);
}

.cta__btn--white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta__btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta__btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--white);
}

.cta__phone-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ======================== */
/* FOOTER                    */
/* ======================== */

.footer {
    background-color: var(--dark-bg);
    color: var(--gray-400);
    padding-top: 80px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__about-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__about-logo span {
    color: var(--secondary);
}

.footer__about-text {
    font-size: var(--font-size-sm);
    line-height: 1.9;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__heading {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer__heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

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

.footer__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    transition: color var(--transition-fast), padding-right var(--transition-fast);
}

.footer__link:hover {
    color: var(--secondary);
    padding-right: 6px;
}

.footer__link::before {
    content: "←";
    font-size: var(--font-size-xs);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer__link:hover::before {
    opacity: 1;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: var(--font-size-sm);
}

.footer__contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(39, 174, 96, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.9rem;
}

.footer__contact-text strong {
    display: block;
    color: var(--white);
    margin-bottom: 2px;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: var(--font-size-sm);
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

.footer__bottom-link {
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
    color: var(--secondary);
}

/* ======================== */
/* BUTTONS SHARED            */
/* ======================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.3);
}

.btn--secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn--secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.btn--accent {
    background: var(--accent);
    color: var(--white);
}

.btn--accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

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

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

.btn--lg {
    padding: 16px 36px;
    font-size: var(--font-size-lg);
}

.btn--sm {
    padding: 8px 18px;
    font-size: var(--font-size-sm);
}

.btn--icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ======================== */
/* ANIMATIONS ON SCROLL      */
/* ======================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease forwards; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ======================== */
/* RESPONSIVE                */
/* ======================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .nav-cta,
    .nav-actions .nav-login {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

    .doctors__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .partners__grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
        --navbar-height: 60px;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: var(--font-size-3xl);
    }

    .hero__subtitle {
        font-size: var(--font-size-base);
    }

    .hero__buttons {
        flex-direction: column;
    }

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

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
        padding-top: 30px;
    }

    .hero__stat-number {
        font-size: var(--font-size-2xl);
    }

    .section__header {
        margin-bottom: 40px;
    }

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

    .doctors__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stats__number {
        font-size: var(--font-size-3xl);
    }

    .partners__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .cta__title {
        font-size: var(--font-size-2xl);
    }

    .cta__buttons {
        flex-direction: column;
    }

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__heading::after {
        right: auto;
        left: 0;
    }
}

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

    .hero__badge {
        font-size: var(--font-size-xs);
    }

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

    .doctors__grid {
        grid-template-columns: 1fr 1fr;
        min-width: auto;
    }

    .doctor-card {
        min-width: auto;
        padding: 24px 16px;
    }

    .doctor-card__avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

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

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

    .footer__bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ======================== */
/* BACK TO TOP               */
/* ======================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 900;
    cursor: pointer;
}

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

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ======================== */
/* WHATSAPP FLOAT            */
/* ======================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

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

@keyframes whatsapp-pulse {
    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); }
}

/* ======================== */
/* UTILITIES                 */
/* ======================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   RTL Support for Public Site
   ============================================ */

/* RTL: Mobile menu opens from left in LTR */
[dir="ltr"] .mobile-menu {
    right: auto;
    left: 0;
}

/* RTL: Nav links text alignment */
[dir="rtl"] .nav-links li a {
    text-align: right;
}

/* RTL: Hero text alignment */
[dir="rtl"] .hero__title,
[dir="rtl"] .hero__subtitle {
    text-align: right;
}

/* RTL: Section titles */
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
    text-align: right;
}

/* RTL: Feature cards */
[dir="rtl"] .feature-card {
    text-align: right;
}

/* RTL: Footer */
[dir="rtl"] .footer-col {
    text-align: right;
}

[dir="rtl"] .footer-links li {
    text-align: right;
}

/* RTL: Contact info */
[dir="rtl"] .contact-info-item {
    text-align: right;
}

/* RTL: Form labels */
[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] .form-control {
    text-align: right;
}
