/* ============================================
   CSS Variables for Design System
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary: #32D34B;
    --color-primary-dark: #28B845;
    --color-primary-light: #E8FFEC;
    --color-primary-lighter: #D4F5DB;
    --color-primary-bg: #E5FFE9;
    
    /* Text Colors */
    --color-text-primary: #000000;
    --color-text-secondary: #242424;
    --color-text-tertiary: #1A202C;
    --color-text-quaternary: #3E3E3E;
    --color-text-muted: #6C757D;
    --color-text-light: #838383;
    --color-text-lighter: #B6B6B6;
    --color-text-placeholder: #ACACAC;
    --color-text-white: #FFFFFF;
    --color-text-dark-gray: #222222;
    
    /* Background Colors */
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-lighter: #E9ECEF;
    --color-bg-gray: #F0F0F0;
    --color-bg-icon: #e2f9e5;
    --color-border-light: #E0E0E0;
    
    /* Accent Colors */
    --color-accent-yellow: #FFD700;
    --color-accent-orange: #FFA500;
    --color-accent-red: #FF6B6B;
    --color-accent-green-light: #88ca91;
    
    /* Button Sizes */
    --btn-height-small: 40px;
    --btn-height-medium: 48px;
    --btn-height-large: 78px;
    --btn-padding-small: 0.4rem 0.75rem;
    --btn-padding-medium: 0.75rem 1.5rem;
    --btn-padding-large: 1rem 2.5rem;
    
    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --radius-xl: 24px;
    --radius-xxl: 30px;
    --radius-round: 50px;
    --radius-circle: 100px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Font Sizes */
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-xxl: 22px;
    --font-size-xxxl: 24px;
    --font-size-display-sm: 32px;
    --font-size-display-md: 38px;
    --font-size-display-lg: 48px;
    --font-size-display-xl: 52px;
    --font-size-display-xxl: 64px;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 6px 12px rgba(19, 94, 172, 0.12);
    --shadow-xl: 0 12px 40px rgba(50, 211, 75, 0.25);
    --shadow-primary: 0 4px 15px rgba(50, 211, 75, 0.15);
}

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

body {
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    background-image: url('../images/bg-hero.png');
    background-repeat: no-repeat;
    background-position: right top;
    color: var(--color-text-primary);
}

/* ============================================
   Header Section
   ============================================ */
#header #logo p {
    font-family: "Poppins", sans-serif;
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-display-md);
}

#header .navbar-nav a {
    font-family: Poppins;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-md);
    color: var(--color-text-muted);
}

#header .navbar-nav li:nth-child(6) a {
    background-color: var(--color-primary);
    border-radius: var(--radius-small);
    color: var(--color-text-white) !important;
}

/* ============================================
   Hero Section
   ============================================ */
#hero #hero-text {
    padding-top: 90px;
    padding-left: 130px;
}

#hero #hero-text p:first-of-type {
    font-family: "Poppins", sans-serif;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-display-lg);
    color: var(--color-text-secondary);
    line-height: 57.6px;
}

#hero #hero-text p:first-of-type span {
    color: var(--color-primary);
}

#hero #hero-text p:last-of-type {
    font-family: "Poppins", sans-serif;
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-xxxl);
    line-height: 36px;
}

#hero .hero-image {
    height: 474px;
    width: 850px;
    margin-left: 10px;
    transform: scaleX(-1);
}

#hero #hero-search-form {
    margin-top: 130px;
}

#hero #hero-search-form p {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-md);
    color: var(--color-text-quaternary);
}

#hero #hero-search-form p span {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    color: var(--color-text-lighter);
}

.vertical-line {
    margin-top: 5px;
    height: 40px;
    background-color: var(--color-text-placeholder);
    display: inline-block;
}

#hero #hero-search-form button {
    width: 159px;
    height: var(--btn-height-medium);
    border-radius: var(--radius-small);
    background-color: var(--color-primary);
    border-color: transparent;
    color: var(--color-text-white);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-md);
}

#hero #hero-search-form .row {
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   How It Works Section
   ============================================ */
#how-it-works {
    position: relative;
}

#how-it-works .section-title p:first-of-type {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-display-lg);
    color: var(--color-text-primary);
    text-align: center;
}

#how-it-works .section-title p:last-of-type {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-lg);
    text-align: center;
    color: var(--color-text-tertiary);
}

