/* ================================================
   ON CLINIC - Elegant Futuristic Design
   ================================================ */

:root {
    /* Colors - Dark Mode (Default) */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    --accent-purple: #a855f7;
    --accent-violet: #7c3aed;
    --accent-gold: #fbbf24;
    --accent-rose: #f472b6;
    --accent-cyan: #22d3ee;
    
    --gradient-main: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-violet) 50%, var(--accent-rose) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, rgba(244, 114, 182, 0.5) 100%);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Effects */
    --glass-blur: blur(20px);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 20px;
    --radius-sm: 12px;
}

/* Light Mode */
[data-theme="light"] {
    --bg-dark: #f8f9fc;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);
    
    --text-primary: #1a1a2e;
    --text-secondary: rgba(26, 26, 46, 0.7);
    --text-muted: rgba(26, 26, 46, 0.4);
}

[data-theme="light"] .hero-bg,
[data-theme="light"] .technology,
[data-theme="light"] .footer {
    background: linear-gradient(135deg, #ede9fe 0%, #fce7f3 50%, #f8f9fc 100%);
}

[data-theme="light"] .blob-container {
    opacity: 0.3;
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

[data-theme="light"] .particle {
    background: var(--accent-violet);
    opacity: 0.15;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Glass Effect */
.glass {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

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

/* ==================== MORPHING BLOBS ==================== */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    overflow: hidden;
}

.blob-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    filter: blur(60px);
}

.blob {
    transform-origin: center;
}

.blob-1 {
    animation: blobMove1 20s ease-in-out infinite;
}

.blob-2 {
    animation: blobMove2 25s ease-in-out infinite;
}

.blob-3 {
    animation: blobMove3 22s ease-in-out infinite;
}

.blob-4 {
    animation: blobMove4 18s ease-in-out infinite;
}

@keyframes blobMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.1); }
    50% { transform: translate(50px, 100px) scale(0.9); }
    75% { transform: translate(-80px, 50px) scale(1.05); }
}

@keyframes blobMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-70px, 80px) scale(0.95); }
    50% { transform: translate(100px, -30px) scale(1.1); }
    75% { transform: translate(40px, -80px) scale(1); }
}

@keyframes blobMove3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, -60px) scale(1.15); }
    66% { transform: translate(80px, 70px) scale(0.9); }
}

@keyframes blobMove4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -100px) scale(1.2); }
}

/* ==================== THEME TOGGLE ==================== */
.theme-toggle {
    position: fixed;
    top: 100px;
    left: 24px;
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    transform: scale(1.1);
}

.toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.toggle-icon svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.sun-icon {
    stroke: var(--accent-gold);
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.moon-icon {
    stroke: var(--accent-purple);
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* ==================== MORPHING MENU ==================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    gap: 6px;
    z-index: 1002;
}

.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: var(--glass-blur);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-cta { transition-delay: 0.4s; }

.mobile-link:hover {
    color: var(--accent-purple);
}

.mobile-cta {
    margin-top: 20px;
}

/* ==================== TEXT REVEAL ==================== */
.text-reveal {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.text-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==================== PARALLAX ==================== */
[data-parallax] {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
    will-change: transform;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    direction: ltr; /* Force LTR for entire logo */
}

.logo-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr; /* Force LTR for English letters */
}

.logo-o, .logo-n {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.logo-o {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-n {
    color: var(--text-primary);
    margin-right: -4px;
}

.logo-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--text-secondary);
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Glow Button */
.btn-glow {
    position: relative;
    padding: 12px 28px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4);
}

.btn-glow-effect {
    position: absolute;
    inset: -2px;
    background: var(--gradient-main);
    border-radius: 50px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: var(--transition);
}

.btn-glow:hover .btn-glow-effect {
    opacity: 0.6;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-violet);
    bottom: -20%;
    left: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-rose);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-secondary);
    animation: fadeInDown 0.8s ease;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(48px, 10vw, 90px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.4s; }

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover svg {
    transform: translateX(-4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: var(--bg-glass);
    border-color: var(--accent-purple);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.stat-item {
    padding: 20px 32px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-glass);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--border-glass);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

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


/* ==================== SECTIONS COMMON ==================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
}

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

.section-header .section-desc {
    margin: 0 auto;
}

/* ==================== ABOUT ==================== */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0a1a 100%);
}

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

.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    padding: 16px;
    overflow: hidden;
}

.card-inner {
    border-radius: calc(var(--radius) - 8px);
    overflow: hidden;
}

.placeholder-img {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-icon {
    color: var(--accent-gold);
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.visual-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--gradient-main);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.about-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.9;
}

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

.feature-card {
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-purple);
}

.feature-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--bg-dark);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.service-card {
    position: relative;
    padding: 40px 32px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.4);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.3);
}

.featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: var(--gradient-gold);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: #000;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-purple);
}

.service-card.featured .service-icon svg {
    stroke: var(--accent-gold);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    padding: 10px 0;
    padding-right: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '◆';
    position: absolute;
    right: 0;
    font-size: 8px;
    color: var(--accent-purple);
}

.service-card.featured .service-features li::before {
    color: var(--accent-gold);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

.service-card.featured .service-link {
    color: var(--accent-gold);
}

.service-link .arrow {
    transition: var(--transition);
}

.service-link:hover .arrow {
    transform: translateX(-4px);
}

.service-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: var(--gradient-glow);
    filter: blur(60px);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-glow {
    opacity: 0.3;
}

/* ==================== DOCTORS ==================== */
.doctors {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0510 100%);
}

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

.doctor-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-8px);
}

.doctor-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.doctor-image .placeholder-img {
    aspect-ratio: 3/4;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.doctor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
    opacity: 0;
    transition: var(--transition);
}

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

.view-profile {
    padding: 10px 24px;
    background: var(--gradient-main);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.doctor-card:hover .view-profile {
    transform: translateY(0);
}

.doctor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: var(--glass-blur);
    border-radius: 0 0 var(--radius) var(--radius);
    border: none;
    border-top: 1px solid var(--border-glass);
}

.doctor-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.doctor-specialty {
    display: block;
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.doctor-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.doctors-cta {
    text-align: center;
}


/* ==================== TECHNOLOGY ==================== */
.technology {
    background: linear-gradient(180deg, #0a0510 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.tech-carousel {
    overflow: hidden;
    margin: 0 -24px;
    padding: 20px 0;
}

.tech-track {
    display: flex;
    gap: 24px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

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

.tech-item {
    flex-shrink: 0;
    width: 200px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    transform: scale(1.05);
}

.tech-img {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.tech-item h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--accent-gold);
}

.tech-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== BOOKING ==================== */
.booking {
    background: var(--bg-dark);
    position: relative;
}

.booking::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.booking-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-main);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.booking-content {
    position: relative;
    z-index: 2;
}

.booking-content > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.booking-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.perk-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
    border-radius: 50%;
    font-size: 12px;
}

.booking-form {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.05);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
}

.btn-primary.full {
    width: 100%;
    justify-content: center;
    padding: 18px;
    margin-top: 8px;
}

/* ==================== CONTACT ==================== */
.contact {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050508 100%);
}

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

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.info-card {
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.info-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.info-card p {
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-4px);
}

.contact-map {
    height: 100%;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--radius);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #050508;
    padding: 80px 0 24px;
    border-top: 1px solid var(--border-glass);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-glass);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 15px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-links a {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== WHATSAPP ==================== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .nav-center { display: none; }
    .navbar .btn-glow { display: none; }
    .menu-toggle { display: flex; }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual { order: -1; }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider { display: none; }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .booking-wrapper {
        padding: 24px;
    }
    
    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}
