/* ============================================
   LITTLE STARS CHILDREN'S HOSPITAL
   Premium 3D Pediatric Website Stylesheet
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary: #1E5F8C;
    --primary-dark: #154A6E;
    --primary-light: #2B7AB5;
    --secondary: #F9A826;
    --secondary-light: #FFD166;
    --accent-pink: #E74C6F;
    --accent-green: #4CAF50;
    --accent-purple: #9C27B0;
    --accent-teal: #009688;
    --accent-orange: #FF9800;

    --text-dark: #1A1A2E;
    --text-body: #4A4A68;
    --text-light: #7A7A98;
    --bg-primary: #FAFBFE;
    --bg-section: #F0F4FF;
    --white: #ffffff;

    --gradient-rainbow: linear-gradient(135deg, #FF6B6B, #FFE66D, #4ECDC4, #45B7D1, #96C93D);
    --gradient-primary: linear-gradient(135deg, #1E5F8C, #2B7AB5, #3D9BE9);
    --gradient-warm: linear-gradient(135deg, #F9A826, #FF6B6B, #E74C6F);
    --gradient-hero: linear-gradient(135deg, #EEF5FF 0%, #F0E6FF 30%, #FFF0F5 60%, #FFF8E6 100%);

    --shadow-sm: 0 2px 8px rgba(30, 95, 140, 0.06);
    --shadow-md: 0 8px 30px rgba(30, 95, 140, 0.1);
    --shadow-lg: 0 20px 60px rgba(30, 95, 140, 0.12);
    --shadow-xl: 0 30px 80px rgba(30, 95, 140, 0.15);
    --shadow-glow: 0 0 40px rgba(30, 95, 140, 0.2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Fredoka', sans-serif;

    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f0f4ff; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

::selection {
    background: var(--secondary);
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
input, select, textarea {
    font-family: var(--font-body);
    border: none;
    outline: none;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1E5F8C, #2B7AB5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner { text-align: center; }

.preloader-star {
    font-size: 60px;
    animation: preloaderSpin 1.5s ease-in-out infinite;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 16px 0;
    letter-spacing: 2px;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: var(--secondary);
    border-radius: 4px;
    animation: preloaderFill 1.8s ease forwards;
}

@keyframes preloaderSpin {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

@keyframes preloaderFill {
    to { width: 100%; }
}

/* ===== STARS CANVAS ===== */
#starsCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ===== GLASS CARD UTILITY ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.glass-card-subtle {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(30, 95, 140, 0.08), rgba(249, 168, 38, 0.08));
    padding: 8px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(30, 95, 140, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img { height: 42px; }

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: 3px;
    transition: var(--transition);
}

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

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(30, 95, 140, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 95, 140, 0.4);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    justify-content: center;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    padding-top: var(--nav-height);
    overflow: hidden;
}

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

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 15s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px; height: 500px;
    background: rgba(30, 95, 140, 0.15);
    top: -100px; right: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px; height: 400px;
    background: rgba(249, 168, 38, 0.12);
    bottom: -50px; left: -50px;
    animation-delay: -5s;
}

