﻿@import url(https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css);
@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Finlandica:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans+Thai+Looped:wght@100;200;300;400;500;600;700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Oswald:wght@200;300;400;500;600;700&display=swap);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Shadows+Into+Light+Two&display=swap');
body {
    font-family: Lato,sans-serif;
    background-color: #fff;
    color: #03234d
}
a:hover {
    color: #cc2325;
}
a{
    text-decoration:none;
}
.container-1600 {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px
}
.layout header {
    background-image: url(/Content/images/autosdirectvaV2/slider-bottom.png);
    background-position: bottom center;
    z-index: 1000
}
/* NAVBAR */
.custom-navbar {
    background: #fff;
    padding: 12px 0;
    transition: all .4s ease;
    box-shadow: 0 3px 20px rgba(0,0,0,.05);
   /* z-index: 9999;*/
}
/* LOGO */
.nav-logo {
    max-height: 65px;
    width: auto;
}
/* NAV LINKS */
.navbar-nav {
    gap: 12px;
}
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px;
    margin-top: 0px;
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: none; /* 🔥 IMPORTANT FIX */
}
    .dropdown-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}
.nav-hover::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: #cc2325;
    transition: width 0.3s ease;
}
.nav-hover:hover::before,
.nav-hover.active::before {
    width: 100%;
}
/* DROPDOWN */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px;
   /* margin-top: 15px;*/
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
    animation: dropdownFade .3s ease;
}
.dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
}
    .dropdown-item:hover {
        background: #f5f8ff;
    }
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* PHONE */
.nav-contact {
    text-align: right;
}
.phone-link {
    display: block;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}
    .phone-link i {
        margin-right: 6px;
        color: #cc2325;
    }
.nav-contact span {
    font-size: 13px;
    color: #cc2325;
    display: block;
    font-weight: 600;
}
/* STICKY ANIMATION */
.custom-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,.12);
}
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }
    .navbar .dropdown-menu {
        transition: all 0.25s ease;
        pointer-events: auto;
    }
    .navbar .dropdown {
        padding-bottom: 10px; /* creates invisible hover buffer */
    }
}
/* MOBILE */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding-top: 15px;
    }
    .nav-link {
        padding: 12px !important;
    }
    .nav-contact {
        text-align: center;
        margin-top: 20px;
    }
        .nav-contact.d-none.d-lg-flex {
            display: block !important;
        }
}
.top-info-bar {
    background: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}
    .top-info-bar a{
        color:#fff;
    }
    /* LEFT TEXT */
    .bar-text {
        margin: 0;
        font-weight: 500;
        opacity: 0.9;
    }
/* RATING BOX */
.rating-box {
    color: #fff;
    font-size: 14px;
}
.stars {
    color: #ffc107;
    margin-right: 6px;
    font-size: 15px;
}
.rating-number {
    font-weight: 700;
    margin-right: 6px;
}
.review-link {
    color: #ccc;
    text-decoration: none;
    margin-right: 15px;
    transition: 0.3s ease;
}
    .review-link:hover {
        color: #fff;
        text-decoration: underline;
    }
/* SOCIAL ICONS */
.social-icons a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
}
    .social-icons a:hover {
        background: #cc2325;
        transform: translateY(-3px);
    }
/* MOBILE */
@media (max-width: 991px) {
    .rating-box {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .social-icons {
        justify-content: center;
        margin-top: 8px;
    }
}
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.subtitle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #262422;
}
.line {
    width: 40px;
    height: 2px;
    background: #262422;
}
.title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
@media (max-width: 768px) {
    .title {
        font-size: 20px;
    }
    .line {
        width: 25px;
    }
}
.header-opts {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    text-align: left; 
}
    .header-opts:hover {
        opacity: 0.85; 
    }
    .header-opts .feature-icon {
        font-size: 42px;
        color: #fff;
        flex-shrink: 0;
    }
    .header-opts .feature-title {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
    }
    .header-opts .feature-subtitle {
        margin: 3px 0 0;
        font-size: 14px;
        color: #d6d6d6;
        line-height: 1.4;
    }
/* mobile */
@media (max-width: 768px) {
    .header-opts .feature-icon {
        font-size: 36px;
    }
}
.CarBargain-header {
    width: 100%;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
}

/* 🔻 Background Slider Layer */
.bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .bg-slider .slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
    }

        .bg-slider .slide.active {
            opacity: 1;
        }

/* 🔻 Overlay */
.CarBargain-header .hero-overlay {
    width: 100%;
    min-height: 80vh;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 0 0 0;
    position: relative;
    z-index: 2;
}

/* main content */
.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
}

