/* =========================================
   HOSPITAL WEBSITE - PROFESSIONAL DESIGN
   ========================================= */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #6366f1;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--glow {
    box-shadow: var(--shadow), var(--shadow-glow);
}

.btn--glow:hover {
    box-shadow: var(--shadow-lg), 0 0 60px rgba(14, 165, 233, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-300);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
}

.btn--glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
}

.btn--white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar__logo {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.navbar__text {
    display: flex;
    flex-direction: column;
}

.navbar__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}

.navbar__tagline {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar__link {
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero__shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero__shape--1 {
    width: 600px;
    height: 600px;
    background: rgba(14, 165, 233, 0.3);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.3);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero__shape--3 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.2);
    top: 50%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

.hero__shape--4 {
    width: 200px;
    height: 200px;
    background: rgba(245, 158, 11, 0.2);
    bottom: 20%;
    right: 20%;
    animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    color: var(--white);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__badge i {
    color: var(--warning);
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero__main-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--white);
}

.hero__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.hero__main-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero__main-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero__floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    animation: floatCard 6s ease-in-out infinite;
}

.hero__floating-card i {
    font-size: 1.2rem;
}

.hero__floating-card--1 {
    top: 20px;
    right: 0;
    animation-delay: 0s;
}

.hero__floating-card--1 i { color: var(--danger); }

.hero__floating-card--2 {
    bottom: 80px;
    left: 0;
    animation-delay: 2s;
}

.hero__floating-card--2 i { color: var(--secondary); }

.hero__floating-card--3 {
    bottom: 20px;
    right: 40px;
    animation-delay: 4s;
}

.hero__floating-card--3 i { color: var(--success); }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: 100px 0;
}

.section--gray {
    background: var(--gray-50);
}

.section--dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section__header--light .section__desc {
    color: rgba(255, 255, 255, 0.7);
}

.section__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section__badge--light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--dark);
}

.section--dark .section__title {
    color: var(--white);
}

.section__desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* =========================================
   FEATURES
   ========================================= */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature__icon--primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.feature__icon--success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.feature__icon--warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.feature__icon--info {
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
}

.feature__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature__desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card--featured {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.service-card--featured:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    background: var(--warning);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card--featured .service-card__desc {
    color: rgba(255, 255, 255, 0.8);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-card__link:hover {
    gap: 12px;
}

.service-card--featured .service-card__link {
    color: var(--white);
}

/* =========================================
   DOCTORS SECTION
   ========================================= */
.doctors-filter {
    margin-bottom: 40px;
}

.doctors-filter__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.doctors-filter__inner i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.doctors-filter__inner label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.doctors-filter__inner select {
    padding: 12px 20px;
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    min-width: 200px;
    cursor: pointer;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Doctor Card */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.doctor-card__media {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doctor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card__placeholder {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
}

.doctor-card__body {
    padding: 24px;
}

.doctor-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.doctor-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.doctor-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.doctor-chip i {
    color: var(--primary);
}

.doctor-card__bio {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 52px;
}

.doctor-card__actions {
    display: flex;
    justify-content: flex-end;
}

/* Loading State */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: rgba(255, 255, 255, 0.8);
}

.loading__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta {
    padding: 60px 0;
}

.cta__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: var(--white);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.cta__content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta__content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta__actions {
    display: flex;
    gap: 16px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
}

.footer__logo i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer__links h4,
.footer__newsletter h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-right: 8px;
}

.footer__newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer__form {
    display: flex;
    gap: 8px;
}

.footer__form input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
}

.footer__form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__form input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer__form button {
    padding: 14px 18px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer__form button:hover {
    background: var(--primary-dark);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========================================
   BOOKING MODAL
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
}

.modal-overlay.show {
    display: block;
}

.booking-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 2001;
    padding: 32px;
}

.booking-modal.show {
    display: block;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.booking-modal__close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.booking-modal__close:hover {
    background: var(--gray-200);
    color: var(--danger);
}

.booking-modal__header {
    text-align: center;
    margin-bottom: 24px;
}

.booking-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.booking-modal__header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.booking-modal__summary {
    padding: 16px 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 24px;
    line-height: 1.8;
}

.booking-modal__summary div {
    display: flex;
    gap: 8px;
}

.booking-modal__summary strong {
    color: var(--gray-600);
}

/* Available Days Container */
.available-days-container {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border-radius: var(--radius);
    border: 1px solid var(--info);
    border-right: 4px solid var(--info);
}

.available-days-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.available-days-title i {
    color: var(--info);
}

.available-days-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.available-day-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    min-width: 120px;
}

.available-day-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.available-day-name i {
    color: var(--primary);
    font-size: 0.85rem;
}

.available-day-time {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 6px;
}

.available-day-time i {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.available-days-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.available-days-notice i {
    color: var(--warning);
    font-size: 1.2rem;
}

.available-days-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.available-days-loading .loading__spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

/* Form Styles */
.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
}

.booking-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.booking-form label i {
    color: var(--primary);
}

.booking-form input,
.booking-form select,
.bookings-search input,
.bookings-search select,
.booking-card input,
.booking-card select {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
    background: var(--white);
}

.booking-form input:focus,
.booking-form select:focus,
.bookings-search input:focus,
.bookings-search select:focus,
.booking-card input:focus,
.booking-card select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.bookings-search input::placeholder,
.booking-card input::placeholder {
    color: var(--gray-400);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 6px;
}

.booking-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */
.toast-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
}

/* =========================================
   BOOKINGS PAGE
   ========================================= */
.page-hero {
    padding-top: 120px;
    padding-bottom: 50px;
    background: var(--gradient-hero);
    color: var(--white);
}

.page-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.page-hero__title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
}

.page-hero__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.page-hero__card {
    padding: 22px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.bookings-search {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.bookings-search__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.bookings-search__row .form-group {
    margin: 0;
}

.bookings-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.booking-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.booking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.35);
}

.booking-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.booking-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.booking-status--pending { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.booking-status--confirmed { background: rgba(16, 185, 129, 0.14); color: #047857; }
.booking-status--cancelled { background: rgba(239, 68, 68, 0.14); color: #b91c1c; }
.booking-status--completed { background: rgba(99, 102, 241, 0.14); color: #4338ca; }

.booking-card__title {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--dark);
}

.booking-card__meta {
    display: grid;
    gap: 6px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
}

.booking-card__meta strong {
    color: var(--gray-700);
}

@media (max-width: 992px) {
    .page-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .bookings-search__row {
        grid-template-columns: 1fr;
    }
}

.toast--success {
    border-right: 4px solid var(--success);
}

.toast--success i {
    color: var(--success);
}

.toast--danger {
    border-right: 4px solid var(--danger);
}

.toast--danger i {
    color: var(--danger);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 2.8rem;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .navbar__menu {
        display: none;
        position: fixed;
        top: 80px;
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar__menu.show {
        display: flex;
    }
    
    .navbar__toggle {
        display: flex;
    }
    
    .navbar__actions .btn span {
        display: none;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__subtitle {
        margin: 0 auto 32px;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__visual {
        display: none;
    }
    
    .cta__card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta__card {
        padding: 32px;
    }
    
    .cta__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta__actions .btn {
        width: 100%;
    }
    
    .doctors-filter__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .doctors-filter__inner select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 1.7rem;
    }
    
    .hero__stats {
        gap: 24px;
    }
    
    .hero__stat-number {
        font-size: 1.5rem;
    }
    
    .btn--lg {
        padding: 14px 24px;
    }
    
    .booking-modal {
        padding: 24px 16px;
    }
}
