/**
 * =========================================
 * THE CAR FACTORY - Main Stylesheet
 * =========================================
 * Modern, Professional Design
 */

/* =========================================
   CUSTOM FONT - BIKO
   ========================================= */
@font-face {
    font-family: 'Biko';
    src: url('../fonts/biko/Biko_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Biko';
    src: url('../fonts/biko/Biko_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Biko';
    src: url('../fonts/biko/Biko_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* =========================================
   ROOT VARIABLES
   ========================================= */
:root {
    /* Colors */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;
    --secondary-color: #1a1a1a;
    --secondary-dark: #000000;
    --text-dark: #212121;
    --text-light: #757575;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --menu-bg: #141615;
    --TCFFontcolor: #EEDEBA;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Biko', 'Poppins', sans-serif;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* =========================================
   SPEEDOMETER LOADER
   ========================================= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.speedometer {
    position: relative;
    width: 200px;
    height: 200px;
}

.speedometer-circle {
    width: 100%;
    height: 100%;
    border: 12px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-light);
    animation: speedometer-spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.speedometer-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 80px;
    background: var(--primary-color);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    animation: needle-move 1.5s ease-in-out infinite;
    border-radius: 4px 4px 0 0;
}

.speedometer-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
}

.speedometer-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes speedometer-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes needle-move {
    0%, 100% { transform: translate(-50%, -100%) rotate(-45deg); }
    50% { transform: translate(-50%, -100%) rotate(45deg); }
}

/* =========================================
   CONTAINER & LAYOUT
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-spacer {
    height: 70px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

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

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

.btn-white:hover {
    background: var(--bg-light);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

/* =========================================
   SECTION TITLES
   ========================================= */
.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title-white {
    color: var(--text-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
}

/* =========================================
   HEADER
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

/* Header Top Bar */
.header-top {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left,
.header-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-contact {
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.header-contact:hover {
    color: var(--primary-light);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-icon.whatsapp:hover {
    background: #25d366;
}

/* Header Main */
.header-main {
    background: var(--menu-bg);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo  a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 90px;
    height: 70px;
    border-radius: 30%;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.logo-the {
    color: var(--TCFFontcolor);
}

.logo-car {
    color: var(--TCFFontcolor);
}

.logo-factory {
    color: var(--TCFFontcolor);
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    color: var(--TCFFontcolor);
    font-weight: 500;
    transition: var(--transition-fast);
    border-radius: 8px;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--primary-light);
    background: rgba(212, 32, 32, 0.05);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu .divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Search */
.header-search {
    margin-left: 20px;
}

.search-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.search-toggle:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 9999;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    max-width: 600px;
    width: 90%;
    position: relative;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 20px 25px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 18px;
    background: var(--bg-white);
}

.search-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-btn:hover {
    transform: scale(1.1);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    border-radius: 50%;
    font-size: 24px;
    transition: var(--transition-fast);
}

.search-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

/* Continue in next artifact... */
/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 35px;
    opacity: 0.95;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Slider Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

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

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--text-white);
    width: 35px;
    border-radius: 6px;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    background: var(--gradient-dark);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   SEARCH SECTION
   ========================================= */
.search-section {
    background: var(--gradient-primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.search-box-container {
    position: relative;
    z-index: 2;
}

.car-search-form {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.search-field label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.search-field i {
    color: var(--primary-color);
    margin-right: 5px;
}

.search-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition-fast);
    background: var(--bg-white);
    cursor: pointer;
}

.search-select:focus {
    border-color: var(--primary-color);
}

.search-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-fast);
    margin-top: 28px;
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =========================================
   BRANDS SECTION
   ========================================= */
.brands-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.brands-carousel {
    overflow: hidden;
    position: relative;
    
}

.brand-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.brand-item {
    flex-shrink: 0;
    width: 180px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    margin: 0 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-item img {
    max-width: 120px;
    max-height: 100px;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

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

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================================
   FEATURED CARS SECTION
   ========================================= */
.featured-cars-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.car-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.car-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: var(--secondary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.car-info {
    padding: 20px;
}

.car-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.car-variant {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.spec-item i {
    color: var(--primary-color);
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.car-details-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 25px;
    transition: var(--transition-fast);
}

.car-details-btn:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(211, 47, 47, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials-slider {
    overflow: hidden;
    margin-top: 40px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    color: #ffc107;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}

/* =========================================
   GOOGLE REVIEWS SECTION
   ========================================= */
.google-reviews-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.google-reviews-container {
    margin-top: 40px;
}

.google-rating-summary {
    text-align: center;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 28px;
    color: #ffc107;
    margin-bottom: 15px;
}

.rating-count {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.write-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #4285f4;
    color: var(--text-white);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.write-review-btn:hover {
    background: #357ae8;
    transform: translateY(-2px);
}

.google-reviews-widget {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* =========================================
   SELL CAR CTA SECTION
   ========================================= */
.sell-car-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.cta-text {
    font-size: 20px;
    color: var(--text-white);
    opacity: 0.95;
    margin-bottom: 30px;
}

/* =========================================
   VIDEO SECTION
   ========================================= */
.video-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.video-container {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Continue in Part 3 for Footer & Responsive... */
/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background: var(--gradient-dark);
    color: var(--text-white);
}

.footer-content {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 50px;
    border-radius: 50%;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.footer-brand .the,
.footer-brand .factory {
    color: var(--TCFFontcolor);
}

.footer-brand .car {
    color: var(--TCFFontcolor);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-link.whatsapp:hover {
    background: #25d366;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links i {
    font-size: 12px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.credits i {
    color: var(--primary-color);
    margin: 0 3px;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* =========================================
   NO CARS MESSAGE
   ========================================= */
.no-cars-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.text-center {
    text-align: center;
}

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

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

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }

.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }

/* =========================================
   BADGES
   ========================================= */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-success {
    background: #4caf50;
    color: var(--text-white);
}

.badge-danger {
    background: #f44336;
    color: var(--text-white);
}

.badge-warning {
    background: #ff9800;
    color: var(--text-white);
}

.badge-info {
    background: #2196f3;
    color: var(--text-white);
}

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

.badge-secondary {
    background: #9e9e9e;
    color: var(--text-white);
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
    margin: 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-item::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb-item:last-child::after {
    content: '';
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* =========================================
   ALERTS
   ========================================= */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

/* =========================================
   LOADING SPINNER
   ========================================= */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   IMAGE LAZY LOADING
   ========================================= */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* =========================================
   SELECTION HIGHLIGHT
   ========================================= */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* =========================================
   SCROLLBAR STYLING
   ========================================= */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =========================================
   PRINT STYLES
   ========================================= */

/* =========================================
   STYLE.CSS MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .header-top    { display: none; }
    .header-spacer { height: 68px; }
    .logo-img      { width: 55px; height: 44px; }
    .logo-text     { font-size: 22px; }

    /* Stats */
    .stats-grid    { grid-template-columns: repeat(2,1fr); gap: 16px; }

    /* Cars grid */
    .cars-grid     { grid-template-columns: repeat(2,1fr); gap: 18px; }

    /* Features */
    .features-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }

    /* Footer */
    .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .container     { padding: 0 14px; }
    .header-spacer { height: 62px; }
    .logo-img      { width: 46px; height: 36px; }
    .logo-text     { font-size: 18px; }

    /* Section headings */
    .section-title    { font-size: 22px; }
    .section-subtitle { font-size: 13px; }

    /* Hero */
    .hero-slider  { height: 280px; }
    .slide-title  { font-size: 22px; line-height: 1.3; }
    .slide-subtitle { font-size: 13px; margin-bottom: 14px; }
    .slide-buttons { flex-direction: column; gap: 10px; align-items: flex-start; }
    .slide-buttons .btn {
        width: 100%; max-width: 240px;
        justify-content: center; text-align: center;
        padding: 11px 14px; font-size: 13px;
    }
    .slider-nav { width: 34px; height: 34px; font-size: 13px; }

    /* Stats */
    .stats-section { padding: 30px 0; }
    .stats-grid    { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .stat-card     { padding: 18px 12px; }
    .stat-icon     { font-size: 30px; }
    .stat-number   { font-size: 28px; }
    .stat-label    { font-size: 12px; }

    /* Search */
    .search-section { padding: 30px 0; }
    .search-grid    { grid-template-columns: 1fr; gap: 10px; }
    .search-box-container { padding: 20px 14px; }

    /* Cars grid — 1 col */
    .cars-grid  { grid-template-columns: 1fr; gap: 14px; }
    .car-image  { height: 200px; }
    .car-info   { padding: 14px; }
    .car-title  { font-size: 16px; }
    .price-value { font-size: 18px; }
    .car-footer { flex-direction: column; gap: 8px; align-items: flex-start; }
    .car-details-btn { width: 100%; text-align: center; justify-content: center; }

    /* Features */
    .why-choose-section { padding: 32px 0; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card  { padding: 20px 16px; }

    /* Testimonials */
    .testimonials-section { padding: 32px 0; }
    .testimonial-track    { flex-direction: column !important; gap: 14px; overflow: visible !important; }
    .testimonial-card     { min-width: unset !important; width: 100%; padding: 18px; }

    /* CTA section */
    .sell-car-cta { padding: 40px 0; }
    .cta-title    { font-size: 22px; }

    /* Services strip */
    .services-grid   { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .service-item    { padding: 12px 8px; }
    .service-item h3 { font-size: 13px; }

    /* Footer */
    .footer-grid    { grid-template-columns: 1fr; gap: 20px; }
    .footer-content { padding: 32px 0 16px; }
    .footer-bottom-content { flex-direction: column; text-align: center; gap: 6px; }

    /* Floating buttons */
    .whatsapp-float { width: 50px; height: 50px; font-size: 26px; bottom: 18px; right: 14px; }
    .back-to-top    { width: 40px; height: 40px; font-size: 15px; bottom: 18px; left: 14px; }
}

@media (max-width: 480px) {
    .logo-text     { font-size: 16px; }
    .logo-img      { width: 40px; height: 32px; }
    .hero-slider   { height: 250px; }
    .slide-title   { font-size: 19px; }
    .slide-subtitle { display: none; }
    .stats-grid    { grid-template-columns: 1fr 1fr; }
    .stat-number   { font-size: 24px; }
    .section-title { font-size: 20px; }
    .footer-social { justify-content: center; }
}

@media (max-width: 360px) {
    .logo-text   { display: none; }
    .stats-grid  { grid-template-columns: 1fr; }
}

@media print {
    .main-header,
    .whatsapp-float,
    .back-to-top,
    .slider-nav,
    .slider-dots {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}