:root {
    --primary-color: #EB0A1E; /* Toyota Red */
    --primary-hover: #c40818;
    --bs-danger: #EB0A1E;
    --bs-danger-rgb: 235, 10, 30;
    --bs-primary: #EB0A1E;
    --bs-primary-rgb: 235, 10, 30;
    
    --bg-color: #ffffff; 
    --bg-light: #f8f9fa;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #EB0A1E;
    --info: #3b82f6;

    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    max-width: 100%;
    overflow-x: clip;
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.text-danger {
    color: var(--primary-color) !important;
}

.btn-danger {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-danger {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.bg-danger-subtle {
    background-color: rgba(235, 10, 30, 0.08) !important;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}


.top-strip {
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 32px;
    font-size: 0.8rem;
    color: var(--text-main);
}

.strip-content {
    display: flex;
    justify-content: flex-end;
}

.strip-right {
    display: flex;
    gap: 24px;
}

.strip-right span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.main-strip {
    padding: 16px 32px;
}

.main-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #000;
}

.brand-box {
    border: 1px solid #333;
    border-radius: 6px;
    padding: 2px 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    position: relative;
    padding-left: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-left: 4px;
}

.brand-box::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 10px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.center-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-nav-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-buy {
    background-color: #f3f4f6;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.btn-buy:hover {
    background-color: #e5e7eb;
    color: var(--primary-color);
}

.btn-sell {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 6px rgba(235, 10, 30, 0.25);
}

.btn-sell:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(235, 10, 30, 0.35);
}

.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input {
    width: 100%;
    padding: 10px 100px 10px 16px;
    border: 1px solid #b3b3b3;
    border-radius: 8px;
    outline: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.search-container input:focus {
    border-color: #666;
}

.search-actions {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
}

.search-actions i {
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-actions i:hover {
    color: var(--primary-color);
}

.search-divider {
    height: 20px;
    width: 1px;
    background-color: #ccc;
}

.right-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.new-cars-link {
    display: flex;
    align-items: center;
    position: relative;
}

.toyota-brand-icon {
    width: 32px;
    height: auto;
}

.new-badge {
    position: absolute;
    top: -6px;
    right: -24px;
    font-size: 0.65rem;
    font-weight: 800;
    font-style: italic;
    color: var(--primary-color);
}

.login-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.login-link i {
    font-size: 1.2rem;
}

/* Custom Button Enhancements */
.btn {
    font-family: var(--font-primary);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(235, 10, 30, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Hero Section Advanced */
.hero-section-advanced {
    position: relative;
    margin: 0;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    flex-direction: column;
    padding: 50px 60px 40px 60px;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.buy-sell-toggle {
    display: flex;
    background-color: white;
    padding: 6px;
    border-radius: 30px;
    width: 260px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.buy-sell-toggle button {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    border-radius: 24px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.buy-sell-toggle button.active {
    background-color: var(--primary-color);
    color: white;
}

.buy-sell-toggle button:not(.active) {
    color: var(--text-main);
}

.trusted-badge {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.trusted-badge span {
    color: white;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
    padding: 10px;
}

.hero-text {
    color: white;
    margin-bottom: auto;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 500;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-search-form {
    margin-top: 40px;
    width: 100%;
}

.search-form-container {
    display: flex;
    align-items: center;
    background-color: #0b0b0b;
    padding: 12px;
    border-radius: 16px;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-box {
    background-color: #272727;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-box:hover {
    background-color: #333;
}

.filter-box i {
    font-size: 0.8rem;
    color: #fff;
    opacity: 0.7;
}

.hero-search-btn {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.05rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 0 32px;
    height: 52px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background-color: var(--primary-hover);
}

@media (max-width: 1024px) {
    .hero-section-advanced {
        margin: 20px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero-section-advanced {
        margin: 0;
        border-radius: 0;
    }
    
    .hero-overlay {
        padding: 30px 20px;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .buy-sell-toggle {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .search-form-container {
        flex-direction: column;
        padding: 16px;
        background: rgba(0,0,0,0.8);
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-box {
        background-color: #272727;
    }
    
    .hero-search-btn {
        width: 100%;
        margin-top: 4px;
    }
}

/* Category Section */
.category-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.cat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.cat-card i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition);
}

.cat-card:hover i {
    color: var(--primary-color);
}

.cat-card span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Featured Cars Advanced */
.cars-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.cars-tab {
    background: transparent;
    border: none;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #9ca3af;
    cursor: pointer;
    position: relative;
    font-family: var(--font-primary);
}

.cars-tab.active {
    color: #111827;
    font-weight: 600;
}

.cars-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color) 20%, var(--primary-color) 80%, transparent);
}

.cars-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.cars-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 10px;
    scroll-behavior: smooth;
    width: 100%;
}

.cars-carousel::-webkit-scrollbar {
    display: none;
}

.car-card-compact {
    background: white;
    border-radius: 12px;
    min-width: 280px;
    max-width: 280px;
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #f3f4f6;
    transition: var(--transition);
}

.car-card-compact:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.car-img-wrapper {
    position: relative;
    height: 180px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #333;
    cursor: pointer;
}

.car-compact-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.car-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.car-title-row h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin: 0;
}

.bookmark-icon {
    color: #6b7280;
    cursor: pointer;
    font-size: 1.1rem;
}

.car-compact-specs {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.car-compact-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.car-divider {
    border: none;
    border-top: 2px solid #111827;
    margin-bottom: 12px;
    opacity: 0.1;
}

.car-location {
    font-size: 0.75rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #111827;
    cursor: pointer;
    z-index: 10;
}

@media (max-width: 1600px) {
    .carousel-arrow {
        right: 10px;
        background: rgba(255,255,255,0.9);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

/* Why Us Section */
.why-us {
    text-align: center;
}

.why-us h2 {
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Global Footer */
.global-footer {
    background-color: #111;
    color: #fff;
    padding-top: 64px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: #fff;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 24px 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}
/* Testimonials Section */
.testimonials-section {
    background-color: #f3f4f6; /* Very light grey */
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 60px;
    color: #111827;
}

.text-red {
    color: var(--primary-color);
}

.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
}

.testimonial-image-wrapper {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-end;
}

.skewed-image {
    width: 380px;
    height: 240px;
    overflow: hidden;
    transform: skewX(-20deg);
    border-radius: 20px;
}

.skewed-image img {
    width: 150%;
    height: 100%;
    object-fit: cover;
    transform: skewX(20deg) translateX(-15%); /* Unskew the image and center it */
}

.testimonial-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 12px;
    max-width: 500px;
}

.testimonial-stars {
    color: #facc15; /* Gold */
    font-size: 1rem;
    margin-bottom: 24px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 24px;
}

.testimonial-nav {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.prev-btn {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #991b1b;
}

.prev-btn:hover {
    background-color: #e5e7eb;
}

.next-btn {
    background-color: #b91c1c;
    border: 1px solid #b91c1c;
    color: white;
}

.next-btn:hover {
    background-color: #991b1b;
}
/* FAQ Section */
.faq-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: #111827;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}
/* Car Details Page */
.car-details-page {
    padding-top: 20px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.car-details-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.car-gallery {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.main-gallery-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 16px;
    overflow-x: auto;
    background: #f9fafb;
}

.gallery-thumbnails .thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbnails .thumb.active {
    border-color: var(--primary-color);
}

.car-overview-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.car-overview-box h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #111827;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.overview-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.overview-item i {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.oi-text span {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.oi-text strong {
    display: block;
    font-size: 1.05rem;
    color: #111827;
    font-weight: 600;
}

/* Sidebar */
.price-card, .seller-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.price-card h1 {
    font-size: 1.6rem;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

.car-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.price-tag {
    font-size: 2rem;
    color: #111827;
    font-weight: 800;
}

.bookmark-btn {
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
}

.bookmark-btn:hover {
    color: var(--primary-color);
}

.w-100 { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

.lead-form input, .lead-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: var(--font-primary);
}

.lead-form input:focus, .lead-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

@media (max-width: 992px) {
    .car-details-layout {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .search-filters {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-strip {
        padding: 12px 15px;
    }
    
    .top-strip {
        padding: 8px 15px;
    }
    
    .strip-content {
        justify-content: center;
    }
    
    .strip-right {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-content-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .logo-area {
        justify-content: center;
    }
    
    .center-nav {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .search-container {
        width: 100%;
        max-width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    .right-actions {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* ========================================================
   Car Card Image Gallery & Interactive Arrow Controls
   ======================================================== */
.car-card-gallery {
    user-select: none;
}
.car-card-img {
    transition: transform 0.35s ease, opacity 0.2s ease;
}
.car-hover-card:hover .car-card-img {
    transform: scale(1.04);
}
.card-img-arrow {
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
    opacity: 0.85;
    transition: all 0.2s ease;
    cursor: pointer;
}
.card-img-arrow i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}
.card-img-arrow:hover {
    opacity: 1 !important;
    background: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}
.card-img-arrow:active {
    transform: translateY(-50%) scale(0.92) !important;
}
.card-img-prev:hover i {
    transform: translateX(-1.5px);
}
.card-img-next:hover i {
    transform: translateX(1.5px);
}
.card-dot {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Viva Toyota U-Trust Brand Showcase Card */
.utrust-brand-card {
    border-radius: 22px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.utrust-brand-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.utrust-card-left {
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
}
@media (max-width: 991.98px) {
    .utrust-card-left {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}
.btn-utrust-pill {
    background-color: #e9ecef;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 7px 18px;
    border-radius: 50rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}
.btn-utrust-pill:hover {
    background-color: #EB0A1E;
    color: #ffffff !important;
    border-color: #EB0A1E;
    box-shadow: 0 4px 14px rgba(235, 10, 30, 0.28);
    transform: translateY(-2px);
}
.utrust-feature-item {
    transition: transform 0.2s ease;
}
.utrust-feature-item:hover {
    transform: translateX(4px);
}