#how-it-works .col-lg-4 {
    text-align: center;
}

#how-it-works .col-lg-4 p:first-of-type {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xxxl);
    color: var(--color-text-primary);
}

#how-it-works .col-lg-4 p:last-of-type {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    line-height: 24.5px;
}

#how-it-works .col-lg-4 .feature-icon-wrapper {
    margin: auto;
    background-color: var(--color-bg-icon);
    height: 90px;
    width: 90px;
    border-radius: var(--radius-xxl);
}

#how-it-works .col-lg-4 .feature-icon-wrapper i {
    padding-top: 22px;
    color: var(--color-primary);
    font-size: 45px;
}

/* ============================================
   Vehicle Deals Section
   ============================================ */
#vehicle-deals {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

#vehicle-deals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

#vehicle-deals .section-title {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

#vehicle-deals .section-title p:first-of-type {
    color: var(--color-text-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-display-xl);
    text-align: center;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#vehicle-deals .section-title p:last-of-type {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

#vehicle-deals .vehicle-row {
    margin: 0 -12px;
    position: relative;
    z-index: 1;
}

#vehicle-deals .vehicle-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-large);
    border: none;
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

#vehicle-deals .vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

#vehicle-deals .vehicle-card-header {
    margin-bottom: 1.25rem;
}

#vehicle-deals .rating-badge {
    display: inline-flex;
    align-items: center;
    background: var(--color-accent-orange);
    padding: var(--btn-padding-small);
    border-radius: var(--radius-large);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    color: var(--color-text-white);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    margin-right: 0.75rem;
}

#vehicle-deals .rating-badge i {
    font-size: 12px;
    margin-right: 0.35rem;
    color: var(--color-text-white);
}

#vehicle-deals .rating-badge span {
    font-weight: var(--font-weight-bold);
}

#vehicle-deals .status-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-lighter) 100%);
    color: var(--color-primary);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-large);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xs);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(50, 211, 75, 0.2);
}

#vehicle-deals .heart-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-bg-gray);
    border-radius: var(--radius-circle);
    width: var(--btn-height-small);
    height: var(--btn-height-small);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

#vehicle-deals .heart-btn i {
    font-size: 18px;
    color: var(--color-accent-red);
    transition: all 0.3s ease;
}

#vehicle-deals .vehicle-card-body {
    padding: 0.75rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#vehicle-deals .vehicle-image-wrapper {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-lighter) 100%);
    border-radius: var(--radius-medium);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#vehicle-deals .vehicle-card:hover .vehicle-image-wrapper {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-lighter) 100%);
    box-shadow: var(--shadow-primary);
}

#vehicle-deals .vehicle-image {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    background: transparent;
}

#vehicle-deals .vehicle-card:hover .vehicle-image {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

#vehicle-deals .vehicle-name {
    font-weight: var(--font-weight-semibold);
    font-size: 17px;
    color: var(--color-text-primary);
    line-height: 1.5;
    letter-spacing: -0.2px;
}

#vehicle-deals .price-wrapper {
    text-align: right;
}

#vehicle-deals .price-amount {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xxl);
    color: var(--color-primary);
}

#vehicle-deals .price-unit {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    opacity: 0.8;
}

#vehicle-deals .horizontal-line {
    width: 100%;
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-light) 50%, transparent 100%);
}

#vehicle-deals .vehicle-card-footer {
    padding-top: var(--spacing-md);
}

#vehicle-deals .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

#vehicle-deals .feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-lighter) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

#vehicle-deals .vehicle-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-lighter) 100%);
    transform: translateY(-2px);
}

#vehicle-deals .feature-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

#vehicle-deals .feature-item span {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    line-height: 1.3;
}

#vehicle-deals .btn-show-more {
    background: var(--color-bg-white);
    border: 2px solid var(--color-bg-white);
    border-radius: var(--radius-round);
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    padding: var(--btn-padding-large);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#vehicle-deals .btn-show-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(50, 211, 75, 0.1), transparent);
    transition: left 0.5s ease;
}

#vehicle-deals .btn-show-more:hover::before {
    left: 100%;
}

#vehicle-deals .btn-show-more:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(50, 211, 75, 0.4);
}

#vehicle-deals .btn-show-more i {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

#vehicle-deals .btn-show-more:hover i {
    transform: translateX(5px);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
