:root {
    color-scheme: dark;
    --bg: #060823;
    --bg-alt: #0f1440;
    --bg-glass: rgba(16, 21, 60, 0.65);
    --primary: #ff3d71;
    --primary-soft: rgba(255, 61, 113, 0.25);
    --secondary: #4cc9f0;
    --accent: #a259ff;
    --text: #e5ecff;
    --muted: #9aa4d1;
    --chip: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 30px 80px rgba(8, 10, 40, 0.45);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;
    font-size: 16px;
}


@keyframes vitalPulse {
    0% {
        transform: scale(1);
        color: var(--secondary);
    }
    50% {
        transform: scale(1.12);
        color: var(--primary);
        text-shadow: 0 0 18px rgba(76, 201, 240, 0.5);
    }
    100% {
        transform: scale(1);
        color: inherit;
        text-shadow: none;
    }
}

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

body {
    font-family: 'Space Grotesk', 'Tajawal', system-ui, sans-serif;
    background: radial-gradient(circle at 15% 15%, rgba(80, 115, 255, 0.15), transparent 35%),
                radial-gradient(circle at 85% 30%, rgba(255, 61, 113, 0.18), transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(76, 201, 240, 0.18), transparent 35%),
                var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.background-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    mix-blend-mode: overlay;
    z-index: -2;
}

.background-hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.heart-particle {
    position: absolute;
    top: 110%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.9), rgba(162, 89, 255, 0.6));
    transform: rotate(45deg) translateX(-50%);
    opacity: 0.75;
    animation: float-heart 12s linear infinite;
}

.heart-particle::before,
.heart-particle::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
}

.heart-particle::before {
    top: -50%;
}

.heart-particle::after {
    left: -50%;
}

.heart-particle:nth-child(2) {
    left: 20%;
    animation-duration: 14s;
    animation-delay: 2s;
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.heart-particle:nth-child(3) {
    left: 80%;
    animation-duration: 16s;
    animation-delay: 1s;
    width: 18px;
    height: 18px;
    opacity: 0.5;
}

.heart-particle:nth-child(4) {
    left: 35%;
    animation-duration: 13s;
    animation-delay: 4s;
}

.heart-particle:nth-child(5) {
    left: 65%;
    animation-duration: 11s;
    animation-delay: 6s;
}

.heart-particle:nth-child(6) {
    left: 10%;
    animation-duration: 18s;
    animation-delay: 3s;
    width: 22px;
    height: 22px;
    opacity: 0.55;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 6vw;
    background: linear-gradient(90deg, rgba(6,8,35,0.96), rgba(16,21,60,0.85));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand__pulse {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    box-shadow: 0 15px 40px rgba(255, 61, 113, 0.4);
}

.brand__pulse::before,
.brand__pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation: pulse 2.8s infinite ease-in-out;
}

.brand__pulse::after {
    animation-delay: 1.1s;
}

.brand__subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand__title {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.45em;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav a:hover,
.nav a:focus {
    color: var(--secondary);
}

.nav a:hover::after,
.nav a:focus::after {
    transform: scaleX(1);
}

.lang-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 15, 45, 0.65);
    color: var(--muted);
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lang-toggle:hover {
    border-color: rgba(76, 201, 240, 0.6);
    box-shadow: 0 10px 30px rgba(76, 201, 240, 0.25);
}

.lang-toggle__indicator {
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: var(--chip);
    position: relative;
}

.lang-toggle__indicator::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 4px 20px rgba(76, 201, 240, 0.5);
    transition: transform 0.35s ease;
}

.lang-toggle[data-state="ar"] .lang-toggle__indicator::before {
    transform: translateX(18px);
}

main {
    padding: 4rem 6vw 6rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.hero__content {
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__tag {
    padding: 0.45rem 0.9rem;
    background: rgba(76, 201, 240, 0.15);
    color: var(--secondary);
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    width: fit-content;
}

.hero__title {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
}

.hero__subtitle {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta--primary {
    background: linear-gradient(135deg, var(--primary), #ff708d);
    color: #fff;
    box-shadow: 0 20px 40px rgba(255, 61, 113, 0.35);
}

.cta--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(255, 61, 113, 0.45);
}

.cta--secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.cta--secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(164, 89, 255, 0.3);
}

.cta--glow {
    background: rgba(76, 201, 240, 0.12);
    border: 1px solid rgba(76, 201, 240, 0.5);
    color: var(--secondary);
    box-shadow: 0 18px 40px rgba(76, 201, 240, 0.25);
}

.cta--glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(76, 201, 240, 0.35);
}

.hero__metrics {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.metric {
    flex: 1 1 120px;
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 44px rgba(10, 10, 45, 0.35);
    text-align: left;
}

.metric__value {
    font-size: 2.4rem;
    font-weight: 600;
}

.metric__unit {
    font-size: 1rem;
    color: var(--secondary);
}

.metric__label {
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

.hero__visual {
    position: relative;
}

.ecg-card {
    background: rgba(15, 20, 60, 0.8);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    position: relative;
    overflow: hidden;
}

.ecg-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 61, 113, 0.18), transparent 60%);
    pointer-events: none;
}

