/* ==========================================================================
   Dr. Mandhane's INFINITY Maternity & IVF Centre - Core Stylesheet
   Design: Premium Healthcare, Responsive Grid, Modern Typography, Animations
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --primary-color: #0c4a6e;
    /* Deep Trust Ocean Blue */
    --primary-light: #0ea5e9;
    /* Bright Accent Blue */
    --primary-hover: #0369a1;
    --secondary-color: #0d9488;
    /* Caring Teal */
    --secondary-hover: #0f766e;
    --accent-color: #e11d48;
    /* Emergency Rose/Red */
    --accent-hover: #be123c;
    --dark-bg: #0f172a;
    /* Slate 900 */
    --dark-text: #1e293b;
    /* Slate 800 */
    --light-bg: #f8fafc;
    /* Slate 50 */
    --light-text: #475569;
    /* Slate 600 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: clamp(3.5rem, 6vw, 6.5rem);

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* --- Base Resets & Global Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky nav */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Utilities & Container Layouts --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

/* Grid Systems */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

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

p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.section-desc {
    max-width: 650px;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* --- Interactive Components (Buttons) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.25);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}

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

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

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

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

.btn-danger:hover {
    background-color: var(--accent-hover);
}

.btn-danger-glow {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 0 15px var(--accent-color);
}

.btn-danger-glow:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 25px var(--accent-hover);
    transform: scale(1.03);
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius);
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact-info,
.top-social-hours {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-light);
}

.emergency-link {
    font-weight: 700;
    color: #fda4af !important;
    /* light red */
}

/* --- Navigation Header --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    gap: 0.5rem;
}

.logo-img {
    height: 210px;
    max-height: 210px;
    width: auto;
    object-fit: contain;
    margin: -65px 0;
}

.brand-col .logo-img {
    height: 472px;
    max-height: 472px;
    width: auto;
    object-fit: contain;
    margin: -147px 0;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-menu .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1100;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.drawer-header .brand-name {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.btn-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--light-text);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.drawer-link {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid transparent;
}

.drawer-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.drawer-cta-wrapper {
    margin-top: auto;
    padding-top: 2rem;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text-area {
    max-width: 750px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--white);
}

.hero-subtext {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}






/* Modal Booking Card Styling */
.modal-booking-card {
    max-width: 650px;
    border-radius: var(--border-radius);
    background: var(--white);
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(12, 74, 110, 0.15);
}

.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background-color: var(--primary-light);
    width: 28px;
    border-radius: 6px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --- Introduction Section --- */
.about-section .grid-2 {
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.image-box {
    position: relative;
    z-index: 1;
    width: 100%;
}

.main-about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: 1.5rem;
    right: -1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    z-index: 2;
}

