/* Custom Properties */
:root {
    --primary: #FF3D00; /* Vibrant modern orange-red */
    --primary-glow: rgba(255, 61, 0, 0.5);
    --secondary: #0F172A; /* Deep Navy Slate */
    --bg-dark: #020617; /* High-end dark background */
    --bg-gradient: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    --text-main: #F1F5F9; /* Off-white for readability */
    --text-muted: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Scaffolding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
    line-height: 1.6;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 60px !important;
    overflow-x: hidden !important;
    position: relative !important;
    
    /* Content Protection - Disable text selection */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary-glow);
}

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

.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6a00, #ff8c00);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.8);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff7b1a, #ffa01a);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 102, 0, 1);
    color: #ffffff;
}

.btn-glow {
    position: relative;
    animation: glow-pulse 2s infinite ease-in-out;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 5px rgba(249, 115, 22, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.7), 0 0 10px rgba(249, 115, 22, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(249, 115, 22, 0.4);
    }
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-white-red {
    background: #ffffff;
    color: #e60000;
    border: 1px solid #e60000;
    box-shadow: 0 4px 14px rgba(230, 0, 0, 0.1);
}

.btn-white-red:hover {
    background: #fff5f5;
    color: #cc0000;
    border-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    padding: 10px 0;
    margin: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin: 0;
    margin-left: 20px;
    padding: 0;
    line-height: 1;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    mix-blend-mode: multiply;
    filter: contrast(1.2) brightness(1.1);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    margin-left: 10px;
    padding: 0;
    line-height: 1;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    padding: 0;
    line-height: 50px;
    transition: var(--transition);
}

/* Navbar Underline Hover Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary);
    bottom: 5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px var(--primary-glow);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header Live Clock */
.header-clock {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-clock #clockTime {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #fff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 0px; /* Reset padding for precise margin control */
    padding-bottom: 10px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=1920&q=90') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1; /* Below content box */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    margin: 75px auto 0 auto; /* 5px gap immediately below 70px navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Ultra-tight uniform gap */
    animation: fadeInUp 1s ease-out;
}


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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: #fff;
    font-size: 3.8rem;
    margin-top: 0; /* Title starts immediately at the top of the content container */
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 0 20px rgba(255, 61, 0, 0.2));
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    z-index: 3;
    position: relative;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem; /* Tighter text */
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    z-index: 3;
    position: relative;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10px; /* Compressed button spacing */
    z-index: 3;
    position: relative;
}

