/* ==========================================
   PREMIUM DESIGN SYSTEM - MEDIPLUS CENTER
   ========================================== */

:root {
    /* Harmonious Color Palette */
    --primary: #0ea5e9;         /* Vibrant Medical Blue */
    --primary-dark: #0369a1;    /* Deep Blue Accent */
    --primary-rgb: 14, 165, 233;
    --secondary: #10b981;       /* Healing Mint Green */
    --accent: #f59e0b;          /* Golden Warning / Highlight */
    --accent-red: #ef4444;      /* Heart / Critical Red */
    
    /* Neutral Shades */
    --dark: #0f172a;            /* Slate Black */
    --dark-secondary: #1e293b;  /* Lighter dark blue */
    --light: #f8fafc;           /* Crisp background */
    --light-secondary: #f1f5f9; /* Slate background light */
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    
    /* Layout & Styling Tokens */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(14, 165, 233, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography Font stacks */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Smooth Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ==========================================
   PRESET KEYFRAME ANIMATIONS (Minimum 20 Required)
   ========================================== */

/* 1. Pulse Glow (CTAs) */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

/* 2. Floating floating-anim (Hero Graphic) */
@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.floating-anim {
    animation: floatAnim 6s ease-in-out infinite;
}

/* 3. Heartbeat pulsing */
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}
.heartbeat-anim {
    animation: heartbeat 2.5s infinite ease-in-out;
}

/* 4. Heartbeat pulse line (Preloader) */
@keyframes pulseLineDraw {
    0% { stroke-dashoffset: 400; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -400; }
}

/* 5. Preloader Text Fade pulse */
@keyframes textPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 6. General Fade In & Slide Up */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 7. Underline Expand navigation */
.nav-links li a {
    position: relative;
    padding: 6px 0;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* 8. Badge pulse dot */
@keyframes dotPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.8; }
}
.badge-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 8px;
    animation: dotPulse 1.5s infinite;
}

/* 9. Rotate SVG Line (Loading Screen Spinner) */
@keyframes rotateSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 10. Modal overlay fade-in */
@keyframes modalBgFade {
    from { background-color: rgba(15, 23, 42, 0); }
    to { background-color: rgba(15, 23, 42, 0.7); }
}

/* 11. Modal slide-down & scale-up */
@keyframes modalSlideDown {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 12. Checkmark Drawing Animation */
@keyframes drawCircle {
    from { stroke-dashoffset: 166; }
    to { stroke-dashoffset: 0; }
}
@keyframes drawCheck {
    from { stroke-dashoffset: 48; }
    to { stroke-dashoffset: 0; }
}

/* 13. Scroll to top hover bounce */
@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 14. Stats dynamic numbers highlight glow */
@keyframes numberGlow {
    0%, 100% { text-shadow: 0 0 0px rgba(14, 165, 233, 0); }
    50% { text-shadow: 0 0 10px rgba(14, 165, 233, 0.3); }
}

/* 15. Cardio icon heartbeat pulsing */
@keyframes cardiopulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(239, 68, 68, 0)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(239, 68, 68, 0)); }
}

/* Delay timers for hero items */
.hero-content .animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.hero-content .animate-fade-up:nth-child(2) { animation-delay: 0.3s; }
.hero-content .animate-fade-up:nth-child(3) { animation-delay: 0.5s; }
.hero-content .animate-fade-up:nth-child(4) { animation-delay: 0.7s; }
.hero-content .animate-fade-up:nth-child(5) { animation-delay: 0.9s; }
.hero-image-area { animation-delay: 1.1s; }

/* ==========================================
   GLASSMORPHISM & PREMIUM UI TOKENS
   ========================================== */
.glassmorphism {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--glass-shadow);
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease;
}

.spinner-container {
    text-align: center;
}

.medical-pulse-spinner {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.pulse-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: pulseLineDraw 2.5s infinite linear;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    animation: textPulse 1.5s infinite;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    outline: none;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER & STICKY HEADER
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-img {
    height: 60px;
    width: auto;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    transform: scale(1.04);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
}

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

/* Hamburger mobile menu button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--dark);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Active Hamburger conversion */
.mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--dark);
    color: var(--white);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.grad-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.grad-blue {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: var(--primary);
}

.grad-teal {
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background-color: var(--secondary);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
}