#why-choose-us .section-left {
    background-image: url('../images/Group\ 47.png');
    background-repeat: no-repeat;
    background-size: contain;
}

#why-choose-us .section-title p:first-of-type {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-display-lg);
    text-align: center;
}

#why-choose-us .section-title p:last-of-type {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-lg);
    line-height: 27px;
    text-align: center;
}

#why-choose-us .features-list li {
    margin-bottom: var(--spacing-xl);
}

#why-choose-us .features-list li:last-child {
    margin-bottom: 0;
}

#why-choose-us .features-list li p:first-of-type {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xxl);
    color: var(--color-text-primary);
    line-height: 32px;
    margin-bottom: 4px;
}

#why-choose-us .features-list li p:last-of-type {
    font-weight: var(--font-weight-normal);
    font-size: 15px;
    line-height: 22px;
    color: var(--color-text-muted);
}

#why-choose-us .features-list li img {
    height: 64px;
    width: 64px;
}

/* ============================================
   Testimonials Section
   ============================================ */
#testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%);
    position: relative;
    padding: 80px 0 !important;
}

.testimonials-wrapper::before {
    content: '"';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 200px;
    font-family: 'Georgia', serif;
    color: rgba(50, 211, 75, 0.15);
    font-weight: bold;
    line-height: 1;
    z-index: 0;
}

.testimonials-wrapper::after {
    content: '"';
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 200px;
    font-family: 'Georgia', serif;
    color: rgba(50, 211, 75, 0.15);
    font-weight: bold;
    line-height: 1;
    z-index: 0;
}

.testimonials-header {
    position: relative;
    z-index: 1;
    margin-bottom: 60px !important;
}

.testimonials-title {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-display-lg);
    color: var(--color-text-dark-gray);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonials-subtitle {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-lg);
    color: var(--color-text-dark-gray);
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-carousel {
    position: relative;
    z-index: 1;
    padding: 0 60px;
}

.testimonial-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.testimonial-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.testimonial-body {
    padding: 40px 50px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.testimonial-rating {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.rating-number {
    font-weight: var(--font-weight-bold);
    font-size: 48px;
    color: var(--color-text-dark-gray);
    line-height: 1;
}

.rating-text {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xl);
    color: var(--color-text-dark-gray);
    text-transform: lowercase;
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
}

.testimonial-stars i {
    color: #FFD700;
    font-size: 20px;
}

.testimonial-text {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--color-text-dark-gray);
    margin-bottom: 30px;
}

.testimonial-name {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--color-text-dark-gray);
    margin-bottom: 8px;
}

.testimonial-location {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: 0;
}

.testimonials-indicators {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.testimonials-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D3D3D3;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    text-indent: 0;
    opacity: 1;
}

.testimonials-indicators li.active {
    width: 40px;
    height: 8px;
    border-radius: 20px;
    background-color: var(--color-primary);
    border: none;
}

.testimonials-indicators li:hover {
    background-color: var(--color-primary);
    opacity: 0.7;
}

.testimonials-indicators li.active:hover {
    background-color: var(--color-primary);
    opacity: 1;
}

/* Carousel showing multiple cards */
.testimonials-carousel .carousel-inner {
    overflow: visible;
    display: flex;
    align-items: center;
}

.testimonials-carousel .carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.testimonials-carousel .carousel-item:not(.active) {
    opacity: 0.4;
    transform: scale(0.85);
    pointer-events: none;
}

.testimonials-carousel .carousel-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.testimonial-card-wrapper {
    position: relative;
}

/* Hide default carousel controls */
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    display: none;
}
/* ============================================
   Team Section
   ============================================ */
#team {
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

#team::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(50, 211, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#team .section-title {
    position: relative;
    z-index: 1;
}

#team .section-title p:first-of-type {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-display-xl);
    color: var(--color-text-dark-gray);
    line-height: 1.2;
    margin-bottom: 0;
}

#team .section-subtitle {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: 1rem !important;
    max-width: 500px;
}

#team .btn-join-team {
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    border-radius: var(--radius-round);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-md);
    color: var(--color-text-white);
    padding: 0 var(--spacing-xxl);
    box-shadow: var(--shadow-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

#team .btn-join-team::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#team .btn-join-team:hover::before {
    width: 300px;
    height: 300px;
}

#team .btn-join-team:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(50, 211, 75, 0.4);
}

#team .btn-join-team i {
    font-size: var(--font-size-md);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