/* bottom bar */
.hero-bottom-bar {
    background: rgba(0, 0, 0, 0.35);
    padding: 20px 0;
    backdrop-filter: blur(6px);
}

    /* bottom items */
    .hero-bottom-bar .bottom-item {
        position: relative;
    }

        .hero-bottom-bar .bottom-item:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 20%;
            height: 60%;
            width: 1px;
            background: rgba(255, 255, 255, 0.25);
        }

/* text */
.hero-content h1 {
    font-weight: 800;
    color: #fff;
}

.hero-content .hero-subtitle {
    color: #cc2325;
    font-size: 40px;
    font-family: "Shadows Into Light Two", cursive;
    text-shadow: 2px 2px 2px #000;
}

.CarBargain-header .hero-text {
    max-width: 520px;
    line-height: 1.6;
    color: #fff;
    font-size: 20px;
}

/* buttons */
.CarBargain-header .hero-buttons .btn-danger {
    color: #fff;
    background-color: #cc2325 !important;
    border-color: #cc2325 !important;
}

/* bottom links */
.hero-bottom-bar .header-opts {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* mobile */
@media (max-width: 768px) {
    .CarBargain-header .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .CarBargain-header .hero-text {
        margin: 0 auto 25px auto;
        text-align: center;
    }

    .CarBargain-header .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

        .CarBargain-header .hero-buttons .btn {
            width: 80%;
        }

    .CarBargain-header .hero-title {
        font-size: 30px;
    }
}



/*myCarBargainSlider*/
.dc-image {
    position: relative;
    overflow: hidden;
    /* Styling */
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    /* Soft shadow */
    box-shadow: 0 8px 25px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
    background: #fff;
}

    .dc-image .carousel-inner {
        border-radius: inherit;
    }

   

    /* Navigation buttons */
    .dc-image .carousel-control-prev,
    .dc-image .carousel-control-next {
        width: 48px;
        height: 48px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,.15);
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 50%;
        backdrop-filter: blur(8px);
        opacity: 0;
        transition: all .3s ease;
    }

    /* Position buttons */
    .dc-image .carousel-control-prev {
        left: 20px;
    }

    .dc-image .carousel-control-next {
        right: 20px;
    }

    /* Show on hover */
    .dc-image:hover .carousel-control-prev,
    .dc-image:hover .carousel-control-next {
        opacity: 1;
    }

    /* Slight hover effect */
    .dc-image .carousel-control-prev:hover,
    .dc-image .carousel-control-next:hover {
        transform: translateY(-50%) scale(1.08);
        background: rgba(255,255,255,.25);
    }


.btn-brwse {
    background-color: #cc2325;
    color: #fff;
    text-transform: uppercase;
  
}
.btn-brwse:hover {
    
    color: #fff;
   
}
.offer-serv {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.offer-serv-card {
    flex: 1 1 calc(15% - 15px);
    min-width: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #222;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

    /* Top Hover Line */
    .offer-serv-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 0;
        height: 4px;
        background: #000;
        transform: translateX(-50%);
        transition: width .35s ease;
    }

    .offer-serv-card img {
       /* width: 75px;
        height: 75px;*/
        object-fit: contain;
        margin-bottom: 18px;
        transition: transform .35s ease;
    }

    .offer-serv-card h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.4;
    }

.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all .35s ease;
}

    .offer-link i {
        transition: transform .35s ease;
    }

/* Hover Effects */
.offer-serv-card {
    flex: 1 1 calc(15% - 15px);
    min-width: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #222;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    z-index: 1;
}

    /* Sliding Background */
    .offer-serv-card::before {
        content: "";
        position: absolute;
        width: 220%;
        height: 220%;
        left: -170%;
        bottom: -170%;
        background: #f5f5f5;
        transform: rotate(45deg);
        transition: all .6s ease;
        z-index: -1;
    }

    /* Hover */
    .offer-serv-card:hover::before {
        left: -40%;
        bottom: -40%;
    }

    .offer-serv-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,.12);
        border-color: #ddd;
    }

    /* Image Animation */
    .offer-serv-card img {
      /*  width: 75px;
        height: 75px;*/
        object-fit: contain;
        margin-bottom: 18px;
        transition: transform .4s ease;
    }

    .offer-serv-card:hover img {
        transform: scale(1.08);
    }

/* Arrow Animation */
.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .4s ease;
}

    .offer-link i {
        transition: transform .4s ease;
    }

.offer-serv-card:hover .offer-link i {
    transform: translateX(6px);
}

/* Tablet */
@media (max-width: 991px) {
    .offer-serv-card {
        flex: 1 1 calc(50% - 10px);
    }
}

