/* ==================== RESET & BASE ==================== */

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #043b35 0%, #075c53 40%, #0a7d70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Animated Medical Cross */
.preloader-cross {
    position: relative;
    width: 64px;
    height: 64px;
    animation: crossPulse 1.2s ease-in-out infinite;
}

.cross-vertical,
.cross-horizontal {
    position: absolute;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(230, 57, 70, 0.5), 0 0 60px rgba(230, 57, 70, 0.2);
}

.cross-vertical {
    width: 20px;
    height: 64px;
    left: 50%;
    top: 0;
    transform: translateX(-50%) scaleY(0);
    animation: crossGrowV 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.cross-horizontal {
    width: 64px;
    height: 20px;
    top: 50%;
    left: 0;
    transform: translateY(-50%) scaleX(0);
    animation: crossGrowH 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

/* ECG / Heartbeat Pulse Line */
.preloader-pulse-line {
    width: 220px;
    height: 40px;
    opacity: 0;
    animation: fadeInPulse 0.4s ease 0.8s forwards;
}

.pulse-line-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawPulse 1.2s ease 1s forwards, pulseDraw 2s ease-in-out 2.2s infinite;
}

/* Clinic Name */
.preloader-text {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s forwards;
}

.preloader-logo-cross {
    font-size: 2rem;
    color: #ff6b6b;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    animation: crossGlow 2s ease-in-out 2s infinite;
}

.preloader-logo-words {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.preloader-word-pulse {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    letter-spacing: 2px;
}

.preloader-word-health {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Preloader Keyframes */
@keyframes crossGrowV {
    from { transform: translateX(-50%) scaleY(0); }
    to { transform: translateX(-50%) scaleY(1); }
}

@keyframes crossGrowH {
    from { transform: translateY(-50%) scaleX(0); }
    to { transform: translateY(-50%) scaleX(1); }
}

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

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

@keyframes drawPulse {
    from { stroke-dashoffset: 400; }
    to { stroke-dashoffset: 0; }
}

@keyframes pulseDraw {
    0% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: -400; }
    50.01% { stroke-dashoffset: 400; }
    100% { stroke-dashoffset: 0; }
}

@keyframes crossGlow {
    0%, 100% { text-shadow: 0 0 15px rgba(255, 107, 107, 0.6); }
    50% { text-shadow: 0 0 30px rgba(255, 107, 107, 0.9), 0 0 60px rgba(255, 107, 107, 0.3); }
}

/* Hide body scroll while preloader is active */
body.loading {
    overflow: hidden;
}

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

:root {
    /* Primary Palette — Teal-Cyan inspired by the clinic's branding */
    --primary-50: #e6faf8;
    --primary-100: #b3f0e8;
    --primary-200: #80e6d8;
    --primary-300: #4ddcc8;
    --primary-400: #26d4bb;
    --primary-500: #0fb5a2;
    --primary-600: #0d9e8e;
    --primary-700: #0a7d70;
    --primary-800: #075c53;
    --primary-900: #043b35;

    /* Accent — Medical Red Cross */
    --accent-500: #e63946;
    --accent-400: #ef4444;

    /* Neutrals */
    --gray-50: #f8fafb;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic */
    --bg: #ffffff;
    --bg-alt: #f0f9f7;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0fb5a2 0%, #06b6d4 50%, #0ea5e9 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 181, 162, 0.9) 0%, rgba(6, 182, 212, 0.7) 50%, rgba(14, 165, 233, 0.6) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,249,247,0.9) 100%);
    --gradient-dark: linear-gradient(135deg, #043b35 0%, #0a7d70 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 30px rgba(15, 181, 162, 0.15);

    /* Spacing */
    --section-gap: 100px;
    --container-max: 1200px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

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

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

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

/* Utility */
.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }

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

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-md { padding: 12px 28px; font-size: 0.95rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 181, 162, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 181, 162, 0.4);
}

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

.btn-glass-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-glass-light:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-300);
}
.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary-700);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-cross {
    font-size: 1.8rem;
    color: var(--accent-500);
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-pulse {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-700);
    letter-spacing: 1px;
}

.logo-health {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* Default state: navbar on top of hero (transparent bg) — white text */
.nav-link {
    padding: 8px 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* After scroll: navbar has white bg — dark text */
.navbar.scrolled .nav-link {
    color: var(--text-muted);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-600);
}

.navbar.scrolled .nav-link.active {
    background: var(--primary-50);
}

/* Logo colors before scroll */
.logo-pulse {
    transition: color 0.3s var(--ease);
}
.logo-health {
    transition: color 0.3s var(--ease);
}
.navbar:not(.scrolled) .logo-pulse {
    color: #ffffff;
}
.navbar:not(.scrolled) .logo-health {
    color: rgba(255, 255, 255, 0.7);
}
.navbar:not(.scrolled) .logo-cross {
    color: #ff6b6b;
    text-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
}

/* Nav toggle bars white before scroll */
.navbar:not(.scrolled) .nav-toggle span {
    background: white;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(15, 181, 162, 0.3);
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 181, 162, 0.4);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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

.mobile-nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
}

