/* 
========================================================================
   CLINIC APPOINTMENT BOOKING SYSTEM - STYLES
   Aesthetic: Premium, Clean, Glassmorphic, Trustworthy
   Font: Plus Jakarta Sans
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-h: 220; /* Trustworthy Blue */
    --primary-s: 90%;
    --primary-l: 56%;
    
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-hover: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 8%));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 96%);
    --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
    
    --accent: #06b6d4; /* Clean Cyan */
    --accent-glow: rgba(6, 182, 212, 0.15);
    
    --success: #10b981; /* Emerald Green */
    --success-light: #ecfdf5;
    --error: #ef4444; /* Coral Red */
    --error-light: #fef2f2;
    --warning: #f59e0b; /* Amber */
    
    --text-dark: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --text-light: #94a3b8; /* Slate 400 */
    
    --bg-main: #f8fafc; /* Slate 50 */
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --border-color: #e2e8f0; /* Slate 200 */
    --border-glass: rgba(255, 255, 255, 0.4);
    
    /* Layout & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-round: 9999px;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    --shadow-primary-glow: 0 10px 20px -5px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: var(--radius-round);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

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

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-primary-glow);
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-round);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-primary-glow);
    transition: var(--transition-normal);
}

.nav-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 85% 15%, var(--accent-glow) 0%, transparent 40%),
                radial-gradient(circle at 15% 85%, var(--primary-glow) 0%, transparent 45%);
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-round);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
}

.hero-badge i {
    font-size: 14px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: var(--radius-round);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Floating Card Graphics (Hero Right) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-bg {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    position: absolute;
    z-index: 1;
    animation: morphing 15s ease-in-out infinite alternate;
}

.hero-main-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 360px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.doctor-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.doctor-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.doctor-info h4 {
    font-size: 16px;
    font-weight: 700;
}

.doctor-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.booking-snippet {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.05);
}

.snippet-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

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

.snippet-row span:first-child {
    color: var(--text-muted);
}

.snippet-row span:last-child {
    color: var(--text-dark);
    font-weight: 700;
}

.hero-visual-badge {
    position: absolute;
    z-index: 3;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-left {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-1 {
    top: 40px;
    left: -20px;
    animation: floaty 6s ease-in-out infinite alternate;
}

.badge-1 .badge-left {
    background: var(--success);
}

.badge-2 {
    bottom: 20px;
    right: -10px;
    animation: floaty 6s ease-in-out infinite 1.5s alternate;
}

.badge-2 .badge-left {
    background: var(--warning);
}

.badge-info h5 {
    font-size: 14px;
    font-weight: 700;
}

.badge-info p {
    font-size: 11px;
    color: var(--text-muted);
}

/* Animations */
@keyframes morphing {
    0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    100% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; }
}

@keyframes floaty {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* Sections Global */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

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

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition-fast);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 28px;
    transition: var(--transition-normal);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary-glow);
}

/* Booking Section (Wizard Form) */
.booking-section {
    background: linear-gradient(180deg, #f8fafc, #edf2f7);
}

.booking-panel {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* Wizard Header Stepper */
.booking-stepper {
    display: flex;
    justify-content: space-between;
    background: var(--bg-main);
    padding: 24px 48px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.stepper-line {
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.stepper-progress {
    position: absolute;
    top: 40px;
    left: 80px;
    width: 0%;
    height: 3px;
    background: var(--primary);
    z-index: 2;
    transition: var(--transition-normal);
}

.step-item {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-round);
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.step-item.active .step-number {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.step-item.active .step-label {
    color: var(--primary);
}

.step-item.completed .step-number {
    border-color: var(--success);
    background: var(--success);
    color: white;
}

.step-item.completed .step-label {
    color: var(--success);
}

/* Wizard Form Body */
.booking-form-wrapper {
    padding: 48px;
}

.step-content {
    display: none;
    animation: fadeInStep 0.4s ease-in-out forwards;
}

.step-content.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 22px;
    margin-bottom: 28px;
    color: var(--text-dark);
}

/* Step 1 Styles: Dropdown Selection */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 15px;
    background: white;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Step 2 Styles: Custom Date Picker and Time Slot Selection */
.date-slot-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
}

.calendar-input-wrap {
    position: relative;
}

.slots-container {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.slots-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
}

.slot-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 12px 6px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
}

.slot-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.slot-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary-glow);
}