#team .btn-join-team:hover i {
    transform: translateX(6px);
}

#team .team-grid {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

#team .team-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}


#team .team-card:hover::before {
    transform: scaleX(1);
}

#team .team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(50, 211, 75, 0.2);
}

#team .team-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-lighter) 100%);
}

#team .team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(20%);
}

#team .team-card:hover .team-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

#team .team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(50, 211, 75, 0.9) 0%, rgba(40, 184, 69, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#team .team-card:hover .team-overlay {
    opacity: 1;
}

#team .team-social-links {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

#team .team-card:hover .team-social-links {
    transform: translateY(0);
}

#team .social-link {
    width: 50px;
    height: 50px;
    background: var(--color-bg-white);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#team .social-link:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(50, 211, 75, 0.4);
}

#team .social-link i {
    font-size: 18px;
}

#team .team-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    padding: 8px 16px;
    border-radius: var(--radius-round);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(50, 211, 75, 0.3);
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

#team .team-card:hover .team-badge {
    opacity: 1;
    transform: translateY(0);
}

#team .team-member-info {
    padding: var(--spacing-lg);
    background: var(--color-bg-white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#team .team-name {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xxl);
    color: var(--color-text-dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

#team .team-card:hover .team-name {
    color: var(--color-primary);
}

#team .team-role {
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-md);
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   Download App Section
   ============================================ */
#download-app {
    margin: 160px 0 !important;
}

#download-app .container {
    background-color: var(--color-primary-bg);
    border-radius: var(--radius-large);
    padding: 80px 70px;
}

#download-app img {
    width: 174.87px;
}

#download-app button {
    border-radius: var(--radius-small);
    background-color: var(--color-primary);
    border-color: transparent;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    color: var(--color-text-white);
}

#download-app p:first-of-type {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-display-lg);
    line-height: 57.6px;
}

#download-app p:first-of-type span {
    color: var(--color-primary);
}

#download-app .section-right img {
    position: absolute;
    margin-top: -170px;
    left: 936px;
    width: 520px;
    height: 662px;
}

/* ============================================
   Footer Section
   ============================================ */
#footer {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

#footer .footer-left p:first-of-type {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-display-sm);
    font-family: "Plus Jakarta Sans", sans-serif;
}

#footer .footer-left p:last-of-type {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-md);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 24px;
}

#footer .footer-left .social a {
    margin-right: 15px;
}

#footer .footer-left a i {
    border-radius: var(--radius-circle);
    background-color: var(--color-text-white);
    padding: 12px;
}

#footer .footer-line {
    border: none;
    height: 1.5px;
    width: 1800px;
    background-color: var(--color-text-white);
    margin: 20px 0;
    margin-left: -210px;
}

#footer .footer-right p {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xl);
}

#footer .footer-right ul li {
    margin-bottom: 18px;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
}
/* ============================================
   Brands Section (within How It Works)
   ============================================ */
#curveCanvas1 {
    position: absolute;
    top: 180px;
    left: 365px;
    z-index: 0;
}

#curveCanvas2 {
    position: absolute;
    top: 180px;
    left: 965px;
    z-index: 0;
}

.brands-container {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-white) 100%);
    padding: var(--spacing-xxl) 0;
    margin-top: 4rem;
    position: relative;
}

.brands-container::before,
.brands-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light), transparent);
}

.brands-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light), transparent);
}

.brands-wrapper {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

.brands-slider {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-shrink: 0;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--color-bg-white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    min-width: 140px;
    height: 80px;
}

.brand-logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(50, 211, 75, 0.15);
}

