* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

i {
    margin-right: 5px;
}

.main-color {
    color: #006391;
}

.top-bar {
    background-color: #006391;
    color: white;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 30px;
    flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left span,
.top-bar-right span {
    display: flex;
    align-items: center;
}

.top-bar-right span i {
    margin-left: 5px;
}

/* Language dropdown */
.language-dropdown {
    position: relative;
    cursor: pointer;
}

.language-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    color: black;
    min-width: 100px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.dropdown-menu div {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu div:hover {
    background-color: #f0f0f0;
}

.heart-icon {
    font-size: 16px;
}

@media (max-width: 768px) {
    .top-bar a {
        display: none;
    }

    .showMob {
        display: block !important;
    }

    .hideMob {
        display: none;
    }
}


/* MAIN HEADER */
header {
    background-color: #fff;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    flex-wrap: wrap;
}

.logo img {
    height: 70px;
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.2s;
}

nav a:hover {
    color: #006391;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    width: 400px;
}

.search-bar input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.search-bar button {
    background-color: #000;
    border: none;
    color: white;
    padding: 12px 15px;
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 991px) {
    nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: white;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px 30px;
        border-top: 1px solid #eee;
    }

    nav.active {
        display: flex;
        z-index: 1000;
    }

    .hamburger {
        display: block;
    }

    .search-bar {
        width: 100%;
        margin-top: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


}


/* HERO */
.hero {
    background: url('../imgs/back.jpg') no-repeat center center/cover;
    color: white;
    padding: 50px 80px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 500px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content,
.hero-info {
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #e0e0e0;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn i {
    font-size: 12px;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.hero-info-box {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 15px 20px;
    border-radius: 10px;
    width: 150px;
}

.hero-info-box img {
    height: 40px;
    margin-bottom: 8px;
}

.hero-info-box p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 30px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: #fff;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
        gap: 15px;
    }

    .hero-info-box {
        width: 130px;
    }

    .form-select {
        font-size: 12px;
    }
}

/* HOME FILTER */
.filter-box {
    border: 2px solid #eee;
    border-radius: 5px;
    padding: 20px;
    background-color: #f8f9fa;
}

.price-range {
    position: relative;
}

.price-range-output {
    font-weight: bold;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.range-slider input[type=range] {
    width: 100%;
}

/* SLIDER */
.mySwiper {
    width: 100%;
}

.swiper {
    width: 100%;
    margin: 0;
}

.swiper-slide img {
    width: 100%;
    display: block;
    border-radius: 0;
    /* optional - full edge */
}

/* LEFT SIDE */

.filter-box {
    padding: 20px;
    background: #f8f7f7;
    border-radius: 15px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.filter-heading {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    border-left: 3px solid #1e90ff;
    padding-left: 10px;
}

.price-section {
    margin-bottom: 30px;
}

.section-title {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 5px;
}

.price-labels .price-value {
    font-weight: bold;
    color: #000;
    text-align: center;
    flex: 1;
}

.range-slider {
    width: 100%;
    accent-color: #006391;
}

.filter-list {
    list-style: none;
    padding-left: 0;
}

.filter-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #444;
    font-size: 14px;
}

.filter-list li img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 10px;
}

.banners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.banner {
    height: 90%;
    width: 90%;
    border-radius: 20px;
}

.local-sites-box {
    background-color: #f9f9f9;
    border-radius: 12px;
}

.local-sites-title {
    margin-bottom: 20px;
    font-size: 18px;
}

.local-site-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    text-decoration: none;
}

.local-site-item img {
    width: 24px;
    height: 16px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.local-site-item span {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* MAIN SECTION */
.car-img {
    height: 180px;
    object-fit: cover;
}

.car-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
}

.btn .fas.fa-heart {
    font-size: 1rem;
}

.heartIcon {
    margin-right: 2px;
}

.userImg {
    width: 80px !important;
}

/* CAR LISTING */
.btn-primary {
    background-color: #006391;
    border: none;
}

.btn-primary:hover {
    background-color: #006391;
}

.carList {
    margin: 30px 20px;
}

.landscape-car-card {
    display: flex;
    height: 220px;
    /* ✅ give it fixed height */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.landscape-car-card .car-thumb {
    width: 45%;
    height: 100%;
    position: relative;
}

.landscape-car-card .car-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.landscape-car-card .car-content {
    padding: 10px;
    width: 100%;
}

.car-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}

.car-ref {
    font-size: 0.8rem;
    color: #888;
}

.car-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #006391;
    margin-bottom: 6px;
}

.car-details-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 4px;
}

.car-details-grid div b {
    display: block;
    color: #222;
}

.car-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.75rem;
}

.car-options span {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    color: #333;
}

.fav-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #006391;
    background: white;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fav-icon:hover {
    transform: scale(1.1);
}

.custom-pagination .page-link {
    color: #006391;
    border: 1px solid #006391;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 4px;
    background-color: transparent;
    transition: 0.3s;
}

.custom-pagination .page-item.active .page-link {
    background-color: #006391;
    color: white;
    border-color: #006391;
}

.custom-pagination .page-link:hover {
    background-color: #006391;
    color: white;
    text-decoration: none;
}

