/* --- Variables & Reset --- */
:root { 
    --bg: #ffffff; 
    --fg: #171717; 
    --muted: #737373; 
    --accent: #f97316; 
    --accent-dark: #ea580c; 
    --card: #fafafa; 
    --border: #e5e5e5; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    border-radius: 0 !important; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'DM Sans', sans-serif; 
    background-color: var(--bg); 
    color: var(--fg); 
    overflow-x: hidden; 
}

.font-display { 
    font-family: 'Space Grotesk', sans-serif; 
}

/* --- Animations --- */
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.animate-scroll { display: flex; width: 200%; animation: scroll 25s linear infinite; }
.animate-scroll:hover { animation-play-state: paused; }
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; }
.animate-slide-in { animation: slideIn 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.5s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

.stagger-1 { animation-delay: 0.1s; } 
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; } 
.stagger-4 { animation-delay: 0.4s; }

/* --- Interaction & Reveal --- */
[data-reveal] { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); 
}

[data-reveal].revealed { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- UI Components --- */
.btn-primary { 
    position: relative; 
    overflow: hidden; 
    transition: all 0.3s ease; 
}

.btn-primary::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); 
    transition: left 0.5s ease; 
}

.btn-primary:hover::before { 
    left: 100%; 
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.5); 
}

.service-card { 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

.service-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.2); 
}

.service-card:hover .service-icon { 
    transform: scale(1.1) rotate(5deg); 
}

.service-icon { 
    transition: transform 0.4s ease; 
}

.doctor-card { 
    transition: all 0.4s ease; 
}

.doctor-card:hover { 
    transform: translateY(-5px); 
}

.doctor-card:hover .doctor-image { 
    filter: grayscale(0); 
}

.doctor-image { 
    filter: grayscale(100%); 
    transition: filter 0.5s ease; 
}

.gallery-item { 
    transition: all 0.4s ease; 
}

.gallery-item:hover { 
    transform: scale(1.02); 
}

.gallery-item:hover .gallery-overlay { 
    opacity: 1; 
}

.gallery-overlay { 
    opacity: 0; 
    transition: opacity 0.4s ease; 
}

.before-after-slider { 
    position: relative; 
    overflow: hidden; 
}

.mobile-menu { 
    transform: translateX(100%); 
    transition: transform 0.3s ease; 
}

.mobile-menu.active { 
    transform: translateX(0); 
}

.hero-pattern { 
    background-image: radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.06) 0%, transparent 40%); 
}

.geo-shape { 
    position: absolute; 
    pointer-events: none; 
}

.geo-line { 
    width: 1px; 
    background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, 0.3), transparent); 
}

.geo-dot { 
    width: 8px; 
    height: 8px; 
    background: var(--accent); 
    opacity: 0.3; 
}

.nav-scrolled { 
    background: rgba(255, 255, 255, 0.98) !important; 
    backdrop-filter: blur(12px) !important; 
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1) !important; 
    border-bottom: 1px solid var(--border) !important; 
}

.testimonial-track { 
    display: flex; 
    transition: transform 0.5s ease; 
}

a:focus-visible, button:focus-visible { 
    outline: 2px solid var(--accent); 
    outline-offset: 2px; 
}

.process-step { 
    transition: all 0.4s ease; 
}

.process-step:hover { 
    transform: translateX(10px); 
}

.process-step:hover .process-number { 
    background: var(--accent); 
    color: white; 
}

.facility-card { 
    transition: all 0.4s ease; 
}

.facility-card:hover { 
    transform: translateY(-10px); 
}

.facility-card:hover img { 
    transform: scale(1.05); 
}

.facility-card img { 
    transition: transform 0.5s ease; 
}

/* --- Accessibility & Scrollbar --- */
@media (prefers-reduced-motion: reduce) { 
    *, *::before, *::after { 
        animation-duration: 0.01ms !important; 
        animation-iteration-count: 1 !important; 
        transition-duration: 0.01ms !important; 
    } 
}

::-webkit-scrollbar { 
    width: 8px; 
} 

::-webkit-scrollbar-track { 
    background: var(--card); 
} 

::-webkit-scrollbar-thumb { 
    background: var(--accent); 
}