.badge-num {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.badge-txt {
    font-size: 0.7rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.text-highlight {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 500;
}

.mission-vision-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.mv-icon-wrapper {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary-color);
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mv-icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.mv-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mv-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Statistics Section --- */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-icon-box {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    stroke: currentColor;
    stroke-width: 1.5;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.plus {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-light);
    vertical-align: top;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* --- Features Section --- */
.feature-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(12, 74, 110, 0.1);
}

.feature-icon-wrapper {
    display: inline-flex;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.feature-icon-wrapper svg {
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.feature-icon-wrapper.red-accent {
    background-color: rgba(225, 29, 72, 0.1);
    color: var(--accent-color);
}

.feature-icon-wrapper.teal-accent {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary-color);
}

.feature-icon-wrapper.blue-accent {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Certifications Showcase */
.certifications-showcase {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.cert-title {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cert-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.cert-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.cert-icon {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.cert-item h5 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.cert-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* --- Specialties Section --- */
.department-filters-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(12, 74, 110, 0.2);
}

.department-cards-grid {
    transition: var(--transition);
}

.department-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    transition: var(--transition);
}

.department-card.show-card {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.dept-header-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.dept-header-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.cardiology-theme {
    background-color: rgba(225, 29, 72, 0.1);
    color: var(--accent-color);
}

.neurology-theme {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-light);
}

.pediatrics-theme {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary-color);
}

.orthopedics-theme {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.surgery-theme {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.department-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.dept-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.dept-summary {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.dept-points {
    list-style: none;
    margin-bottom: 2rem;
}

.dept-points li {
    font-size: 0.875rem;
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dept-points li::before {
    content: '\2022';
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.dept-learn-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dept-learn-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Meet Our Doctors --- */
.doctors-search-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.search-input-wrapper {
    flex-grow: 1;
    position: relative;
}

.search-icon-field {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--light-text);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3.25rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 74, 110, 0.1);
}

.filter-dropdown-wrapper select {
    padding: 0.875rem 2.5rem 0.875rem 1.25rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--white);
    outline: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-text);
    cursor: pointer;
    height: 100%;
    transition: var(--transition);
}

.filter-dropdown-wrapper select:focus {
    border-color: var(--primary-color);
}

.doctor-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

.doc-svg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cardiology-doc {
    background: radial-gradient(circle, #ffe4e6 0%, #fda4af 100%);
}

.pediatrics-doc {
    background: radial-gradient(circle, #ccfbf1 0%, #99f6e4 100%);
}

.neurology-doc {
    background: radial-gradient(circle, #e0f2fe 0%, #bae6fd 100%);
}

.orthopedics-doc {
    background: radial-gradient(circle, #fef3c7 0%, #fde68a 100%);
}

.surgery-doc {
    background: radial-gradient(circle, #f5f3ff 0%, #ddd6fe 100%);
}

.doc-icon {
    height: 100%;
    width: auto;
}

.doc-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.doc-details {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doc-dept-lbl {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.doc-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.doc-degree {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.doc-exp {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.75rem;
}

.doc-ratings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
}

.stars {
    color: #f59e0b;
    /* Amber Star */
    font-size: 1.1rem;
}

.reviews {
    color: var(--light-text);
}

.doc-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.doc-schedule-info {
    font-size: 0.85rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.no-results-alert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.alert-icon {
    width: 3rem;
    height: 3rem;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 1rem;
}

.no-results-alert p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 0;
}

/* --- Emergency Guide Section --- */
.emergency-guide-section {
    background-color: var(--dark-bg);
    color: var(--white);
    position: relative;
}

.emergency-main-panel {
    background-color: rgba(225, 29, 72, 0.05);
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: var(--border-radius);
    padding: clamp(2rem, 5vw, 4rem);
}

.emergency-badge-pulse {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: beacon 1.5s infinite;
}

@keyframes beacon {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(225, 29, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.emergency-main-panel h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.emergency-main-panel p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 800px;
}

.guideline-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius-sm);
}

.guideline-card h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.guideline-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.bold-link {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}

.emergency-cta-bar {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* --- Appointment Booking Section --- */
.booking-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary-color);
    padding: 0.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}

.benefit-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

.booking-form-wrapper {
    padding: 3rem;
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.75rem;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark-text);
}

.req {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 74, 110, 0.1);
}

/* Validations Errors */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--accent-color);
    background-color: rgba(225, 29, 72, 0.02);
}

.error-msg {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

/* --- Health Packages & Cashless --- */
.package-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.featured-package {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
    z-index: 2;
}

.featured-package:hover {
    transform: scale(1.03) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.pkg-header {
    margin-bottom: 2rem;
}

.pkg-header h3 {
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
}

.pkg-target {
    font-size: 0.85rem;
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pkg-price {
    display: flex;
    align-items: baseline;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.pkg-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.pkg-price .amount {
    font-size: 2.75rem;
    font-weight: 800;
}

.pkg-body {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pkg-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.pkg-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pkg-list li {
    font-size: 0.875rem;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pkg-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.insurance-partners-block {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.partner-title {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.partners-logos-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logo {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    text-align: center;
    flex-grow: 1;
    max-width: 170px;
    opacity: 0.8;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

/* --- Testimonials Section --- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.testimonial-slider {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(30px);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.testimonial-quote-icon {
    font-size: 5rem;
    color: rgba(13, 148, 136, 0.15);
    line-height: 1;
    font-family: Georgia, serif;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    z-index: 0;
}

.testimonial-text {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--dark-text);
    font-style: italic;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.patient-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.patient-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patient-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.patient-subtitle {
    font-size: 0.8rem;
    color: var(--light-text);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.patient-rating {
    color: #f59e0b;
    font-size: 0.95rem;
}

.slider-arrow {
    position: absolute;
    top: 40%;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
}

.slider-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.arrow-left {
    left: -4.5rem;
}

.arrow-right {
    right: -4.5rem;
}

/* --- Latest Blog Wards --- */
.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.blog-details {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-read-more {
    background: none;
    border: none;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    padding: 0;
    width: fit-content;
}

.btn-read-more:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* --- Careers Section --- */
.careers-container {
    max-width: 900px;
    margin: 0 auto;
}

.careers-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.accordion-header {
    padding: 1.5rem;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--light-bg);
}

.accordion-header h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.job-meta {
    font-size: 0.8rem;
    color: var(--light-text);
    font-weight: 500;
}

.accordion-toggle-icon {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: none;
    animation: slideDown 0.3s ease;
    border-top: 1px solid transparent;
}

.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.accordion-item.active .accordion-body {
    display: block;
    border-top-color: var(--border-color);
}

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

.accordion-body h5 {
    font-size: 0.95rem;
    margin: 1.25rem 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light-text);
}

.accordion-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.accordion-body ul li {
    font-size: 0.9rem;
    color: var(--dark-text);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accordion-body ul li::before {
    content: '\2713';
    color: var(--secondary-color);
    font-weight: 700;
}

.apply-job-btn {
    margin-top: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FAQ Section --- */
.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.faq-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header:hover {
    background-color: rgba(12, 74, 110, 0.02);
}

.faq-header h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    display: none;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
    display: block;
    border-top-color: var(--border-color);
}

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

/* --- Contact & Location Section --- */
.contact-details-card {
    padding: 3rem;
}

.contact-details-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.ci-icon {
    background-color: rgba(12, 74, 110, 0.1);
    color: var(--primary-color);
    padding: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.ci-text h5 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.ci-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Simulated Vector Map */
.simulated-map {
    height: 220px;
    background-color: #e2e8f0;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px), radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border-radius: var(--border-radius-sm);
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.marker-pulse {
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 10px var(--accent-color);
    animation: markerPulse 1.5s infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
    }

    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 12px rgba(225, 29, 72, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.map-label {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.map-actions {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.contact-form-wrapper {
    padding: 3rem;
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 2.5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.25fr 1.25fr 1.5fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.brand-col .footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.footer-logo-img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: -95px;
    margin-bottom: -80px;
}

.footer-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
    max-width: 320px;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-links a svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.footer-social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-emergency-info {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
}

.urgency-call-msg {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.footer-emergency-btn {
    display: block;
    background-color: var(--accent-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;
    padding: 0.75rem;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-emergency-btn:hover {
    background-color: var(--accent-hover);
}

.footer-address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* --- Floating Widgets --- */
.floating-actions {
    position: fixed;
    bottom: 7rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(50px);
    animation: floatEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes floatEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-btn {
    pointer-events: auto;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 15px rgba(15, 23, 42, 0.15);
}

.float-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.float-btn svg {
    width: 1.6rem;
    height: 1.6rem;
    transition: transform 0.3s ease;
}

/* Brand Gradients (Vibrant & Premium) */
.float-call {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.float-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.float-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.float-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bb5 100%);
}

/* Hover effects with colored glows */
.float-btn:hover {
    transform: scale(1.15) translateY(-3px);
}

.float-btn:hover svg {
    transform: scale(1.1) rotate(8deg);
}

.float-call:hover {
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.float-whatsapp:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.float-instagram:hover {
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.float-facebook:hover {
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Premium Tooltips */
.float-tooltip {
    position: absolute;
    right: 100%;
    left: auto;
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
    margin-right: 14px;
    padding: 0.5rem 0.85rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.float-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(15, 23, 42, 0.85);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Scroll opacity fade-out behavior */
.floating-actions.near-footer {
    opacity: 0.4;
    transform: scale(0.95);
}

.floating-actions.near-footer:hover {
    opacity: 1;
    transform: scale(1);
}

.scroll-top-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

.scroll-top-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

/* --- Dialog Modals System --- */
.modal-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1.5rem;
}

.modal-system.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-system.active .modal-card {
    transform: scale(1);
}

.modal-large {
    max-width: 800px;
}

.modal-close-corner {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--light-text);
    line-height: 1;
}

.modal-close-corner:hover {
    color: var(--dark-text);
}

.modal-icon-success {
    width: 4rem;
    height: 4rem;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.modal-icon-success svg {
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}

.modal-card h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.modal-card p {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.modal-appointment-summary {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-lbl {
    font-weight: 600;
    color: var(--light-text);
}

.summary-val {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

.modal-close-btn {
    width: 100%;
}

/* Blog Modal Inner Elements */
.modal-blog-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-modal-cat {
    display: inline-block;
    background-color: rgba(12, 74, 110, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.blog-modal-date {
    font-size: 0.8rem;
    color: var(--light-text);
    font-weight: 500;
}

.modal-blog-header h2 {
    font-size: 1.75rem;
    margin-top: 0.75rem;
}

.modal-blog-body p {
    text-align: left;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: var(--dark-text);
}

.job-applying-title {
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 1px;
    margin-top: -0.5rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet Viewports (Max-width: 1024px) */
@media (max-width: 1024px) {
    .hide-tablet {
        display: none !important;
    }

    .burger-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .logo-img {
        height: 50px;
        max-height: 50px;
        margin: 0;
    }

    .brand-col .logo-img {
        height: 120px;
        max-height: 120px;
        margin: 0;
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 3rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
        justify-content: center;
    }

    .hero-section {
        height: auto;
        min-height: calc(100vh - 80px);
        padding: 3rem 0;
    }

    .hero-text-area {
        max-width: 100%;
        text-align: center;
    }






    .experience-badge {
        right: 1rem;
        bottom: 1rem;
    }

    .cert-badges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .slider-arrow {
        top: auto;
        bottom: -4.5rem;
    }

    .arrow-left {
        left: 35%;
    }

    .arrow-right {
        right: 35%;
    }

    .testimonial-slider-wrapper {
        margin-bottom: 5rem;
    }
}

/* Small Tablets / Large Mobile (Max-width: 768px) */
@media (max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .booking-form-wrapper,
    .contact-form-wrapper,
    .contact-details-card {
        padding: 2rem 1.25rem;
    }

    .doctors-search-row {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-dropdown-wrapper select {
        width: 100%;
    }

    .emergency-cta-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .featured-package {
        transform: none;
    }

    .featured-package:hover {
        transform: translateY(-5px);
    }

    .arrow-left {
        left: 25%;
    }

    .arrow-right {
        right: 25%;
    }

    /* Touch targets and button scaling */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-sm,
    .btn-xs {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
        min-height: 40px;
    }

    /* Floating widget scaling on mobile */
    .floating-actions {
        bottom: 1.25rem;
        right: 1.25rem;
        left: auto;
        flex-direction: row;
        gap: 0.75rem;
    }

    .float-btn {
        width: 2.85rem;
        height: 2.85rem;
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 3px 10px rgba(15, 23, 42, 0.15);
    }

    .float-btn svg {
        width: 1.35rem;
        height: 1.35rem;
    }

    .float-tooltip {
        display: none !important;
    }

    .scroll-top-btn {
        bottom: 1.25rem;
        left: 1.25rem;
        right: auto;
        width: 3rem;
        height: 3rem;
    }

    .scroll-top-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Mobile Viewports (Max-width: 480px) */
@media (max-width: 480px) {
    .hide-mobile {
        display: none !important;
    }

    .logo-img {
        max-width: 130px;
    }

    .hero-headline {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
    }




    .experience-badge {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.75rem;
        width: 110px;
    }

    .experience-badge .badge-num {
        font-size: 1.75rem;
    }

    .experience-badge .badge-txt {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding: 0.5rem 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        justify-content: center;
        text-align: center;
    }

    .top-contact-info,
    .top-social-hours {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .arrow-left {
        left: 15%;
    }

    .arrow-right {
        right: 15%;
    }

    .modal-card {
        padding: 1.5rem;
    }

    .doc-details,
    .blog-details,
    .feature-card,
    .department-card,
    .guideline-card {
        padding: 1.25rem !important;
    }
}