.custom-pagination .page-item.disabled .page-link {
    color: #aaa;
    border-color: #ccc;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

.btn-secondary {
    background-color: gray;
}

.btn-outline-secondary {
    background-color: white;
    color: #006391;
    border: 1px solid #006391;
}

.btn {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .landscape-car-card {
        flex-direction: column;
        height: 100%;
    }

    .landscape-car-card .car-thumb,
    .landscape-car-card .car-content {
        width: 100%;
    }

    .car-details-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-select {
        font-size: 12px;
    }

    .form-label {
        font-size: 12px;
    }
}


/* CAR DETAILS PAGE  */
.car-wrapper {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.car-title {
    font-weight: bold;
    font-size: 24px;
    color: #006391;
}

.price-main {
    font-size: 20px;
    font-weight: bold;
    color: #006391;
}

.price-cut {
    text-decoration: line-through;
    color: gray;
    font-size: 14px;
    margin-right: 8px;
}

.price-discount {
    color: green;
    font-size: 14px;
}

.spec-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
    font-size: 14px;
}

.spec-item {
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.swiper-slide img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 10px;
}

.thumbs {
    display: flex;
    flex-wrap: wrap;
    /* This is the key */
    gap: 9px;
    margin-top: 10px;
}

.thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.total-price {
    font-weight: bold;
    font-size: 18px;
    color: red;
}

@media (max-width: 767.98px) {
    .thumbs img {
        width: 70px;
        height: 53px;
    }

    .swiper-slide img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 10px;
    }

    .car-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* SPECIFICATIONS */
.spec-section {
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    background-color: #fafafa;
}

.spec-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #006391;
}

.spec-table th {
    background-color: #f5f5f5;
    font-weight: 500;
    color: #555;
    vertical-align: middle;
}

.spec-table td {
    color: #000;
    vertical-align: middle;
}

/* FEATURES */
.feature-heading {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #006391;
}

.feature-table td {
    vertical-align: middle;
    color: #999;
    background-color: #eee;
    border: 2px solid #bbb;
    text-align: center;
    font-size: 14px;
    padding: 8px;
}

.feature-table td.active {
    background-color: #d1f5d3;
    font-weight: 600;
    color: #00bbfa;
    border: 2px solid #00bbfa;
}

/* SIMILAR */
.car-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.car-image img {
    width: 100%;
    height: 140px;
}

.arrival-tag {
    position: absolute;
    background: #006391;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    top: 10px;
    left: 10px;
    border-radius: 4px;
}

.car-details {
    padding: 10px;
}

.car-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.car-price span {
    color: #006391;
}

.mainSwiper img,
.thumbsSwiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.thumbsSwiper .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
}

.thumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #007bff;
}

/* FAQ */

/* FAQs */
.faq-container {
    padding: 30px 0;
}

.faq-heading {
    color: #006391;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

.accordion-custom {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #fff;
    cursor: pointer;
    padding: 15px 20px;
    font-weight: 600;
    position: relative;
    color: #333;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 18px;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    content: "-";
    transform: rotate(180deg);
}

.accordion-body {
    padding: 15px 20px;
    display: none;
    background-color: #fff;
    color: #444;
}

.accordion-body.show {
    display: block;
}

/* ABOUT */

/* ABOUT */
.about-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.about-section h1 {
    font-size: 2.2rem;
    color: #006391;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-section h3 {
    color: #006391;
    font-weight: 600;
    margin-top: 30px;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.about-section .icon {
    color: #006391;
    margin-right: 10px;
}

.section-divider {
    height: 2px;
    background-color: #006391;
    width: 60px;
    margin: 20px 0;
}



/* CONTACT */

.consultant .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease;
    height: 100%;
    text-align: center;
    padding: 20px 15px;
}

.consultant .card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.consultant .circle-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #006391;
}

.consultant .card-body h5 {
    color: #006391;
    margin-bottom: 10px;
}

.consultant .lang {
    list-style: none;
    padding-left: 0;
    margin: 0 0 10px 0;
}

.consultant .lang li {
    display: inline-block;
    background: #eee;
    padding: 3px 8px;
    margin: 3px;
    border-radius: 4px;
    font-size: 13px;
}

.consultant .whatsapp a {
    color: #25d366;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    justify-content: center;
}

.consultant .whatsapp a:hover {
    text-decoration: underline;
}

.consultant .email {
    display: block;
    margin-bottom: 8px;
    color: #555;
    text-decoration: none;
}

.consultant .email:hover {
    text-decoration: underline;
}

/* LOGIN */
.login-wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../imgs/login.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-container {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.form-container h2 {
    color: #006391;
    margin-bottom: 25px;
}

.form-container input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.loginButton {
    width: 100%;
    background-color: #006391;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.loginButton:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top: 3px solid #006391;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.d-none {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logoLogin {
    width: 80px;
    margin-bottom: 30px;
}

.dont {
    margin-top: 13px;
    color: #444;
    ;
}

/* SERVICES */
.service-box {
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background: #fff;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gallery-img {
    width: 100%;
    height: 250px;
    /* Same height for all */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.border:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

/* voice client */
.glider-contain {
    position: relative;
}

.glider .card {
    height: 100%;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #006391;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}


.shadow-sm {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.text-primary {
    color: #006391 !important;
}

.btn-primary {
    background-color: #006391;
    border-color: #006391;
}

.btn-primary:hover {
    background-color: #004d6b;
}

/* BLOGS */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.blog-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.read-more {
    color: #006391;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #004d6b;
}

.date-box {
    background-color: #006391;
    color: white;
    border-radius: 6px;
    padding: 6px 12px;
    min-width: 55px;
}

.date-box .day {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.date-box .month {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
}

.news-item:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
}

.read-more {
    color: #006391;
    text-decoration: none;
}

.read-more:hover {
    color: #004d6b;
}

.blog-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.blog-content h4 {
    color: #006391;
}

/* COUNTRY */
.car-overlay {
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease-in-out;
    text-align: center;
}

.car-card:hover .brand-name {
    opacity: 1 !important;
    transition: opacity 0.4s ease-in-out;
    margin-top: 10px;
}

.car-card img {
    transition: transform 0.4s ease-in-out;
}

.car-card:hover img {
    transform: scale(1.05);
}