.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0 2rem;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    margin-top: 3rem;
}

    .footer .container {
        max-width: 1100px;
    }

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 800;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #cbd5f5;
}

.footer-section p {
    color: #a5b4fc;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
    color: #cbd5f5;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

    .footer-section li i {
        color: var(--primary-color);
    }

.footer-section a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-section a:hover {
        color: var(--primary-color);
    }

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.2);
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2db3a5;
    --secondary-color: #4a90e2;
    --accent-color: #ff6b6b;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --border-color: #dadce0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --gradient-1: linear-gradient(135deg, #2db3a5 0%, #4a90e2 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 20px;
    }

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

    .logo-img:hover {
        transform: scale(1.05);
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .mobile-menu-btn i {
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.is-active {
        color: var(--primary-color);
    }

        .mobile-menu-btn.is-active i {
            transform: rotate(90deg);
        }

body.menu-open {
    overflow: hidden;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

    .nav a:hover {
        color: var(--primary-color);
    }

.hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: var(--gradient-1);
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 179, 165, 0.95) 0%, rgba(74, 144, 226, 0.9) 100%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -50px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-text {
    animation: slideInRight 0.8s ease-out;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

    .feature-item i {
        color: #ffd700;
        font-size: 1.3rem;
    }

.hero-image {
    position: relative;
    animation: slideInLeft 0.8s ease-out;
}

.hero-car-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

    .hero-car-img:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }

.hero-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: 1rem;
}

.stat-item {
    background: white;
    color: var(--dark-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Services Container */
.services-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* Main Service Tabs */
.main-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 0;
    border-bottom: none;
}

.main-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.8rem 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .main-tab-btn i {
        font-size: 2.5rem;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

.spare-tabs,
.car-services-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #f7f9fb;
    padding: 0.5rem;
    border-radius: 999px;
    justify-content: center;
}

.spare-tab-btn,
.car-service-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .spare-tab-btn i,
    .car-service-tab-btn i {
        color: var(--primary-color);
    }

    .spare-tab-btn.active,
    .car-service-tab-btn.active {
        background: white;
        color: var(--primary-color);
        box-shadow: var(--shadow);
    }

.spare-panel,
.car-service-panel {
    display: none;
}

    .spare-panel.active,
    .car-service-panel.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

.main-tab-btn span {
    text-align: center;
    line-height: 1.3;
}

.main-tab-btn:hover {
    background: linear-gradient(135deg, rgba(45, 179, 165, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(45, 179, 165, 0.25);
}

    .main-tab-btn:hover i {
        transform: scale(1.15);
        color: var(--secondary-color);
    }

.main-tab-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(45, 179, 165, 0.4);
    transform: translateY(-2px);
}

    .main-tab-btn.active i {
        color: white;
        transform: scale(1.1);
    }

/* Service Panels */
.service-panel {
    display: none;
}

    .service-panel.active {
        display: block;
        animation: fadeIn 0.4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-container {
    padding: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-tabs {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e7e9ec;
    padding-bottom: 0.5rem;
}

.tab-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-bottom: 4px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
}

    .tab-btn:hover {
        color: var(--primary-color);
    }

    .tab-btn.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        background: rgba(45, 179, 165, 0.08);
    }

.new-tabs {
    border-bottom-color: #d0d7ff;
}

.tab-btn-new {
    color: #a0a8c3;
}

    .tab-btn-new.active {
        color: #4c6ef5;
        border-bottom-color: #4c6ef5;
        background: rgba(76, 110, 245, 0.08);
    }

.search-btn-new {
    background: linear-gradient(135deg, #4c6ef5, #74c0fc);
    box-shadow: 0 10px 20px rgba(76, 110, 245, 0.25);
}

    .search-btn-new:hover {
        box-shadow: 0 15px 30px rgba(76, 110, 245, 0.35);
    }

.search-box,
.model-search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-panel {
    display: none;
}

    .tab-panel.active {
        display: block;
    }

.search-input,
.select-input {
    flex: 1;
    min-width: 180px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #d8dde6;
    background: #fdfdff;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
}

    .select-input:disabled {
        color: #b7bcc5;
        background: #f3f4f6;
        cursor: not-allowed;
    }

    .search-input:focus,
    .select-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(45, 179, 165, 0.15);
    }

.search-btn {
    padding: 0.95rem 2.5rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .search-btn i {
        font-size: 1.1rem;
    }

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    }

/* Sub Tabs (for Buy Car service) */
.buy-car-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 999px;
    justify-content: space-between;
}

.buy-car-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .buy-car-tab-btn i {
        color: var(--primary-color);
    }

    .buy-car-tab-btn.active {
        background: white;
        color: var(--primary-color);
        box-shadow: var(--shadow);
    }

.buy-car-panel {
    display: none;
}

    .buy-car-panel.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

/* Results Container */
.results-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.no-results {
    background: #f9fafb;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Parts Grid */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.part-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .part-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-4px);
        border-color: var(--primary-color);
    }

.part-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.part-condition {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #28a745;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.part-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.part-store {
    font-size: 0.9rem;
    color: #666;
}

/* Tow Trucks Grid */
.tow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tow-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .tow-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-4px);
        border-color: var(--primary-color);
    }

