* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Battambang", system-ui;
}

:root {
    --primary-color: #c81e1e;
    --secondary-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666;
    --white: #fff;
    --border-radius: 4px;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 75%;
    margin: 0 auto;
    padding: 0 20px;
}

.containerbeforefooter {
    max-width: 75%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #f5f5f5;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

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

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 70px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 20px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #BD2026;
}

.user-profile {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    cursor: pointer;
    gap: 20px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    font-weight: 700;
    /* margin-right: 20px; */
}

.hamburger-icon span {
    height: 2px;
    width: 100%;
    background-color: #666;
    border-radius: 2px;
}

.user-icon {
    width: 24px;
    height: 24px;
    background-color: #BD2026;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.user-icon a i {
    font-size: 10px;
    color: #ffff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0;
    background-color: #f5f5f5;
}

.brand-logo {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.brand-logo .fix,
.brand-logo .any {
    color: #222;
    font-size: 130px;
}

.brand-logo .car {
    color: #BD2026;
    font-size: 130px;
    font-family: 'Lato', sans-serif;
}

.brand-logo .wrench-icon {
    color: #BD2026;
    display: inline-block;
    /* transform: rotate(270deg); */
    font-size: 100px;
}

.tagline {
    font-size: 30px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.tagline .highlight {
    color: #BD2026;
    font-weight: 600;
}

.contact-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin: 45px auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: #f5f5f5;
    padding: 15px 25px;
    border-radius: 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 18px;
}

.contact-item i {
    color: #BD2026;
}

.contact-item.share {
    background-color: #BD2026;
    color: white;
    width: 95px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* Features Section */
.features {
    background-color: #BD2026;
    padding: 90px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background-color: #E6E6E6;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: #BD2026;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
} */

.feature-icon img {
    padding: 60px 0;
}

.feature-title {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.bg-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: url('../images/shotinfo-background.png');
    background-size: cover;
    background-position: center;
    /* opacity: 0.2; */
}

/* .feature-chat {
    position: absolute;
    right: 30px;
    bottom: 30px;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    cursor: pointer;
} */



/* How-to Section */
.how-to {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.section-title {
    font-size: 48px;
    margin-bottom: 80px;
    text-align: center;
    font-weight: 900;
}

.section-title .highlight {
    font-weight: 900;
    font-size: 48px;
    color: #BD2026;
}

.steps-container {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    font-size: 30px;
    width: 60px;
    height: 60px;
    background-color: #262424;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    top: 36px;
    bottom: 110px;
    width: 10px;
    background-color: #262424;
    z-index: 1;
}

.step-details {
    flex: 1;
    padding-left: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.step-desc {
    font-size: 16px;
    color: #666;
}

.step-icon {
    width: 70px;
    height: 50px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    color: #BD2026;
    font-size: 34px;
}

/* Testimonials Section */
.testimonials {
    background-color: #BD2026;
    padding: 60px 0;
    color: #fff;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.testimonials-title {
    font-size: 24px;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.stars {
    color: #ffd700;
}

.view-all {
    color: #fff;
    text-decoration: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.testimonial-card {
    background-color: #D9D9D9;
    border-radius: 8px;
    padding: 20px;
    color: #333;
    min-height: 150px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
    border-top: 2px solid #e0e0e0;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 100%;
}

.about-icon {
    width: 60px;
    height: 60px;
    background-color: #2c3e50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.about-desc {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #BD2026;
    text-decoration: none;
    font-weight: 500;
}

.car-image {
    position: absolute;
    right: 0;
    bottom: 0px;
    width: 350px;
}

/* Footer */
footer {
    background-color: #BD2026;
    padding: 30px 0;
    color: #fff;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
}

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

.social-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon i {
    color: white;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
    }

    .step-icon {
        margin-left: 0;
        margin-top: 15px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }



    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .contact-bar {
        flex-direction: column;
    }
}

.wrench-icon i {
    display: inline-block;
    /* transform: rotate(30deg); */
    padding: 0 14px;
}

.sectionmiainfordeco {
    background: #f5f5f5;
    padding: 100px 0;
}

.feature-card a {
    text-decoration: none;
}

.about-text {
    margin: 40px 0;
}

.parking-sign img {
    margin-bottom: -195px;
}


.section-header-mechanics {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    justify-content: center;
}

.section-header-mechanics-2 {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 60px 0 10px 0;
    justify-content: center;
}



.section-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

.partsselection {
    width: 33.333%;
    text-align: center;
}

/* Category Navigation */
.category-nav {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.category-links {
    text-align: center;
    font-size: 18px;
}

.category-links a {
    font-size: 35px;
    color: #605f5f;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: 500;
}

.category-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.divider {
    color: var(--medium-gray);
    margin: 0 5px;
}

/* Search Section */
.search-section {
    padding: 0 0 30px;
    background-color: var(--light-gray);
}

.search-container {
    display: flex;
    background-color: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-group {
    padding: 10px;
    flex: 1;
    position: relative;
}

.filter-group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: var(--medium-gray);
}

.filter-select {
    width: 100%;
    padding: 0px 30px;
    border: none;
    background-color: transparent;
    color: var(--dark-gray);
    cursor: pointer;
    appearance: none;
    font-size: 14px;
    outline: none;
}

.filter-select option {
    background: #E6E6E6;
}

.filter-select option:hover {
    background: red;
}

.dropdownwithspan {
    font-weight: 600;
    font-size: 15px;
    color: #262424;
}


.filter-group:focus {
    outline: none;
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promotional Slider */
.promo-slider {
    background-color: var(--primary-color);
    padding: 30px 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    z-index: 2;
}

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

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

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--white);
}

/* Parts Categories Section */
.parts-categories {
    padding: 50px 0;
    background-color: var(--light-gray);
}



.highlight {
    color: var(--primary-color);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.view-all-mobile {
    display: none;
    text-align: center;
    margin-top: 30px;
}

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

.category-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    max-width: 100%;
    max-height: 100%;
}

.category-item h3 {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .search-container {
        flex-direction: column;
        border-radius: var(--border-radius);
    }

    .filter-group::after {
        display: none;
    }

    .filter-group {
        border-bottom: 1px solid var(--medium-gray);
    }

    .search-btn {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .section-header .view-all {
        display: none;
    }

    .view-all-mobile {
        display: block;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
    }
}


















/* machanics start from here */

/* Category Navigation */
.category-nav {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.category-links {
    text-align: center;
    font-size: 18px;
}

.category-links a {
    font-size: 35px;
    color: #605f5f;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: 500;
}

.category-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.divider {
    color: var(--medium-gray);
    margin: 0 5px;
}

/* Search Section */
.search-section {
    padding: 0 0 30px;
    background-color: var(--light-gray);
}

.search-container {
    display: flex;
    background-color: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 23%);
}

.filter-group {
    flex: 1;
    position: relative;
}

.filter-group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: var(--medium-gray);
}



.search-btn {
    background-color: #BD2026;
    color: #ffff;
    border: none;
    padding: 0 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promotional Slider */
.promo-slider {
    background-color: var(--primary-color);
    padding: 30px 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    z-index: 2;
}

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

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

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--white);
}

/* Mechanic Finder Section */
.mechanic-finder {
    padding: 30px 0 60px;
    background-color: var(--light-gray);
}



.highlight {
    color: var(--primary-color);
}

.expand-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-gray);
}

/* Mechanic Search Layout */
.mechanic-search-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.mechanic-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.mechanic-results {
    flex-grow: 1;
}

/* Map Container */
.map-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.map-preview {
    width: 100%;
    height: auto;
    display: block;
}

.view-map-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--white);
    border: none;
    border-top: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Search and Filters */
.search-filters {

    border-radius: var(--border-radius);
    padding: 15px;
}

.search-box,
.filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.search-box h3,
.filter-section h3 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.search-input {
    position: relative;
}

.search-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 14px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 14px;
}

