/* style.css - Main Theme Stylesheet */
/*
Theme Name: MedikAid Health Care
Theme URI: https://medikaid.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A professional medical and healthcare WordPress theme with advanced features for clinics, hospitals, and medical practices.
Version: 1.0.0
License: GPL v2 or later
Text Domain: medikaid
*/

/* ========== IMPORTS ========== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #475569;
    background: #ffffff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* Flex Utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }

/* Spacing Utilities */
.m-0 { margin: 0; }
.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-5 { margin: 20px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }
.px-1 { padding-left: 4px; padding-right: 4px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-rose-400 { color: #fb7185; }
.text-rose-500 { color: #f43f5e; }
.text-rose-600 { color: #e11d48; }
.text-rose-700 { color: #be123c; }
.text-[#233152] { color: #233152; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }

/* Background Utilities */
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-900 { background-color: #0f172a; }
.bg-rose-500 { background-color: #f43f5e; }
.bg-rose-600 { background-color: #e11d48; }
.bg-[#233152] { background-color: #233152; }
.bg-[#F8FAFC] { background-color: #f8fafc; }
.bg-[#1b2742] { background-color: #1b2742; }

/* Border Utilities */
.border { border: 1px solid #f1f5f9; }
.border-0 { border: 0; }
.border-bottom { border-bottom: 1px solid #f1f5f9; }
.border-top { border-top: 1px solid #f1f5f9; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-800 { border-color: #1e293b; }
.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* Shadow Utilities */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; top: 0; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-999 { z-index: 999; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* Width/Height */
.w-full { width: 100%; }
.w-10 { width: 40px; }
.w-16 { width: 64px; }
.w-20 { width: 80px; }
.w-24 { width: 96px; }
.h-full { height: 100%; }
.h-10 { height: 40px; }
.h-16 { height: 64px; }
.h-52 { height: 208px; }
.h-\[480px\] { height: 480px; }
.min-h-screen { min-height: 100vh; }
.object-cover { object-fit: cover; }

/* Grid Utilities */
.d-grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }

/* Mix Blend */
.mix-blend-overlay { mix-blend-mode: overlay; }
.mix-blend-multiply { mix-blend-mode: multiply; }

/* Opacity */
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-90 { opacity: 0.9; }

/* ========== BUTTONS ========== */
.btn-primary {
    background: #e11d48;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
}
.btn-primary:hover {
    background: #be123c;
    transform: translateY(-2px);
}
.btn-primary i { font-size: 12px; }

.btn-secondary {
    background: #e11d48;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}
.btn-secondary:hover {
    background: #be123c;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #233152;
    border: 2px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-outline:hover {
    border-color: #f43f5e;
    color: #f43f5e;
}

/* ========== HEADER & NAVIGATION ========== */

/* Sticky wrapper - holds both top bar and nav together */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.site-header .top-bar {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #233152;
}
.site-header .logo span { color: #f43f5e; }

.site-header .contact-info {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}
.site-header .contact-info .item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-header .contact-info .icon {
    color: #f43f5e;
    font-size: 1.125rem;
}

/* Main Navigation */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.main-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* ========== HEADER & NAVIGATION FIXES ========== */

/* Desktop Logo - hidden on mobile, visible on desktop */
.main-nav .desktop-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #233152;
    flex-shrink: 0;
    display: block;
}
.main-nav .desktop-logo span { color: #f43f5e; }

/* Mobile Logo - hidden on desktop, visible on mobile */
.main-nav .mobile-logo {
    display: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #233152;
}
.main-nav .mobile-logo span { color: #f43f5e; }

/* Navigation Menu Container - Left aligned on desktop */
.nav-menu-container {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu > li > a {
    display: block;
    padding: 20px 0;
    color: #233152;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: #f43f5e;
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 230px;
    box-shadow: 0 12px 30px rgba(35, 49, 82, 0.1);
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    list-style: none;
    margin: 0;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 24px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-menu .sub-menu li a:hover {
    color: #f43f5e;
    background-color: #f8fafc;
    padding-left: 28px;
}

/* Caret Indicators */
.nav-menu .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 11px;
    display: inline-block;
    transition: transform 0.2s ease;
    color: #94a3b8;
}

.nav-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    color: #f43f5e;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Book Appointment Button */
.book-appointment-btn {
    background: #f43f5e;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.15s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}
.book-appointment-btn:hover {
    background: #e11d48;
    color: #ffffff;
    text-decoration: none;
}

/* Mobile Menu Toggle - Hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #334155;
    padding: 8px;
    line-height: 1;
}
.mobile-menu-toggle:hover { color: #f43f5e; }

/* ========== HERO SECTION ========== */
.hero-section {
    background: #6BB22E;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.hero-section .hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}

.hero-section .hero-text {
    max-width: 66.666%;
}

.hero-section h1 {
    color: white;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-section h1 span { font-weight: 800; }

.hero-section p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 600px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ========== QUICK ACCESS PANEL ========== */
.quick-access {
    position: relative;
    z-index: 20;
    max-width: 1152px;
    margin: -64px auto 64px;
    padding: 0 16px;
}

.quick-access .panel {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid #f1f5f9;
}

.quick-access .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.quick-access .grid h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.quick-access .grid .select-wrapper {
    position: relative;
}

.quick-access .grid select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    appearance: none;
    cursor: pointer;
}

.quick-access .grid .select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94a3b8;
}

.quick-access .grid .link {
    display: inline-block;
    font-size: 12px;
    color: #e11d48;
    font-weight: 700;
    text-decoration: none;
}
.quick-access .grid .link:hover { text-decoration: underline; }

.quick-access .grid .sub-text {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
    margin-top: 4px;
}

/* ========== SECTION EXCELLENCE ========== */
.section-excellence {
    padding: 48px 24px;
    max-width: 1152px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-excellence .image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    aspect-ratio: 4/3;
    background: #e2e8f0;
}

.section-excellence .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-excellence .play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.section-excellence .play-btn button {
    width: 64px;
    height: 64px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s;
}
.section-excellence .play-btn button:hover {
    transform: scale(1.1);
    color: #e11d48;
}
.section-excellence .play-btn i { font-size: 20px; margin-left: 4px; }

.section-excellence h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}
.section-excellence h2 span { color: #1e3a8a; }

.section-excellence .desc {
    color: #64748b;
    font-weight: 500;
    line-height: 1.7;
}

.section-excellence .features {
    display: grid;
    gap: 12px;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.section-excellence .features .item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-excellence .features .check {
    width: 20px;
    height: 20px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 10px;
    flex-shrink: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: #6BB22E;
    color: white;
    padding: 64px 24px;
    margin: 64px 0;
}

.cta-section .container {
    max-width: 1152px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 32px;
    align-items: center;
}

.cta-section h3 {
    font-size: 28px;
    font-weight: 300;
    color: #cbd5e1;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-section .btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* ========== SERVICES GRID ========== */
.services-grid {
    padding: 48px 24px;
    max-width: 1152px;
    margin: 0 auto;
}

.services-grid .header {
    text-align: center;
    margin-bottom: 48px;
}

.services-grid .header h3 {
    font-size: 30px;
    font-weight: 400;
    color: #64748b;
}

.services-grid .header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
}

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

.services-grid .card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.services-grid .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.services-grid .card .img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e2e8f0;
    margin-bottom: 12px;
}

.services-grid .card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-grid .card h4 {
    font-weight: 700;
    color: #1e293b;
    font-size: 16px;
    padding-bottom: 8px;
}

/* ========== MEDICAL SERVICES ========== */
.medical-services {
    background: #f8fafc;
    padding: 80px 24px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin: 64px 0;
}

.medical-services .container {
    max-width: 1152px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 48px;
    align-items: start;
}

.medical-services .sidebar {
    position: sticky;
    top: 96px;
}

.medical-services .sidebar h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}
.medical-services .sidebar h2 span { color: #1e3a8a; }

.medical-services .sidebar p {
    color: #64748b;
    font-weight: 500;
    line-height: 1.7;
}

.medical-services .sidebar .emergency {
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.medical-services .sidebar .emergency .label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.medical-services .sidebar .emergency .number {
    font-size: 30px;
    font-weight: 800;
    color: #1e3a8a;
}

.medical-services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.medical-services .grid .item {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: all 0.3s;
}

.medical-services .grid .item:hover {
    border-color: rgba(225, 29, 72, 0.3);
}

.medical-services .grid .item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.medical-services .grid .item h4 {
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
}

.medical-services .grid .item p {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 80px 24px 60px 24px;
    max-width: 1024px;
    margin: 0 auto 0 auto;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
}
.testimonials h2 span { color: #1e3a8a; }

.testimonials .quote-icon {
    color: #e11d48;
    font-size: 30px;
    font-family: serif;
    margin-bottom: 16px;
}

.testimonials .slide-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonials .slide {
    flex: 0 0 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials .slide blockquote {
    font-size: 22px;
    color: #475569;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    max-width: 768px;
    margin: 0 auto 24px;
}

.testimonials .slide .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.testimonials .slide .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials .slide .name {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonials .slide .title {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonials .dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonials .dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #94a3b8;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonials .dots button.active {
    background: #e11d48;
    border-color: #e11d48;
}

/* ========== CLINIC BANNER ========== */
.clinic-banner-wrapper {
    padding: 60px 0 80px 0;
    background: #f8fafc;
    position: relative;
    clear: both;
    border-top: 1px solid #f1f5f9;
}

.clinic-banner-wrapper .clinic-header {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px 32px 24px;
    position: relative;
    z-index: 5;
}

.clinic-banner-wrapper .clinic-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.clinic-banner-wrapper .clinic-header h2 span {
    color: #e11d48;
}

.clinic-banner-wrapper .clinic-header p {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
}

.clinic-banner {
    position: relative;
    height: 420px;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.clinic-banner .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.clinic-banner .bg iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.clinic-banner .overlay {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 100%;
    max-width: 400px;
    background: #6BB22E;
    color: white;
    padding: 36px 32px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 20;
}

.clinic-banner .overlay h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clinic-banner .overlay h3 i {
    color: #f43f5e;
}

.clinic-banner .overlay p {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    line-height: 1.7;
    font-size: 14px;
}

.clinic-banner .overlay .clinic-name {
    font-size: 17px;
    color: #ffffff;
    font-weight: 700;
}

.clinic-banner .overlay .btn-group {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.clinic-banner .overlay .btn-directions {
    background: #f43f5e;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.clinic-banner .overlay .btn-directions:hover {
    background: #e11d48;
}

.clinic-banner .overlay .btn-call {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    flex: 1;
    justify-content: center;
}

.clinic-banner .overlay .btn-call:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========== CLINIC BANNER RESPONSIVE ========== */
@media (max-width: 768px) {
    .clinic-banner-wrapper {
        padding: 40px 0 60px 0;
    }

    .clinic-banner-wrapper .clinic-header {
        padding: 0 24px 20px 24px;
    }

    .clinic-banner-wrapper .clinic-header h2 {
        font-size: 28px;
    }

    .clinic-banner {
        height: auto;
        min-height: 480px;
        border-radius: 0;
        margin: 0 auto;
        overflow: hidden;
        box-shadow: none;
    }
    
    .clinic-banner .bg {
        position: relative;
        height: 260px;
        border-radius: 0;
    }

    .clinic-banner .bg iframe {
        border-radius: 0;
    }
    
    .clinic-banner .overlay {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        border-radius: 0;
        padding: 28px 24px;
        margin-top: -4px;
    }
    
    .clinic-banner .overlay h3 {
        font-size: 24px;
    }
    
    .clinic-banner .overlay .btn-group {
        flex-direction: column;
    }
    
    .clinic-banner .overlay .btn-directions,
    .clinic-banner .overlay .btn-call {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .clinic-banner-wrapper {
        padding: 30px 0 40px 0;
    }

    .clinic-banner-wrapper .clinic-header h2 {
        font-size: 22px;
    }

    .clinic-banner-wrapper .clinic-header p {
        font-size: 14px;
    }
    
    .clinic-banner .overlay {
        padding: 20px 16px;
    }
    
    .clinic-banner .overlay h3 {
        font-size: 20px;
    }
}

/* ========== FOOTER ========== */
.site-footer {
    background: #6BB22E;
    color: #cbd5e1;
}

.site-footer .footer-inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 64px 24px;
    display: grid;
    grid-template-columns: 4fr 3fr 2fr 3fr;
    gap: 40px;
}

.site-footer .footer-brand .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}
.site-footer .footer-brand .logo span { color: #f43f5e; }

.site-footer .footer-brand p {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #fff;
    max-width: 300px;
}

.site-footer .footer-brand .social-links {
    display: flex;
    gap: 16px;
    padding-top: 8px;
}
.site-footer .footer-brand .social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.2s;
}
.site-footer .footer-brand .social-links a:hover { color: #f43f5e; }

.site-footer h4 {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.site-footer ul {
    list-style: none;
    font-size: 0.875rem;
    color: #fff;
}

.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { transition: color 0.2s; }
.site-footer ul li a:hover { color: #f43f5e; }

.site-footer .footer-bottom {
    padding: 20px 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.site-footer .footer-bottom .inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

/* ========== CONTACT PAGE ========== */
.contact-hero {
    background: #f8fafc;
    padding: 80px 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.contact-hero p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.625;
}

.contact-grid {
    max-width: 1152px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
}

.contact-grid .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-grid .info-card {
    background: rgba(248, 250, 252, 0.6);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-grid .info-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-grid .info-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.625;
}

.contact-grid .emergency-form {
    background: #233152;
    border-radius: 16px;
    padding: 40px;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-grid .emergency-form .label {
    color: #fb7185;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 4px;
}

.contact-grid .emergency-form h2 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
}

/* Contact Form 7 Styling */
.wpcf7-form .form-group {
    margin-bottom: 16px;
}

.wpcf7-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.wpcf7-form .wpcf7-submit {
    background: #f43f5e;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}
.wpcf7-form .wpcf7-submit:hover { background: #e11d48; }

/* Contact Map */
.contact-map {
    width: 100%;
    height: 480px;
    background: #e2e8f0;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.25);
    opacity: 0.9;
}

/* ========== DOCTOR ARCHIVE ========== */
.doctor-archive-hero {
    background: #0f172a;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.doctor-archive-hero .bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.doctor-archive-hero .content {
    position: relative;
    z-index: 10;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    color: white;
}

.doctor-archive-hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.doctor-archive-hero p {
    font-size: 1.125rem;
    color: #cbd5e1;
    max-width: 600px;
    line-height: 1.625;
}

.doctor-archive-main {
    background: #f8fafc;
    padding: 80px 24px;
    max-width: 1152px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
}

.doctor-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.doctor-card .doctor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.doctor-card .doctor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.doctor-card .doctor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #233152;
}

.doctor-card .doctor-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-top: 2px;
}

.doctor-card .doctor-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #233152;
    margin-top: 8px;
}

.doctor-card .doctor-details {
    display: grid;
    gap: 16px;
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.doctor-card .doctor-details .row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
}

.doctor-card .doctor-details .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.doctor-card .doctor-details .value {
    color: #f43f5e;
    font-weight: 500;
}

.doctor-card .doctor-details .value-muted {
    color: #64748b;
}

.doctor-card .btn-view {
    width: 100%;
    text-align: center;
    background: #f8fafc;
    color: #233152;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 14px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.doctor-card .btn-view:hover {
    background: #f43f5e;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #233152;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #f1f5f9;
}

.pagination .current {
    background: #233152;
    color: white;
    border-color: #233152;
}

/* ========== SINGLE DOCTOR ========== */
.single-doctor-hero {
    background: #f8fafc;
    padding: 64px 0;
    border-bottom: 1px solid #f1f5f9;
}

.single-doctor-hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: #233152;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.single-doctor-hero p {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.625;
}

.single-doctor-main {
    max-width: 1152px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 48px;
    align-items: start;
}

.single-doctor-main .profile-card {
    background: rgba(248, 250, 252, 0.7);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.single-doctor-main .profile-card .avatar {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    object-fit: cover;
    background: #e2e8f0;
    margin-bottom: 24px;
}

.single-doctor-main .profile-card .name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #233152;
}

.single-doctor-main .profile-card .title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-top: 4px;
}

.single-doctor-main .profile-card .phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #233152;
    margin-top: 16px;
    margin-bottom: 24px;
}
.single-doctor-main .profile-card .phone .icon { color: #f43f5e; }

.single-doctor-main .profile-card .social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.single-doctor-main .profile-card .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.875rem;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.single-doctor-main .profile-card .social-links a:hover {
    color: #f43f5e;
    border-color: #fca5a5;
}

.single-doctor-main .profile-card .btn-appointment {
    width: 100%;
    background: #f43f5e;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 16px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.2);
}
.single-doctor-main .profile-card .btn-appointment:hover {
    background: #e11d48;
}

.single-doctor-main .content {
    display: grid;
    gap: 40px;
}

.single-doctor-main .content .bio {
    color: #64748b;
    font-size: 1.0625rem;
    line-height: 1.625;
}
.single-doctor-main .content .bio strong {
    color: #475569;
    font-weight: 700;
}

.single-doctor-main .content .info-grid {
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    display: grid;
    gap: 16px;
}

.single-doctor-main .content .info-grid .row {
    display: grid;
    grid-template-columns: 3fr 9fr;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 8px;
}

.single-doctor-main .content .info-grid .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.single-doctor-main .content .info-grid .value {
    color: #f43f5e;
    font-weight: 600;
    font-size: 1rem;
}

.single-doctor-main .content .info-grid .value-muted {
    color: #64748b;
    font-weight: 500;
}

/* Practicing Locations */
.locations-section {
    background: #f8fafc;
    padding: 80px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.locations-section .container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

.locations-section .section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #233152;
    letter-spacing: -0.025em;
    margin-bottom: 64px;
}

.location-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card img {
    width: 100%;
    height: 208px;
    object-fit: cover;
    background: #e2e8f0;
}

.location-card .body {
    padding: 32px;
}

.location-card .body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #233152;
}

.location-card .body p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.625;
    margin: 12px 0;
}

.location-card .body .phone {
    color: #f43f5e;
    font-weight: 700;
    font-size: 0.875rem;
}

.location-card .btn-directions {
    width: 100%;
    background: #f8fafc;
    color: #233152;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 14px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}
.location-card .btn-directions:hover {
    background: #f43f5e;
    color: white;
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active { display: flex; }

.modal-overlay .modal-container {
    background: white;
    border-radius: 16px;
    max-width: 672px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    transform: scale(0.95);
    position: relative;
    z-index: 10000;
}

.modal-overlay .modal-container.scale-100 { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    z-index: 10001;
}
.modal-close:hover { color: #475569; }

/* Modal Wizard */
.wizard-step { display: block; }
.wizard-step.hidden { display: none; }

.wizard-header {
    background: #1e3a8a;
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-header h4 {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-header .nav-arrows {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-size: 16px;
}

.wizard-header .nav-arrows i {
    cursor: pointer;
}
.wizard-header .nav-arrows i:hover { opacity: 0.8; }

.wizard-body { padding: 24px; }

.wizard-body .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.wizard-body .calendar-grid .day-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 0;
}

.wizard-body .calendar-grid .day-btn {
    padding: 12px 0;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.wizard-body .calendar-grid .day-btn:hover { background: #f1f5f9; }

.wizard-body .calendar-grid .day-btn.selected {
    background: #e11d48;
    color: white;
}

/* Slot Items */
.wizard-body .slot-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    gap: 12px;
}

@media (min-width: 640px) {
    .wizard-body .slot-item {
        flex-direction: row;
        align-items: center;
    }
}

.wizard-body .slot-item.available {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wizard-body .slot-item.available:hover { border-color: #fca5a5; }

.wizard-body .slot-item.unavailable {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.wizard-body .slot-item .slot-time {
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}
.wizard-body .slot-item .slot-time i { margin-right: 8px; color: #94a3b8; }

.wizard-body .slot-item .slot-spaces {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-body .slot-item .btn-book {
    background: #e11d48;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}
.wizard-body .slot-item .btn-book:hover { background: #be123c; }

.wizard-body .slot-item .btn-unavailable {
    background: #e2e8f0;
    color: #94a3b8;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    cursor: not-allowed;
    border: none;
}

/* Form Styles */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-group label .required { color: #e11d48; }

.form-group input,
.form-group select {
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    outline: none;
}

.form-group input:focus,
.form-group select:focus { border-color: #e11d48; }

.form-group input.error { border: 2px solid #e11d48; }

.form-group .error-msg {
    color: #e11d48;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.form-group .error-msg.show { display: block; }

.btn-submit {
    background: #e11d48;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}
.btn-submit:hover { background: #be123c; }

.btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.btn-cancel:hover { background: #e2e8f0; }

/* Loading Spinner */
.spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
}
.spinner.show { display: flex; }

.spinner .dot {
    width: 24px;
    height: 24px;
    border: 2px solid #e11d48;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner span { font-size: 14px; color: #64748b; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-section .hero-text { max-width: 100%; }
    .section-excellence { grid-template-columns: 1fr; gap: 32px; }
    .medical-services .container { grid-template-columns: 1fr; gap: 32px; }
    .medical-services .sidebar { position: static; }
    .medical-services .grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer .footer-inner { grid-template-columns: 1fr 1fr; }
    .single-doctor-main { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Hide desktop contact info on mobile */
    .site-header .contact-info {
        display: none;
    }
    
    .site-header .top-bar {
        justify-content: center;
        padding: 12px 0;
    }
    
    .site-header .logo {
        font-size: 1.5rem;
    }
    
    /* Hide desktop logo on mobile */
    .main-nav .desktop-logo {
        display: none !important;
    }
    
    /* Show mobile logo on mobile */
    .main-nav .mobile-logo {
        display: block !important;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Hide desktop nav by default on mobile */
    .nav-menu-container {
        display: none !important;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 999;
        flex-direction: column !important;
        padding: 10px 0;
        justify-content: flex-start !important;
    }
    
    .nav-menu-container.active {
        display: flex !important;
    }
    
    .nav-menu {
        width: 100% !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu > li {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .nav-menu > li > a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 24px !important;
        color: #233152 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-bottom: 1px solid #f8fafc !important;
    }
    
    .nav-menu > li > a:hover {
        color: #f43f5e !important;
        background-color: #f8fafc !important;
    }
    
    /* Mobile Dropdown */
    .nav-menu .sub-menu {
        position: static !important;
        background-color: #f8fafc !important;
        border-left: 4px solid #f43f5e !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        width: 100%;
    }
    
    .nav-menu .sub-menu.open {
        display: block !important;
    }
    
    .nav-menu .sub-menu li a {
        padding: 12px 40px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #64748b !important;
        border-bottom: none !important;
    }
    
    .nav-menu .sub-menu li a:hover {
        padding-left: 48px !important;
    }
    
    /* Mobile caret */
    .nav-menu .menu-item-has-children > a::after {
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
        color: #94a3b8;
        transition: transform 0.2s ease;
    }
    
    .nav-menu .menu-item-has-children.open-toggle > a::after {
        transform: rotate(180deg);
        color: #f43f5e;
    }
    
    /* Book Appointment button on mobile - hidden */
    .book-appointment-btn {
        display: none !important;
    }

    /* Clinic Banner Mobile */
    .clinic-banner-wrapper {
        padding: 50px 0 0 0;
    }

    .clinic-banner-wrapper .clinic-header {
        padding: 0 24px 25px 24px;
    }

    .clinic-banner-wrapper .clinic-header h2 {
        font-size: 28px;
    }

    .clinic-banner {
        height: auto;
        min-height: 400px;
        border-radius: 0;
        margin: -30px auto 0 auto;
        overflow: hidden;
        border-top: none;
    }
    
    .clinic-banner .bg {
        position: relative;
        height: 250px;
        border-radius: 0;
    }

    .clinic-banner .bg iframe {
        border-radius: 0;
    }
    
    .clinic-banner .overlay {
        position: relative;
        right: 0;
        top: -4px;
        bottom: auto;
        max-width: 100%;
        border-radius: 0;
        padding: 30px 24px;
    }
    
    .clinic-banner .overlay h3 {
        font-size: 24px;
    }
    
    .clinic-banner .overlay .btn-group {
        flex-direction: column;
    }
    
    .clinic-banner .overlay .btn-directions,
    .clinic-banner .overlay .btn-call {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-header .logo {
        font-size: 1.25rem;
    }
    .main-nav .mobile-logo {
        font-size: 1.25rem;
    }
    
    .clinic-banner-wrapper .clinic-header h2 {
        font-size: 22px;
    }

    .clinic-banner-wrapper .clinic-header p {
        font-size: 14px;
    }
    
    .clinic-banner .overlay {
        padding: 24px 16px;
    }
    
    .clinic-banner .overlay h3 {
        font-size: 20px;
    }
}

/* ========== DESKTOP NAVIGATION (769px and Up) ========== */
@media (min-width: 769px) {
    /* Navigation container - left aligned */
    .nav-menu-container {
        display: flex !important;
        align-items: center !important;
        flex: 1;
        justify-content: flex-start !important;
    }

    .nav-menu {
        display: flex !important;
        align-items: center !important;
        gap: 32px !important;
        list-style: none !important;
        padding-left: 0 !important;
    }

    .nav-menu > li {
        position: relative !important;
    }

    .nav-menu > li > a {
        display: block !important;
        padding: 20px 0 !important;
        color: #233152 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        text-decoration: none !important;
        transition: color 0.2s ease-in-out !important;
    }

    .nav-menu > li:hover > a,
    .nav-menu > li.current-menu-item > a {
        color: #f43f5e !important;
    }

    /* Floating Dropdown Panels */
    .nav-menu .sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background-color: #ffffff !important;
        min-width: 230px !important;
        box-shadow: 0 12px 30px rgba(35, 49, 82, 0.1) !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 6px !important;
        padding: 8px 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(12px) !important;
        transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        z-index: 999 !important;
        list-style: none !important;
    }

    .nav-menu li:hover > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .nav-menu .sub-menu li a {
        display: block !important;
        padding: 10px 24px !important;
        color: #475569 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: none !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .nav-menu .sub-menu li a:hover {
        color: #f43f5e !important;
        background-color: #f8fafc !important;
        padding-left: 28px !important;
    }

    /* Caret Indicators using FontAwesome */
    .nav-menu .menu-item-has-children > a::after {
        content: "\f107" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        margin-left: 6px !important;
        font-size: 11px !important;
        display: inline-block !important;
        transition: transform 0.2s ease !important;
        color: #94a3b8 !important;
    }

    .nav-menu .menu-item-has-children:hover > a::after {
        transform: rotate(180deg) !important;
        color: #f43f5e !important;
    }
}

/* Logo Container Flexbox Alignment */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Ensure the logo image stays at a crisp, neat size */
.logo img, 
.fallback-logo-img {
    max-height: 85px; 
    width: auto;
    display: block;
    object-fit: contain;
}

/* Style for the Clinic Name next to the logo */
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.5px;
    white-space: nowrap;
}