/* 
   GoDrive Premium Black/Red Light Theme CSS
*/

:root {
    /* Colors */
    --primary: #000000;
    /* Pure black */
    --primary-light: #1A1A1A;
    --accent: #DC2626;
    /* Premium Red */
    --accent-hover: #B91C1C;
    --success: #25D366;
    /* WhatsApp color */
    --success-hover: #128C7E;

    --bg-main: #FAFAFA;
    /* Light website body */
    --bg-card: #FFFFFF;

    --text-main: #111827;
    --text-muted: #4B5563;
    --text-light: #9CA3AF;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

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

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.justify-center {
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid #E5E7EB;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background-color: var(--success);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ------------------------------------- */
/* Splash Screen */
/* ------------------------------------- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    /* Pure Black as requested */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.splash-logo-container {
    animation: premiumZoomFade 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-logo {
    height: 90px;
    width: auto;
}

@keyframes premiumZoomFade {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    30% {
        opacity: 1;
        transform: scale(1.05);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ------------------------------------- */
/* Header */
/* ------------------------------------- */
#header {
    background: #000000;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    padding: 0.5rem 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#header.header-scrolled {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    /* Red accent hover */
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.contact-cta:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.phone-icon {
    color: white;
    width: 20px;
    height: 20px;
}

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

.call-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
}

.phone-number {
    font-size: 0.9rem;
    color: white;
    font-weight: 700;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary);
    padding: 6rem 2rem 2rem 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    z-index: 9998;
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }

    .contact-cta {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }
}


/* ------------------------------------- */
/* Hero Section */
/* ------------------------------------- */
.hero {
    position: relative;
    height: calc(100vh - 56px);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Desktop slider visible by default, mobile hidden */
.hero-slider-desktop {
    display: block;
}

.hero-slider-mobile {
    display: none;
}

.hero-slider img.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider img.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* Align cleanly center-left */
}

.hero-text {
    max-width: 650px;
    color: white;
    padding-top: 5rem;
    /* account for header */
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text h1 span {
    color: var(--accent);
    /* Red highlight */
}

.hero-text p {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge i {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

.badge span {
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}


/* ------------------------------------- */
/* Cars Section */
/* ------------------------------------- */
.cars-section {
    padding: 7rem 0;
    background-color: var(--bg-main);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.car-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #F3F4F6;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #E5E7EB;
}

.car-image-container {
    height: 220px;
    overflow: hidden;
    background-color: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.car-card:hover .car-image-container img {
    transform: scale(1.08);
}

.car-details {
    padding: 1.5rem;
}

.car-details h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.car-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.car-price .amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
}

.car-price .duration {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ------------------------------------- */
/* Features / Why Choose Us */
/* ------------------------------------- */
.features-section {
    padding: 7rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-color: #F3F4F6;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #FEF2F2;
    /* Soft red background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background-color: var(--accent);
    color: white;
    transform: scale(1.1);
}

.icon-wrapper i {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

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

/* ------------------------------------- */
/* Reviews Section */
/* ------------------------------------- */
.reviews-section {
    padding: 7rem 0;
    background-color: var(--bg-main);
    overflow: hidden;
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider {
    position: relative;
    height: 320px;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.review-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.review-card {
    background-color: white;
    padding: 3.5rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    border: 1px solid #F3F4F6;
}

.quote-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.quote-icon i {
    width: 20px;
    height: 20px;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: #F59E0B;
    /* Gold stars */
}

.stars i {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.review-text {
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

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

.reviewer-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

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

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* ------------------------------------- */
/* Happy Customers Section */
/* ------------------------------------- */
.happy-customers-section {
    padding: 7rem 0;
    background-color: white;
}

.customers-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.customers-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
}

.customers-track img {
    width: calc(33.333% - 1rem);
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    background-color: #f3f4f6;
    border: 1px solid #F3F4F6;
}

/* ------------------------------------- */
/* Location Section */
/* ------------------------------------- */
.location-section {
    padding: 7rem 0;
    background-color: var(--bg-main);
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: transparent;
    cursor: pointer;
}

/* ------------------------------------- */
/* FAQ Section */
/* ------------------------------------- */
.faq-section {
    padding: 7rem 0;
    background-color: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.faq-item:hover {
    border-color: #D1D5DB;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #F9FAFB;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* ------------------------------------- */
/* Contact / CTA Section */
/* ------------------------------------- */
.cta-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    padding: 4.5rem 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.cta-card h2,
.cta-card p,
.cta-card .cta-phone,
.cta-card .cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-card h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.cta-phone i {
    color: var(--accent);
    width: 36px;
    height: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Form Layout additions */
.cta-card.form-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-card.form-layout {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .cta-header {
        flex: 1;
        padding-right: 2rem;
    }

    .booking-form {
        flex: 1;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        padding: 2rem;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
}

.cta-card.form-layout h2 {
    margin-bottom: 1rem;
}

.cta-card.form-layout p {
    margin-left: 0;
    margin-right: 0;
}

.cta-card.form-layout .cta-phone {
    justify-content: flex-start;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.booking-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
}

.booking-form select option {
    background-color: var(--primary);
    color: white;
}

.form-error {
    color: #FCA5A5;
    /* Light red */
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

/* Loading animation */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

.hidden {
    display: none !important;
}

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

/* ------------------------------------- */
/* Footer */
/* ------------------------------------- */
footer {
    background-color: var(--primary);
    /* Full Black Footer */
    padding: 5rem 0 0 0;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    /* Red Heading */
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-contact i {
    width: 20px;
    height: 20px;
    color: var(--accent);
    /* Red icons */
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* ------------------------------------- */
/* Responsive Design */
/* ------------------------------------- */
@media (max-width: 1024px) {
    .cta-card.form-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-header {
        padding-right: 0;
    }

    .cta-card.form-layout .cta-phone {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Global & Container */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1.25rem;
        /* Proper padding left/right */
    }

    /* Header */
    #header {
        padding: 0.5rem 0;
        /* Proper padding */
    }

    .logo img {
        height: 30px;
    }

    .logo span {
        font-size: 1.1rem;
        /* Adjust logo text for mobile */
    }

    /* Hero Section */
    .hero {
        height: calc(100vh - 74px);
        min-height: 400px;
        margin-top: 0;
        padding: 0;
        display: block;
        background-color: #000000;
        position: relative;
        overflow: hidden;
    }

    .hero-slider {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    /* Swap sliders: show mobile, hide desktop */
    .hero-slider-desktop {
        display: none;
    }

    .hero-slider-mobile {
        display: block;
    }

    .hero-slider img.hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .hero-slider img.hero-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .hero-content {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding-top: 0;

        padding-left: 1rem;
        padding-right: 1rem;
        z-index: 5;
        width: 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        /* Reduced font size to keep in 2 lines */
        line-height: 1.2;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2-column grid */
        gap: 0.75rem;
        margin-bottom: 2rem;
        justify-content: center;
    }

    .badge {
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    /* Fleet Section */
    .cars-section {
        padding: 5rem 0 3rem 0;
        /* Better top margin */
    }

    .cars-section .section-title h2 {
        font-size: 2rem;
        /* Reduce heading size slightly */
        margin-bottom: 0.5rem;
    }

    /* Features / Icons Section */
    .features-section {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Clean 2-column grid */
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .icon-wrapper i {
        width: 24px;
        height: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .cta-phone {
        font-size: 2rem;
    }

    .reviews-slider {
        height: 380px;
    }

    /* Form Stack Fixes */
    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {

    /* Hero Section further adjustments */
    .hero-text h1 {
        font-size: 2.1rem;
    }

    /* Cars Grid to single column strictly with spacing */
    .cars-grid {
        grid-template-columns: 1fr;
        /* Make cards full width */
        gap: 1.5rem;
    }

    /* Ensure features stay 2 columns or stack if too small */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .mobile-nav-buttons .btn {
        width: 100%;
    }

    /* Fix any text overlap on very small screens */
    /* Footer Additions */
    .footer-developed {
        margin-bottom: 2rem;
    }

    .social-icons {
        justify-content: flex-start;
    }

    /* Happy Customers Mobile */
    .customers-track img {
        width: 100%;
        height: 250px;
    }
}



/* Additional New Section Styles */
.footer-developed {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.footer-developed p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.footer-developed a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.footer-developed a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.social-icons i {
    width: 20px;
    height: 20px;
}

/* ------------------------------------- */
/* Branch Selection Modal */
/* ------------------------------------- */
.branch-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000; /* Higher than header and page content */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 1.5rem;
}

.branch-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.branch-modal-card {
    background: linear-gradient(145deg, #111111 0%, #1c1c1c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    max-width: 650px;
    width: 100%;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.branch-modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.branch-modal-logo img {
    height: 60px;
    width: auto;
}

.branch-modal-logo span {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.branch-modal-card h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.branch-modal-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.branch-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.branch-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(220, 38, 38, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.branch-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

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

.branch-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.branch-card:hover .branch-icon-wrapper {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.branch-icon-wrapper i {
    width: 26px;
    height: 26px;
}

.branch-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.branch-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-align: center;
}

/* Branch Trigger Badge in Header */
.branch-selector-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    align-self: center;
}

.branch-selector-trigger:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.branch-selector-trigger i {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

/* Adjusting header-container for branch badge */
@media (max-width: 768px) {
    .branch-modal-card {
        padding: 1.5rem 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .branch-modal-logo {
        margin-bottom: 0.75rem;
    }
    
    .branch-modal-logo img {
        height: 40px;
    }
    
    .branch-modal-logo span {
        font-size: 1.4rem;
    }
    
    .branch-modal-card h2 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .branch-modal-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .branch-options {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .branch-card {
        padding: 0.75rem;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "icon title"
            "icon desc";
        align-items: center;
        text-align: left;
        gap: 0 1rem;
    }
    
    .branch-icon-wrapper {
        grid-area: icon;
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }
    
    .branch-icon-wrapper i {
        width: 20px;
        height: 20px;
    }
    
    .branch-card h3 {
        grid-area: title;
        font-size: 1rem;
        margin-bottom: 0.15rem;
        align-self: end;
    }
    
    .branch-card p {
        grid-area: desc;
        font-size: 0.8rem;
        margin-bottom: 0;
        align-self: start;
    }
    
    .branch-card .btn {
        display: none;
    }
}

/* ------------------------------------- */
/* Booking Form Modal */
/* ------------------------------------- */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000; /* Higher than header and page content */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1rem;
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: white;
}

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

.booking-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.booking-modal-close:hover {
    color: white;
    transform: scale(1.1);
}

.booking-modal-close i {
    width: 24px;
    height: 24px;
}

.booking-modal-header {
    text-align: center;
    margin-bottom: 1rem;
}

.booking-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.booking-modal-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Make modal form extremely compact */
.booking-modal-card .booking-form {
    gap: 0.75rem;
}
.booking-modal-card .form-group {
    gap: 0.25rem;
}
.booking-modal-card .booking-form input,
.booking-modal-card .booking-form select {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    height: 38px;
}
.booking-modal-card .booking-form label {
    font-size: 0.85rem;
    margin-bottom: 0;
}
.booking-modal-card .btn-whatsapp {
    padding: 0.6rem 1rem;
    margin-top: 0.25rem;
}
.booking-modal-card {
    padding: 1.5rem;
}
.booking-modal-close {
    top: 1rem;
    right: 1rem;
}

@media (max-width: 768px) {
    .booking-modal-card {
        padding: 1rem;
        max-width: 95%;
        margin: 0 auto;
    }
    .booking-modal-header h2 {
        font-size: 1.2rem;
    }
    .booking-modal-header p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    .booking-modal-card .booking-form input,
    .booking-modal-card .booking-form select {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        height: 34px;
    }
    .booking-modal-card .form-group {
        gap: 0.15rem;
    }
    .booking-modal-card .booking-form {
        gap: 0.5rem;
    }
    .booking-modal-header {
        margin-bottom: 0.5rem;
    }
    .booking-modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}