.ecg-card__header,
.ecg-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ecg-card__title {
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--muted);
}

.ecg-card__status {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 61, 113, 0.22);
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.ecg-card__wave {
    height: 160px;
    margin: 0 -1.8rem;
}

.ecg-wave {
    width: calc(100% + 3.6rem);
    height: 100%;
    filter: drop-shadow(0 0 18px rgba(76, 201, 240, 0.4));
}

.ecg-wave__path {
    stroke: url(#ecgGradient);
    stroke-width: 4;
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 45 255;
    stroke-dashoffset: 0;
    animation: ecgDash 2.8s linear infinite;
}

.ecg-card__label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.ecg-card__value {
    font-size: 1.4rem;
    font-weight: 600;
}

.ecg-card__unit {
    margin-left: 0.35rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.metric--pulse {
    animation: vitalPulse 0.8s ease;
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: 0;
    transform: translate(15%, 50%);
    padding: 1.4rem 1.8rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px rgba(10, 10, 45, 0.4);
    max-width: 260px;
    animation: float 6s ease-in-out infinite;
}

.floating-badge__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.floating-badge__text {
    font-size: 0.85rem;
    color: var(--muted);
}

.care-card {
    position: absolute;
    top: -2.4rem;
    left: -3rem;
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius-md);
    background: rgba(6, 8, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(6, 8, 35, 0.45);
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 280px;
}

.care-card__icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 12px rgba(255, 61, 113, 0.6));
}

