/* ==========================================================================
   CSS Variables & Base Reset
   ========================================================================== */
:root {
    /* Color Palette - Premium Clinical */
    --primary: #0A58CA;        /* Deep Trust Blue */
    --primary-light: #3D8BFD;
    --primary-dark: #04419A;
    
    --secondary: #00B1A8;      /* Clean Teal/Mint */
    --secondary-hover: #008f87;
    
    --text-dark: #1E293B;      /* Slate 800 */
    --text-muted: #64748B;     /* Slate 500 */
    --text-light: #F8FAFC;     /* Slate 50 */
    
    --bg-main: #FDFDFD;
    --bg-alt: #F1F5F9;         /* Slate 100 */
    --bg-white: #FFFFFF;
    
    /* Layout */
    --container-max: 1200px;
    --section-padding: 5rem 0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 16px 32px 0 rgba(31, 38, 135, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section {
    padding: var(--section-padding);
}

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

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-white { color: var(--bg-white) !important; }
.text-white-muted { color: rgba(255,255,255,0.8) !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(10, 88, 202, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 88, 202, 0.4);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo i {
    font-size: 1.75rem;
    color: var(--secondary);
}

.logo span {
    color: var(--text-dark);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

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

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

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 177, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(10, 88, 202, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

/* Underline decoration */
.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 177, 168, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    color: #FFB800;
    font-size: 1.5rem;
}

.floating-card h4 {
    font-size: 1.25rem;
}

.floating-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(10, 88, 202, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--bg-white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Booking Widget Section (The Core Requirement)
   ========================================================================== */
.booking {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    padding: 80px 0;
}

/* Background overlay pattern */
.booking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.booking-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.booking-content {
    flex: 1;
    max-width: 500px;
}

.benefits-list {
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bg-white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.benefit-item i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.booking-widget-wrapper {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-glass);
}

.widget-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-dark);
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form .form-row {
    display: flex;
    gap: 20px;
}

.booking-form .half-width {
    flex: 1;
}

.booking-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #F8FAFC;
    transition: var(--transition);
    appearance: none;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.1);
}

/* Custom Select styling */
.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    pointer-events: none;
}

.submit-btn {
    margin-top: 10px;
    height: 54px;
    font-size: 1.1rem;
}

/* Success state for button */
.success-btn {
    background-color: var(--secondary) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(0, 199, 181, 0.3) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    color: var(--bg-white) !important;
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-logo span {
    color: rgba(255,255,255,0.7) !important;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

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

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--bg-white);
}

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

.footer-list li {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-list a {
    color: rgba(255,255,255,0.6);
}

.footer-list a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 2px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .booking-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-image {
        margin-top: 40px;
        justify-content: center;
    }

    .floating-card {
        left: 0;
        bottom: 15px;
    }

    .booking-content {
        max-width: 100%;
    }

    .benefits-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 768px) {
    .nav-list {
        display: none; /* simple mobile menu toggle via JS in real impl */
    }

    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .booking-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .glass-panel {
        padding: 30px 20px;
    }

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

/* ==========================================================================
   Animations & Transitions (Scroll Reveal)
   ========================================================================== */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.slide-up {
    transform: translateY(40px);
}

.slide-left {
    transform: translateX(40px);
}

.slide-right {
    transform: translateX(-40px);
}

.zoom-in {
    transform: scale(0.9);
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