.brand-logo-item img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ============================================
   Responsive Media Queries
   ============================================ */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    /* Header */
    #header #logo p {
        font-size: 32px;
    }

    #header .navbar-nav a {
        font-size: 14px;
        padding: 0.5rem 0.75rem;
    }

    /* Hero Section */
    #hero #hero-text {
        padding-top: 60px;
        padding-left: 40px;
        padding-right: 20px;
    }

    #hero #hero-text p:first-of-type {
        font-size: 36px;
        line-height: 44px;
    }

    #hero #hero-text p:last-of-type {
        font-size: 20px;
    }

    #hero .hero-image {
        height: 350px;
        width: 100%;
        max-width: 600px;
        margin-left: 0;
    }

    #hero #hero-search-form {
        margin-top: 80px;
    }

    #hero #hero-search-form .row {
        flex-wrap: wrap;
        padding: 1.5rem;
    }

    #hero #hero-search-form .row > div {
        margin-bottom: 1rem;
    }

    .vertical-line {
        display: none;
    }

    /* How It Works */
    #how-it-works .section-title p:first-of-type {
        font-size: 36px;
    }

    #how-it-works .section-title p:last-of-type {
        font-size: 16px;
    }

    #curveCanvas1,
    #curveCanvas2 {
        display: none;
    }

    /* Vehicle Deals */
    #vehicle-deals .section-title p:first-of-type {
        font-size: 40px;
    }

    #vehicle-deals .section-title p:last-of-type {
        font-size: 16px;
    }

    /* Why Choose Us */
    #why-choose-us .section-left img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }

    #why-choose-us .features-list {
        padding-left: 40px !important;
    }

    /* Override inline styles for responsive */
    #hero-search-form .row .fa-solid {
        font-size: 24px !important;
    }

    /* Testimonials */
    .testimonials-wrapper {
        padding: 60px 0 !important;
    }

    .testimonials-title {
        font-size: 36px;
    }

    .testimonials-subtitle {
        font-size: 16px;
    }

    .testimonials-carousel {
        padding: 0 20px;
    }

    .testimonial-card {
        max-width: 100%;
    }

    .testimonial-body {
        padding: 30px 35px !important;
    }

    .rating-number {
        font-size: 40px;
    }

    .rating-text {
        font-size: 18px;
    }

    /* Team */
    #team .section-title {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #team .section-title p:first-of-type {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 1rem;
    }

    #team .section-subtitle {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    #team .btn-join-team {
        margin-top: 0;
        margin-left: 0;
        height: 55px;
        font-size: 15px;
        padding: 0 var(--spacing-xl);
        width: 100%;
        max-width: 300px;
    }

    #team .team-image-wrapper {
        aspect-ratio: 3 / 4;
    }

    /* Download App */
    #download-app {
        margin: 100px 0 !important;
    }

    #download-app .container {
        padding: 50px 40px;
    }

    #download-app p:first-of-type {
        font-size: 36px;
        line-height: 44px;
    }

    #download-app .section-right img {
        position: relative;
        margin-top: 20px;
        left: 0;
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* Footer */
    #footer .footer-line {
        width: 100%;
        margin-left: 0;
    }
}

