/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --text: #555;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #e74c3c, #c0392b);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar span,
.top-bar a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary);
}

.top-bar i {
    color: var(--primary);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

.logo i {
    color: var(--primary);
    font-size: 30px;
}

.logo strong {
    color: var(--primary);
}

/* Navigation */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary);
    background: rgba(231, 76, 60, 0.08);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    flex-direction: column !important;
    z-index: 100;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 12px 20px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px !important;
}

.dropdown-menu li a:hover {
    padding-left: 28px !important;
    background: rgba(231, 76, 60, 0.05) !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
}

.search-box input {
    padding: 10px 18px;
    border: none;
    background: transparent;
    font-size: 14px;
    width: 200px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.search-box button {
    padding: 10px 16px;
    background: var(--primary);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 20px;
    color: var(--secondary);
}

.cart-icon:hover {
    background: var(--light);
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide .container {
    width: 100%;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.slide-text {
    flex: 1;
    color: var(--white);
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.badge.green { background: #27ae60; }
.badge.red { background: #c0392b; }

.slide-text h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.slide-text h1 strong {
    color: var(--white);
    display: block;
}

.slide-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 480px;
}

.hero-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Vehicle Illustration */
.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vehicle-illustration {
    position: relative;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-body {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.cabin {
    position: absolute;
    left: 0;
    top: 30px;
    width: 100px;
    height: 90px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 10px 5px 5px 10px;
}

.electric-cabin {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

.passenger-cabin {
    background: linear-gradient(135deg, #3498db, #2980b9);
    width: 280px;
    border-radius: 15px;
}

.windshield {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 55px;
    height: 45px;
    background: rgba(133, 193, 233, 0.8);
    border-radius: 8px;
}

.door {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 50px;
    background: rgba(0,0,0,0.1);
    border-radius: 5px;
    border: 2px solid rgba(255,255,255,0.3);
}

.cargo-box {
    position: absolute;
    left: 105px;
    top: 50px;
    width: 200px;
    height: 70px;
    background: linear-gradient(135deg, #c0392b, #a93226);
    border-radius: 5px;
}

.electric-box {
    background: linear-gradient(135deg, #1e8449, #196f3d);
}

.cargo-stripes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(255,255,255,0.1) 5px,
        rgba(255,255,255,0.1) 10px
    );
    border-radius: 0 5px 5px 0;
}

.bolt-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    color: #f1c40f;
}

.window {
    position: absolute;
    top: 15px;
    width: 55px;
    height: 35px;
    background: rgba(133, 193, 233, 0.75);
    border-radius: 5px;
}

.window-1 { left: 80px; }
.window-2 { left: 150px; }

.wheels {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
}

.wheel {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #7f8c8d 30%, #2c3e50 30%);
    border-radius: 50%;
    border: 4px solid #1a252f;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel.front { left: 20px; }
.wheel.rear-left { left: 210px; }
.wheel.rear-right { left: 270px; }

.glow-effect {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 30px;
    background: rgba(231, 76, 60, 0.4);
    filter: blur(20px);
    border-radius: 50%;
}

.green-glow { background: rgba(39, 174, 96, 0.4); }
.red-glow { background: rgba(192, 57, 43, 0.4); }

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev-btn, .next-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--gradient);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 40px;
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 4px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header h2 strong {
    color: var(--primary);
}

.section-header p {
    font-size: 16px;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

/* ============================================
   VEHICLES SECTION
   ============================================ */
.vehicles-section {
    padding: 100px 0;
    background: var(--light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border-radius: 50px;
    border: 2px solid #ddd;
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.vehicle-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.card-badge.new { background: #27ae60; }
.card-badge.offer { background: var(--primary); }

.card-image {
    position: relative;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    padding: 20px;
    height: 200px;
    overflow: hidden;
}

.vehicle-svg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-svg svg {
    width: 100%;
    height: 160px;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-svg svg {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover .card-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: white;
    color: var(--secondary);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.vehicle-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary);
    color: white;
}

.card-info {
    padding: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-tag.cargo { background: rgba(231, 76, 60, 0.1); color: var(--primary); }
.category-tag.electric { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.category-tag.passenger { background: rgba(52, 152, 219, 0.1); color: #3498db; }

.rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: var(--accent);
}

.rating span {
    color: var(--text);
    margin-left: 4px;
    font-size: 11px;
}

.card-info h3 {
    font-size: 18px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

.card-info p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
}

.card-specs span {
    font-size: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-specs span i {
    color: var(--primary);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.price {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.sale-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-wishlist {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: var(--transition);
    font-size: 14px;
}

.btn-wishlist:hover,
.btn-wishlist.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(231, 76, 60, 0.05);
}

.btn-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    transform: translateY(-8px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.15) rotate(5deg);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ============================================
   SPARE PARTS
   ============================================ */
.spare-parts {
    padding: 100px 0;
    background: var(--white);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.part-card {
    padding: 35px 25px;
    text-align: center;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.part-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.1);
    transform: translateY(-5px);
}

.part-icon {
    width: 70px;
    height: 70px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.part-card:hover .part-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.part-card h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.part-card span {
    font-size: 13px;
    color: var(--text);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--light);
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    min-width: calc(50% - 15px);
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 12px;
    color: var(--text);
    display: block;
    margin-bottom: 5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-controls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
}

.testimonial-controls button:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-item {
    padding: 35px 25px;
    border-radius: 16px;
    background: var(--light);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-item:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-number {
    font-size: 55px;
    font-weight: 900;
    color: rgba(231, 76, 60, 0.08);
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
}

.service-item i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 18px;
    display: block;
    transition: var(--transition);
}

.service-item:hover i {
    transform: scale(1.2) rotate(-5deg);
}

.service-item h3 {
    font-size: 18px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-item p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 14px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    background: var(--gradient);
    padding: 70px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 32px;
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-text h2 strong {
    color: rgba(255,255,255,0.9);
}

.newsletter-text p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    min-width: 400px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 16px 25px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form .btn {
    border-radius: 0;
    background: var(--secondary);
    box-shadow: none;
    white-space: nowrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
}

.contact-item h4 {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--secondary);
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-logo i {
    color: var(--primary);
    font-size: 28px;
}

.footer-logo strong {
    color: var(--primary);
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 26px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: var(--secondary);
    color: white;
}

.cart-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h3 span {
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.cart-header button:hover {
    color: var(--primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: var(--light);
    margin-bottom: 12px;
    transition: var(--transition);
}

.cart-item:hover {
    background: rgba(231, 76, 60, 0.05);
}

.cart-item-img {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-info span {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.remove-item:hover {
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.cart-total strong {
    font-size: 22px;
    color: var(--primary);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 750px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 20px;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image {
    background: var(--light);
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-info {
    padding: 35px;
}

.modal-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0;
}

.modal-info p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
}

.spec {
    font-size: 14px;
    color: var(--text);
}

.spec strong {
    color: var(--secondary);
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--secondary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 4000;
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast i {
    color: #27ae60;
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-text h1 {
        font-size: 42px;
    }
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: 5px 0 30px rgba(0,0,0,0.2);
        transition: left 0.4s ease;
        z-index: 2000;
        padding: 80px 20px 30px;
        overflow-y: auto;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        padding: 14px 10px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        border-radius: 8px;
        margin-top: 5px;
    }

    .hamburger {
        display: flex;
    }

    .search-box {
        display: none;
    }

    .hero {
        height: auto;
        padding: 60px 0;
    }

    .slide-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .slide-text p,
    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .slide-text h1 {
        font-size: 34px;
    }

    .vehicle-illustration {
        width: 280px;
        height: 200px;
    }

    .testimonial-card {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .vehicles-grid,
    .why-grid,
    .parts-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .top-bar-left span:last-child,
    .top-bar-right span {
        display: none;
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-form {
        min-width: unset;
        width: 100%;
        flex-direction: column;
        border-radius: 12px;
    }

    .newsletter-form .btn {
        border-radius: 0 0 12px 12px;
    }

    .newsletter-form input {
        border-radius: 12px 12px 0 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image {
        border-radius: 20px 20px 0 0;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .slide-text h1 {
        font-size: 28px;
    }
}