/* Modern Homepage Styles - Enhanced Design */
/* Color Scheme: Primary #C92026, Secondary #8B0000, Accent #006400 */

/* CLS Optimization - Critical */
/* Prevent layout shifts by reserving space for all elements */

/* Force box-sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box !important;
}

/* Hero section - fixed height to prevent shifts */
.hero-modern {
    will-change: auto;
    contain: layout paint size;
}

.hero-bg,
.hero-img,
.hero-overlay,
.hero-content,
.hero-scroll,
.hero-title-lg,
.hero-subtitle-lg,
.hero-actions {
    will-change: auto;
}

/* Prevent font loading shifts */
.hero-title-lg,
.hero-subtitle-lg,
.section-title,
.section-subtitle,
.service-card h3,
.brand-name {
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reserve space for images to prevent CLS */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Core services section - prevent layout shifts */
.core-services {
    contain: layout paint size;
    min-height: 600px;
}

@media (max-width: 768px) {
    .core-services {
        min-height: 1200px !important;
    }
}

/* Service cards - fixed dimensions */
.service-card {
    contain: layout paint size;
    min-height: 300px;
}

@media (max-width: 768px) {
    .service-card {
        min-height: 280px !important;
    }
}

/* Section headers - reserve space */
.section-header {
    contain: layout paint size;
    min-height: 120px;
}

/* Prevent layout shifts from buttons loading */
.btn {
    min-width: 120px;
    min-height: 48px;
}

/* Hero actions - fixed height container */
.hero-actions {
    contain: layout paint size;
}

/* Prevent font size changes from causing shifts */
.hero-title-lg,
.hero-subtitle-lg {
    line-height: 1.2;
    overflow-wrap: break-word;
}

/* Reserve space for all grid items */
.services-grid,
.models-grid,
.brands-grid {
    contain: layout paint size;
}

/* CLS Optimization: Trust indicators hidden but with space reserved */
.trust-indicators {
    display: none !important;
}

/* Keep trust indicators section if we want to show it later */
.trust-indicators {
    min-height: 0;
    height: 0;
    overflow: hidden;
}

:root {
    --primary: #C92026;
    --primary-dark: #8B0000;
    --primary-light: #ff4757;
    --accent: #006400;
    --accent-light: #00a86b;
    --light: #F8F9FA;
    --dark: #1A1A2E;
    --dark-secondary: #16213E;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-600: #5a6268;
    --gray-700: #495057;
    --gold: #FFD700;
    --gradient-primary: linear-gradient(135deg, #C92026 0%, #8B0000 100%);
    --gradient-accent: linear-gradient(135deg, #006400 0%, #00a86b 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
}

/* Hero Section */
.hero-modern {
    position: relative;
    padding-top: 80px;
    min-height: 680px;
    height: 680px;
    max-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-dark);
    contain: layout paint size;
}

.hero-bg {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 600px;
    max-height: 600px;
    z-index: 0;
    overflow: hidden;
    contain: layout paint size;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
    contain: layout paint size;
    transform: none !important;
    animation: none !important;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 600px;
    max-height: 600px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 50%, rgba(201, 32, 38, 0.3) 100%);
    contain: layout paint size;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    min-height: 350px;
    height: 350px;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    contain: layout paint size;
}

.hero-title-lg {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    min-height: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
}

@keyframes shimmer {
    0%, 100% { background-position: -200% center; }
    50% { background-position: 200% center; }
}

.hero-subtitle-lg {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.6;
    min-height: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    min-height: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    contain: layout paint size;
}

.hero-scroll:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
    transform: translateX(-50%) scale(1.1);
}

