/* Color Palette and Variables */
:root {
    --color-bg: #050505;
    --color-text: #ffffff;
    --color-primary: #ffffff;
    --color-primary-dark: #f0f0f0;
    --color-accent: #000000;
    --color-gray-800: #000000;
    --color-gray-900: #111827;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Base Hero Section Setup */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    /* Using an Unsplash placeholder for a luxury luxury sports car in snowy mountains */
    background-image: url('assets/audi.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

/* Dark Gradient Overlay (Black to Transparent) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from Left (Black) to Right (Transparent) on Desktop */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 6%;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-text);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

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

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    /* Pill style */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-nav {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: var(--color-text);
    padding: 0.7rem 1.6rem;
    margin-left: 1rem;
}

.btn-nav:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-accent);
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Content Area */
.hero-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 6%;
    max-width: 900px;
}

/* Staggered Fade-in Animation Classes */
.hero-content>* {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.top-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #a3a3a3;
    margin-bottom: 1.5rem;
    display: block;
    animation-delay: 0.1s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.8rem;
    letter-spacing: -1.5px;
    animation-delay: 0.3s;
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 2.8rem;
    max-width: 520px;
    animation-delay: 0.5s;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    animation-delay: 0.7s;
}

/* Bottom Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #ffffff;
}

.scroll-line {
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-primary);
    animation: scrollDown 2s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

/* Keyframes */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Mobile Media Queries */
@media screen and (max-width: 968px) {
    .navbar {
        padding: 1.5rem 5%;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .btn-nav {
        margin-left: 0;
        margin-top: 1rem;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hamburger Animation to X */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Change gradient for better mobile readability (center stack) */
    .overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.9) 80%);
    }

    .hero-content {
        align-items: center;
        text-align: center;
        padding: 0 5%;
        padding-top: 2rem;
    }

    .top-label {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 4rem);
        margin-bottom: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .btn {
        width: 100%;
    }
}

/* --- Featured Inventory Section --- */

.featured-inventory {
    background-color: #000000;
    padding: 6rem 6%;
    width: 100%;
}

.inventory-container {
    max-width: 1400px;
    margin: 0 auto;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.header-left {
    max-width: 700px;
}

.inventory-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.title-white {
    color: #ffffff;
}

.title-grey {
    color: #666666;
}

.inventory-subtitle {
    font-family: var(--font-body);
    color: #999999;
    font-size: 1.05rem;
    line-height: 1.6;
}

.header-right {
    padding-bottom: 0.5rem;
}

.view-all-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.view-all-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.view-all-link:hover::after {
    transform: scaleX(1);
}

.view-all-link:hover {
    color: #cccccc;
}

/* Grid Layout */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Car Card styling */
.car-card {
    background-color: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border: 1px solid #1a1a1a;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05);
    border-color: #333333;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #777777;
    margin-bottom: 0.8rem;
}

.car-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.car-price {
    font-size: 1.05rem;
    font-weight: 500;
    color: #a0a0a0;
    margin-top: auto;
}

/* Special Card Overlay */
.special-card .card-image-wrapper .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: var(--transition-smooth);
}

.special-card:hover .card-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.btn-view-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    background-color: #ffffff;
    color: #000000;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 2;
    opacity: 0;
    transition: var(--transition-smooth);
}

.special-card:hover .btn-view-details {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.btn-view-details:hover {
    background-color: #dcdcdc;
    transform: translate(-50%, -50%) translateY(0) scale(1.05);
}

/* Scroll Animation */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness for Featured Inventory */
@media screen and (max-width: 1024px) {
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .featured-inventory {
        padding: 4rem 5%;
    }

    .inventory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

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

    .inventory-title {
        font-size: 2.2rem;
    }

    .inventory-subtitle {
        font-size: 1rem;
    }
}

/* --- Process Section (How It Works) --- */

.process-section {
    background-color: #000000;
    padding: 8rem 6%;
    width: 100%;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-header {
    margin-bottom: 5rem;
    text-align: left;
}

.process-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #666666;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
}

.process-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding-top: 2rem;
}

.process-step {
    position: relative;
}