.mobile-nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(15, 181, 162, 0.3);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #043b35;
    background-image: 
        linear-gradient(135deg, 
            rgba(4, 59, 53, 0.90) 0%, 
            rgba(10, 125, 112, 0.78) 40%, 
            rgba(6, 182, 212, 0.62) 100%
        ),
        url('images/hero-bg.jpg'),
        url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(15, 181, 162, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 24px 80px;
    width: 100%;
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #5eead4 0%, #67e8f9 50%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s var(--ease) 0.8s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 100%;
    animation: fadeInUp 0.8s var(--ease) 1s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #5eead4;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollDown 2s var(--ease) infinite;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-gap) 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==================== ABOUT ==================== */
.about {
    background: var(--bg-alt);
}

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

.about-card {
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.about-card:hover::before {
    transform: scaleX(1);
}

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

.about-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
}

.about-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.about-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.about-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== SERVICES ==================== */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.service-tab:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.service-tab.active {
    background: white;
    color: var(--primary-600);
    border-color: var(--primary-300);
    box-shadow: 0 4px 15px rgba(15, 181, 162, 0.12);
}

.service-panel {
    display: none;
    animation: fadeIn 0.5s var(--ease);
}

.service-panel.active {
    display: block;
}

.service-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-panel-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 1;
}

.service-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.service-panel-image:hover img {
    transform: scale(1.05);
}

.service-panel-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-panel-content > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.service-item-icon {
    flex-shrink: 0;
    color: var(--primary-500);
    margin-top: 2px;
}

.service-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.service-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.procedure-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed var(--gray-200);
}

.highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ==================== DOCTORS ==================== */
.doctors {
    background: var(--bg-alt);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.doctor-card {
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.doctor-image-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--gray-100);
}

.doctor-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

#doctor-vijay .doctor-image-wrap img {
    object-position: center 22%;
    transform: scale(1.18);
}

#doctor-vijay:hover .doctor-image-wrap img {
    transform: scale(1.25);
}

#doctor-priya .doctor-image-wrap img {
    object-position: 68% 28%;
    transform-origin: 68% 28%;
    transform: scale(1.15);
}

#doctor-priya:hover .doctor-image-wrap img {
    transform: scale(1.22);
}

.doctor-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
}

.doctor-info {
    padding: 28px;
}

.doctor-info h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.doctor-qual {
    font-size: 0.88rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 14px;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.specialty-tag {
    padding: 4px 12px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
}

.doctor-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.doctor-availability {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: rgba(15, 181, 162, 0.06);
    border: 1px solid rgba(15, 181, 162, 0.18);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    color: var(--gray-800);
}

.avail-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.avail-badge i, .avail-badge svg {
    color: var(--primary-600);
    flex-shrink: 0;
}

.avail-badge small {
    color: var(--gray-500);
    font-size: 0.76rem;
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-wide {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 59, 53, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* ==================== WHY US ==================== */
.why-us {
    background: var(--bg-alt);
}

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

.why-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
}

.why-icon svg {
    width: 22px;
    height: 22px;
}

.why-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.why-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Why Us Visual */
.why-us-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-200);
    animation: pulseRing 3s ease-out infinite;
}

.pulse-ring-2 { animation-delay: 1s; }
.pulse-ring-3 { animation-delay: 2s; }

.pulse-center {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(15, 181, 162, 0.3);
}

.large-cross {
    font-size: 2rem;
    color: white;
    text-shadow: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--gray-800);
    animation: float 6s ease-in-out infinite;
}

.fc-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-500);
}

.fc-1 { top: 20px; left: 10px; animation-delay: 0s; }
.fc-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 2s; }
.fc-3 { bottom: 30px; left: 30px; animation-delay: 4s; }

/* ==================== CONTACT ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s var(--ease);
}

.contact-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-xl);
}

.contact-icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

.contact-icon-wrap.wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-card h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.contact-link {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--primary-700);
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow-lg);
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 181, 162, 0.2), transparent 70%);
    border-radius: 50%;
}

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

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

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

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 0;
    color: var(--gray-400);
}

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

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand .logo-pulse {
    color: white;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links-group h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: all 0.3s var(--ease);
}

.footer-links-group a:hover {
    color: var(--primary-300);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==================== FLOATING WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s var(--ease);
    animation: waFloat 3s ease-in-out infinite;
}

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

.wa-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    border-color: var(--primary-200);
}

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

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

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease);
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .why-us-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 70px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 120px 20px 60px;
        width: 100%;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        width: 100%;
    }

    .stat-number, .stat-suffix {
        font-size: 1.6rem;
    }

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

    .service-panel-grid {
        grid-template-columns: 1fr;
    }

    .service-panel-image {
        max-height: 300px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

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

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

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

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }

    .stat-divider {
        display: none;
    }

    .stat-number, .stat-suffix {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .service-tabs {
        gap: 8px;
    }

    .service-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}