.checkbox-container input {
    margin: 0;
}

/* Results Header */
/* .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .results-header h3 {
            font-size: 16px;
            color: var(--secondary-color);
            font-weight: 600;
        } */

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown label {
    color: var(--dark-gray);
    font-size: 14px;
}

.sort-dropdown select {
    padding: 8px 10px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-size: 14px;
    color: var(--secondary-color);
}

/* Mechanic Cards */
.mechanic-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mechanic-card {

    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
}

.mechanic-info {
    display: flex;
    gap: 40px;
    flex-grow: 1;
}

.mechanic-image {
    width: 360px;
    height: 300px;
    flex-shrink: 0;

    overflow: hidden;

}

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

.mechanic-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.mechanic-details h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.distance {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.services {
    list-style: none;
    margin-bottom: 10px;
}

.services li {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.rating {
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

.location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-gray);
    font-size: 13px;
}

.mechanic-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    /* background-color: #f8f8f8; */
    width: 150px;
}

.call-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.quote-btn-machenics,
.book-btn-machenics {
    width: 100%;
    padding: 8px 0;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    background: #BD2026;
    color: #FFFFFF;
}


.results-header {
    display: flex;
    margin-bottom: 40px;
}

.contentinmachecins {
    width: 50%;
}

.contentinmachecinsfilter {
    width: 50%;
    justify-content: flex-end;
}




/* Parts start from here */
.container-parts-border {
    border-bottom: 5px solid #BD2026;
    margin-bottom: 50px;
}





/* Cart and checkout and product start from here */

.cartpage i {
    color: #bd2026;
    font-size: 18px;
}

.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item img {
    max-height: 100px;
    object-fit: contain;
}

.quantity-input {
    width: 80px;
}

.btn-primary {
    background-color: #c62828;
    border-color: #c62828;
}

.btn-primary:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
}

.btn-outline-primary {
    color: #c62828;
    border-color: #c62828;
}

.btn-outline-primary:hover {
    background-color: #c62828;
    border-color: #c62828;
}