.hero-description {
    margin-top: 5px; /* Ultra-tight spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    max-width: 750px;
}

.hero-list {
    list-style: none;
    margin: 0.5rem 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

.vehicle-categories {
    margin: 1.8rem 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.vehicle-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    font-weight: 600;
    font-size: 1rem;
}

.vehicle-list li {
    margin: 6px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cta {
    font-weight: 700;
    color: var(--primary) !important;
    margin-top: 0.8rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
}

.hero-title .text-red {
    color: #ff2b2b;
    font-weight: 900;
}

.hero-title .text-white {
    color: #ffffff;
    font-weight: 900;
}

/* Fleet Section */
.fleet {
    background: transparent;
}

.gridfleet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.car-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.car-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.car-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.price-tag span {
    font-size: 0.8rem;
    font-weight: 400;
}

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.car-features {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.car-features i {
    color: var(--primary);
    margin-right: 5px;
}

/* Customer Reviews Section */
.reviews {
    background: #0f172a;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.reviews .section-title {
    color: #ffffff !important;
}

.reviews-grid {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.review-card {
    flex: 0 0 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn 0.5s ease forwards;
    margin: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Slider Specific Styles */
.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 3rem auto 0;
}

.reviews-slider-track {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
    /* Fix for border-radius + overflow:hidden clipping bugs in Webkit */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow { left: -70px; }
.next-arrow { right: -70px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots span.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

@media (max-width: 1100px) {
    .prev-arrow { left: -20px; }
    .next-arrow { right: -20px; }
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
    
    .review-card {
        padding: 2rem;
    }
}

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

.review-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.review-stars {
    color: #ffdd00;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 221, 0, 0.3));
}

.review-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.customer-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: auto;
}

.review-form-container {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 2rem !important; /* Reduced padding */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.no-reviews-msg {
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.no-reviews-msg i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    display: block;
}

.review-form-container input[type="text"],
.review-form-container textarea {
    width: 100%;
    padding: 10px 15px; /* Reduced padding */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 1rem; /* Slightly smaller font */
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-form-container input::placeholder,
.review-form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.review-form-container input:focus,
.review-form-container textarea:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.review-form-container textarea {
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: none;
}

.submit-review-btn {
    width: 100%;
    padding: 12px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-top: 5px;
}

.review-form-container textarea:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.star-rating-input {
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
}

.star-rating-input i {
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating-input i.active,
.star-rating-input i:hover,
.star-rating-input i:hover ~ i {
    color: #ffdd00;
    filter: drop-shadow(0 0 8px rgba(255, 221, 0, 0.5));
}

/* Ensure hover correctly highlights previous siblings too - standard CSS tricks for RTL but here we use JS for simpler LTR logic */
.star-rating-input i.hover {
    color: #ffdd00;
}

@media (max-width: 992px) {
}

@media (max-width: 768px) {
}

/* Booking Section */
.booking {
    background: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.booking::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 61, 0, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.booking-container {
    display: flex;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.start-card,
.reserve-card {
    flex: 1;
    min-height: 650px;
    display: flex;
    flex-direction: column;
}

.booking-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    height: 100%;
}

.booking-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.booking-content h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}

.booking-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.perks {
    list-style: none;
}

.perks li {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    color: #e2e8f0;
    transition: var(--transition);
}

.perks li:hover {
    transform: translateX(10px);
    color: #fff;
}

.perks i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.5));
}

.booking-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.booking-form-wrapper:hover {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

.booking-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.booking-form-wrapper h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}
.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:hover,
.form-group select:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group select option {
    background: var(--secondary);
    color: #fff;
}

.booking-form .btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.booking-form .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

/* Location Section */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary);
    width: 30px;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

/* Location Get Directions Button override to red */
.location .btn-primary {
    background: linear-gradient(135deg, #ff3b3b 0%, #cc0000 100%);
    box-shadow: 0 4px 14px rgba(230, 0, 0, 0.4);
}

.location .btn-primary:hover {
    background: linear-gradient(135deg, #ff4f4f 0%, #b30000 100%);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.6);
}

.business-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.business-hours h4 {
    margin-bottom: 1rem;
}

.business-hours span {
    color: var(--text-light);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 350px;
    width: 100%;
    position: relative;
    background-color: #e2e8f0; /* Map loading placeholder */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.95);
    color: #fff;
    padding: 3rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons {
    position: absolute;
    right: 120px;
    bottom: 25px;
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons .facebook {
    background: #1877F2;
}

.social-icons .tiktok {
    background: #000;
}

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.developer-credit {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 5px;
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.call-float,
.whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-float {
    background-color: #ff3b3b;
    animation: bounce 2s infinite;
}

.whatsapp-float {
    background-color: #25D366;
    animation: bounce 2s infinite;
    animation-delay: 1s; /* Offset animation for pleasant visual effect */
}

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

.call-float:hover {
    background-color: #cc0000;
    transform: scale(1.1);
    animation: none;
    color: #fff;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    animation: none;
    color: #fff;
}

/* Premium Auth Buttons (Login & Register) */
.nav-login-btn,
.nav-register-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-login-btn {
    background: transparent;
    border: 2px solid #e60000;
    color: #e60000 !important;
}

.nav-login-btn:hover {
    background: rgba(230, 0, 0, 0.05); /* very soft red tint */
    color: #cc0000 !important;
    border-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 0, 0, 0.15);
}

.nav-register-btn {
    background: linear-gradient(135deg, #ff3b3b 0%, #cc0000 100%);
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.25);
}

.nav-register-btn:hover {
    background: linear-gradient(135deg, #ff4f4f 0%, #b30000 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.4);
}

.nav-login-btn i,
.nav-register-btn i {
    font-size: 16px;
    line-height: 1;
}

.nav-login-btn::after, .nav-register-btn::after {
    display: none !important;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-overlay.active {
    display: flex;
    opacity: 1;
}

.login-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

.login-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94A3B8;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-close-btn:hover {
    color: #e60000;
}

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

.login-icon {
    font-size: 48px;
    color: #e60000;
    margin-bottom: 15px;
}

.login-header h2 {
    color: #0F172A;
    font-size: 24px;
    margin-bottom: 5px;
}

.login-header p {
    color: #64748B;
    font-size: 14px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.login-field label i {
    color: #e60000;
    margin-right: 5px;
}

.login-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-field input:focus {
    outline: none;
    border-color: #e60000;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff3b3b 0%, #cc0000 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
}

/* Error Shake Animation for OTP */
.error-shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    border-color: #e60000 !important;
    color: #e60000;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .booking-container,
    .location-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-left {
        display: none;
    }

    .nav-right {
        flex: 1;
        justify-content: flex-end;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-clock {
        font-size: 11px;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        margin: 0 auto;
        text-align: center;
    }
    .clock-display {
        justify-content: center;
    }
    .clock-separator {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 70px; /* Match the exact 70px navbar height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(2, 6, 23, 0.98); /* Match dark UI theme */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Floating Buttons Mobile Adjustments */
    .floating-buttons {
        bottom: 180px;
        right: 20px;
        gap: 15px;
        z-index: 1000;
        pointer-events: auto;
    }

    .call-float,
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .social-icons {
        position: static;
        justify-content: center;
        margin-top: 15px;
        right: auto;
        bottom: auto;
    }
}


/* AOS Defensive Rules */
body[data-aos-easing] {
    overflow-x: hidden !important;
}

[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Added Mobile Responsiveness Requirements */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 0 15px;
        margin-top: 75px !important; /* Keep the precise 5px gap on mobile */
    }

    .hero h1 {
        font-size: 2.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .gridfleet {
        grid-template-columns: 1fr;
    }

    .booking-container {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

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

    .hero {
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h1 span:nth-child(2) {
        color: #ffffff !important;
    }
}

/* Loading Screen Styles */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
    contain: paint layout;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    max-width: 90%;
    overflow-x: hidden;
}

.loader-text {
    font-size: 2.5rem;
    font-weight: 900;
    margin-top: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.loader-deals {
    color: var(--primary);
}

.loader-wheels {
    color: #ffffff;
}

.loader-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 40px;
}

.loader-spinner {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, #e60000 50%, #f97316 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 100%);
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 100%);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.4), 0 0 5px rgba(249, 115, 22, 0.2);
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

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

.loader-car-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.loader-road-container {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.loader-car {
    width: 70px;
    height: auto;
    color: #e60000;
    position: absolute;
    bottom: 8px;
    left: -80px;
    animation: moveCar 2s linear forwards;
}

.loader-road {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
}

@keyframes moveCar {
    0% { transform: translateX(0); }
    100% { transform: translateX(450px); }
}

/* Page Reveal Animation */
.page-content-hidden {
    opacity: 0;
    transform: translateY(20px);
    overflow-x: hidden;
}

.page-reveal {
    animation: revealPage 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealPage {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Review Statistics Dashboard */
.reviews-stats-container {
    display: none; /* Hidden strictly by JS if empty */
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stats-overview {
    flex: 1;
    min-width: 200px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .stats-overview {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 2rem;
    }
}

.average-rating {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(255, 142, 83, 0.4);
}

.average-stars {
    font-size: 1.5rem;
    color: #ffdd00;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.total-reviews {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.stats-breakdown {
    flex: 1.5;
    min-width: 200px;
    max-width: 350px; /* Limit total width to make bars narrower */
    margin: 0 auto; /* Center it if narrowed */
    display: flex;
    flex-direction: column;
    gap: 12px; /* Small, consistent spacing between bars */
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between label, bar, and count */
}

.star-label {
    color: #fff;
    font-weight: 600;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.star-label i {
    color: #ffdd00;
    font-size: 0.8rem;
}

.progress-bar-container {
    flex: 1;
    height: 6px; /* Thinner bars */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #FFA800, #FFD600); /* Yellow/Orange premium gradient */
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-count {
    color: var(--text-muted);
    font-weight: 500;
    width: 30px;
    text-align: right;
}