.hero-description strong {
    color: var(--primary);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-highlights {
    display: flex;
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlight-icon {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.hero-image-area {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px;
    overflow: visible;
}

.hero-img {
    width: 380px;
    height: auto;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    display: block;
}

/* Floating Glass Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    width: max-content;
}

.card-top-left {
    top: 15%;
    left: -25%;
}

.card-bottom-right {
    bottom: 10%;
    right: -15%;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.card-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.card-text p {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    background-color: var(--white);
    padding: 50px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    border-right: 1px solid var(--gray-light);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    animation: numberGlow 3s infinite;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--light);
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.about-img:hover {
    transform: scale(1.05);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
}

.about-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 20px;
    text-align: justify;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.point-item {
    display: flex;
    gap: 16px;
}

.point-badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-desc strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

.point-desc p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ==========================================
   SERVICES SECTION (EXPANDED TO 12 SERVICES)
   ========================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: 10px;
}

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

.filter-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tabs-nav {
    display: flex;
    background-color: var(--light-secondary);
    padding: 6px;
    border-radius: 50px;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.services-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: opacity 0.3s ease;
}

.service-card {
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    border: 1px solid var(--gray-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: transparent;
}

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

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

/* Service Colors */
.general-icon { background-color: rgba(14, 165, 233, 0.1); color: var(--primary); }
.cardio-icon { background-color: rgba(239, 68, 68, 0.1); color: var(--accent-red); animation: cardiopulse 3s infinite ease-in-out; }
.ortho-icon { background-color: rgba(245, 158, 11, 0.1); color: var(--accent); }
.gastro-icon { background-color: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.gynae-icon { background-color: rgba(236, 72, 153, 0.1); color: #ec4899; }
.rehab-icon { background-color: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.oncology-icon { background-color: rgba(245, 158, 11, 0.1); color: var(--accent); }
.veterinary-icon { background-color: rgba(14, 165, 233, 0.1); color: var(--primary); }
.psych-icon { background-color: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.path-icon { background-color: rgba(14, 165, 233, 0.1); color: var(--primary); }
.ent-icon { background-color: rgba(245, 158, 11, 0.1); color: var(--accent); }
.chest-icon { background-color: rgba(239, 68, 68, 0.1); color: var(--accent-red); }

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.card-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
}

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

/* ==========================================
   DOCTORS SECTION (EXPANDED TO 12 PROFILES)
   ========================================== */
.doctors-section {
    padding: 100px 0;
    background-color: var(--light);
}

.doctors-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.doctor-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition-smooth);
}

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

.doc-image-wrapper {
    position: relative;
    height: 280px;
    background-color: var(--light-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.doctor-card:hover .doc-img {
    transform: scale(1.08);
}

.doc-avatar-placeholder {
    font-size: 4rem;
    filter: grayscale(1);
    opacity: 0.6;
}

.doc-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 50px;
}

.doc-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.doc-info {
    padding: 24px;
}

.doc-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.doc-spec {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.doc-qual {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.doc-experience {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.doc-schedule {
    font-size: 0.8rem;
    color: var(--dark);
    padding: 8px 12px;
    background-color: var(--light);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}

/* ==========================================
   WHY CHOOSE US / FAQ ACCORDIONS
   ========================================== */
.why-us-section {
    padding: 100px 0;
    background-color: var(--white);
}

.why-us-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.features-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--secondary);
    margin-top: 6px;
    flex-shrink: 0;
    position: relative;
}

.feature-bullet::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--secondary);
    animation: dotPulse 1.5s infinite;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--gray);
}

.faq-accordion-area {
    background-color: var(--light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
    user-select: none;
    transition: var(--transition-smooth);
}

.faq-header:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--light-secondary);
}

.faq-body p {
    padding: 20px 24px;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-header {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================
   TESTIMONIALS SLIDER SECTION
   ========================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light);
}

.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    overflow: hidden;
}

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

.testimonial-slide {
    min-width: 100%;
    padding: 10px;
}

.testimonial-card {
    border-radius: var(--border-radius-lg);
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--glass-shadow);
}

.stars {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-secondary);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.7;
}

.patient-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.patient-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.patient-loc {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
}

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

.slider-btn {
    border: none;
    background: var(--white);
    color: var(--dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

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

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* ==========================================
   CONTACT US & MAPS SECTION
   ========================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-form-card {
    border-radius: var(--border-radius-lg);
    padding: 48px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 36px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition-smooth);
}

.input-group textarea {
    min-height: 100px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 0 6px;
    color: var(--gray);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-group textarea ~ label {
    top: 24px;
    transform: translateY(0);
}

/* Floating Input animations */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--primary);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.select-group select:focus ~ label,
.select-group select:valid ~ label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

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

.select-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.contact-details-area {
    display: flex;
    flex-direction: column;
}

.details-list {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    font-size: 1.5rem;
    background-color: var(--light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-text strong {
    font-size: 1rem;
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

.detail-text p,
.detail-text a {
    font-size: 0.95rem;
    color: var(--gray);
}

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

.google-map-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    box-shadow: var(--box-shadow);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer-area {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-brand-desc {
    font-size: 0.9rem;
    margin: 20px 0;
    line-height: 1.6;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 0.85rem;
}

.whatsapp-accent:hover {
    background-color: var(--secondary) !important;
}

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

.footer-links li a {
    font-size: 0.9rem;
}

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

.footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-address strong {
    color: var(--white);
}

.footer-phone a {
    color: var(--primary);
    font-weight: 700;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.scroll-to-top.visible {
    right: 30px;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    animation: bounceUp 1.2s infinite;
}

/* ==========================================
   MODAL APPOINTMENT FORM
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
    animation: modalBgFade 0.4s forwards;
}

.modal-card {
    width: 90%;
    max-width: 550px;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
    transform: scale(1) translateY(0);
    animation: modalSlideDown 0.4s forwards;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    color: var(--accent-red);
}

.modal-content-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.modal-content-wrapper p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.modal-success-screen {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hidden {
    display: none !important;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--secondary);
    fill: none;
    animation: drawCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--secondary);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--secondary);
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.modal-success-screen h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-success-screen p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* ==========================================
   VIEWPORT INTERSECTION REVEAL ELEMENTS
   ========================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   RESPONSIVE DESIGN (Adaptive Layouts)
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .hero-img {
        width: 320px;
    }
    
    .card-top-left {
        left: -15%;
    }
    
    .card-bottom-right {
        right: -5%;
    }
    
    .about-container {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        display: flex;
        align-items: center;
        padding-left: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 28px;
    }
    
    .nav-links li a {
        font-size: 1.1rem;
    }
    
    .header-cta {
        margin-right: 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .hero-image-area {
        margin-top: 40px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        border-right: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: 2;
    }
    
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 580px) {
    .header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .about-points {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 24px;
    }
}
