﻿/* ============================================
   DIAGNOSTIC LAB - WHITE LABEL THEME
   Clean Medical UI | Dynamic Theme Support
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #0b5ed7;
    --primary-rgb: 13, 110, 253;
    --primary-light: #5da3fe;
    --primary-lighter: #cce0ff;
    --gradient-start: #0d6efd;
    --gradient-end: #5da3fe;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-section: #f0f4f8;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* --- Global theme transition for smooth color changes --- */
body,
.top-bar,
.btn-primary,
.btn-outline-primary,
.brand-text,
.navbar .nav-link,
.navbar .nav-link::after,
.highlight-card .icon,
.service-card .service-price,
.why-card .icon-circle,
.cta-section,
.stat-card .stat-number,
.mission-vision-card,
.mission-vision-card h4,
.package-card .card-header-custom,
.package-card.popular,
.package-card .popular-badge,
.footer-heading::after,
.footer-social a:hover,
.footer-contact li i,
.contact-info-item .icon-box,
.page-header .breadcrumb a,
.modal-header,
.team-card .team-img-placeholder,
.hero-section h1 span,
.btn-theme-toggle,
.form-control:focus {
    transition: all 0.4s ease;
}

/* --- Reset & Base --- */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    margin: 0;
    padding-top: 100px;
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    .hero-section {
        padding: 60px 0 50px;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        margin: 0 auto;
    }
}

/* --- Top Bar --- */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
}

.top-bar span {
    color: rgba(255, 255, 255, 0.9);
}

.top-social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.top-social-link:hover {
    color: var(--white);
}

/* --- Navbar --- */
.site-header-fixed {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1030;
}

.site-header-fixed .navbar {
    background: var(--white);
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar .nav-link:hover::after {
    width: 60%;
}

/* --- Theme Toggle Button --- */
.btn-theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    font-size: 1.15rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-theme-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: rotate(15deg) scale(1.1);
}

.btn-theme-toggle:active {
    transform: rotate(30deg) scale(0.95);
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

/* --- Section Utilities --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.bg-light-section {
    background: var(--bg-section);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, #f0f4f8 50%, rgba(var(--primary-rgb), 0.04) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.05);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.03);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-section h1 span {
    color: var(--primary-color);
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* --- Highlight Cards --- */
.highlight-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.highlight-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.highlight-card h5 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Service Cards --- */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card h5 {
    font-weight: 600;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
}

.service-card .service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Package Cards --- */
.package-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.package-card.popular {
    border-color: var(--primary-color);
    position: relative;
}

.package-card .popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: var,--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.package-card .card-header-custom {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 30px 25px;
    text-align: center;
}

.package-card .card-header-custom h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

.package-card .card-header-custom .price {
    font-size: 2.5rem;
    font-weight: 800;
}

.package-card .card-header-custom .test-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.package-card .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-card .test-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.package-card .test-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.package-card .test-list li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* --- Package Card Link --- */
.package-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.package-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.package-card-link:hover .package-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.package-card .package-card {
    cursor: pointer;
}

/* --- Why Choose Us --- */
.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.why-card:hover .icon-circle {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35);
}

.why-card h5 {
    font-weight: 600;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-section .btn {
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- About Page --- */
.about-hero {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, #f0f4f8 100%);
    padding: 60px 0;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

.mission-vision-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.mission-vision-card h4 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Team Section --- */
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-card .team-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-section);
}

.team-card .team-img-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), #f0f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

.team-card .card-body {
    padding: 20px;
}

.team-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item .icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-info-item h6 {
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* --- Form Styles --- */
.form-control {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, #f0f4f8 100%);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-header .breadcrumb {
    justify-content: center;
    background: none;
    padding: 0;
    margin-top: 10px;
}

.page-header .breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
   
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

    .footer-social a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* --- Alert Styles --- */
.alert-success-custom {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: var(--radius);
    padding: 20px;
}

/* --- Modal --- */
.modal-content {
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes themeApplyPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.theme-apply-pulse {
    animation: themeApplyPulse 0.4s ease;
}

/* ============================================
   THEME SWITCHER - OFFCANVAS UI
   ============================================ */

.theme-offcanvas {
    width: 360px !important;
    border-left: 3px solid var(--primary-color);
}

.theme-offcanvas .offcanvas-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 20px 24px;
}

.theme-offcanvas .offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

.theme-offcanvas .offcanvas-body {
    padding: 24px;
}

/* Theme Swatch Grid */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.theme-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.theme-swatch:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-swatch.active {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.theme-swatch .swatch-color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.theme-swatch:hover .swatch-color {
    transform: scale(1.15);
}

.theme-swatch .swatch-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.theme-swatch .swatch-check {
    display: none;
    position: absolute;
    top: 6px;
    right: 6px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: bold;
}

.theme-swatch.active .swatch-check {
    display: block;
}

/* Custom Color Section */
.custom-color-section .color-picker-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #dee2e6;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.custom-color-section .color-picker-wrapper:hover {
    border-color: var(--primary-color);
}

.custom-color-section .color-picker-wrapper input[type="color"] {
    width: 60px;
    height: 60px;
    margin: -8px;
    padding: 0;
    border: none;
    cursor: pointer;
}

.color-preview-bar .preview-gradient {
    height: 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
}

/* Theme Preview Card */
.theme-preview-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.theme-preview-card .preview-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.4s ease;
}

