/* 
 * Universal Clinic - Main Stylesheet
 * Premium, ultra-modern styling featuring glassmorphism, HSL custom color tokens, smooth keyframe animations, and 100% responsive design.
 */

/* ==========================================================================
   1. Design System & Custom Properties
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: 176, 100%, 41%;      /* #00d2c4 - Bright Teal */
    --color-primary-dark: 176, 100%, 30%; /* Deep Teal */
    --color-secondary: 220, 80%, 56%;     /* Modern Blue */
    --color-bg-base: 222, 47%, 11%;       /* #0b1528 - Deep Navy */
    --color-bg-surface: 222, 47%, 16%;    /* Slightly lighter Navy */
    --color-bg-card: 222, 47%, 14%;       /* Card Navy */
    
    /* Text Colors */
    --color-text: 210, 40%, 96%;          /* Slate 50 */
    --color-text-muted: 215, 20%, 65%;    /* Slate 400 */
    --color-accent: 343, 100%, 64%;       /* Pink/Red Accent */
    --color-success: 142, 70%, 45%;      /* Green */
    --color-whatsapp: 142, 70%, 45%;     /* WhatsApp Green */

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* System Globals */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    
    /* Glassmorphism settings */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 15px;
}

/* ==========================================================================
   2. Reset & Base Settings
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    background-color: hsl(var(--color-bg-base));
    color: hsl(var(--color-text));
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--color-bg-base));
}
::-webkit-scrollbar-thumb {
    background: hsla(var(--color-primary), 0.2);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: hsla(var(--color-primary), 0.5);
}

/* ==========================================================================
   3. Typography & Utility Classes
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, hsl(var(--color-primary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 100px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-primary-dark)));
    color: #0b1528;
    box-shadow: 0 8px 20px -6px hsla(var(--color-primary), 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px hsla(var(--color-primary), 0.7);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(var(--glass-blur));
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Section Header Helper */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header p {
    color: hsl(var(--color-text-muted));
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ==========================================================================
   4. Header & Navigation Menu
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(11, 21, 40, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}

.logo span {
    color: hsl(var(--color-primary));
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
    border-radius: 8px;
    position: relative;
}

.logo-icon::after {
    content: '+';
    color: #0b1528;
    font-size: 20px;
    font-weight: 800;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: hsl(var(--color-text-muted));
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 210, 196, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, hsl(var(--color-bg-base)), transparent);
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 5;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 196, 0.1);
    color: hsl(var(--color-primary));
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 196, 0.2);
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: hsl(var(--color-text-muted));
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: hsl(var(--color-primary));
}

.stat-label {
    font-size: 0.9rem;
    color: hsl(var(--color-text-muted));
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-glow {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    background: var(--glass-bg);
}

.image-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(11, 21, 40, 0.8));
    z-index: 1;
}

.hero-visual-card {
    position: absolute;
    background: rgba(11, 21, 40, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.card-top-right {
    top: 40px;
    right: -20px;
    animation: floating 3s ease-in-out infinite alternate;
}

.card-bottom-left {
    bottom: 40px;
    left: -20px;
    animation: floating 3.5s ease-in-out infinite alternate-reverse;
}

.visual-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 210, 196, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: hsl(var(--color-primary));
}

.visual-card-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.visual-card-text p {
    font-weight: 700;
    font-size: 0.95rem;
}

/* ==========================================================================
   6. Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 196, 0.2);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 196, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: hsl(var(--color-primary));
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: hsl(var(--color-primary));
    color: #0b1528;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    color: hsl(var(--color-text-muted));
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: hsl(var(--color-primary));
}

.service-link span {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link span {
    transform: translateX(4px);
}

/* ==========================================================================
   7. About Us Section
   ========================================================================== */
.about {
    background: hsl(var(--color-bg-surface));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.about-img-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.img-down {
    transform: translateY(30px);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: hsl(var(--color-text-muted));
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 210, 196, 0.15);
    color: hsl(var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==========================================================================
   8. Doctors Section
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    backdrop-filter: blur(var(--glass-blur));
}

.doctor-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 196, 0.2);
    box-shadow: var(--shadow-lg);
}

.doctor-img-container {
    height: 280px;
    background: linear-gradient(135deg, rgba(11,21,40,0.5), rgba(0,210,196,0.05));
    position: relative;
    overflow: hidden;
}

.doctor-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-normal);
}

.doctor-card:hover .doctor-img-container img {
    transform: scale(1.05);
}

