:root {
    --primary-red: #d31129;
    --primary-red-hover: #b00e22;
    --dark-bg: #1a1a1a;
    --nav-bg: #0b1126;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-gray: #f4f4f4;
    --font-heading: 'Fjalla One', sans-serif;
    --font-body: 'Archivo', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;

}


.main-header {
    position: relative;

    z-index: 1000;
}

.header-middle {
    background: #191b23;
    padding: 15px 0;
    border-bottom: none;
}

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

.header-left {
    flex: 1;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.logo-container {
    flex: 0 1 auto;
    text-align: center;
}

.logo-container img.logo {
    height: 60px;
    margin: 0 auto;
}

.customer-care {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    background-color: #d31129;
    padding: 10px 20px;
    border-radius: 50px;
}


.header-bottom {
    background: #22232b;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav ul li a {
    display: block;
    padding: 20px 25px;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    color: white;
    position: relative;
    z-index: 1;
}

.main-nav ul li.active a::before,
.main-nav ul li:hover a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transform: skewX(-20deg);
    z-index: -1;
}


.has-dropdown {
    position: relative;
}

.has-dropdown .arrow {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .arrow {
    transform: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 15px 0;
    display: flex;

    flex-direction: column;
}

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

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 0;

    color: #333 !important;

    font-size: 13px !important;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    border-bottom: none;
    transition: color 0.2s;
}

.dropdown-menu li a::before {
    display: none;

}

.dropdown-menu li a:hover {
    color: #d31129 !important;
    background: transparent;
}



.features-banner {
    background: rgba(26, 26, 26, 0.85);
    padding: 60px 0;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-card {
    text-align: left;
    padding: 30px 40px;
    border-left: 4px solid #cc0000;
    position: relative;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
    font-weight: 400;
}





.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group select {
    width: 100%;
    height: 50px;

    padding: 12px 40px 12px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: #000000 !important;
    font-weight: 600;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C5CCD6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.filter-group input {
    width: 100%;
    height: 50px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: #000000;
    font-weight: 600;
    background-color: #fff;
    cursor: text;
    box-sizing: border-box;
}

.filter-group input::placeholder {
    color: #666;
    font-weight: 500;
}


.filter-group select:hover {
    border-color: #ccc;
}

.btn-search {
    flex: 1.2;
    height: 50px !important;
    padding: 0 30px !important;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    border-radius: 4px;
    background-color: var(--primary-red);
    color: white;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    line-height: 1.1 !important;
}

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


.hero,
.inner-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero {
    height: auto;
    min-height: 700px;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-height: 680px;
    /* User requested constraint */
}

.inner-hero {
    height: auto;
    min-height: 350px;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    width: 100%;
}

.hero-tagline {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    font-weight: 700;
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 25px;
    line-height: 1;
    letter-spacing: 1px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
}


.promos {
    padding: 60px 0;
    background: #fff;
    clear: both;
}

.promo-grid {
    display: flex;
    width: 100%;
    gap: 30px;
}

.promo-item {
    flex: 1;
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.engine-promo {
    background-image: url('../assets/images/engines-bg.jpg');
}

.transmission-promo {
    background-image: url('../assets/images/transmissions-bg.jpg');
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);

}

.promo-inner-content {
    width: 100%;
    text-align: center;
}

.promo-bar {
    background: rgba(43, 43, 43, 0.8);
    padding: 15px 0;
    width: 100%;
    margin-bottom: 20px;
}

.promo-bar h3 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.promo-bottom p {
    color: white;
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: lowercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #333;
    padding: 8px 12px 8px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    gap: 15px;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.arrow-circle {
    background: #333;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}



.btn {
    display: inline-block;
    padding: 18px 45px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
}


.trust-summary {
    background: #f4f4f4;
    padding: 38px 0;
}

.trust-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.trust-title {
    flex: 1;
}

.trust-title h2 {
    color: #cc0000;
    font-size: 42px;
    font-weight: 800;
    margin: 0;
}

.trust-description {
    flex: 1;
    border-left: 3px solid #cc0000;
    padding-left: 30px;
}

.trust-description p {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    font-weight: 600;
    margin: 0;
}


.detailed-features {
    padding: 60px 0;
    background: #f4f4f4;
}

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

.detailed-card {
    background: transparent;
    padding: 0 0 0 20px;
    border-left: 2px solid #cc0000;
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-icon-header img,
.card-icon-header svg {
    color: #cc0000;
    width: 20px;
    height: 20px;
}

.detailed-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0;
    font-family: var(--font-body);
}

.detailed-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.detailed-card .highlight-red {
    color: #cc0000;
    font-weight: 700;
}


.cta-box-red {
    background: #cc0000;
    padding: 30px;
    border-radius: 8px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cta-box-red h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.cta-box-red p {
    font-size: 14px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.btn-cta-dark {
    background: #111;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-cta-dark:hover {
    background: #000;
    transform: translateY(-2px);
}


.trust-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
}

.trust-content {
    flex: 2;
}

.trust-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--nav-bg);
}

.trust-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    gap: 30px;
}

.badge-item {
    font-weight: 700;
    color: var(--nav-bg);
    display: flex;
    align-items: center;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-red);
    margin-right: 10px;
}

.cta-box-red {
    flex: 1;
    background: var(--primary-red);
    color: white;
    padding: 50px;
    border-radius: 4px;
    text-align: center;
}

.cta-box-red h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-box-red p {
    font-size: 16px;
    margin-bottom: 30px;
}

.btn-dark {
    background: #1a1a1a;
    color: white;
    padding: 15px 30px;
}


.search-filter {
    background: var(--header-blue);
    padding: 30px 0;
    color: white;
}


.filter-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: flex-end;
}

