@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

body {
    overflow-x: hidden;
    font-family: "Zalando Sans Expanded", sans-serif !important;
    background: url(../img/website.webp) center center / cover no-repeat;
}

a {
    text-decoration: none;
    color: unset;
}

section {
    padding: 40px 0px;
}

.top-bar {
    background: #0052a3;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    font-size: 14px;
}

.top-bar .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar .flag {
    width: 20px;
    height: 15px;
}

.top-bar .right a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar {
    z-index: 999;
}

img.logo {
    width: 120px;
    height: auto;
}

.navbar .nav-item .nav-link {
    color: #000;
}

.sec-1 {
    position: relative;
    padding-bottom: 0px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(1deg, #00a0b5, #007ee5 57.29%, #007ee5); */
    /* background: linear-gradient(#064e7f , #000); */
    background: url(../img/baner.png) center center / cover no-repeat;
}

.bg {
    background: linear-gradient(#064e7f, #000);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.filter-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.filter-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    max-width: 600px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group select,
.form-group input {
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    transition: border 0.2s ease;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #ff3b2f;
    /* highlight color */
}

/* Full width rows */
.full-width {
    grid-column: 1 / -1;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 10px;
}

.btn-search {
    flex: 1;
    background: #064e7f;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-search:hover {
    opacity: 0.9;
}

.btn-reset {
    flex: 1;
    background: #064e7f;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-reset:hover {
    opacity: 0.9;
}


.sec-2 {
    padding: 20px 0px;
}

.filter-btn {
    text-decoration: none;
}

.car-fliter img {
    height: 102px;
    width: 100%;
}

.car-fliter {
    background-image: url(../img/bg.avif);
    background-size: calc(100% - 32px) 50%;
    background-position: bottom 6px center;
    background-repeat: no-repeat
}

@media(min-width: 768px) {
    .car-fliter {
        margin-left: -24px;
        margin-right: -24px;
        background-size: calc(100% - 48px) 48%;
        flex-wrap: wrap;
    }
}

.article-box {
    box-shadow: 1px 1px 5px 0px #000;
    position: relative;
    padding: 40px;
}

.article-img {
    position: absolute;
    right: 0;
}

.nav-tabs {
    display: flex !important;
    justify-content: space-between;
    border-bottom: unset;
}

@media screen and (max-width: 992px) {
    .nav-tabs {
        gap: 0px;
        justify-content: space-evenly;
    }
}

.nav-tabs .nav-link {
    border: unset;
    color: unset;
}

.nav-tabs .nav-link.active {
    border-bottom: 1px solid #2070e8;
    background: unset;
}

.nav-link:focus-visible {
    box-shadow: unset;
}

.nav-tabs .nav-link:hover {
    isolation: unset;
    border-color: unset;
}

.nav-link:focus,
.nav-link:hover {
    color: unset;
}

.tab-pane {
    padding: 40px;
    border-radius: 15px;
}

.tab-pane.fade {
    transition: opacity .25s linear;
}

@media screen and (max-width: 992px) {
    .tab-pane {
        padding: 15px;
    }
}

#home,
#messages {
    background: linear-gradient(300deg, #c2f8ff4d, #e7ccff4d);
}

#profile,
#other {
    background: linear-gradient(55deg, #feea9848, #c2f8ff3b);
}

.detail-box {
    padding: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
}

.detail-btn {
    background: #000;
    color: white;
    padding: 15px 30px;
    outline: none;
    border: none;
    margin-top: 50px;
    border-radius: 15px;
}

.sec-7 {
    background: url(../img/sec-7.avif) center center / cover no-repeat;
}




.header-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.left-content {
    padding-right: 20px;
}


.sec-7 h1 {
    font-size: 56px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.subtitle {
    color: #4a4a4a;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.subtitle strong {
    color: #1a1a1a;
    font-weight: 600;
}

.features {
    list-style: none;
}

.features li {
    color: #2c2c2c;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
}

.features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.featured-card {
    background: #2c3e50;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-height: 200px;
}

.featured-content {
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.featured-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    opacity: 0.95;
}

.featured-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 15px;
    align-self: flex-start;
}

.featured-button:hover {
    background-color: white;
    color: #2c3e50;
}


.guides-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.guide-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-content {
    padding: 24px;
}

.guide-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.guide-description {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 968px) {
    .header-section {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .sec-7 h1 {
        font-size: 42px;
    }

    .guides-row {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 30px;
    }
}

.help-box img {
    border-top-left-radius: 40px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 5px;
    transform-origin: center;
    transition: transform 1s ease-out;
}

.help-box:hover img {
    transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    transform: scale(1.02);
}

.help-box h4 {
    margin-top: 28px;
    font-size: 16px;
}

.help-box p {
    font-size: 14px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    margin-bottom: 30px;
}

@media screen and (max-width: 992px) {
    .tabs {
        flex-direction: column;
    }
}

.tab {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
}

.tab:hover {
    color: #333;
}

.tab.active {
    color: #000;
    font-weight: 600;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
}

.content-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    isolation: isolate;
}

.content {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}

.content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.vehicle-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    padding: 50px;
}

.vehicle-info {
    z-index: 2;
    color: white;
    max-width: 400px;
}

.rank-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.vehicle-name {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.learn-more {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.learn-more:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vehicle-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 80%;
    object-fit: cover;
    object-position: center;
}


.sec-8 .pagination {
    position: absolute;
    right: 40px;
    top: 25%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.pagination {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    margin: 20px 0px;
    gap: 10px;
}

@media screen and (max-width: 991px) {
    .pagination {
        grid-template-columns: repeat(5, 1fr);
    }
}



.pagination-dot {
    width: 12px;
    height: 12px;
    border: 1px solid;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-dot.active {
    background: white;
    transform: scale(1.2);
    height: 20px;
}

@media (max-width: 768px) {
    .tabs {
        gap: 20px;
        overflow-x: auto;
    }

    .tab {
        font-size: 16px;
        white-space: nowrap;
    }

    .vehicle-card {
        padding: 30px;
        height: 400px;
    }

    .vehicle-name {
        font-size: 36px;
    }

    .vehicle-image {
        width: 70%;
    }

    .pagination {
        right: 20px;
    }
}

.info-section {
    display: none;
    flex-wrap: wrap;
    background: linear-gradient(#064e7f, #000);
    ;
    ;
    color: white;
    padding: 40px 20px;
    justify-content: center;
    gap: 20px;
}

.column {
    flex: 1 1 200px;
    max-width: 200px;
    margin: 10px 15px;
    min-width: 150px;
}

.column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #dcdcdc;
    cursor: pointer;
    transition: color 0.2s ease;
}

.column ul li:hover {
    color: #ffffff;
}

.view-all {
    font-weight: bold;
    color: #ffffff;
}

/* 🔁 RESPONSIVE BREAKPOINTS */

/* Tablets (3 columns) */
@media (max-width: 992px) {
    .column {
        flex: 1 1 calc(33.33% - 30px);
        max-width: calc(33.33% - 30px);
    }
}

/* Mobile Landscape (2 columns) */
@media (max-width: 768px) {
    .column {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

/* Mobile Portrait (1 column) */
@media (max-width: 480px) {
    .info-section {
        padding: 30px 10px;
    }

    .column {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 15px 0;
    }

    .column h4 {
        font-size: 18px;
    }

    .column ul li {
        font-size: 15px;
    }
}

footer {
    background: linear-gradient(#064e7f, #000);
    /* background-color: #f9f9f9; */
    padding: 40px 20px 20px;
    font-size: 14px;
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section i {
    color: #fff;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    color: #333;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

.footer-bottom a {
    margin: 0 8px;
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.country-select {
    margin-top: 10px;
    width: 100%;
    padding: 6px;
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    display: inline-block;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    background-color: #0052a3;
    border-radius: 100%;
    padding: 15px 20px;
    z-index: 999;
}

@media (max-width: 600px) {
    .footer-social {
        justify-content: flex-start;
    }
}


.used-car-section {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 5%;
    gap: 30px;
    /* background-color: #f7f9fc; */
}

.mostSearched {
    flex: 1 1 300px;
    max-width: 350px;
}

.mostSearched h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.mostSearched p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.btn-view {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.car-grid {
    flex: 3 1 600px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.car-card:hover {
    transform: translateY(-4px);
}

.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.car-info {
    padding: 15px;
}

.car-info h3 {
    font-size: 16px;
    margin: 0 0 5px;
}

.price {
    display: block;
    font-weight: bold;
    color: #2f3542;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags span {
    background: #f1f2f6;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #333;
}


/* How to buy */

.howto {
    padding: 140px 0px;
    overflow: hidden;
}


.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding-left: 40px;
    border-left: 3px solid #064e7f;
    animation: growLine 1.5s ease-out forwards;
}



@keyframes growLine {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

.step {
    position: relative;
    margin-bottom: 80px;
    padding-left: 40px;
    animation: fadeUp 1s ease-in-out both;
}

.step:nth-child(2) {
    animation-delay: 0.3s;
}

.step:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.step::before {
    content: attr(data-step);
    position: absolute;
    left: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: transform 0.3s ease;
}

.step:hover::before {
    transform: scale(1.2) rotate(15deg);
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .timelime {
        border-left: unset;
    }

    .step {
        padding-left: unset;
    }

    .icon {
        margin-top: 20px;
    }

    .step::before {
        position: unset;
        padding: 10px 15px;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .timeline {
        padding-left: 20px;
    }

    .step::before {
        left: -43px;
    }
}


/* Process */

.auction-section {
    padding: 120px 0px 0px;
    background: url(../img/auction.png) center center / cover no-repeat;
}

@media screen and (max-width: 992px) {
    .auction-section {
        background: unset;
    }
}

.timeline-section {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #000;
    transform: translateX(-50%);
}

.timelime-box {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
}

.timelime-box::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #064e7f;
    border-radius: 50%;
    box-shadow: 0 0 15px #064e7f;
    z-index: 1;
}

.timelime-box.left {
    left: 0;
    text-align: right;
}

.timelime-box.left::after {
    right: -10px;
}

.timelime-box.right {
    left: 50%;
    text-align: left;
}

.timelime-box.right::after {
    left: -10px;
}

.timeline-box-content {
    background: rgba(255, 255, 255, 0.90);
    padding: 20px 25px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-box-content:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.timelinebox-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timelinebox-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.timelinebox-number {
    font-size: 1rem;
    margin-bottom: 5px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-section::before {
        left: 10px;
        display: none;
    }

    .timelime-box {
        width: 100%;
        padding-left: 30px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timelime-box.right,
    .timelime-box.left {
        left: 0;
    }

    .timelime-box::after {
        left: 0;
    }

    .timelime-box.left::after {
        display: none;
    }

    .timelime-box.right::after {
        display: none;
    }

}


/* Contact Us */

.contact-section {
    padding: 180px 0px;
}


/* Signup */

.signup {
    /* background: url(../img/custom-bg-2.png); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 180px 0px;
}

.login {
    background: rgba(7, 52, 202, 0.07);
    backdrop-filter: blur(20px) brightness(1.2);
}

.signup-f {
    background: #064e7f;
    color: white;
    backdrop-filter: blur(20px) brightness(1.2);
}


.form-panel {
    flex: 1;
    padding: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: 0.5s ease;
}

.form-panel:last-child {
    border-right: none;
}

.sign-f h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000;
}

.f-group {
    position: relative;
    margin-bottom: 25px;
}



.f-group input,
.f-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: #000;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}


.f-group textarea {
    resize: none;
    height: 100px;
}

.f-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #000;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.f-group input:focus+label,
.f-group input:not(:placeholder-shown)+label,
.f-group textarea:focus+label,
.f-group textarea:not(:placeholder-shown)+label {
    top: -12px;
    left: 12px;
    background: #0f0c29;
    padding: 0 5px;
    font-size: 0.75rem;
    color: #38bdf8;
}

.signed-btn {
    background: #000;
    border: none;
    padding: 12px 25px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.signed-btn:hover {
    background: #064e7f;
}

.note {
    font-size: 0.85rem;
    margin-top: 10px;
    color: red;
}


/* Responsive */
@media (max-width: 768px) {

    .form-panel {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .form-panel:last-child {
        border-bottom: none;
    }
}


/* Review */

/* review-Hero Section */
.review-hero {
    background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
    padding: 140px 0px 40px;
    position: relative;
    overflow: hidden;
}

.review-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.review-hero-text {
    flex: 1;
    min-width: 300px;
}

.review-hero-text h1 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 10px;
    color: #1e293b;
}

.review-hero-text p {
    color: #475569;
    margin-bottom: 30px;
    font-size: clamp(14px, 2vw, 16px);
}

.review-hero-image {
    width: 100%;
    max-width: 500px;
    flex: 1;
}

.review-hero-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* Search Form */
.review-search-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.review-form-group {
    flex: 1;
    min-width: 150px;
}

.review-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.review-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.btn-search {
    padding: 10px 30px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #242424;
}

/* Section Titles */
.section-title {
    font-size: clamp(22px, 4vw, 28px);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: clamp(14px, 2vw, 16px);
}

/* Car Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.car-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
}

.car-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.car-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.car-card ul {
    list-style: none;
    font-size: 13px;
    color: #666;
}

.car-card ul li {
    padding: 3px 0;
    display: flex;
    align-items: flex-start;
}

.car-card ul li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.car-card a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    margin-top: 10px;
    width: 100%;
}

.recommend {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

@media screen and (max-width: 992px) {
    .recommend {
        flex-direction: column;
    }
}

/* Recommendations */
.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.rec-card {
    display: flex;
    gap: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
}

.rec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rec-card img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.rec-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.rec-content p {
    font-size: 12px;
    color: #666;
}

.rec-content a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 12px;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Review Cards */
.review-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateX(5px);
}

.review-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.review-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.review-content p {
    font-size: 12px;
    color: #666;
}

/* Promo Section */
.promo-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.promo-content {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.promo-image {
    width: 100%;
    max-width: 200px;
}

.promo-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.promo-text {
    flex: 1;
    min-width: 300px;
}

.promo-text h3 {
    margin-bottom: 15px;
    font-size: clamp(18px, 3vw, 24px);
}

.promo-list {
    list-style: none;
}

.promo-list li {
    padding: 8px 0;
    font-size: 14px;
}

.promo-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
}

.promo-list a {
    color: #3b82f6;
    text-decoration: none;
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.resource-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.resource-card-content {
    padding: 15px;
}

.resource-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.resource-card a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 12px;
}

/* Road Test Grid */
.road-test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.road-test-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.road-test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.road-test-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.road-test-card h4 {
    padding: 15px;
    font-size: 14px;
    text-align: center;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.brand-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.brand-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.brand-item a:hover {
    color: #3b82f6;
}

/* News List */
.news-list {
    list-style: none;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-item h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.news-item p {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.news-item a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 12px;
}

/* Footer */
footer {
    padding: 40px 20px 5px;
}

footer a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

footer a:hover {
    color: #3b82f6;
}

/* Responsive Breakpoints */

/* Large Tablets and Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .review-hero-content {
        flex-direction: column;
    }

    .review-hero-image {
        max-width: 100%;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .header-nav {
        font-size: 12px;
        gap: 10px;
    }

    .header-nav a {
        font-size: 12px;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 0 0;
    }

    .review-hero {
        padding: 30px 15px;
    }

    .car-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-grid,
    .road-test-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .recommendations {
        grid-template-columns: 1fr;
    }

    .promo-content {
        flex-direction: column;
    }

    .promo-image {
        max-width: 100%;
    }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
    .header-top {
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        justify-content: center;
    }

    .header-nav {
        justify-content: center;
        font-size: 11px;
        gap: 8px;
    }

    .search-bar {
        margin: 10px 0 0 0;
    }

    .review-hero-text h1 {
        font-size: 22px;
    }

    .review-search-form {
        flex-direction: column;
        padding: 15px;
    }

    .review-form-group {
        width: 100%;
    }

    .btn-search {
        width: 100%;
    }

    .car-grid {
        grid-template-columns: 1fr;
    }

    .rec-card {
        flex-direction: column;
    }

    .rec-card img {
        width: 100%;
        height: 150px;
    }

    .review-card {
        flex-direction: column;
    }

    .review-card img {
        width: 100%;
        height: 120px;
    }

    .resource-grid,
    .road-test-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 20px;
    }

    footer>div>div {
        flex-direction: column;
        gap: 15px !important;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .review-hero {
        padding: 20px 10px;
    }

    .review-search-form {
        padding: 10px;
        gap: 10px;
    }

    .car-card,
    .rec-card,
    .resource-card {
        padding: 10px;
    }

    .promo-section {
        padding: 20px 15px;
    }

    footer {
        padding: 30px 15px;
    }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .review-hero-text h1 {
        font-size: 18px;
    }

    .section-title {
        font-size: 18px;
    }

    .header-nav a {
        font-size: 10px;
    }

    .car-card h3,
    .rec-content h4,
    .review-content h4,
    .resource-card h4 {
        font-size: 13px;
    }

    .car-card ul li,
    .rec-content p,
    .review-content p,
    .resource-card p {
        font-size: 11px;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .review-search-form,
    .btn-search {
        display: none;
    }

    .car-grid,
    .resource-grid,
    .road-test-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-card,
    .resource-card {
        page-break-inside: avoid;
    }
}


/* About */

.about-sec {
    padding: 140px 0px 0px;
}


/* Bank Detail */

.bank-details-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 120px 20px;
    background-color: #fff;
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bank-details-section img {
    max-width: 100%;
    height: auto;
    flex: 1 1 300px;
    border-radius: 8px;
}

.bank-info {
    flex: 1 1 500px;
}

.bank-info h2 {
    color: #007ee5;
    margin-bottom: 20px;
}

.bank-info p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.bank-info p strong {
    display: inline-block;
    width: 180px;
    color: #333;
}

.bank-bottom-banner {
    margin-top: 40px;
    text-align: center;
}

.bank-bottom-banner img {
    max-width: 100%;
    height: auto;
    border-top: 3px solid #7b001c;
}

@media (max-width: 768px) {
    .bank-info p strong {
        width: 100%;
        display: block;
        margin-bottom: 4px;
    }

    .bank-info p {
        font-size: 15px;
    }

    .bank-details-section {
        flex-direction: column;
        align-items: center;
    }
}

/* Stock Detail */

.sp-container {
    padding: 120px 0px;
}

.sidebar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sp-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sp-section:last-child {
    border-bottom: none;
}

.sp-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
}

.sp-tag {
    display: inline-flex;
    align-items: center;
    background: #e8f4f8;
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin: 4px 4px 4px 0;
    cursor: pointer;
}

.sp-tag:hover {
    background: #d0e8f2;
}

.sp-tag::after {
    content: '×';
    margin-left: 8px;
    font-size: 16px;
}

.range-slider {
    width: 100%;
    margin: 15px 0;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    outline: none;
}

.range-value {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.button-group {
    display: flex;
    gap: 8px;
}

.btn-option {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #000;
    color: white;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-option:hover {
    background: #f8f8f8;
    color: #000;
}

.btn-option.active {
    background: #000;
    color: white;
    border-color: #000;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.go-btn {
    background: #064e7f;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.select-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: white;
}

.main-content {
    flex: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.sort-save {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-btn,
.save-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort-btn:hover,
.save-btn:hover {
    background: #f8f8f8;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.sp-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.sp-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.sp-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.sp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 18px;
}

.favorite-btn:hover {
    background: #f8f8f8;
}

.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.image-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0.6;
}

.dot.active {
    opacity: 1;
}

.sp-details {
    padding: 16px;
}

.sp-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.sp-details .sp-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.sp-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.sp-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.sp-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #333;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.tag {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    color: #333;
}

.mt-3 {
    margin-top: 12px;
}

.check-btn {
    display: block;
    width: 100%;
    background: #064e7f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.check-btn:hover {
    background: #0052a3;
}

/* New styles for Filter and Price Calculator sections */
.filter-label {
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.range-group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.range-group .select-field {
    margin-bottom: 0;
    flex: 1;
}

.range-separator {
    color: #666;
    font-size: 14px;
}

.more-details-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
    margin-top: 10px;
}

.more-details-btn:hover {
    background: #f8f8f8;
}

.action-buttons {
    padding: 0;
    margin-top: 16px;
}

.search-btn {
    width: 100%;
    padding: 14px;
    background: #e60012;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn:hover {
    background: #cc0010;
}

.reset-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #333;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reset-btn:hover {
    background: #f8f8f8;
}

.matches-badge {
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #e60012;
}

.radio-item label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.calculate-btn {
    width: 100%;
    padding: 14px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calculate-btn:hover {
    background: #34495e;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .sp-container {
        display: block;
    }
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }
}

/* Terms & Conditons */

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 40px 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #000;
}

.terms-content {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-sidebar {
    width: 280px;
    position: sticky;
    top: 20px;
    height: fit-content;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.terms-section p {
    margin-bottom: 16px;
    color: #333;
    font-size: 15px;
}

.terms-section ol,
.terms-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.terms-section li {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}

.terms-section a {
    color: #0066cc;
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.sidebar-nav a:hover {
    background-color: #f0f0f0;
}

.sidebar-nav a.active {
    background-color: #e8f4ff;
    color: #0066cc;
    font-weight: 500;
}

.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

@media (max-width: 968px) {
    .terms-container {
        flex-direction: column;
    }

    .terms-sidebar {
        width: 100%;
        position: static;
    }

    .terms-content {
        padding: 24px;
    }
}

.privacy-table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.privacy-table th,
.privacy-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
}

.privacy-table td {
    background-color: #fff;
}


/* Stock Detail */

.car-details-section {
    padding: 140px 20px 60px;
    background: #fff;
}

.car-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.car-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.ref-id {
    color: #777;
    margin-bottom: 20px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.price-box .price {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

.btn-search {
    border: 2px solid #222;
    color: #222;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-search:hover {
    background: #222;
    color: #fff;
}

.card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stock-details h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
}

.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

/* Quote Form */
.quote-form h3 {
    margin-bottom: 15px;
    color: #222;
    font-size: 1.2rem;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
}

.quote-form textarea {
    min-height: 80px;
    resize: vertical;
}

.quote-form button {
    width: 100%;
    font-family: inherit;
}

/* Gallery Slider */
.gallery-section {
    margin-top: 50px;
    padding-bottom: 40px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.swiper {
    width: 100%;
    height: 200px !important;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    height: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}



/* Responsive */
@media (max-width: 992px) {
    .car-details-grid {
        grid-template-columns: 1fr;
    }

    .swiper {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .car-details-section {
        padding-top: 100px;
    }

    .price-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .car-title {
        font-size: 1.6rem;
    }

    .swiper {
        height: 300px;
    }

    .stock-grid {
        grid-template-columns: 1fr;
    }
}



.custom-cars {
    width: 208px;
    height: 135px;
    object-fit: contain;
}


.cta {
    position: relative;
    padding: 20px 0px;
}

.cta a {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.badge {
    left: 150px;
}

.nav-tabs .nav-link.active {
    color: #fff
}




.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

.pagination a.active {
    background-color: #064e7f;
    color: white;
    border: 1px solid #064e7f;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}


/* Fixes */

.quote-form .intl-tel-input .selected-flag {
    padding: 0 6px 12px 8px !important;
}

.contact-page-form .intl-tel-input .selected-flag {
    padding: 0 6px 0px 8px !important;
}

.form-panel .intl-tel-input .selected-flag {
    padding: 0 6px 8px 8px !important;
}

.discount-img img {
    width: 100%;
}

@media screen and (max-width: 992px) {
    .top-bar {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .cta a {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 33%;
    }

    .cta .btn-search {
        padding: 1px 10px;
        font-size: 12px;
    }
}


.hrb-about {
    display: grid;
    gap: 2rem;
    padding: 4rem 2rem;
    font-family: 'Poppins', sans-serif;
}

.hrb-about>div {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
}

.hrb-about>div:nth-child(odd) {
    border-left: 5px solid #064e7f;
}

.hrb-about>div:nth-child(even) {
    border-left: 5px solid #000;
}

.hrb-about>div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hrb-about h2 {
    font-size: 1.8rem;
    color: #111827;
    margin-bottom: 1rem;
    position: relative;
}

.hrb-about h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0078ff, #00c6a7);
    border-radius: 2px;
}

.hrb-about p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.hrb-about ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.hrb-about ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
}

.hrb-about ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #00c6a7;
    font-weight: bold;
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hrb-about {
        padding: 2rem 1rem;
    }

    .hrb-about h2 {
        font-size: 1.5rem;
    }
}


.reflect {
    transform: scaleX(-1);
}