.step-number {
    position: absolute;
    top: -4rem;
    left: -0.5rem;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    z-index: 0;
    line-height: 1;
    letter-spacing: -3px;
    user-select: none;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.step-desc {
    font-size: 0.95rem;
    color: #888888;
    line-height: 1.6;
    max-width: 90%;
}

/* Connecting Line */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 90%;
    width: calc(10% + 2rem);
    height: 1px;
    background-color: #222222;
}

/* Mobile Responsiveness for Process Section */
@media screen and (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 2rem;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .process-section {
        padding: 5rem 5%;
    }

    .process-header {
        margin-bottom: 4rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }

    .step-number {
        font-size: 7rem;
        top: -3.5rem;
    }
}

/* --- Testimonials Section --- */

.testimonials-section {
    background-color: #000000;
    padding: 8rem 6%;
    width: 100%;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

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

.testimonial-card {
    background-color: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.03);
    border-color: #2a2a2a;
}

.stars {
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-bottom: 1.8rem;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #999999;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.testimonial-author {
    margin-top: auto;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.author-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555555;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Mobile Responsiveness for Testimonials Section */
@media screen and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .testimonials-section {
        padding: 5rem 5%;
    }

    .testimonials-header {
        margin-bottom: 4rem;
    }

    .testimonials-title {
        font-size: 2.2rem;
    }

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

    .testimonial-card {
        padding: 2rem;
    }
}

/* --- The Excellence Standard Section --- */

.excellence-section {
    background-color: #000000;
    padding: 8rem 6%;
    width: 100%;
}

.excellence-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.excellence-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 5rem;
}

.excellence-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.excellence-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #a3a3a3;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.8rem;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.08);
}

.dark-bg {
    background-color: #111111;
    color: #ffffff;
    border: 1px solid #222222;
}