.care-card__title {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.care-card__text {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.doctor-highlight {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    max-width: 380px;
    margin-left: auto;
    margin-right: 0;
    box-shadow: 0 40px 65px rgba(6, 8, 35, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.doctor-highlight__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

.doctor-highlight__caption {
    padding: 1.2rem 1.6rem;
    background: linear-gradient(180deg, rgba(6, 8, 35, 0) 0%, rgba(6, 8, 35, 0.92) 80%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.doctor-highlight__name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doctor-highlight__role {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.section--glass {
    padding: 3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.section--inline {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 3rem;
    align-items: center;
}

.section--reviews {
    position: relative;
    overflow: hidden;
}

.section--reviews::before {
    content: "";
    position: absolute;
    inset: -40% 10% auto 10%;
    height: 320px;
    background: radial-gradient(circle at top, rgba(255, 61, 113, 0.18), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.reviews-marquee {
    position: relative;
    overflow: hidden;
    padding: 0.4rem 0;
    mask-image: linear-gradient(to right, transparent 0%, white 12%, white 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, white 12%, white 88%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 1.6rem;
    align-items: stretch;
    flex-wrap: nowrap;
    animation: reviewsSlide var(--reviews-duration, 35s) linear infinite;
    will-change: transform;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.reviews-group {
    display: flex;
    gap: 1.6rem;
    flex: 0 0 auto;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.8rem;
    box-shadow: 0 24px 50px rgba(6, 8, 35, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    flex: 0 0 280px;
    min-height: 220px;
    cursor: grab;
}

.review-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.12), transparent 65%);
    pointer-events: none;
}

.review-card__rating {
    font-size: 1.4rem;
    letter-spacing: 0.4rem;
    color: #ffd166;
    text-shadow: 0 0 14px rgba(255, 209, 102, 0.45);
}

.review-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
}

.review-card__name {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.review-card__source {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reviews-cta {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
}

.section--reviews .cta--glow {
    box-shadow: 0 0 25px rgba(76, 201, 240, 0.45), 0 20px 40px rgba(6, 8, 35, 0.45);
}

@keyframes reviewsSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.section__header {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.78rem;
    color: var(--secondary);
}

.section__title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    font-weight: 600;
}

.section__subtitle {
    color: var(--muted);
}

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

.team-card {
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(15, 18, 60, 0.85), rgba(10, 12, 35, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.team-card__tag {
    align-self: flex-start;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(162, 89, 255, 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.team-card__name {
    font-size: 1.4rem;
    font-weight: 600;
}

.team-card__role {
    color: var(--muted);
}

.team-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.team-card__list li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: 0.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 12px rgba(255, 61, 113, 0.4);
}

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

.service-card {
    padding: 1.8rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(76, 201, 240, 0.35);
}

.service-card__icon {
    font-size: 1.8rem;
}

.tech-panel {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    color: var(--muted);
}

.tech-list li {
    display: flex;
    gap: 0.75rem;
}

.tech-list li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    margin-top: 0.45rem;
    box-shadow: 0 0 12px rgba(76, 201, 240, 0.5);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 1.6rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(76, 201, 240, 0), rgba(76, 201, 240, 0.8), rgba(76, 201, 240, 0));
}

.timeline__item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.timeline__time {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    min-width: 3.8rem;
}

.timeline__content {
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.timeline__content::before {
    content: "";
    position: absolute;
    left: -1.7rem;
    top: 1.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 18px rgba(76, 201, 240, 0.55);
}

.schedule {
    display: grid;
    grid-template-columns: minmax(340px, 1.8fr) minmax(280px, 1.2fr);
    gap: 2.8rem;
    align-items: stretch;
}

.schedule__panel {
    position: relative;
    padding: 2.6rem;
    border-radius: var(--radius-xl);
    background: rgba(6, 10, 35, 0.88);
    border: 1px solid rgba(76, 201, 240, 0.22);
    box-shadow: 0 30px 70px rgba(6, 8, 35, 0.48);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    overflow: hidden;
}

.schedule__panel::after {
    content: "";
    position: absolute;
    inset: -25% 40% auto -20%;
    height: 160px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.22) 0%, transparent 65%);
    opacity: 0.6;
    pointer-events: none;
    filter: blur(38px);
}

.schedule__badge {
    align-self: flex-start;
    padding: 0.4rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.35), rgba(255, 61, 113, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.schedule__lead {
    position: relative;
    z-index: 1;
    color: rgba(232, 239, 255, 0.85);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 52ch;
}

.schedule__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.schedule__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 16px 38px rgba(6, 8, 35, 0.35);
    backdrop-filter: blur(6px);
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    flex-wrap: wrap;
}

.schedule__item:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

.schedule__item:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 201, 240, 0.35);
    background: rgba(76, 201, 240, 0.08);
}

.schedule__day {
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: rgba(232, 239, 255, 0.85);
}

.schedule__hours {
    font-family: var(--font-alt);
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.08em;
}

.schedule__item--closed {
    border-color: rgba(255, 61, 113, 0.35);
    background: rgba(255, 61, 113, 0.1);
}

.schedule__hours--closed {
    color: rgba(255, 119, 142, 0.95);
}

.schedule__callout {
    position: relative;
    z-index: 1;
    padding: 1.6rem 1.9rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, rgba(76, 201, 240, 0.25), rgba(6, 8, 35, 0.92));
    border: 1px solid rgba(76, 201, 240, 0.3);
    box-shadow: 0 24px 48px rgba(6, 8, 35, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.schedule__callout-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 320px;
}

.schedule__callout-title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schedule__callout-text {
    color: rgba(232, 239, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.5;
}

.schedule__profile {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(6, 8, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 36px 70px rgba(6, 8, 35, 0.55);
    min-height: 100%;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
}

.schedule__profile::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 65%;
    background: linear-gradient(180deg, rgba(8, 12, 35, 0) 0%, rgba(8, 12, 35, 0.85) 65%, rgba(8, 12, 35, 0.95) 100%);
    z-index: 0;
}

.schedule__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.schedule__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08);
    transform: scale(1.03);
    transition: transform 0.6s ease;
}

.schedule__profile:hover .schedule__photo img {
    transform: scale(1.07);
}

.schedule__profile-overlay {
    position: relative;
    z-index: 1;
    padding: 2.4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #fff;
}

.schedule__profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schedule__profile-role {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.schedule__profile-note {
    font-size: 0.9rem;
    color: rgba(232, 239, 255, 0.8);
    max-width: 34ch;
}


.section--contact {
    padding-bottom: 4rem;
}

.section--reservation {
    padding: 3.4rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top right, rgba(76, 201, 240, 0.18), transparent 48%),
                radial-gradient(circle at bottom left, rgba(255, 61, 113, 0.15), transparent 52%),
                rgba(10, 14, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.contact {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 3rem;
    align-items: center;
}

.reservation {
    display: grid;
    grid-template-columns: minmax(320px, 480px) minmax(320px, 1fr);
    gap: 3rem;
    align-items: start;
}

.reservation__form {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(6, 8, 35, 0.85);
    border: 1px solid rgba(76, 201, 240, 0.18);
    box-shadow: 0 28px 60px rgba(6, 8, 35, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.reservation__form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 35, 0.9);
    color: var(--text);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(76, 201, 240, 0.6);
    box-shadow: 0 14px 30px rgba(76, 201, 240, 0.2);
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.4) 50%),
                      linear-gradient(135deg, rgba(255, 255, 255, 0.4) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.form-success {
    font-size: 0.85rem;
    color: var(--secondary);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-success--visible {
    opacity: 1;
    transform: translateY(0);
}

.reservation__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.reservation__card {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 18, 60, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reservation__card--timeline {
    background: linear-gradient(160deg, rgba(162, 89, 255, 0.2), rgba(10, 12, 40, 0.92));
}

.reservation__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.reservation__list li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-inline-end: 0.6rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 10px rgba(76, 201, 240, 0.4);
}

.timeline--compact {
    gap: 1rem;
}

.timeline--compact .timeline__content {
    padding: 1rem 1.2rem;
}

.timeline--compact .timeline__time {
    min-width: 3.4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__text {
    color: var(--muted);
}

.contact__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.chip {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--chip);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.contact__map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.contact__map iframe {
    width: 100%;
    height: 360px;
    border: none;
}

.contact__qr {
    position: absolute;
    bottom: 1.6rem;
    right: 1.6rem;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: rgba(6, 8, 35, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 50px rgba(6, 8, 35, 0.48);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: center;
    max-width: 360px;
}

.contact__qr-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 35px rgba(6, 8, 35, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact__qr > div {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact__qr h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.contact__qr p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.footer {
    padding: 3rem 6vw;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(6, 8, 35, 0.9), rgba(6, 8, 35, 0.98));
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 640px;
}

.footer__title {
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.footer__text {
    color: var(--muted);
}

.footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

html[dir="rtl"] body {
    font-family: 'Tajawal', 'Space Grotesk', system-ui, sans-serif;
}

html[dir="rtl"] .nav ul {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav a::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .hero__content,
html[dir="rtl"] .section__header,
html[dir="rtl"] .tech-panel,
html[dir="rtl"] .team-card,
html[dir="rtl"] .contact__info {
    text-align: right;
}

html[dir="rtl"] .hero__metrics,
html[dir="rtl"] .hero__actions,
html[dir="rtl"] .contact__actions,
html[dir="rtl"] .contact__chips {
    justify-content: flex-end;
}

html[dir="rtl"] .team-card__list li::before,
html[dir="rtl"] .tech-list li::before {
    margin-inline-end: 0;
    margin-inline-start: 0.6rem;
}

html[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 1.6rem;
}

html[dir="rtl"] .timeline::before {
    left: auto;
    right: 0.4rem;
}

html[dir="rtl"] .timeline__content::before {
    left: auto;
    right: -1.7rem;
}

html[dir="rtl"] .schedule__panel {
    text-align: right;
}

html[dir="rtl"] .schedule__item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .schedule__callout {
    text-align: right;
}

html[dir="rtl"] .schedule__callout-content {
    align-items: flex-end;
}

html[dir="rtl"] .contact__qr {
    right: auto;
    left: 1.6rem;
    text-align: right;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.2;
    }
}

@keyframes wave {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translate(15%, 50%) translateY(0);
    }
    50% {
        transform: translate(15%, 50%) translateY(-12px);
    }
}

@keyframes float-heart {
    0% {
        transform: translate(-50%, 0) rotate(45deg) scale(0.9);
        top: 110%;
        opacity: 0.1;
    }
    20% {
        opacity: 0.75;
    }
    100% {
        transform: translate(-50%, -120vh) rotate(45deg) scale(1.4);
        top: -20%;
        opacity: 0;
    }
}

@keyframes ecgDash {
    0% {
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dashoffset: -140;
    }
    100% {
        stroke-dashoffset: -280;
    }
}

@media (max-width: 1024px) {
    .header {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    .section--inline,
    .contact,
    .reservation,
    .schedule {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        position: relative;
        transform: none;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
    }

    .care-card {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }

    main {
        padding: 3rem 6vw 5rem;
    }

    .header {
        padding: 1rem 6vw;
    }

    .hero {
        gap: 2.4rem;
    }

    .section--glass {
        padding: 2.2rem;
    }

    .section--reservation {
        padding: 2.6rem;
    }

    .schedule__panel {
        padding: 2.2rem;
    }

    .schedule__item {
        padding: 0.9rem 1.2rem;
    }

    .schedule__callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact__map iframe {
        height: 320px;
    }

    .contact__qr {
        position: relative;
        inset: auto;
        margin-top: 1.4rem;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .contact__qr > div {
        align-items: center;
        text-align: center;
    }

    .reservation__form {
        padding: 1.6rem;
    }
}

@media (max-width: 520px) {
    .nav ul {
        justify-content: flex-start;
        gap: 0.8rem;
    }

    .hero__metrics {
        flex-direction: column;
    }

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

    .timeline {
        padding-left: 1rem;
    }

    .timeline__content::before {
        left: -1.3rem;
    }

    .reservation__form,
    .reservation__meta {
        gap: 1.2rem;
    }
}
