/* ============================================================
   DELHI ADVANCED CARE CLINIC — Premium Medical Website
   ============================================================ */

/* ============ CSS VARIABLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}
:root {
    --primary: #0a5e7d;
    --primary-dark: #084357;
    --primary-light: #0d7fa8;
    --accent: #00b4d8;
    --accent-light: #90e0ef;
    --gold: #c9a84c;
    --gold-light: #f0dfa0;
    --white: #ffffff;
    --off-white: #f8fafb;
    --light-gray: #eef2f5;
    --gray: #8896a4;
    --dark: #0a1628;
    --dark-blue: #0f2137;
    --text: #2d3748;
    --text-light: #64748b;
    --success: #10b981;
    --emergency: #dc2626;
    --whatsapp: #25d366;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
    --shadow-xl: 0 30px 80px rgba(10, 22, 40, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ui: 'Poppins', sans-serif;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 100px 0;
    overflow-x: hidden;
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader .pulse {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
    animation: pulse-ring 1.5s ease-out infinite;
}

.loader i {
    font-size: 28px;
    color: var(--primary);
    animation: pulse-beat 1.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes pulse-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-label i {
    font-size: 10px;
    color: var(--accent);
}

.section-label.center {
    justify-content: center;
}

.section-label.light {
    color: var(--accent-light);
}

.section-label.light i {
    color: var(--gold);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-title.center {
    text-align: center;
}

.section-title.light {
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-header {
    margin-bottom: 16px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(10, 94, 125, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 94, 125, 0.5);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    background: #20bd5a;
}

.btn-emergency {
    background: var(--emergency);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    animation: emergency-pulse 2s ease-in-out infinite;
}

@keyframes emergency-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(220, 38, 38, 0.7); }
}

.btn-emergency:hover {
    transform: translateY(-2px);
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 32px;
    color: var(--accent);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo i {
    color: var(--primary);
}

.logo-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.logo-sub {
    display: block;
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    transition: var(--transition);
}

.navbar.scrolled .logo-sub {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
    background: rgba(10, 94, 125, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-call-btn {
    border-color: rgba(255,255,255,0.5) !important;
    color: var(--white) !important;
}

.navbar.scrolled .nav-call-btn {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    animation: hero-zoom 8s ease-in-out forwards;
}

@keyframes hero-zoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.85) 0%,
        rgba(10, 94, 125, 0.7) 50%,
        rgba(10, 22, 40, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    border: 1px solid rgba(201, 168, 76, 0.3);
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--gold);
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 18px;
    color: var(--white);
}

.trust-badge strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.trust-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
}

.about-img-secondary img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    z-index: 2;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.exp-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.3;
    margin-top: 2px;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.about-feature i {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
}

.founder-quote {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--gold);
    margin-bottom: 32px;
}

.founder-img img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--gold-light);
}

.founder-text blockquote {
    font-family: var(--font-heading);
    font-size: 15px;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 8px;
}

.founder-text cite {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

/* ============ SERVICES SECTION ============ */
.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(10, 94, 125, 0.4);
}