.slot-btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Step 3 Styles: Details Form */
.form-full {
    grid-column: span 2;
}

/* Step 4 Styles: Review Summary */
.summary-box {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
    margin-bottom: 28px;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

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

.summary-label {
    font-weight: 600;
    color: var(--text-muted);
}

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

/* Success Confirmation Panel (Inside Wizard) */
.booking-success-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
    animation: fadeInStep 0.5s ease-in-out forwards;
}

.booking-success-wrapper.active {
    display: flex;
}

/* Custom Checkmark Animation */
.success-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--success-light);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 40px;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
    animation: scaleUpCheck 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUpCheck {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.booking-success-wrapper h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.booking-success-wrapper p {
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
}

/* Wizard Footer Navigation Buttons */
.booking-actions {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
    margin-top: 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius-round);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-prev {
    background: white;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-prev:hover {
    color: var(--text-dark);
    border-color: var(--text-muted);
}

.btn-next {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary-glow);
}

.btn-next:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-next:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    box-shadow: none;
}

/* Loading overlay inside booking form */
.booking-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.booking-loading.active {
    display: flex;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
}

.quote-icon {
    font-size: 32px;
    color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 16px;
    font-style: italic;
    margin-bottom: 24px;
}

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

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.rev-1 { background: linear-gradient(135deg, #f472b6, #ec4899); }
.rev-2 { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.rev-3 { background: linear-gradient(135deg, #34d399, #10b981); }

.reviewer-info h4 {
    font-size: 15px;
    font-weight: 700;
}

.reviewer-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.rating {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    color: var(--warning);
    font-size: 12px;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.faq-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.faq-icon {
    font-size: 18px;
    transition: var(--transition-normal);
    color: var(--text-muted);
}

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

.faq-body-content {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--text-muted);
}

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

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

.faq-item.active .faq-body {
    max-height: 200px; /* Adjust according to body length */
}

/* Footer Section */
.footer {
    background: #0f172a; /* Very Dark Navy */
    color: #94a3b8;
    padding: 80px 0 32px;
}

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

.footer-about .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    margin-bottom: 24px;
}

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

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-round);
    background: rgba(255,255,255,0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
}

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

.footer-links-list a {
    font-size: 14px;
}

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

.footer-contact h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.contact-info-list i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 320px;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 4px solid var(--primary);
    transform: translateX(120%);
    animation: toastSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: var(--transition-normal);
}

@keyframes toastSlideIn {
    to { transform: translateX(0); }
}

.toast.removing {
    transform: translateX(120%);
    opacity: 0;
}

.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--error); }
.toast-warning { border-left-color: var(--warning); }

.toast-icon {
    font-size: 20px;
}

.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--error); }
.toast-warning .toast-icon { color: var(--warning); }

.toast-content h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
}

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

/* Form Helper Classes */
.is-invalid {
    border-color: var(--error) !important;
}

.invalid-feedback {
    color: var(--error);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: white;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 24px;
    }
    
    .date-slot-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .booking-stepper {
        padding: 20px 24px;
    }
    
    .step-label {
        display: none;
    }
    
    .stepper-line, .stepper-progress {
        left: 40px;
        right: 40px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-full {
        grid-column: span 1;
    }
    
    .booking-form-wrapper {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================================================
   SUCCESS MODAL POPUP & RECEIPT STYLING
   ======================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

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

.modal-content-panel {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 90%;
    max-width: 550px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    position: relative;
    transform: translateY(30px);
    transition: transform var(--transition-normal);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay.active .modal-content-panel {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-dark);
    transform: scale(1.1);
}

.btn-download-pdf {
    background: linear-gradient(135deg, var(--accent), #0891b2) !important;
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(6, 182, 212, 0.3) !important;
}

.btn-download-pdf:hover {
    background: #0891b2 !important;
    transform: translateY(-1px);
}