.tow-card-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

    .tow-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.tow-card:hover .tow-card-image img {
    transform: scale(1.05);
}

.tow-card-body {
    padding: 1.3rem 1.5rem 1.5rem;
}

.tow-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .tow-name i {
        color: var(--primary-color);
    }

.tow-city {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .tow-city i {
        color: var(--secondary-color);
    }

.tow-phone {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tow-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

    .tow-meta span {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

.tow-phone i {
    color: #28a745;
}

.tow-actions {
    display: flex;
    gap: 0.8rem;
}

.tow-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tow-btn-call {
    background: #28a745;
    color: white;
}

    .tow-btn-call:hover {
        background: #218838;
        transform: translateY(-2px);
    }

.tow-btn-whatsapp {
    background: #25D366;
    color: white;
}

    .tow-btn-whatsapp:hover {
        background: #1ebe57;
        transform: translateY(-2px);
    }

/* Buy Cars Grid */
.buy-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.buy-car-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .buy-car-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-4px);
        border-color: var(--primary-color);
    }

.buy-car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.buy-car-info {
    padding: 1.5rem;
}

.buy-car-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.buy-car-year {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.buy-car-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.buy-car-details-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .buy-car-details-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(45, 179, 165, 0.3);
    }

.brands-section {
    padding: 4rem 0;
    background: #f3f5f9;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brand-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .brand-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }

.brand-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    padding: 1rem;
}

    .brand-icon img {
        max-width: 70px;
        max-height: 70px;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }

.brand-card:hover .brand-icon img {
    filter: grayscale(0%);
}

.brand-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.car-count {
    font-size: 0.9rem;
    color: #6b7280;
}

.cars-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.car-card {
    background: white;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .car-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
    }

.car-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.car-info {
    padding: 1.5rem;
}

.car-brand {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
    display: block;
}

.car-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: var(--dark-color);
}

.car-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.car-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #4b5563;
}

    .car-detail i {
        color: var(--primary-color);
    }

.car-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.car-status {
    font-size: 0.95rem;
    font-weight: 600;
    color: #16a34a;
}

@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        background: white;
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
        padding: 1.25rem 1.5rem;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 1000;
    }

        .nav ul {
            flex-direction: column;
            gap: 1rem;
        }

        .nav.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        position: static;
        justify-content: center;
        margin-top: 1rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .model-search-form {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Responsive Main Tabs */
    .main-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .main-tab-btn {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }

        .main-tab-btn i {
            font-size: 1.5rem;
        }

    .services-container {
        padding: 1.5rem;
    }

    .search-container {
        padding: 1rem;
    }

    .sub-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sub-tab-btn {
        padding: 0.6rem 1rem;
        text-align: center;
    }

    .parts-grid,
    .tow-grid,
    .buy-cars-grid {
        grid-template-columns: 1fr;
    }

    .tow-actions {
        flex-direction: column;
    }
}