.hero-blob-3 {
    width: 300px; height: 300px;
    background: rgba(231, 76, 111, 0.1);
    top: 50%; left: 50%;
    animation-delay: -10s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-el {
    position: absolute;
    font-size: 30px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.float-star-1 { top: 15%; left: 8%; animation-delay: 0s; font-size: 24px; }
.float-star-2 { top: 25%; right: 12%; animation-delay: -1.5s; font-size: 32px; }
.float-star-3 { bottom: 30%; left: 15%; animation-delay: -3s; font-size: 20px; }
.float-cloud-1 { top: 12%; right: 25%; animation-delay: -2s; font-size: 40px; opacity: 0.3; }
.float-cloud-2 { bottom: 25%; right: 8%; animation-delay: -4s; font-size: 36px; opacity: 0.25; }
.float-heart-1 { bottom: 20%; left: 5%; animation-delay: -1s; font-size: 22px; }
.float-rainbow { top: 8%; left: 30%; animation-delay: -5s; font-size: 36px; opacity: 0.4; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
    75% { transform: translateY(-20px) rotate(3deg); }
}

/* Hero Content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.6);
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

/* Hero Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-3d {
    transform: translateY(0);
    box-shadow: 0 4px 0 0 rgba(0,0,0,0.15), 0 6px 20px rgba(0,0,0,0.1);
}

.btn-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 0 rgba(0,0,0,0.15), 0 12px 30px rgba(0,0,0,0.15);
}

.btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 0 rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 0 0 var(--primary-dark), 0 6px 20px rgba(30, 95, 140, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 7px 0 0 var(--primary-dark), 0 12px 30px rgba(30, 95, 140, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid rgba(30, 95, 140, 0.15);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.trust-badge i {
    color: var(--secondary);
    font-size: 16px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-3d-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: var(--shadow-xl);
    animation: heroCardFloat 6s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-3d-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes heroCardFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-3deg) rotateX(3deg) translateY(-15px); }
}

.hero-icon-art {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.hero-baby-circle {
    position: absolute;
    inset: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(30, 95, 140, 0.3);
}

.hero-baby-circle i {
    font-size: 60px;
    color: white;
}

.hero-orbit {
    position: absolute;
    inset: 0;
    animation: orbitSpin 20s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    animation: orbitCounterSpin 20s linear infinite;
}

.orbit-item i { font-size: 18px; color: var(--primary); }
.orbit-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.orbit-2 { top: 50%; right: -10px; transform: translateY(-50%); }
.orbit-3 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.orbit-4 { top: 50%; left: -10px; transform: translateY(-50%); }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitCounterSpin { to { transform: rotate(-360deg); } }

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 5;
}

.hero-floating-card i {
    font-size: 28px;
    color: var(--primary);
}

.hero-floating-card strong {
    font-family: var(--font-accent);
    font-size: 20px;
    color: var(--text-dark);
    display: block;
}

.hero-floating-card span {
    font-size: 12px;
    color: var(--text-light);
}

.card-1 { top: 20px; right: -20px; animation-delay: 0s; }
.card-2 { bottom: 40px; left: -30px; animation-delay: -2s; }

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

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
    padding: 50px 0;
    background: white;
    position: relative;
    z-index: 5;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-section);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stat-item:hover::before { transform: scaleX(1); }

.stat-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION (COMPACT DOCTOR SHOWCASE)
   ============================================ */
.about { 
    background: white; 
    padding: 60px 0;
    position: relative;
}

.about-doctor-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.9));
    border: 1px solid rgba(30, 95, 140, 0.12);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    box-shadow: 0 16px 50px rgba(30, 95, 140, 0.08);
    position: relative;
    overflow: hidden;
}

.about-doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: var(--gradient-rainbow);
}

.doc-card-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: center;
}

/* Left: Doctor Photo */
.doc-photo-col {
    display: flex;
    justify-content: center;
}

.doc-photo-frame {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(30, 95, 140, 0.18);
    border: 3px solid white;
    background: var(--gradient-primary);
}

.doc-photo-frame .doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-photo-frame:hover .doctor-photo {
    transform: scale(1.04);
}

.doc-verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doc-verified-badge i {
    color: #2196F3;
}

.doc-exp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%);
    padding: 20px 14px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: white;
}

.exp-counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.exp-num {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.exp-txt {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

.exp-stars {
    display: flex;
    gap: 2px;
    color: var(--secondary);
    font-size: 11px;
}

/* Right: Info Column */
.doc-info-col {
    display: flex;
    flex-direction: column;
}

.doc-header {
    margin-bottom: 10px;
}

.doc-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.doc-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.doc-qualifications {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.doc-bio {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* 2x2 Highlights Grid */
.doc-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.doc-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.doc-highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: color-mix(in srgb, var(--accent-clr) 30%, white);
}

.highlight-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-clr) 12%, white);
    color: var(--accent-clr);
    font-size: 14px;
}

