/* ==========================================================================
   Manela Shuttles - Premium Design System (RTL - Hebrew)
   Colors extracted from the official logo: Deep Navy & Luxury Gold
   ========================================================================== */

:root {
    --primary-color: #00205B;      /* Deep Navy Blue */
    --primary-light: #0d3780;      /* Slightly lighter navy for hovers */
    --accent-color: #D4A33C;       /* Luxury Ochre Gold */
    --accent-hover: #b88523;       /* Deeper gold for active/hover */
    --text-dark: #2B2D42;          /* Charcoal grey for readable text */
    --text-muted: #6C757D;         /* Secondary grey */
    --bg-light: #F8F9FA;           /* Warm soft white */
    --bg-white: #FFFFFF;           /* Absolute white */
    --bg-card: rgba(255, 255, 255, 0.9);
    --border-color: #E2E8F0;       /* Soft grey border */
    --success-color: #2EC4B6;      /* Minty Green for success */
    --shadow-soft: 0 10px 30px rgba(0, 32, 91, 0.05);
    --shadow-medium: 0 15px 40px rgba(0, 32, 91, 0.08);
    --shadow-hard: 0 20px 50px rgba(0, 32, 91, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* ==========================================================================
   Reset and Base Elements
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px; /* Offset for sticky header */
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    opacity: 0.9;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Buttons and Components
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 32, 91, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 32, 91, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 163, 60, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
    border-radius: var(--border-radius-md);
}

.btn-block {
    width: 100%;
}

.btn-light-call {
    background-color: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    font-weight: 700;
    padding: 14px 32px;
}

.btn-light-call:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.btn-wa-dark {
    background-color: #25D366;
    color: var(--bg-white);
    font-size: 18px;
    padding: 14px 32px;
}

.btn-wa-dark:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* Section Common Header */
.section-header {
    margin-bottom: 50px;
}

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

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

.section-title {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 800;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span i {
    color: var(--accent-color);
    margin-left: 5px;
}

.top-bar-info a {
    color: var(--bg-white);
    font-weight: 700;
}

.top-bar-info strong {
    color: var(--accent-color);
}

.wa-link-top {
    background-color: #25D366;
    color: var(--bg-white) !important;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.wa-link-top i {
    margin-left: 3px;
}

.wa-link-top:hover {
    background-color: #128C7E;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 10px 0;
}

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

/* Logo & Animation */
.logo-container .logo {
    height: 70px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu ul li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 80%;
}

.nav-menu ul li a.active,
.nav-menu ul li a:hover {
    color: var(--accent-hover);
}

/* Header Action Call */
.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-call-header {
    font-size: 14px;
    padding: 10px 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section & Integrated Wizard Split Layout
   ========================================================================== */

.hero-section {
    background-image: linear-gradient(135deg, rgba(0, 32, 91, 0.92) 0%, rgba(212, 163, 60, 0.2) 100%), url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0 80px 0;
    color: var(--bg-white);
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 32, 91, 0.88) 0%, rgba(0, 32, 91, 0.5) 90%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    padding-left: 20px;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    background-color: rgba(212, 163, 60, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 163, 60, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.25;
}

.highlight-text {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-subtitle strong {
    font-weight: 600;
    color: var(--accent-color);
}

/* Shabbat tag styling */
.shabbat-tag {
    background-color: rgba(212, 163, 60, 0.12);
    border-right: 4px solid var(--accent-color);
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 15px;
    color: var(--bg-white);
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.shabbat-tag i {
    color: var(--accent-color);
    font-size: 18px;
}

.shabbat-tag strong {
    color: var(--accent-color);
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Wizard card styling inside Hero */
.hero-wizard-wrapper {
    width: 100%;
}

.wizard-box {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hard);
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.wizard-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--accent-color);
}

.wizard-header {
    text-align: center;
    margin-bottom: 25px;
}

.wizard-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.wizard-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.wizard-step {
    margin-bottom: 25px;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

/* Wizard option cards */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#step-2 .options-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for vehicle sizes */
}

.option-card {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.option-card i {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.option-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.option-card h3 {
    font-size: 14px;
    margin-bottom: 1px;
}

.option-card.active {
    background-color: rgba(0, 32, 91, 0.03);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(212, 163, 60, 0.15);
}

.option-card.active i {
    color: var(--accent-color);
    opacity: 1;
}

.option-card:hover:not(.active) {
    border-color: var(--primary-color);
}

/* Contacts in Wizard */
.form-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.7;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background-color: var(--bg-light);
    outline: none;
    transition: var(--transition-smooth);
}

.input-group input:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
}

.wizard-submit-area {
    margin-top: 15px;
}

.btn-wizard-submit {
    border-radius: var(--border-radius-sm);
    padding: 14px 20px;
    font-size: 16px;
}

/* Success Overlay */
.wizard-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.wizard-success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    max-width: 100%;
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 15px;
    animation: scaleUp 0.5s ease-out;
}

.success-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
}

/* ==========================================================================
   Why Us (Features)
   ========================================================================== */

.why-us-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(212, 163, 60, 0.4);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 32, 91, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px auto;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 32, 91, 0.1);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ==========================================================================
   Services Section (2 Cards Layout)
   ========================================================================== */

.services-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.services-grid-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card-vertical {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card-vertical:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(212, 163, 60, 0.3);
}

.service-card-vertical .service-image {
    width: 100%;
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.service-card-vertical .service-info {
    width: 100%;
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-vertical .service-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service-card-vertical .service-info h3 i {
    color: var(--accent-color);
    font-size: 18px;
}

.service-card-vertical .service-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.service-link i {
    transition: var(--transition-smooth);
}

.service-card-vertical:hover .service-link {
    color: var(--accent-color);
}

.service-card-vertical:hover .service-link i {
    transform: translateX(-5px);
}

/* Service Images via Unsplash Placeholders */
.img-events {
    background-image: linear-gradient(rgba(0, 32, 91, 0.3), rgba(0, 32, 91, 0.3)), url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?q=80&w=600&auto=format&fit=crop');
}
.img-trips {
    background-image: linear-gradient(rgba(0, 32, 91, 0.3), rgba(0, 32, 91, 0.3)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=600&auto=format&fit=crop');
}

.service-overlay-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
}

/* ==========================================================================
   Quick CTA Banner
   ========================================================================== */

.cta-banner {
    padding: 50px 0;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-top: 4px solid var(--accent-color);
    border-bottom: 4px solid var(--accent-color);
}

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

.cta-text h2 {
    color: var(--accent-color);
    font-size: 30px;
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.cta-button-group {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 16px;
}

.quote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.client-info strong {
    font-size: 16px;
    color: var(--primary-color);
}

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

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 50px;
}

/* Info Panel */
.contact-info-panel {
    padding-left: 20px;
}

.info-tagline {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.contact-info-panel h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 32, 91, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid rgba(0, 32, 91, 0.1);
}

.info-text {
    display: flex;
    flex-direction: column;
}

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

.info-text strong {
    font-size: 20px;
    color: var(--primary-color);
}

.info-text strong a {
    color: var(--primary-color);
}

/* Contact Form Panel */
.contact-form-panel {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.contact-form-panel h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-form-panel p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    background-color: var(--bg-white);
    outline: none;
    transition: var(--transition-smooth);
}

.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2300205B' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 45px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 32, 91, 0.05);
}

.form-success-message {
    margin-top: 15px;
    background-color: rgba(46, 196, 182, 0.1);
    color: #1a786f;
    border: 1px solid rgba(46, 196, 182, 0.3);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
    background-color: #030d1e;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
    border-top: 5px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    right: 0;
}

.brand-col .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.brand-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.links-col ul li a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.legal-col p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
    font-size: 13px;
}

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

.bottom-flex p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ==========================================================================
   Animations & Logo Animation (Entrance and Pulse)
   ========================================================================== */

/* ==========================================================================
   Animations & Logo Composite Layer Animations (Entrance & Rebuild)
   ========================================================================== */

@keyframes scaleUp {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes logoEntrance {
    0% {
        transform: scale(0.9) rotate(-3deg);
        opacity: 0;
        filter: blur(5px);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0);
    }
}

/* Composite Logo Layout */
.logo-composite {
    position: relative;
    width: 140px;
    height: 107px; /* Aspect ratio 1024:783 */
    display: block;
    cursor: pointer;
    animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo-composite img {
    position: absolute;
    display: block;
    transition: filter 0.3s ease;
}

.logo-symbol {
    left: 0;
    top: 0;
    width: 68%;
    height: 72%;
    object-fit: contain;
    transform-origin: center center;
}

.logo-bus {
    left: 58%;
    top: 0;
    width: 42%;
    height: 72%;
    object-fit: contain;
    transform-origin: bottom center;
}

.logo-text {
    left: 0;
    top: 65%;
    width: 100%;
    height: 35%;
    object-fit: contain;
    transform-origin: center bottom;
}

/* 1. Synchronized Keyframes for the Bus driving out and back */
@keyframes driveOffOnce {
    0% {
        transform: translateX(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    /* Engine Wobble Start */
    4% { transform: translateY(-2px) rotate(1deg); }
    8% { transform: translateY(1.5px) rotate(-1deg); }
    
    /* Drive Off to Left */
    12% { transform: translateX(8px) scaleX(0.95); }
    30% {
        transform: translateX(-240%) scaleX(1.25) skewX(-10deg);
        filter: blur(2px);
        opacity: 0;
    }
    
    /* Teleport to Right Off-screen */
    32% {
        transform: translateX(240%) scaleX(1.2) rotate(3deg);
        filter: blur(4px);
        opacity: 0;
    }
    
    /* Drive back in from right */
    52% {
        transform: translateX(-15px) scaleX(0.92) rotate(-2deg);
        filter: blur(1px);
        opacity: 0.9;
    }
    60% {
        transform: translateX(0) scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
    }
}

/* 2. Synchronized Keyframes for the MN Symbol breaking apart and assembling */
@keyframes symbolAssembleOnce {
    0% {
        transform: scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
    }
    10% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    /* Disassemble and fade out */
    24% {
        transform: scale(0.2) rotate(-45deg);
        filter: blur(6px);
        opacity: 0;
    }
    /* Remain invisible while bus is away */
    25% { opacity: 0; }
    55% {
        transform: scale(0.2) rotate(-45deg);
        filter: blur(6px);
        opacity: 0;
    }
    
    /* Assemble piece-by-piece from scratch */
    70% {
        transform: scale(1.3) rotate(20deg);
        filter: blur(4px);
        opacity: 0.6;
    }
    82% {
        transform: scale(0.95) rotate(-5deg);
        filter: blur(1px);
        opacity: 0.95;
    }
    92% {
        transform: scale(1.02) rotate(1deg);
        filter: blur(0);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
    }
}

/* 3. Synchronized Keyframes for Slogan Text crumbling and re-sliding up */
@keyframes textAssembleOnce {
    0% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
    12% {
        transform: translateY(0);
        opacity: 1;
    }
    /* Crumble down and fade out */
    28% {
        transform: translateY(25px) scale(0.9);
        filter: blur(4px);
        opacity: 0;
    }
    /* Remain invisible */
    29% { opacity: 0; }
    60% {
        transform: translateY(25px) scale(0.9);
        filter: blur(4px);
        opacity: 0;
    }
    
    /* Slide up and fade back in */
    78% {
        transform: translateY(-5px) scale(1.02);
        filter: blur(1px);
        opacity: 0.85;
    }
    90% {
        transform: translateY(0) scale(1);
        filter: blur(0);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

/* Trigger Synchronized Layer Animations */
.logo-composite.is-driving .logo-bus {
    animation: driveOffOnce 3s cubic-bezier(0.25, 0.8, 0.25, 1) 1;
}

.logo-composite.is-driving .logo-symbol {
    animation: symbolAssembleOnce 3s cubic-bezier(0.25, 0.8, 0.25, 1) 1;
}

.logo-composite.is-driving .logo-text {
    animation: textAssembleOnce 3s cubic-bezier(0.25, 0.8, 0.25, 1) 1;
}

/* Shimmer Hover Glow effect on composite */
.logo-composite:hover img {
    filter: drop-shadow(0 6px 15px rgba(212, 163, 60, 0.35)) !important;
}

/* Sparkle Particles for Click Animation */
.sparkle-particle {
    position: absolute;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    animation: particleAnimation 0.8s cubic-bezier(0.1, 0.8, 0.25, 1) forwards;
}

@keyframes particleAnimation {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(180deg);
        opacity: 0;
    }
}

/* ==========================================================================
   Responsive Design & Mobile Styles (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-menu {
        display: none; /* Hide standard nav on tablet/mobile */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Show mobile menu when active */
    .main-header.nav-open .nav-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-medium);
        border-top: 1px solid var(--border-color);
        padding: 20px 0;
    }
    
    .main-header.nav-open .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .main-header.nav-open .mobile-menu-toggle .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .main-header.nav-open .mobile-menu-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    
    .main-header.nav-open .mobile-menu-toggle .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-split-grid {
        display: flex;
        flex-direction: column-reverse; /* Wizard goes FIRST (on top) in mobile! */
        gap: 40px;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
    }
    
    .shabbat-tag {
        justify-content: center;
        width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-grid-centered {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile to save space */
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-flex {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .cta-button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button-group .btn {
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-container .logo {
        height: 50px;
    }
    
    .btn-call-header {
        display: none;
    }
    
    .options-grid {
        grid-template-columns: 1fr !important; /* Single column on tiny phones */
    }
    
    .form-inputs-row {
        grid-template-columns: 1fr;
    }
    
    .wizard-box {
        padding: 24px 15px;
    }
    
    .wizard-header h2 {
        font-size: 20px;
    }
}
