/* CSS Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #ffffff;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --background-light: #f8fafc;
    --border-color: #e5e7eb;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    overflow: hidden;
}
@media (max-width: 600px) {
    #preloader {
        padding: 0;
    }
    .loader-circle {
        width: 70px;
        height: 70px;
        margin-left: 14px;
    }
    .loader p {
        font-size: 1.15rem;
    }
}
body.loading {
    overflow: hidden !important;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: var(--spacing-md);
}

.loader p {
    color: var(--secondary-color);
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #181818;
    color: #fff;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-md) 0;
    transition: padding var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    height: 38px;
    width: auto;
    transition: height var(--transition-normal);
}

.header.scrolled .logo {
    height: 32px;
}

.brand-text {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    background-color: white;
    transition: var(--transition-fast);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
   
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--secondary-color);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.4) 0%, rgba(6, 182, 212, 0.4) 100%), url('https://i.ibb.co/C3pnyFM7/273bb804547d.jpg') center center/cover no-repeat;
    z-index: 1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    font-weight: 300;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.button-arrow {
    transition: transform var(--transition-fast);
}

.cta-button:hover .button-arrow {
    transform: translateX(4px);
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 2px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
}

.scroll-indicator p {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* Section Styles */
.cars-section,
.booking-section,
.contact-section {
    padding: var(--spacing-3xl) 0;
}

.cars-section {
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

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

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.car-card {
    background: var(--secondary-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.car-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.car-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.car-card:hover .car-image {
    transform: scale(1.05);
}

.car-carousel {
    position: relative;
    height: 100%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--secondary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    opacity: 0;
    z-index: 2;
}

.car-card:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
    left: var(--spacing-md);
}

.carousel-next {
    right: var(--spacing-md);
}

.car-type-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.car-content {
    padding: var(--spacing-lg);
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.car-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.car-location {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.car-price {
    text-align: right;
}

.price-amount {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.price-unit {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.car-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.feature-tag {
    background: var(--background-light);
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.car-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.book-button {
    flex: 1;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.book-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.details-button {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.details-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Loading and Error States */
.loading-state,
.error-state {
    text-align: center;
    padding: var(--spacing-2xl);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

.retry-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    margin-top: var(--spacing-md);
}

/* Booking Form */
.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input[readonly] {
    background: var(--background-light);
    color: var(--text-light);
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.contact-details {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    margin-bottom: var(--spacing-lg);
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--background-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

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

.contact-form-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    width: 100%;
    padding: 0 0.5rem;
}
@media (max-width: 768px) {
    .contact-form {
        margin-left: auto;
        margin-right: auto;
        max-width: 95vw;
        padding: 0 0.5rem;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-md) var(--spacing-lg);
    transform: translateX(400px);
    transition: transform var(--transition-normal);
    z-index: 2000;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

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

.toast-message {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--secondary-color);
    margin: var(--spacing-md);
    padding: 0;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: var(--font-size-2xl);
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--error-color);
    color: var(--secondary-color);
}

.modal-body {
    padding: var(--spacing-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        background-color: #181818;
        color: #fff;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
        box-shadow: var(--shadow-lg);
        padding: 90px 0 2rem 0;
        gap: 2rem;
        z-index: 2000;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        color: #fff;
        font-size: 1.3em;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-toggle {
        display: flex;
        position: absolute;
        top: 22px;
        right: 22px;
        z-index: 2100;
        background: none;
        border: none;
        padding: 0.5em;
        cursor: pointer;
    }
    .header {
        position: fixed;
        width: 100vw;
        left: 0;
        right: 0;
        top: 0;
        z-index: 2100;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .cars-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.7rem;
        margin-bottom: 1.5rem;
    }
    .social-link {
        min-width: 120px;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .contact-form-section h3 {
        text-align: center;
    }
    .contact-form {
        gap: 1.1rem;
    }
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        min-width: 0;
        font-size: 1em;
    }
    .contact-form button {
        width: 100%;
        margin-top: 0.7em;
    }

    .whatsapp-button,
    .scroll-top {
        bottom: var(--spacing-md);
    }

    .whatsapp-button {
        right: var(--spacing-md);
    }

    .scroll-top {
        left: var(--spacing-md);
    }

    .toast {
        top: var(--spacing-md);
        right: var(--spacing-md);
        left: var(--spacing-md);
        max-width: none;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size:35px;

    }

    .car-card {
        margin: 0 var(--spacing-sm);
    }

    .booking-form-container {
        margin: 0 var(--spacing-sm);
        padding: var(--spacing-lg);
    }

    .modal-content {
        margin: var(--spacing-sm);
    }
}

/* Utility Classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hidden {
    display: none !important;
}

.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* Print Styles */
@media print {
    .header,
    .whatsapp-button,
    .scroll-top,
    .toast {
        display: none !important;
    }
}

/* --- Compact Premium Car Filter Form Styles --- */
#car-filter-form {
    background: linear-gradient(120deg, #f7faff 60%, #eaf1fb 100%);
    border-radius: 1.1rem;
    box-shadow: 0 4px 18px rgba(30, 64, 175, 0.10);
    padding: 1.1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    align-items: flex-end;
    border: 1px solid #e0e7ef;
    transition: box-shadow 0.22s, border-color 0.22s, background 0.22s;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
#car-filter-form:hover {
    box-shadow: 0 8px 28px rgba(30, 64, 175, 0.13);
    border-color: #b6c6e3;
    background: linear-gradient(120deg, #f4f8ff 60%, #e0eaf7 100%);
}
#car-filter-form label {
    display: block;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.3em;
    letter-spacing: 0.3px;
    font-size: 0.98em;
}
#car-filter-form input,
#car-filter-form select {
    padding: 0.45em 0.9em;
    border: 1px solid #cfd8e3;
    border-radius: 0.7em;
    font-size: 0.98em;
    font-family: inherit;
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.13s;
    min-width: 120px;
    box-shadow: 0 1px 3px rgba(30,64,175,0.04) inset;
    height: 2.2em;
    line-height: 2.2em;
    box-sizing: border-box;
}
#car-filter-form input:focus,
#car-filter-form select:focus {
    border-color: #1e40af;
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.10);
    transform: scale(1.025);
}
#car-filter-form .submit-button,
#car-filter-form .details-button {
    margin-top: 0.7em;
    font-size: 0.98em;
    padding: 0;
    border-radius: 0.7em;
    font-weight: 600;
    box-shadow: 0 1px 6px rgba(30, 64, 175, 0.08);
    transition: background 0.18s, color 0.18s, transform 0.13s, border 0.18s;
    height: 2.2em;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 2.2em;
    box-sizing: border-box;
}
#car-filter-form .submit-button {
    background: linear-gradient(90deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    letter-spacing: 0.2px;
}
#car-filter-form .submit-button:hover {
    background: linear-gradient(90deg, #0f172a 0%, #06b6d4 100%);
    transform: scale(1.04);
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.13);
}
#car-filter-form .details-button {
    background: #fff;
    color: #1e40af;
    border: 2px solid #1e40af;
    letter-spacing: 0.2px;
}
#car-filter-form .details-button:hover {
    background: #1e40af;
    color: #fff;
    border-color: #06b6d4;
    transform: scale(1.04);
}
#car-filter-form > div {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}
@media (max-width: 900px) {
    #car-filter-form {
        flex-direction: column;
        padding: 0.8rem;
        gap: 0.8rem;
        max-width: 100%;
    }
    #car-filter-form > div {
        min-width: 100%;
    }
    #car-filter-form input,
    #car-filter-form select {
        min-width: 100%;
    }
    #car-filter-form .submit-button,
    #car-filter-form .details-button {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }
}
/* --- End Compact Premium Car Filter Form Styles --- */