.theme-preview-card .preview-body {
    padding: 16px;
    background: var(--white);
}

.preview-badge-filled {
    background: var(--primary-color) !important;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.preview-badge-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1.5px solid var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.preview-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.preview-link {
    color: var(--primary-color);
    font-weight: 600;
}

.preview-icon-row {
    display: flex;
    gap: 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .theme-offcanvas {
        width: 300px !important;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .package-card .card-header-custom .price {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .theme-offcanvas {
        width: 100% !important;
    }

    .theme-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* ============================================
   BOOK NOW MODAL - Professional Split Panel
   ============================================ */

#bookNowModal .modal-lg {
    max-width: 820px;
}

#bookNowModal .book-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

#bookNowModal .book-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    opacity: 0.7;
    filter: none;
    background-color: rgba(0,0,0,0.15);
    border-radius: 50%;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#bookNowModal .book-modal-close:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.25);
}

/* --- Left Info Panel --- */
#bookNowModal .book-modal-info {
    background: linear-gradient(160deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}

#bookNowModal .book-modal-info::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

#bookNowModal .book-modal-info::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

#bookNowModal .book-modal-info-inner {
    position: relative;
    z-index: 1;
}

#bookNowModal .book-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#bookNowModal .book-modal-brand i {
    font-size: 1.8rem;
    opacity: 0.9;
}

#bookNowModal .book-modal-brand h3 {
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0;
}

#bookNowModal .book-modal-tagline {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* --- Illustration Area --- */
#bookNowModal .book-modal-illustration {
    position: relative;
    height: 140px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bookNowModal .illustration-icon-main {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    animation: illustrationPulse 3s ease-in-out infinite;
}

#bookNowModal .illustration-icon-float {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 1;
}

#bookNowModal .illustration-float-1 {
    top: 8px;
    left: 20px;
    animation: floatBounce 3.5s ease-in-out infinite;
}

#bookNowModal .illustration-float-2 {
    bottom: 10px;
    right: 18px;
    animation: floatBounce 4s ease-in-out infinite 0.5s;
}

#bookNowModal .illustration-float-3 {
    top: 12px;
    right: 30px;
    animation: floatBounce 3s ease-in-out infinite 1s;
}

@keyframes illustrationPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
    50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Quick Stats --- */
#bookNowModal .book-modal-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

#bookNowModal .book-modal-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#bookNowModal .book-modal-stat strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

#bookNowModal .book-modal-stat span {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Features List --- */
#bookNowModal .book-modal-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

#bookNowModal .book-modal-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}

#bookNowModal .book-modal-feature i {
    font-size: 0.95rem;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#bookNowModal .book-modal-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    opacity: 0.9;
}

#bookNowModal .book-modal-contact i {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- Right Form Panel --- */
#bookNowModal .book-modal-form-panel {
    padding: 30px 28px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

#bookNowModal .book-modal-form-header {
    margin-bottom: 20px;
}

#bookNowModal .book-modal-form-header h5 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

#bookNowModal .book-modal-form-header h5 i {
    color: var(--primary-color);
}

#bookNowModal .book-modal-form-header p {
    font-size: 0.88rem;
}

#bookNowModal .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

#bookNowModal .input-group-text {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: #dee2e6;
    color: var(--primary-color);
    font-size: 0.9rem;
}

#bookNowModal .form-control,
#bookNowModal .form-select {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    transition: var(--transition);
}

#bookNowModal .input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#bookNowModal .input-group .input-group-text {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#bookNowModal .form-control:focus,
#bookNowModal .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.12);
}

#bookNowModal .btn-primary {
    font-size: 1rem;
    padding: 12px;
    letter-spacing: 0.3px;
}

#bookNowModal .alert-success {
    border-radius: 12px;
    border: none;
    background: #e8f8ef;
}

#bookNowModal .book-modal-form-footer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

#bookNowModal .book-modal-form-footer i {
    color: #28a745;
}

/* --- Modal Header override (remove old header style) --- */
#bookNowModal .modal-header {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    #bookNowModal .modal-lg {
        max-width: 500px;
    }

    #bookNowModal .book-modal-form-panel {
        padding: 24px 20px 16px;
    }

    #bookNowModal .book-modal-close {
        filter: none;
        background-color: rgba(0,0,0,0.08);
    }
}

@media (max-width: 576px) {
    #bookNowModal .modal-dialog {
        margin: 10px;
    }

    #bookNowModal .book-modal-form-panel {
        padding: 20px 16px 14px;
    }
}