.filter-bar .btn-search {
    grid-column: 4 !important;
    /* Force to 4th column */
    margin-top: 10px;
}

.filter-group label {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
}



.filter-group select option {
    background: var(--header-blue);
}


.products {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
}


.our-promise {
    padding: 100px 0;
    background: white;
}

.promise-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.promise-image {
    flex: 1;
}

.promise-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.promise-content {
    flex: 1;
}

.promise-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--dark-bg);
}

.promise-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.promise-list {
    margin-bottom: 35px;
}

.promise-list li {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.promise-list strong {
    color: var(--text-dark);
}


.footer {
    background: #0b1126;
    color: var(--text-light);
    padding-top: 80px;
}

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

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

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

.footer-col ul li a {
    color: #999;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #cc0000;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.footer-icon {
    width: 18px;
    height: 18px;
    filter: invert(15%) sepia(95%) saturate(7400%) hue-rotate(355deg) brightness(85%) contrast(110%);

}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 25px 0;
}

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

.bottom-flex p {
    color: #666;
    font-size: 13px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icon {
    height: 25px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}


.back-to-top {
    position: fixed;
    bottom: 70px;
    right: 30px;
    background: var(--primary-red);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.back-to-top:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
}




.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(204, 0, 0, 0.95);
    color: white;
    padding: 10px 20px;
    z-index: 10001;
    max-width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.cookie-content p {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: 500;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

.btn-cookie {
    background: #000;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
}

.btn-cookie:hover {
    background: #333;
}

@media (max-width: 1200px) {

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }


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

    .trust-container {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .hero,
    .inner-hero {
        height: auto;
        min-height: auto;
        max-height: none !important;
        /* Reset desktop constraint */
        padding-bottom: 0px;
    }

    .hero h1 {
        font-size: 36px;
    }



    .hero-filter-overlay {
        padding: 40px 0;
        background-color: #f9f9f9 !important;
        margin-top: 0 !important;
    }

    .hero-filter-overlay .filter-bar {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #eee !important;
        padding: 20px !important;
    }

    .filter-bar {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .filter-bar .btn-search {
        grid-column: 1 !important;
        width: 100%;
        margin-top: 10px;
    }


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

    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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


.used-engines-page,
.used-transmissions-page,
.faq-page,
.contact-us-page,
.policy-page {
    background-color: white;
}

.inner-hero {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.inner-hero h1 {
    font-size: 70px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.used-engines-page .breadcrumb,
.used-transmissions-page .breadcrumb,
.faq-page .breadcrumb,
.contact-page .breadcrumb,
.policy-page .breadcrumb {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.used-engines-page .breadcrumb a,
.used-transmissions-page .breadcrumb a,
.faq-page .breadcrumb a,
.contact-page .breadcrumb a,
.policy-page .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.used-engines-page .breadcrumb span,
.used-transmissions-page .breadcrumb span,
.faq-page .breadcrumb span,
.contact-page .breadcrumb span,
.policy-page .breadcrumb span {
    color: var(--primary-red);
}

.hero-filter-overlay {
    width: 100%;
    padding: 0 0 60px 0;
    background-color: transparent;
    position: relative;
    z-index: 100;
    margin-top: 15px;
}

.hero-filter-overlay .filter-bar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: none;
    padding: 40px;
    border-radius: 12px;
}


.used-engines-page .info-bar,
.used-transmissions-page .info-bar,
.faq-page .faq-content-section,
.contact-page .contact-section,
.policy-page .policy-content-section {
    padding: 80px 0 20px;
}

.used-engines-page .info-bar,
.used-transmissions-page .info-bar,
.policy-page .info-bar,
.faq-page .info-bar {
    background: #f8f8f8;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.used-engines-page .info-bar-container,
.used-transmissions-page .info-bar-container,
.policy-page .info-bar-container {
    background: #000;
    border-radius: 12px;
    padding: 40px 0;
}

.used-engines-page .info-bar-grid,
.used-transmissions-page .info-bar-grid,
.policy-page .info-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.used-engines-page .info-item,
.used-transmissions-page .info-item,
.policy-page .info-item {
    color: white;
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 1.5px;
    font-weight: 700;
    position: relative;
}

.used-engines-page .info-item:not(:last-child)::after,
.used-transmissions-page .info-item:not(:last-child)::after,
.policy-page .info-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, 0.3);
}


.used-engines-page h2,
.used-transmissions-page h2 {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 42px;
    text-transform: none;
    margin-bottom: 25px;
    font-weight: 700;
}

.used-engines-page .content-section,
.used-transmissions-page .content-section {
    padding: 60px 0;
}

.used-engines-page .section-divider,
.used-transmissions-page .section-divider {
    border: none;
    border-top: 1px solid #e58d96;

    margin: 40px 0;
    opacity: 0.5;
}

.content-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 1000px;
}


.used-engines-page main h3,
.used-transmissions-page main h3 {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 32px;
    text-transform: none;
    margin-bottom: 20px;
    font-weight: 700;
}


.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.bullet-list li::before {
    content: '‣';
    position: absolute;
    left: 0;
    color: #666;
    font-size: 20px;
    line-height: 1;
}


.payment-logos-large {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
}

.payment-logos-large img {
    height: 60px;
    opacity: 0.8;
}


@media (max-width: 768px) {

    .used-engines-page .info-bar-grid,
    .used-transmissions-page .info-bar-grid,
    .policy-page .info-bar-grid,
    .faq-page .info-bar-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .used-engines-page .info-item:not(:last-child)::after,
    .used-transmissions-page .info-item:not(:last-child)::after,
    .policy-page .info-item:not(:last-child)::after,
    .faq-page .info-item:not(:last-child)::after {
        display: none;
    }



    .used-engines-page .inner-hero h1,
    .used-transmissions-page .inner-hero h1 {
        font-size: 40px;
    }

    .used-engines-page h2,
    .used-transmissions-page h2 {
        font-size: 32px;
    }
}


.faq-page {
    background-color: #f3f3f5;
}

.faq-content-section {
    padding: 60px 0;
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-intro h2 {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.faq-accordion {
    max-width: 100%;
    margin: 0 auto;
    background: #f3f3f5;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 6px;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 24px 72px 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    user-select: none;
    position: relative;
    transition: background 0.3s ease;
}

.faq-item.active .faq-question {
    background: #ffffff;
}

.faq-question h3 {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111;
    margin: 0;
    text-transform: none !important;
    line-height: 18px;
    font-style: normal !important;
    transition: color 0.3s ease;
}

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


.faq-icon {
    display: none;

}

.faq-question::before,
.faq-question::after {
    content: '';
    position: absolute;
    top: 33px;
    width: 13px;
    height: 2px;
    background-color: var(--primary-red);
    transition: transform 0.3s;
}

.faq-question::before {
    right: 32px;
    transform: rotate(45deg);
}

.faq-question::after {
    right: 24px;
    transform: rotate(-45deg);
}


.faq-item.active .faq-question::before {
    transform: rotate(-45deg);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    background: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-inner {
    padding: 0 24px 30px;
}

.faq-answer-inner p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #6c7d8e;
    font-weight: 400;
}

@media (max-width: 768px) {
    .faq-intro h2 {
        font-size: 32px;
    }

    .faq-question {
        padding: 20px 60px 20px 20px;
    }

    .faq-question h3 {
        font-size: 14px !important;
    }

    .faq-question::before,
    .faq-question::after {
        top: 28px;
    }

    .faq-question::before {
        right: 28px;
    }

    .faq-question::after {
        right: 20px;
    }
}


.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.contact-info-col h2,
.contact-form-col h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;

    text-transform: capitalize;

    letter-spacing: 0.5px;
}

.contact-details p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.contact-details strong {
    color: #111;
    font-weight: 700;
    margin-right: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #999;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: #111;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    float: right;
}

.btn-submit:hover {
    background-color: #000;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .btn-submit {
        width: 100%;
        float: none;
    }
}


.policy-content {
    max-width: 100%;
    margin: 0 auto;
}

.policy-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
}

.policy-content h3 {
    font-size: 22px;
    margin-top: 45px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000;
}

.policy-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.policy-content ul li {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.policy-content ul li::before {
    content: "•";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.policy-note {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--primary-red);
    padding: 20px 25px;
    margin: 30px 0;
    color: #444;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.policy-note strong {
    color: var(--primary-red);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Responsive Header Styles */

@media (max-width: 991px) {
    .header-middle {
        padding: 15px 0;
    }

    .header-middle-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-container {
        margin: 0 auto;
    }

    .header-right {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .customer-care {
        padding: 8px 15px;
        font-size: 14px;
        flex: 1 1 auto;
        justify-content: center;
        max-width: fit-content;
    }

    .header-bottom {
        position: sticky;
        top: 0;
        z-index: 1000;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-bottom-inner {
        min-width: max-content;
    }

    .main-nav ul {
        display: flex;
        padding: 0 10px;
    }

    .main-nav ul li a {
        padding: 15px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .dropdown-menu {
        display: none !important;
        /* Hide complex dropdowns on small screens if not using toggle */
    }
}

@media (max-width: 576px) {
    .header-middle-inner {
        gap: 15px;
    }

    .logo-container img.logo {
        height: 45px;
    }

    .header-right {
        flex-direction: column;
        align-items: center;
    }

    .customer-care {
        width: 100%;
        max-width: 280px;
        border-radius: 4px;
    }

    .customer-care span {
        font-size: 13px;
    }

}

@media (max-width: 768px) {
    .inner-hero {
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 0;
    }

    .hero-filter-overlay {
        padding: 40px 0;
        background-color: #f9f9f9 !important;
        margin-top: 50px !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promo-grid {
        display: block;
    }

    .promo-item {
        width: 100%;
        margin-bottom: 30px;
    }

    .trust-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .detailed-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        background: transparent;
        border: none;
        color: white;
        padding: 15px 0;
        cursor: pointer;
        justify-content: space-between;
    }

    .menu-text {
        font-family: var(--font-heading);
        text-transform: uppercase;
        font-size: 16px;
        letter-spacing: 1px;
        font-weight: 700;
    }

    .main-nav {
        display: block;
        /* Always display for transition */
        position: fixed;
        top: 0;
        right: -320px;
        /* Start off-screen right */
        left: auto;
        /* Reset left */
        width: 300px;
        height: 100vh;
        background: #22232b;
        z-index: 2000;
        padding: 60px 0 20px 0;
        /* Top padding for close button space */
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        /* Flip border */
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        /* Flip shadow */
    }

    .main-nav.active {
        right: 0;
        /* Slide in */
    }

    /* Mobile Dropdown Styles */
    /* Default hidden state to override desktop styles */
    .dropdown-menu {
        display: none !important;
    }

    /* Open on Click (active-dropdown) OR Hover */
    .has-dropdown.active-dropdown .dropdown-menu,
    .has-dropdown:hover .dropdown-menu {
        display: block !important;
        position: static;
        transform: none;
        box-shadow: none;
        background: white !important;
        width: 100%;
        padding-left: 0;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        height: auto !important;
        max-height: 1000px !important;
    }

    .has-dropdown.active-dropdown .dropdown-menu li a {
        color: #222 !important;
        border-bottom: 1px solid #eee;
        padding-left: 30px;
    }

    /* Active dropdown link style (Click or Hover) */
    .has-dropdown.active-dropdown>a,
    .has-dropdown:hover>a {
        background-color: var(--primary-red);
        color: white;
    }

    .has-dropdown.active-dropdown .arrow,
    .has-dropdown:hover .arrow {
        transform: rotate(180deg);
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: transparent;
        pointer-events: auto;
        /* Ensure clicks are still captured */
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

    /* Add a close button pseudo-element or style header */
    .main-nav::before {
        content: 'MENU';
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        font-family: var(--font-heading);
        color: rgba(255, 255, 255, 0.5);
        font-size: 14px;
        letter-spacing: 2px;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav ul li a {
        padding: 15px 25px;
        font-size: 15px;
    }

    .main-nav ul li a {
        padding: 15px 25px;
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}