.highlight-text strong {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-dark);
    display: block;
    line-height: 1.2;
}

.highlight-text span {
    font-size: 11.5px;
    color: var(--text-light);
    display: block;
}

/* Action Bar */
.doc-action-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.doc-action-bar .btn {
    padding: 10px 22px;
    font-size: 14px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-section);
    position: relative;
}

.services-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.services-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.services-blob-1 {
    width: 400px; height: 400px;
    background: rgba(30, 95, 140, 0.1);
    top: -100px; left: -100px;
}

.services-blob-2 {
    width: 350px; height: 350px;
    background: rgba(249, 168, 38, 0.1);
    bottom: -80px; right: -80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 24px 36px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: default;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 30%, var(--card-color) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 20px 20px;
}

.service-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 20px 60px color-mix(in srgb, var(--card-color) 25%, transparent),
        0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--card-color) 30%, white);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-color);
    color: white;
    font-size: 32px;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--card-color) 35%, transparent);
}

.service-icon-bg {
    position: absolute;
    inset: -6px;
    border-radius: calc(20px + 6px);
    background: var(--card-color);
    opacity: 0.12;
    z-index: 1;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateY(15deg);
    box-shadow: 0 12px 35px color-mix(in srgb, var(--card-color) 45%, transparent);
    border-radius: 16px;
}

.service-card:hover .service-icon-bg {
    opacity: 0.2;
    inset: -10px;
    animation: iconGlowPulse 2s ease-in-out infinite;
}

@keyframes iconGlowPulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.08); }
}

.service-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: var(--card-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-title::after {
    transform: translateX(-50%) scaleX(1);
    width: 50px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 48%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 52%,
        transparent 60%
    );
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.service-card:hover .service-shine {
    transform: rotate(45deg) translateY(100%);
}

/* Service Featured Badge */
.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: white;
    background: var(--card-color);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--card-color) 40%, transparent);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 12px color-mix(in srgb, var(--card-color) 40%, transparent); }
    50% { box-shadow: 0 4px 20px color-mix(in srgb, var(--card-color) 60%, transparent); }
}

.service-card.featured {
    border: 1px solid color-mix(in srgb, var(--card-color) 20%, white);
}

/* Services section gradient top border */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #9C27B0, #E91E63, #FF9800, #009688, #4CAF50, #2196F3);
    background-size: 200% 100%;
    animation: gradientFlow 4s linear infinite;
}

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

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us { background: white; }

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent, var(--primary));
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::before { opacity: 1; width: 80px; }

.why-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, white);
    transition: var(--transition);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--accent) 15%, transparent);
}

.why-card:hover .why-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--accent) 25%, transparent);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--bg-section);
    position: relative;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.testimonials-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.testimonials-blob-1 {
    width: 350px; height: 350px;
    background: rgba(231, 76, 111, 0.1);
    top: -50px; right: -50px;
}

.testimonials-blob-2 {
    width: 300px; height: 300px;
    background: rgba(30, 95, 140, 0.1);
    bottom: -50px; left: -50px;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 10px;
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    padding: 32px;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--secondary);
    font-size: 18px;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -5px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-dark);
    display: block;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 95, 140, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */
.appointment {
    background: white;
}

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

.appointment-info .section-tag { text-align: left; }
.appointment-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.appointment-info > p {
    margin-bottom: 32px;
    line-height: 1.8;
}

.appointment-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.appt-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.appt-detail > i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.appt-detail strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.appt-detail span, .appt-detail a {
    font-size: 14px;
    color: var(--text-light);
    display: block;
}

.appt-detail a:hover { color: var(--primary); }