.doctor-exp {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(11, 21, 40, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: hsl(var(--color-primary));
}

.doctor-info {
    padding: 24px;
    text-align: center;
}

.doctor-info h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.doctor-info h4 {
    font-size: 0.9rem;
    color: hsl(var(--color-primary));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.doctor-info p {
    color: hsl(var(--color-text-muted));
    font-size: 0.85rem;
    margin-bottom: 20px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ==========================================================================
   9. Appointment Booking Form
   ========================================================================== */
.booking-section {
    background: linear-gradient(180deg, hsl(var(--color-bg-base)) 0%, hsl(var(--color-bg-surface)) 100%);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.booking-info h2 {
    margin-bottom: 20px;
}

.booking-info p {
    color: hsl(var(--color-text-muted));
    margin-bottom: 40px;
}

.contact-quick {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-quick-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: hsl(var(--color-primary));
}

.contact-quick-info span {
    display: block;
    font-size: 0.8rem;
    color: hsl(var(--color-text-muted));
}

.contact-quick-info p {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0;
}

.booking-form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-lg);
}

.form-title {
    margin-bottom: 30px;
}

.form-title h3 {
    font-size: 1.6rem;
    font-weight: 800;
}

.form-title p {
    font-size: 0.9rem;
    color: hsl(var(--color-text-muted));
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--color-text-muted));
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.input-wrapper select option {
    background-color: hsl(var(--color-bg-surface));
    color: #fff;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: hsl(var(--color-primary));
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px hsla(var(--color-primary), 0.15);
}

.input-wrapper textarea {
    height: 100px;
    resize: none;
}

.submit-container {
    margin-top: 30px;
    grid-column: span 2;
}

.btn-submit {
    width: 100%;
    height: 52px;
}

/* Dynamic Available Slots display */
.slots-container {
    margin-top: 15px;
}

.slots-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--color-text-muted));
    margin-bottom: 8px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    max-height: 120px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(11, 21, 40, 0.3);
}

.slot-btn {
    padding: 8px 4px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    text-align: center;
    color: hsl(var(--color-text-muted));
    font-weight: 600;
    transition: all var(--transition-fast);
}

.slot-btn:hover:not(.disabled) {
    border-color: hsl(var(--color-primary));
    color: #fff;
    background: rgba(0, 210, 196, 0.05);
}

.slot-btn.selected {
    background: hsl(var(--color-primary));
    border-color: hsl(var(--color-primary));
    color: #0b1528;
}

.slot-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* ==========================================================================
   10. Testimonials Section
   ========================================================================== */
.testimonials {
    background: hsl(var(--color-bg-surface));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-normal);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    text-align: center;
}

.quote-icon {
    font-size: 48px;
    color: hsla(var(--color-primary), 0.2);
    margin-bottom: 20px;
}

.testimonial-slide p {
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #fbbf24;
    margin-bottom: 20px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid hsl(var(--color-primary));
}

.reviewer-details {
    text-align: left;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.reviewer-role {
    font-size: 0.85rem;
    color: hsl(var(--color-text-muted));
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.slider-btn:hover {
    background: hsl(var(--color-primary));
    color: #0b1528;
    border-color: hsl(var(--color-primary));
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* ==========================================================================
   11. FAQ Accordion Section
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: transform var(--transition-fast);
}

.faq-item.active {
    border-color: rgba(0, 210, 196, 0.3);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: hsl(var(--color-primary));
    color: #0b1528;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: hsl(var(--color-text-muted));
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-content {
    border-color: var(--glass-border);
}

/* ==========================================================================
   12. Floating WhatsApp & Booking Widget
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: hsl(var(--color-whatsapp));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.footer {
    background: #050b15;
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

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

.footer-logo-desc {
    color: hsl(var(--color-text-muted));
    font-size: 0.95rem;
    margin-top: 15px;
    margin-bottom: 20px;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: hsl(var(--color-primary));
    color: #0b1528;
    transform: translateY(-3px);
}

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

.footer-links a {
    color: hsl(var(--color-text-muted));
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

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

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: hsl(var(--color-text-muted));
}

.footer-hours-list span.day {
    font-weight: 600;
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: hsl(var(--color-text-muted));
    font-size: 0.9rem;
}

.footer-policies {
    display: flex;
    gap: 24px;
}

.footer-policies a:hover {
    color: #fff;
}

/* ==========================================================================
   14. Confirmation Dialog Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 21, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: hsl(var(--color-bg-surface));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    position: relative;
}

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: hsl(var(--color-text-muted));
    background: transparent;
}

.modal-close-btn:hover {
    color: #fff;
}

.modal-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 210, 196, 0.1);
    color: hsl(var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px auto;
    border: 1px solid rgba(0, 210, 196, 0.2);
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-card p {
    color: hsl(var(--color-text-muted));
    font-size: 1rem;
    margin-bottom: 30px;
}

.booking-summary-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-row:first-child {
    padding-top: 0;
}

.summary-label {
    color: hsl(var(--color-text-muted));
    font-size: 0.9rem;
}

.summary-val {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* ==========================================================================
   15. Animation Keyframes & Effects
   ========================================================================== */
@keyframes floating {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes scaleUp {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Page Scroll Animation Elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   16. Media Queries & Device Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    h2 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-grid { gap: 40px; }
    .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: hsl(var(--color-bg-base));
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 40px;
        align-items: flex-start;
        gap: 30px;
        z-index: 99;
        transition: left var(--transition-normal);
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        display: none; /* Hide action CTA in menu, put inside sidebar or header */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 40px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: 2;
        margin-top: 40px;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2.3rem; }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .btn { width: 100%; }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .submit-container {
        grid-column: span 1;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-slide {
        padding: 0 10px;
    }
    .testimonial-slide p {
        font-size: 1.1rem;
    }
    .modal-card {
        padding: 24px 16px;
    }
}