/* --- Enhanced Chatbot Styles --- */
.chatbot-fab {
    position: fixed;
    bottom: 32px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #1e40af 100%);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(30,64,175,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3000;
    transition: box-shadow 0.2s, background 0.2s;
    border: none;
}
.chatbot-fab:hover {
    background: linear-gradient(135deg, #06b6d4 100%, #06b6d4 100%);
    box-shadow: 0 12px 32px rgba(30,64,175,0.28);
}
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 440px;
    max-width: 95vw;
    height: 480px;
    background: #f8fafd;
    border-radius: 22px;
    box-shadow: 0 12px 48px rgba(30,64,175,0.22);
    display: flex;
    flex-direction: column;
    z-index: 3100;
    overflow: hidden;
    transition: box-shadow 0.2s, background 0.2s;
    border: 1.5px solid #e0e7ef;
}
.chatbot-window.hidden {
    display: none;
}
.chatbot-header {
    background: linear-gradient(90deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    padding: 1rem 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.13em;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid #e0e7ef;
}
.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6em;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: color 0.2s;
}
.chatbot-close:hover {
    color: #ffd700;
}
.chatbot-messages {
    flex: 1;
    padding: 1.1rem 1rem 1rem 1rem;
    overflow-y: auto;
    background: #f8fafd;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    scrollbar-width: thin;
    scrollbar-color: #b6c6e3 #f8fafd;
}
.chatbot-messages::-webkit-scrollbar {
    width: 7px;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: #b6c6e3;
    border-radius: 6px;
}
.chatbot-message {
    max-width: 80%;
    padding: 0.8em 1.1em;
    border-radius: 1.3em;
    font-size: 1.04em;
    line-height: 1.6;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(30,64,175,0.06);
    margin-bottom: 2px;
}
.chatbot-message.bot {
    background: #eaf1fb;
    color: #1e40af;
    align-self: flex-start;
    border-bottom-left-radius: 0.4em;
}
.chatbot-message.user {
    background: linear-gradient(90deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 0.4em;
}
.chatbot-form {
    display: flex;
    padding: 0.8em 1em 1em 1em;
    gap: 0.6em;
    background: #f8fafd;
    border-top: 1.5px solid #e0e7ef;
}
.chatbot-form input {
    flex: 1;
    border: 1.5px solid #e0e7ef;
    border-radius: 1.1em;
    padding: 0.7em 1em;
    font-size: 1.04em;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    box-shadow: 0 1px 3px rgba(30,64,175,0.04) inset;
}
.chatbot-form input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.10);
}
.chatbot-form button {
    background: linear-gradient(90deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 1.1em;
    padding: 0.7em 1.5em;
    font-weight: 700;
    font-size: 1.04em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(30,64,175,0.10);
}
.chatbot-form button:hover {
    background: linear-gradient(90deg, #0f172a 0%, #06b6d4 100%);
    box-shadow: 0 4px 16px rgba(30,64,175,0.13);
}
#chatbot-auth-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 440px;
    max-width: 95vw;
    height: 480px;
    background: #f8fafd;
    border-radius: 22px;
    box-shadow: 0 12px 48px rgba(30,64,175,0.22);
    display: flex;
    flex-direction: column;
    z-index: 3100;
    overflow: hidden;
    transition: box-shadow 0.2s, background 0.2s;
    border: 1.5px solid #e0e7ef;
}
#chatbot-auth-window .chatbot-header {
    background: linear-gradient(90deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    padding: 1rem 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.13em;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid #e0e7ef;
}
#chatbot-auth-window .chatbot-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1.5em 1.2em 1.2em 1.2em;
    background: #f8fafd;
}
#chatbot-auth-window .chatbot-form input {
    border: 1.5px solid #e0e7ef;
    border-radius: 1.1em;
    padding: 0.7em 1em;
    font-size: 1.04em;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    box-shadow: 0 1px 3px rgba(30,64,175,0.04) inset;
}
#chatbot-auth-window .chatbot-form input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.10);
}
#chatbot-auth-window .chatbot-form button {
    background: linear-gradient(90deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 1.1em;
    padding: 0.7em 1.5em;
    font-weight: 700;
    font-size: 1.04em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(30,64,175,0.10);
}
#chatbot-auth-window .chatbot-form button:hover {
    background: linear-gradient(90deg, #0f172a 0%, #06b6d4 100%);
    box-shadow: 0 4px 16px rgba(30,64,175,0.13);
}
#chatbot-auth-error {
    color: #e53e3e;
    text-align: center;
    margin-top: 0.5em;
    font-size: 0.98em;
    display: none;
}
@media (max-width: 600px) {
    .chatbot-window:not(.hidden) ~ .chatbot-fab,
    #chatbot-auth-window:not(.hidden) ~ .chatbot-fab {
        display: none !important;
    }
    .chatbot-window,
    #chatbot-auth-window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        z-index: 4000 !important;
        box-shadow: none !important;
        display: flex;
        flex-direction: column;
    }
    .chatbot-form {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 60px;
        background: #f8fafd;
        border-top: 1.5px solid #e0e7ef;
        padding: 1.2em 1em 1.2em 1em;
        display: flex;
        gap: 0.6em;
        box-shadow: 0 -2px 12px rgba(30,64,175,0.10);
        z-index: 10;
    }
    .chatbot-messages {
        padding-bottom: 160px !important;
    }
    .chatbot-send-text {
        display: none !important;
    }
    .chatbot-send-icon {
        display: inline-block !important;
        margin-left: 0;
        vertical-align: middle;
    }
    .chatbot-form button {
        padding-left: 0.7em;
        padding-right: 0.7em;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.chatbot-send-icon {
    display: none;
    margin-left: 0.5em;
    vertical-align: middle;
}
/* --- End Enhanced Chatbot Styles --- */

@media (max-width: 600px) {
    body.chatbot-open-mobile .chatbot-fab {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .chatbot-form button {
        margin-right: 0.5em;
    }
}