.service-icon i {
    font-size: 20px;
    color: var(--white);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-card h3 {
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 600;
    padding: 20px 24px 0;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    padding: 0 24px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    padding: 16px 24px 24px;
    transition: var(--transition);
}

.service-link i {
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ============ DOCTORS SECTION ============ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.doctor-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-social {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.doctor-card:hover .doctor-social {
    opacity: 1;
    transform: translateY(0);
}

.doctor-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.doctor-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.doctor-info {
    padding: 24px;
}

.doctor-info h3 {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.doctor-spec {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
}

.doctor-qual {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.doctor-qual span {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-qual i {
    color: var(--accent);
    font-size: 14px;
    width: 16px;
}

.doctor-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(10, 94, 125, 0.08), rgba(0, 180, 216, 0.08));
    color: var(--primary);
    border: 1px solid rgba(10, 94, 125, 0.1);
}

.achievement-badge i {
    color: var(--gold);
    font-size: 10px;
}

/* ============ WHY CHOOSE US ============ */
.why-choose-us {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.why-bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.3);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.why-icon i {
    font-size: 24px;
    color: var(--white);
}

.why-card h3 {
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-number::after {
    content: '+';
    font-size: 32px;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ============ APPOINTMENT SECTION ============ */
.appointment {
    background: var(--off-white);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.appointment-info p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.appt-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.appt-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(10, 94, 125, 0.1), rgba(0, 180, 216, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.appt-feature-icon i {
    font-size: 20px;
    color: var(--primary);
}

.appt-feature strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 2px;
}

.appt-feature span {
    font-size: 13px;
    color: var(--text-light);
}

.clinic-hours {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--light-gray);
}

.clinic-hours h4 {
    font-family: var(--font-ui);
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
}

.clinic-hours h4 i {
    color: var(--primary);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span {
    color: var(--text-light);
}

.hours-row strong {
    font-family: var(--font-ui);
    color: var(--dark);
    font-weight: 600;
}

.hours-row.emergency strong {
    color: var(--emergency);
}

/* Appointment Form */
.appointment-form-wrapper {
    position: relative;
}

.appointment-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 94, 125, 0.08);
}

.appointment-form h3 {
    font-family: var(--font-ui);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.appointment-form h3 i {
    color: var(--primary);
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 16px;
}

.form-group label {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--primary);
    font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    background: var(--off-white);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.appointment-form .btn.full-width {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-note i {
    color: var(--success);
}

/* ============ TESTIMONIALS ============ */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 216, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-light);
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-light);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.test-prev,
.test-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
}

.test-prev:hover,
.test-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ============ BLOG SECTION ============ */
.blog {
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-meta span {
    font-size: 12px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-meta i {
    color: var(--accent);
    font-size: 11px;
}

.blog-content h3 {
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.blog-link i {
    transition: transform 0.3s;
}

.blog-link:hover {
    color: var(--accent);
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* ============ EMERGENCY SECTION ============ */
.emergency-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #b91c1c, var(--emergency), #ef4444);
    overflow: hidden;
}

.emergency-pulse {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: emergency-bg-pulse 3s ease-in-out infinite;
}

@keyframes emergency-bg-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.emergency-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: emergency-icon-pulse 2s ease-in-out infinite;
}

@keyframes emergency-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.emergency-icon i {
    font-size: 36px;
    color: var(--white);
}

.emergency-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    margin-bottom: 12px;
}

.emergency-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.emergency-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-buttons .btn-emergency {
    background: var(--white);
    color: var(--emergency);
    animation: none;
    font-size: 18px;
    padding: 18px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.emergency-buttons .btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 216, 0.2);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10, 94, 125, 0.1), rgba(0, 180, 216, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-card-icon i {
    font-size: 22px;
    color: var(--primary);
}

.contact-card h4 {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark-blue);
    padding-top: 80px;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--accent);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--accent-light);
}

.footer-about p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact li i {
    color: var(--accent);
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ============ FLOATING BUTTONS ============ */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: float-bounce 3s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    background: var(--whatsapp);
    animation-delay: 0s;
}

.call-float {
    background: var(--primary);
    animation-delay: 0.5s;
}

.appointment-float {
    background: var(--gold);
    animation-delay: 1s;
}

@keyframes float-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.float-btn:hover {
    animation-play-state: paused;
    transform: scale(1.12);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.9);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon i {
    font-size: 40px;
    color: var(--success);
}

.modal-content h3 {
    font-family: var(--font-ui);
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark-blue);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 24px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--white) !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo i {
        font-size: 26px;
    }

    .logo-text {
        font-size: 17px;
    }

    .logo-sub {
        font-size: 9px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid,
    .doctors-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .appointment-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .navbar {
        padding: 12px 0;
        background: rgba(10, 22, 40, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .hero-content {
        padding-top: 140px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .services-grid,
    .doctors-grid,
    .blog-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat-item {
        width: calc(50% - 16px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-form {
        padding: 28px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .floating-buttons {
        bottom: 16px;
        left: 16px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }

    .founder-quote {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-images {
        padding: 15px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -15px;
    }

    .about-experience-badge {
        left: 0;
        top: 0;
    }

    .stats-row {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding-top: 130px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -10px;
        width: 130px;
    }

    .about-experience-badge {
        width: 85px;
        height: 85px;
        top: 0;
        left: 0;
    }

    .exp-number {
        font-size: 26px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth loading for images */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.2s;
}

/* Form loading animation on submit */
.appointment-form.submitting {
    pointer-events: none;
    opacity: 0.6;
}

.appointment-form.submitting .btn-primary {
    background: var(--gray);
}

/* Selection color */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