/* Trust Indicators */
.trust-indicators {
    padding: 5rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.trust-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.trust-item {
    text-align: center;
    min-width: 180px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trust-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    display: block;
}

.trust-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.trust-item .trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Featured Models Section */
.featured-models {
    padding: 6rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-desc {
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Box */
.filter-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.filter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.filter-box .filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-box .filter-title i {
    color: var(--primary);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.filter-group label {
    display: block;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.filter-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-group select:hover {
    border-color: var(--primary-light);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(201, 32, 38, 0.1);
}

.filter-submit {
    display: flex;
    align-items: flex-end;
}

.filter-submit .btn {
    height: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Model Cards */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.model-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

.model-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.model-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.badge-bestseller {
    background: var(--accent);
}

.badge-electric {
    background: #3b82f6;
}

.model-info {
    padding: 1.75rem;
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.model-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.model-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.model-desc {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.model-specs {
    background: var(--light);
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.specs-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.specs-grid .spec-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.specs-grid .spec-item i {
    color: var(--accent);
    font-size: 0.7rem;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.model-tags .tag {
    background: var(--gray-200);
    color: var(--gray-700);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Buttons - Larger and More Prominent */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 32, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 32, 38, 0.5);
}

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

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 32, 38, 0.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-outline-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline-white:hover::before {
    width: 100%;
}

.btn-outline-white:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-xl {
    padding: 1.5rem 3.5rem;
    font-size: 1.35rem;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-xl:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

.btn-rounded {
    border-radius: 50px;
}

/* Export Services Section */
.export-services {
    padding: 6rem 0;
    background: var(--light);
}

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

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(201, 32, 38, 0.1) 0%, rgba(201, 32, 38, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

/* Shipping Solutions */
.shipping-solutions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.shipping-content {
    padding: 3rem;
}

.shipping-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.shipping-content > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.shipping-option {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.shipping-option-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 32, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shipping-option-icon i {
    color: var(--primary);
}

.shipping-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.shipping-option p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.shipping-image {
    height: 100%;
    min-height: 350px;
}

.shipping-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Advantages Section */
.advantages-section {
    padding: 5rem 0;
    background: #fff;
}

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

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.advantage-item {
    display: flex;
    gap: 1.5rem;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 32, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.advantage-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Market Share Chart */
.market-share {
    background: var(--light);
    border-radius: 12px;
    padding: 2rem;
}

.market-share h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.market-share > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.chart-bar {
    margin-bottom: 1.5rem;
}

.chart-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.chart-bar-header span:first-child {
    font-weight: 500;
    color: var(--gray-700);
}

.chart-bar-header span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.chart-bar-track {
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
    transition: width 1s ease;
}

.market-note {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.market-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--primary);
    color: #fff;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.testimonial-text {
    font-style: italic;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-stars {
    color: #fbbf24;
}

.testimonial-stars i {
    margin-right: 0.25rem;
}

/* Quote Section */
.quote-section {
    padding: 5rem 0;
    background: var(--light);
}

.quote-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.quote-form-side {
    padding: 3rem;
}

.quote-form-side h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.quote-form-side > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.quote-info-side {
    background: var(--primary);
    color: #fff;
    padding: 3rem;
}

.quote-info-side h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.why-choose-box {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.why-choose-box h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-choose-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-box li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.why-choose-box li i {
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Brands Section */
.brands-section {
    padding: 5rem 0;
    background: #fff;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.brand-card {
    background: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.brand-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.brand-count {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Section Action */
.section-action {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title-lg {
        font-size: 2.25rem;
    }
    
    .hero-subtitle-lg {
        font-size: 1.125rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .shipping-solutions {
        grid-template-columns: 1fr;
    }
    
    .shipping-image {
        height: 250px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title-lg {
        font-size: 2rem;
    }
    
    .hero-subtitle-lg {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-grid {
        gap: 2rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .shipping-solutions {
        grid-template-columns: 1fr;
    }
    
    .shipping-image {
        height: 200px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* ========================================
   Vehicle Archive Page Styles
   ======================================== */

.vehicle-archive {
    padding: 2rem 0 4rem;
}

.archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.filter-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.clear-filters {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
}

.clear-filters:hover {
    color: var(--primary);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--dark);
    background: #fff;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.apply-filters {
    margin-top: 1rem;
}

.vehicles-main {
    min-width: 0;
}

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

.archive-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.results-count {
    color: var(--gray-600);
    margin: 0.5rem 0 0;
}

.sort-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-section label {
    font-weight: 500;
    color: var(--gray-600);
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 180px;
}

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

.vehicle-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.vehicle-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.vehicle-image .badge {
    position: absolute;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-featured {
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: #fff;
}

.badge-stock {
    top: 0.75rem;
    right: 0.75rem;
    font-weight: 700;
}

.badge-stock.in-stock {
    background: #047857;
    color: #ffffff;
    font-weight: 700;
}

.badge-stock.limited {
    background: #d97706;
    color: #ffffff;
    font-weight: 700;
}

.badge-stock.out-of-stock {
    background: #dc2626;
    color: #ffffff;
    font-weight: 700;
}

.vehicle-actions {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

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

.vehicle-content {
    padding: 1.25rem;
}

.vehicle-brand {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.vehicle-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.vehicle-title a {
    color: var(--dark);
    text-decoration: none;
}

.vehicle-title a:hover {
    color: var(--primary);
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vehicle-specs .spec-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.vehicle-specs .spec-item svg {
    color: var(--primary);
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.vehicle-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.vehicle-price .price-contact {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.vehicle-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a {
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--gray-300);
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .archive-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   Section Background Colors - Different Colors for Each Section
   ======================================== */

/* Core Services Section - Light Gray Gradient */
.featured-models {
    background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%);
    padding: 5rem 0;
}

/* Shipping Solutions Section - White Background */
.shipping-solutions {
    background: #FFFFFF;
}

/* Tech Advantages Section - Light Green Gradient */
.tech-advantages {
    background: linear-gradient(180deg, #F0FDF4 0%, #DCFCE7 100%);
    padding: 5rem 0;
}

/* Market Data Section - Dark Blue Gradient */
.market-share {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    color: #fff;
}

/* Testimonials Section - Light Gray Gradient */
.testimonials-section {
    background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%);
}

/* CTA Section - Red Gradient */
.cta-section {
    background: linear-gradient(135deg, #C92026 0%, #8B0000 100%);
    color: #fff;
}

/* Bestsellers Section - White Background */
.bestsellers-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

/* Brands Section - Light Gray */
.brands-section {
    background: #F8F9FA;
    padding: 5rem 0;
}

/* Section Title Colors */
.featured-models .section-title {
    color: #C92026;
}

.tech-advantages .section-title {
    color: #006400;
}

.market-share .section-title {
    color: #FFD700;
}

.testimonials-section .section-title {
    color: #333;
}

.cta-section .section-title {
    color: #fff;
}

.bestsellers-section .section-title {
    color: #C92026;
}

.brands-section .section-title {
    color: #333;
}

/* ========================================
   Mobile CLS Optimization - Critical
   ======================================== */

/* Mobile Hero Section - Fixed Height to Prevent Shifts */
@media (max-width: 768px) {
    .hero-modern {
        min-height: 500px !important;
        height: 500px !important;
        max-height: 500px !important;
        contain: layout paint size !important;
    }
    
    .hero-bg {
        top: 60px !important;
        height: 440px !important;
        max-height: 440px !important;
        contain: layout paint size !important;
    }
    
    .hero-overlay {
        top: 60px !important;
        height: 440px !important;
        max-height: 440px !important;
        contain: layout paint size !important;
    }
    
    .hero-content {
        min-height: 300px !important;
        height: 300px !important;
        max-height: 300px !important;
        contain: layout paint size !important;
        padding-top: 20px !important;
    }
    
    .hero-title-lg {
        font-size: 1.75rem !important;
        min-height: 3.5rem !important;
        height: 3.5rem !important;
        max-height: 3.5rem !important;
        contain: layout paint size !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle-lg {
        font-size: 1rem !important;
        min-height: 3rem !important;
        height: 3rem !important;
        max-height: 3rem !important;
        contain: layout paint size !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-actions {
        min-height: 6rem !important;
        height: 6rem !important;
        max-height: 6rem !important;
        contain: layout paint size !important;
        gap: 1rem !important;
    }
    
    .hero-actions .btn {
        min-width: 200px !important;
        min-height: 50px !important;
        contain: layout paint size !important;
    }
    
    .hero-scroll {
        display: none !important;
    }
}

/* Mobile Core Services - Prevent Shifts */
@media (max-width: 768px) {
    .core-services {
        contain: layout paint size !important;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .section-header {
        min-height: 100px !important;
        contain: layout paint size !important;
    }
    
    .section-title {
        min-height: 3rem !important;
        contain: layout paint size !important;
    }
    
    .section-subtitle {
        min-height: 2.5rem !important;
        contain: layout paint size !important;
    }
    
    .services-grid {
        contain: layout paint size !important;
    }
    
    .service-card {
        min-height: 280px !important;
        contain: layout paint size !important;
    }
}

/* WhatsApp Widget - Prevent Shifts */
#whatsapp-widget {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 9999 !important;
    contain: layout paint size !important;
    min-width: 60px !important;
    min-height: 60px !important;
}

/* General Mobile CLS Fixes */
@media (max-width: 768px) {
    img {
        contain: layout paint size !important;
    }
    
    .btn {
        contain: layout paint size !important;
    }
    
    section {
        contain: layout paint size !important;
    }
}

/* Button Color Variations */
.featured-models .btn-primary {
    background: linear-gradient(135deg, #C92026 0%, #8B0000 100%);
}

.tech-advantages .btn-primary {
    background: linear-gradient(135deg, #006400 0%, #166534 100%);
}

.market-share .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
    color: #1E3A8A;
}

.testimonials-section .btn-primary {
    background: linear-gradient(135deg, #C92026 0%, #8B0000 100%);
}

.cta-section .btn-primary {
    background: #fff;
    color: #C92026;
}

.bestsellers-section .btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.brands-section .btn-primary {
    background: linear-gradient(135deg, #C92026 0%, #8B0000 100%);
}