/* Mobile Styles (up to 767px) */
@media screen and (max-width: 767px) {
    /* Header */
    #header #logo p {
        font-size: 24px;
    }

    #header .navbar-nav {
        text-align: center;
    }

    #header .navbar-nav a {
        font-size: 14px;
        padding: 0.5rem;
    }

    #header .navbar-nav li:nth-child(6) a,
    #header .navbar-nav li:nth-child(7) a {
        margin-top: 0.5rem;
    }

    /* Hero Section */
    #hero {
        margin-top: 20px !important;
    }

    #hero #hero-text {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    #hero #hero-text p:first-of-type {
        font-size: 28px;
        line-height: 36px;
    }

    #hero #hero-text p:last-of-type {
        font-size: 16px;
        line-height: 24px;
    }

    #hero #hero-text img {
        max-width: 140px;
        height: auto;
    }

    #hero .hero-image {
        height: auto;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    #hero #hero-search-form {
        margin-top: 40px;
    }

    #hero #hero-search-form .row {
        flex-direction: column;
        padding: 1.5rem 1rem;
        margin: 0 15px;
    }

    #hero #hero-search-form .row > div {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #hero #hero-search-form .row > div.d-flex {
        justify-content: flex-start;
    }

    .vertical-line {
        display: none;
    }

    #hero #hero-search-form button {
        width: 100%;
        margin-top: 0.5rem;
    }

    #hero #hero-search-form .row > div.d-flex p {
        font-size: 14px;
    }

    #hero #hero-search-form .row > div.d-flex p span {
        font-size: 12px;
    }

    /* How It Works */
    #how-it-works {
        margin-top: 40px !important;
    }

    #how-it-works .section-title p:first-of-type {
        font-size: 28px;
        padding: 0 20px;
    }

    #how-it-works .section-title p:last-of-type {
        font-size: 14px;
        padding: 0 20px;
    }

    #how-it-works .col-lg-4 {
        margin-bottom: 2rem;
    }

    #how-it-works .col-lg-4 .feature-icon-wrapper {
        height: 70px;
        width: 70px;
    }

    #how-it-works .col-lg-4 .feature-icon-wrapper i {
        font-size: 35px;
        padding-top: 18px;
    }

    #how-it-works .col-lg-4 p:first-of-type {
        font-size: 20px;
    }

    #how-it-works .col-lg-4 p:last-of-type {
        font-size: 13px;
        padding: 0 15px;
    }

    #curveCanvas1,
    #curveCanvas2 {
        display: none;
    }

    .brands-container {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .brand-logo-item {
        min-width: 100px;
        height: 60px;
        padding: 1rem;
    }

    /* Vehicle Deals */
    #vehicle-deals {
        margin-top: 40px !important;
        padding: 2rem 0;
    }

    #vehicle-deals .section-title {
        margin-bottom: 2rem;
        padding: 0 20px;
    }

    #vehicle-deals .section-title p:first-of-type {
        font-size: 28px;
        line-height: 36px;
    }

    #vehicle-deals .section-title p:last-of-type {
        font-size: 14px;
        padding: 0 20px;
    }

    #vehicle-deals .vehicle-row {
        margin: 0;
        padding: 0 15px;
    }

    #vehicle-deals .vehicle-card {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }

    #vehicle-deals .vehicle-image-wrapper {
        min-height: 150px;
        padding: 1rem;
    }

    #vehicle-deals .vehicle-image {
        max-height: 120px;
    }

    #vehicle-deals .vehicle-name {
        font-size: 16px;
    }

    #vehicle-deals .price-amount {
        font-size: 20px;
    }

    #vehicle-deals .btn-show-more {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 2rem;
        font-size: 14px;
    }

    /* Why Choose Us */
    #why-choose-us {
        margin-top: 40px !important;
    }

    #why-choose-us .section-title {
        padding: 0 20px;
    }

    #why-choose-us .section-title p:first-of-type {
        font-size: 28px;
    }

    #why-choose-us .section-title p:last-of-type {
        font-size: 14px;
        padding: 0 20px;
    }

    #why-choose-us .section-left {
        text-align: center;
        margin-bottom: 2rem;
    }

    #why-choose-us .section-left img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }

    #why-choose-us .features-list {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-top: 0 !important;
    }

    /* Override inline styles for mobile */
    #hero-search-form .row .fa-solid {
        font-size: 20px !important;
    }

    #hero-search-form .vertical-line {
        display: none !important;
    }

    #why-choose-us .features-list ul {
        margin-top: 0 !important;
        padding-left: 0;
    }

    #why-choose-us .features-list li {
        margin-bottom: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    #why-choose-us .features-list li > div:first-child {
        margin-bottom: 1rem;
    }

    #why-choose-us .features-list li .pl-4 {
        padding-left: 0 !important;
    }

    #why-choose-us .features-list li p:first-of-type {
        font-size: 18px;
        margin-bottom: 0.5rem;
    }

    #why-choose-us .features-list li p:last-of-type {
        font-size: 13px;
    }

    /* Testimonials */
    #testimonials {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }

    .testimonials-wrapper {
        padding: 50px 0 !important;
    }

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        font-size: 120px;
    }

    .testimonials-header {
        margin-bottom: 40px !important;
        padding: 0 20px;
    }

    .testimonials-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .testimonials-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    .testimonials-carousel {
        padding: 0 10px;
    }

    .testimonial-card-wrapper {
        padding: 10px;
    }

    .testimonial-card .row {
        flex-direction: column;
    }

    .testimonial-card .col-md-5,
    .testimonial-card .col-md-7 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .testimonial-img {
        width: 100%;
        height: 250px;
        min-height: 250px;
        object-fit: cover;
    }

    .testimonial-body {
        padding: 25px 20px !important;
    }

    .rating-number {
        font-size: 36px;
    }

    .rating-text {
        font-size: 16px;
    }

    .testimonial-stars i {
        font-size: 18px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .testimonial-name {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .testimonial-location {
        font-size: 13px;
    }

    .testimonials-indicators {
        margin-top: 30px;
        gap: 10px;
    }

    .testimonials-indicators li {
        width: 10px;
        height: 10px;
    }

    .testimonials-indicators li.active {
        width: 30px;
        height: 6px;
    }

    /* Team */
    #team {
        margin-top: 40px !important;
        padding: 2rem 0 !important;
    }

    #team .container {
        padding-top: 2rem !important;
    }

    #team .section-title {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 0 20px;
    }

    #team .section-title p:first-of-type {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 1rem;
    }

    #team .section-subtitle {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    #team .btn-join-team {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
        height: 50px;
        font-size: 14px;
        padding: 0 1.5rem;
    }

    #team .team-grid {
        padding: 0 15px;
        margin-top: 2rem !important;
    }

    #team .team-grid .col-lg-4,
    #team .team-grid .col-md-6,
    #team .team-grid .col-sm-12 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }

    #team .team-image-wrapper {
        aspect-ratio: 3 / 4;
    }

    #team .team-image {
        width: 100%;
        height: 100%;
    }

    #team .team-member-info {
        padding: var(--spacing-md);
    }

    #team .team-name {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }

    #team .team-role {
        font-size: 14px;
    }

    #team .social-link {
        width: 45px;
        height: 45px;
    }

    #team .social-link i {
        font-size: 16px;
    }

    /* Download App */
    #download-app {
        margin: 60px 0 !important;
    }

    #download-app .container {
        padding: 40px 20px;
    }

    #download-app .row {
        flex-direction: column;
    }

    #download-app .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        text-align: center;
    }

    #download-app button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    #download-app p:first-of-type {
        font-size: 28px;
        line-height: 36px;
    }

    #download-app p:last-of-type {
        font-size: 14px;
    }

    #download-app img {
        max-width: 140px;
        height: auto;
    }

    #download-app .section-right {
        margin-top: 2rem;
    }

    #download-app .section-right img {
        position: relative;
        margin-top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* Footer */
    #footer {
        margin-top: 40px !important;
        padding: 40px 20px 20px;
    }

    #footer .row {
        flex-direction: column;
    }

    #footer .footer-left,
    #footer .footer-right {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0 !important;
        margin-bottom: 2rem;
    }

    #footer .footer-left {
        text-align: center;
    }

    #footer .footer-left p:first-of-type {
        font-size: 24px;
    }

    #footer .footer-left p:last-of-type {
        font-size: 14px;
    }

    #footer .footer-left .social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    #footer .footer-left .social a {
        margin-right: 0 !important;
    }

    #footer .footer-right .row {
        flex-direction: column;
    }

    #footer .footer-right .col-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }

    #footer .footer-right p {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    #footer .footer-right ul li {
        font-size: 14px;
        margin-bottom: 0.75rem;
    }

    #footer .footer-line {
        width: 100%;
        margin: 20px 0;
        margin-left: 0;
    }

    #footer .row:last-child {
        flex-direction: column;
        text-align: center;
        padding-top: 1.5rem;
    }

    #footer .row:last-child .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1rem;
        padding-left: 0 !important;
    }

    #footer .row:last-child .col-6:first-child p {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    #footer .row:last-child .col-6:last-child {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: 0 !important;
    }

    #footer .row:last-child .col-6:last-child p {
        margin-bottom: 0.5rem;
        font-size: 14px;
        display: block;
    }

    #footer .row:last-child .col-6:last-child p:first-child {
        margin-right: 0;
    }

    /* Remove excessive spacing from inline styles on mobile */
    #footer .row:last-child .col-6:last-child p {
        white-space: normal;
    }

    /* Better spacing between Privacy and Terms on mobile */
    #footer .row:last-child .col-6:last-child.d-flex {
        gap: 1rem;
        justify-content: center;
    }
}

/* Small Mobile Styles (up to 480px) */
@media screen and (max-width: 480px) {
    #hero #hero-text p:first-of-type {
        font-size: 24px;
        line-height: 32px;
    }

    #hero #hero-text p:last-of-type {
        font-size: 14px;
    }

    #how-it-works .section-title p:first-of-type,
    #vehicle-deals .section-title p:first-of-type,
    #why-choose-us .section-title p:first-of-type,
    .testimonials-title,
    #team .section-title p:first-of-type,
    #download-app p:first-of-type {
        font-size: 24px;
        line-height: 32px;
    }

    #vehicle-deals .vehicle-card {
        padding: 0.875rem;
    }

    #vehicle-deals .vehicle-image-wrapper {
        min-height: 120px;
        padding: 0.75rem;
    }

    #vehicle-deals .vehicle-image {
        max-height: 100px;
    }

    .rating-number {
        font-size: 32px;
    }
}
  