/* Emergency Box */
.emergency-box {
    background: linear-gradient(135deg, #FFF5F5, #FFF0F0);
    border: 1px solid rgba(231, 76, 111, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.emergency-pulse {
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.emergency-box strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-pink);
    display: block;
    margin-bottom: 4px;
}

.emergency-box p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: var(--accent-pink);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-emergency:hover {
    background: #d63e5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 111, 0.3);
}

/* Appointment Form */
.appointment-form {
    padding: 40px;
    position: relative;
}

.appointment-form h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-form h3 i { color: var(--primary); }

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

.form-group.full-width { margin-bottom: 24px; }

.input-wrapper {
    position: relative;
    background: var(--bg-section);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: var(--transition);
    padding: 0 16px;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 95, 140, 0.08);
}

.input-wrapper > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
    z-index: 2;
}

.textarea-wrapper > i {
    top: 20px;
    transform: none;
}

.input-wrapper:focus-within > i { color: var(--primary); }

.input-wrapper input,
.input-wrapper select {
    background: transparent;
    padding: 18px 16px 8px 32px;
    font-size: 15px;
    color: var(--text-dark);
    height: 56px;
}

.input-wrapper textarea {
    background: transparent;
    padding: 20px 16px 8px 32px;
    font-size: 15px;
    color: var(--text-dark);
    resize: vertical;
    min-height: 100px;
}

.input-wrapper label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
}

.textarea-wrapper label {
    top: 20px;
    transform: none;
}

.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:not(:placeholder-shown) + label,
.date-label {
    top: 8px;
    transform: none;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 0 0 #075E54, 0 6px 20px rgba(37, 211, 102, 0.35);
    font-size: 18px;
}

.btn-whatsapp:hover {
    box-shadow: 0 7px 0 0 #075E54, 0 12px 35px rgba(37, 211, 102, 0.45);
    transform: translateY(-3px);
}

.btn-whatsapp:active {
    box-shadow: 0 1px 0 0 #075E54, 0 2px 8px rgba(37, 211, 102, 0.3);
    transform: translateY(2px);
}

.btn-whatsapp i {
    font-size: 22px;
}

/* Form Success */
.form-success {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 10;
    animation: fadeScaleIn 0.5s ease;
}

.form-success.show { display: flex; }

.success-icon { font-size: 60px; margin-bottom: 16px; }

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
    font-size: 15px;
}

@keyframes fadeScaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================
   CONTACT & LOCATION
   ============================================ */
.contact {
    background: var(--bg-section);
    position: relative;
}

.contact-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.contact-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.contact-blob-1 {
    width: 400px; height: 400px;
    background: rgba(30, 95, 140, 0.1);
    bottom: -100px; right: -100px;
}

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

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

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

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

.contact-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, white);
}

.contact-card strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
}

.telugu-text {
    font-size: 13px !important;
    color: var(--text-light) !important;
    margin-top: 6px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-body);
    transition: var(--transition);
    margin-top: 4px;
}

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