/* Mobile */
@media (max-width: 575px) {
    .offer-serv-card {
        flex: 1 1 100%;
    }
}


/*Steps/**/
.step-wrapper {
    position: relative;
}
/* Card */
.step-card {
    background: #f2f2f2;
    border-radius: 16px;
    position: relative;
    text-align:center;
}
/* Step number */
.step-no {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    background: #cc2325;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Dashed line under all cards */
.step-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px dashed #ccc;
    z-index: 0;
}
.step-card i{
    font-size:50px;
}
.approved-sec h2{
    text-transform:uppercase;
    font-weight:700;
}
.approved-sec h6 {
    font-weight: 700;
    text-transform: uppercase;
}
.approved-sec .btn-approved {
    background-color: #cc2325;
    text-transform: uppercase;
    padding: 8px 30px;
    color: #fff;
    font-weight: 600;
}
/* Create “gaps” under each column */
.step-col {
    position: relative;
}
    .step-col::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 4px;
        background: #f2f2f2; /* same as card bg → creates gap effect */
    }
@media (max-width: 992px) {
    .approved-sec h2{
        font-size:23px;
    }
}
    /* Mobile */
    @media (max-width: 768px) {
        .step-line {
        display: none;
    }
    .step-col::after {
        display: none;
    }
}
.buy-car-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
/* each box */
.buy-car-feature {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #ddd;
}
    /* remove last border */
    .buy-car-feature:last-child {
        border-right: none;
    }
/* icon */
.buy-car-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #cc2325;
}
/* title */
.buy-car-feature h4 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
/* text */
.buy-car-feature p {
    color: #8a8a8a;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .approved-sec {
       text-align:center;
       width:100%;
       margin-bottom:20px;
    }
}
/* tablet */
@media (max-width: 991px) {
    .buy-car-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .buy-car-feature {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
        .buy-car-feature:last-child {
            border-bottom: none;
        }
}
/* mobile */
@media (max-width: 576px) {
    .buy-car-features {
        grid-template-columns: 1fr;
    }
}
.review-card {
   /* max-width: 320px;*/
    background: #f7f7f7;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e6e6e6;
    font-family: Arial, sans-serif;
}
.review-logo img {
    width: 90px;
    height: auto;
    margin-bottom: 12px;
}
.rating-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.rating {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}
.stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
}
.reviews-link {
    display: block;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    margin-bottom: 14px;
}
    .reviews-link:hover {
        text-decoration: underline;
    }
.review-btn {
    width: 100%;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: #cc2325;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}
    .review-btn:hover {
        background: #333;
    }

.btm-phone {
    font-size: 20px;
    color: #fff;
    text-decoration:none;
}
.btm-phone:hover {
     color: red;
}
/*Footer*/
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}
/* 5 in a row (desktop) */
.footer-box {
   /* flex: 1 1 calc(20% - 16px);*/
    display: flex;
    gap: 12px;
    padding: 16px;
   /* border: 1px solid #e6e6e6;*/
   /* border-radius: 12px;*/
   /* background: #fff;*/
    align-items: flex-start;
    color:#fff;
}
/* icon top-left */
.footer-wrapper  .icon {
    font-size: 28px;
    flex-shrink: 0;
}
/* text */
.footer-wrapper  .content h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-wrapper .content p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
    text-decoration: none;
}
.footer-wrapper .address-footer-color {
    color:#fff;
    text-decoration: none;
}
.footer-wrapper .address-footer-color:hover {
    color: red;
}
@media (max-width: 1280px) {
    .footer-wrapper {
      
        gap: 40px;
    }
}
@media (max-width: 1170px) {
    .footer-wrapper {
        gap: 10px;
    }
}
@media (max-width: 1024px) {
    .review-btn {
        padding: 12px 12px;
        font-size: 14px;
    }

    }
@media (max-width: 767px) {
    .review-btn {
        padding: 12px 30px;
       
    }
}
/* Tablet: 2 per row */
@media (max-width: 992px) {
    .footer-box {
        flex: 1 1 calc(50% - 16px);
    }
}
/* Mobile: 1 per row */
@media (max-width: 576px) {
    .footer-box {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

        .footer-box .icon {
            font-size: 32px;
            margin-bottom: 5px;
        }

        .footer-box .content {
            width: 100%;
        }

    .footer-s-links {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
}
.footer-s-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
    .footer-s-links a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #f5f5f5;
        color: #333;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-size: 18px;
    }
        .footer-s-links a:hover {
            background: #cc2325;
            color: #fff;
            transform: translateY(-2px);
        }
/* Mobile */
@media (max-width: 767.98px) {
    .footer-s-links {
        justify-content: center;
    }
}