.white-bg {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.feature-desc {
    font-size: 0.95rem;
    color: #999999;
    line-height: 1.6;
}

/* Mobile Responsiveness for Excellence Section */
@media screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media screen and (max-width: 768px) {
    .excellence-section {
        padding: 5rem 5%;
    }

    .excellence-title {
        font-size: 2.3rem;
    }

    .excellence-subtitle {
        font-size: 1rem;
    }

    .excellence-header {
        margin-bottom: 3.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-item {
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .feature-icon {
        margin-bottom: 1.2rem;
    }
}

/* --- CTA Section --- */

.cta-section {
    background-color: #000000;
    padding: 6rem 6% 10rem 6%;
    width: 100%;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-gray-800) 0%, var(--color-gray-900) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 2;
}

.cta-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

@media screen and (max-width: 968px) {
    .cta-container {
        padding: 4rem 3rem;
        text-align: center;
    }

    .cta-content {
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
    }
}

/* --- Footer Section --- */


.footer-section {
    background-color: #000000;
    padding: 6rem 6% 3rem 6%;
    width: 100%;
    border-top: 1px solid #111111;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-text);
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.8;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 3rem;
    border-top: 1px solid #1a1a1a;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.85rem;
    color: #555555;
    text-align: center;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #555555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: #888888;
}

/* Mobile Responsiveness for Footer */
@media screen and (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        row-gap: 4rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .footer-section {
        padding: 5rem 5% 3rem 5%;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


@media screen and (max-width: 768px) {
    .cta-section {
        padding: 4rem 5% 6rem 5%;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1rem;
    }
}


/* ================================================================
   CAR ACTION SECTION — Find My Car / Sell My Car standalone block
   ================================================================ */

.car-action-section {
    background-color: #050505;
    padding: 7rem 6%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent blob */
.car-action-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.car-action-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

/* ── Section Header ── */
.car-action-header {
    text-align: center;
    max-width: 700px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #555555;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.car-action-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.car-action-subtitle {
    font-size: 1.05rem;
    color: #888888;
    line-height: 1.65;
}

/* ── Card Wrapper ── */
.action-card {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ── Tabs ── */
.action-tabs {
    display: flex;
    border-bottom: 1px solid #1a1a1a;
    background: #080808;
}

.action-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    color: #555555;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
}

.action-tab .tab-icon {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.action-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.action-tab:hover {
    color: #aaaaaa;
    background: rgba(255, 255, 255, 0.02);
}

.action-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.action-tab.active::after {
    transform: scaleX(1);
}

/* ── Panels ── */
.action-panel {
    display: none;
    padding: 2.5rem 3rem 2.8rem;
    animation: panelFadeIn 0.35s ease forwards;
}

.action-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.panel-intro {
    margin-bottom: 2rem;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.panel-desc {
    font-size: 0.92rem;
    color: #666666;
}

/* ── Form Grid ── */
.action-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

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

.action-form-group label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #555555;
    text-transform: uppercase;
}

/* Input wrapper with icon */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.9rem;
    color: #444444;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

.action-form-group input,
.action-form-group select {
    width: 100%;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.action-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.4rem;
}

.action-form-group select option {
    background-color: #111111;
    color: #ffffff;
}

.action-form-group input::placeholder {
    color: #3a3a3a;
}

.action-form-group input:focus,
.action-form-group select:focus {
    border-color: #3a3a3a;
    background: #161616;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

/* ── Form Footer ── */
.action-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-note {
    font-size: 0.78rem;
    color: #444444;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

/* ── Submit Buttons ── */
.action-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.find-btn {
    background: #ffffff;
    color: #000000;
}

.find-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.12);
}

.sell-btn {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #333333;
}

.sell-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.action-submit-btn:active {
    transform: translateY(0) !important;
}

/* ── Stats Bar ── */
.action-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 2rem 3rem;
    width: 100%;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555555;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #1e1e1e;
    flex-shrink: 0;
    margin: 0 1rem;
}

/* ── Responsive — Tablet ── */
@media screen and (max-width: 1024px) {
    .action-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Responsive — Mobile ── */
@media screen and (max-width: 768px) {
    .car-action-section {
        padding: 5rem 5%;
    }

    .action-panel {
        padding: 2rem 1.5rem;
    }

    .action-tab {
        font-size: 0.82rem;
        padding: 1rem 0.8rem;
        gap: 0.4rem;
    }

    .action-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .action-submit-btn {
        justify-content: center;
        width: 100%;
    }

    .action-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
        margin: 0;
    }
}

/* ── Budget Range — Min → Max inputs with ₹ prefix ── */

/* Span full width across the grid column */
.budget-range-group {
    grid-column: span 1;
}

/* Side-by-side min + arrow + max */
.budget-range-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.budget-range-wrapper .budget-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

.budget-currency {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
    user-select: none;
}

.budget-range-wrapper .budget-input-wrapper input {
    width: 100%;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 0.8rem 0.7rem 0.8rem 1.85rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.budget-range-wrapper .budget-input-wrapper input::placeholder {
    color: #3a3a3a;
}

.budget-range-wrapper .budget-input-wrapper input:focus {
    border-color: #3a3a3a;
    background: #161616;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.budget-arrow {
    color: #444444;
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

/* Mobile: stack vertically */
@media screen and (max-width: 480px) {
    .budget-range-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .budget-arrow {
        text-align: center;
        transform: rotate(90deg);
    }
}

/* ── Searchable Dropdown List ── */
.custom-select-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

.custom-select-list li {
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.custom-select-list li:hover {
    background: #1d1d1d;
}

.custom-select-list li.empty-msg {
    color: #666666;
    cursor: default;
}

.custom-select-list li.empty-msg:hover {
    background: transparent;
}

/* Custom Scrollbar for Dropdown */
.custom-select-list::-webkit-scrollbar {
    width: 6px;
}

.custom-select-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-select-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* ── Custom File Upload Button ── */
.file-upload-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #111111;
    border: 1px dashed #444444;
    border-radius: 12px;
    padding: 0.8rem;
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.88rem;
}

.file-upload-btn:hover {
    border-color: #666666;
    background: #161616;
    color: #ffffff;
}

.file-upload-btn.has-files {
    border: 1px solid #333333;
    border-style: solid;
    color: #ffffff;
    background: #181818;
}

.file-upload-btn svg {
    flex-shrink: 0;
}

/* ── Mobile Form Grid Responsiveness ── */
@media screen and (max-width: 1024px) {
    .action-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .action-form-group[style*="grid-column: span 2;"] {
        grid-column: span 2 !important; /* Keep full width on tablet */
    }
}

@media screen and (max-width: 480px) {
    .action-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-form-group[style*="grid-column: span 2;"] {
        grid-column: span 1 !important; /* Prevent blowout on 1-column mobile grid */
    }
}