.whatsapp-link:hover { color: #25D366; }

.hours-table {
    margin-top: 4px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.hours-row:last-child { border-bottom: none; }
.hours-time { font-weight: 600; color: var(--text-dark); }
.emergency-text { color: var(--accent-pink) !important; font-weight: 700 !important; }

.pulse-dot {
    color: var(--accent-green);
    font-size: 10px;
    animation: pulse 2s infinite;
}

/* Map */
.map-wrapper {
    height: 100%;
    min-height: 460px;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
}

.map-overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 28px;
    font-size: 14px;
    z-index: 5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1A1A2E, #16213E, #0F3460);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 60px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
    background: rgba(255,255,255,0.1);
    padding: 10px 16px;
    border-radius: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.footer-links h4, .footer-services h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after, .footer-services h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.footer-links li, .footer-services li {
    margin-bottom: 10px;
}

.footer-links a, .footer-services a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i, .footer-services a i {
    font-size: 10px;
    color: var(--secondary);
    transition: var(--transition);
}

.footer-links a:hover, .footer-services a:hover {
    color: white;
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 16px;
    min-width: 20px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-contact-item a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    margin-top: 6px;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(30, 95, 140, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(30, 95, 140, 0.4);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
    animation: whatsappPulse 3s infinite;
}

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

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: white;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="left"] { transform: translateX(-60px); }
[data-animate="right"] { transform: translateX(60px); }
[data-animate="up"] { transform: translateY(40px); }

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* === ENHANCED SECTION TRANSITIONS === */
.section-header .section-tag {
    position: relative;
    overflow: hidden;
}

.section-header .section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: tagShimmer 3s infinite;
}

@keyframes tagShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Enhanced glass card hover */
.glass-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Enhanced section background blobs */
.services-blob, .testimonials-blob, .contact-blob {
    transition: all 8s ease;
}

.services:hover .services-blob,
.testimonials:hover .testimonials-blob {
    transform: scale(1.2) rotate(30deg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle { max-width: 100%; margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-trust-badges { justify-content: center; }

    .hero-visual { order: -1; }
    .hero-image-wrapper { max-width: 350px; }
    .hero-3d-card { padding: 40px; }
    .hero-floating-card.card-1 { right: -10px; top: 10px; }
    .hero-floating-card.card-2 { left: -10px; bottom: 20px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-doctor-card { padding: 30px; }
    .doc-card-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .doc-photo-frame { margin: 0 auto; max-width: 280px; height: 340px; }
    .doc-qualifications { justify-content: center; }
    .doc-action-bar { justify-content: center; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }

    .appointment-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-wrapper { min-height: 350px; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .testimonial-card { min-width: calc(50% - 12px); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --nav-height: 70px; }

    .section { padding: 70px 0; }
    .section-header { margin-bottom: 48px; }
    .container { padding: 0 16px; }

    /* About Section Mobile */
    .about { padding: 40px 0; }
    .about-doctor-card { padding: 20px; border-radius: 18px; }
    .doc-highlights-grid { grid-template-columns: 1fr; gap: 8px; text-align: left; }
    .doc-name { font-size: 22px; }
    .doc-action-bar .btn { width: 100%; justify-content: center; }

    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.open { transform: translateX(0); }
    .nav-link { font-size: 20px; padding: 12px 24px; }
    .nav-actions { display: none; }
    .nav-toggle { display: flex; }

    /* Hero Mobile */
    .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-3d-card { padding: 30px; }
    .hero-icon-art { width: 150px; height: 150px; }
    .hero-baby-circle { inset: 20px; }
    .hero-baby-circle i { font-size: 45px; }
    .orbit-item { width: 36px; height: 36px; }
    .orbit-item i { font-size: 14px; }
    .hero-floating-card { padding: 12px 16px; font-size: 12px; }
    .hero-floating-card i { font-size: 22px; }
    .hero-floating-card strong { font-size: 16px; }
    .hero-trust-badges { gap: 16px; }

    /* Floating elements smaller on mobile */
    .floating-el { font-size: 18px; }
    .float-cloud-1, .float-cloud-2 { display: none; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item { padding: 20px 12px; }
    .stat-number { font-size: 32px; }

    /* Services */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .service-card { padding: 24px 16px; }
    .service-icon { width: 60px; height: 60px; font-size: 24px; }

    /* Why Us */
    .why-us-grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testimonial-card { min-width: calc(100% - 20px); }

    /* Appointment */
    .form-row { grid-template-columns: 1fr; }
    .appointment-form { padding: 24px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { text-align: center; }
    .footer-logo { margin: 0 auto 16px; }
    .footer-social { justify-content: center; }

    /* WhatsApp & Back to top */
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 24px; left: 20px; }
    .back-to-top { width: 42px; height: 42px; bottom: 24px; right: 20px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .doc-photo-frame { max-width: 240px; height: 290px; }
    .stat-number { font-size: 28px; }
    .hero-image-wrapper { max-width: 280px; }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container { max-width: 1320px; }
    .hero-title { font-size: 68px; }
    .services-grid { gap: 28px; }
}
