@charset "utf-8";
/* CSS Document */

/******* import fonts *********/

@import url('../fonts/lato-stylesheet.css');
@import url('../fonts/inter-stylesheet.css');

/******* import fonts *********/

/*======= root variables ========== */

:root {
    /* ===== Brand Colors ===== */
    --color-primary: #60BC35;
    --color-secondary: #2D2D2D;
    --color-light: #ffffff;

    /* font colors */
    --heading-color: #171717;
    --paragraph-color: #323232;
    --mute-text-color: #616161;
    --text-light: #ffffff;

    /* ===== Font Families ===== */
    --font-heading: 'Inter 24pt', Arial, Helvetica, sans-serif;
    --font-paragraph: 'Lato', sans-serif;

    /* tab colors */
    --tab-text-color: #171717;

    --footer-bg-color: #0C1220;
}

/******************************/
/*******common css*************/
/******************************/

html{
    overflow-x: hidden;
}

body {
    font-family: var(--font-paragraph);
    color: var(--paragraph-color);
    overflow-x: hidden;
}

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

h1 {
    font-size: 40px;
}

h2 {
    font-size: 35px;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    font-weight: 600;
}

h4 {
    font-size: 16px;
}

p {
    font-family: var(--font-paragraph);
    color: var(--paragraph-color);
    font-size: 14px;    
}

a {
    text-decoration: none;
    color: var(--paragraph-color);
    transition: all 0.3s ease;
}

.text-light {
    color: var(--text-light) !important;
}

.sec_padding{
    padding-top: 50px;
    padding-bottom: 50px;
}

/* ============================== */
/* ============================== */
/* ============================== */

/* Base Button Styling */
.custom-btn {
    background-color: var(--color-light);
    color: var(--color-secondary);
    border: none;
    border-radius: 50rem;
    padding: 8px 8px 8px 20px;
    font-size: 14px;
    z-index: 1;
    transition: color 0.3s ease;
    font-weight: 600;
    gap: 10px;
}

/* The Emerald Slide-in Effect */
.custom-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%; /* Start off-screen */
  width: 100%;
  aspect-ratio: 1/1;
  background-color: var(--color-primary); /* emerald-500 */
  border-radius: 50%;
  transition: all 0.7s ease;
  z-index: -1;
  transform: translateY(-50%) scale(0);
}

.custom-btn:hover::before {
  left: 0;
  transform: translateY(-50%) scale(2); /* Expands to fill the button */
}

.custom-btn-dark {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

/* Icon Container */
.icon-circle {
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  border-radius: 50%;
  border: none;
  transition: all 0.3s linear;
}

/* The Arrow SVG */
.arrow-icon {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  transform: rotate(45deg); /* Default tilt */
  transition: transform 0.3s ease;
}

/* Hover States */
.custom-btn:hover .icon-circle {
  transform: rotate(45deg);
  border-color: transparent;
  background-color: var(--color-secondary);
}

.custom-btn:hover .arrow-icon {
  fill: #ffffff; /* Keeps arrow dark */
}

.custom-btn:hover{
    color: #ffffff;
}
/* Text protection */
.btn-text {
  position: relative;
  z-index: 2;
}

.more_filter_btn{
    color: var(--paragraph-color);
    font-size: 13px;
    font-family: var(--font-heading);
}

.more_filter_btn i{
    font-size: 14px;
    margin-right: 8px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
    font-size: 13px;
    font-family: var(--font-heading);
    color: var(--paragraph-color);
}

.search_btn{
    background-color: var(--color-primary);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 14px;
    z-index: 1;
    transition: color 0.3s ease-in-out;
    height: 45px;
    width: 100%;
}

.search_btn i{
    margin-right: 8px;
}

.search_btn:hover{
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.search_con {
    position: relative; /* This allows absolute children to align to it */
}

.filter_menu {
    margin: 0; /* Remove Bootstrap default margins that might shift positioning */
}


/* ============================== */
/* ======== homepage css ======== */
/* ============================== */

/* header */

.header{
    padding: 10px;
}

.logo_div{
    padding: 10px;
}

.logo_div img{
    width: 120px;
    border-radius: 10px;
}

.header_div {
    border-radius: 12px;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.top_left_col{
    position: relative;
    height: 55px;
    width: fit-content;
    background-color: var(--color-light);
    display: flex;
    gap: 25px;
    padding-right: 25px;
}

.top_left_col::before{
    content: "";
    position: absolute;
    top: 0px;
    left: -41px;
    width: 62px;
    height: 100%;
    background-image: url(../images/top_left_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.top_left_col::after {
    content: "";
    position: absolute;
    bottom: -55px;
    right: 0px;
    width: 20px;
    height: 100%;
    background-image: url(../images/header_rgt_btm_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.top_nav {
    position: relative;
    background-color: #000000a6;
    margin-right: 60px;
    border-radius: 10px 0 0 10px;
    height: 48px;
    margin-top: 10px;
    display: flex;
    gap: 40px;
    padding: 0 10px 0 25px;
}

.top_nav::after {
    content: "";
    position: absolute;
    top: 5px;
    right: -15.9px;
    width: 51px;
    height: 54px;
    background-color: #000000a6;
    z-index: 5;
    border-radius: 10px;
    transform: rotate(159deg);
    clip-path: polygon(0% 0%, 44% 15%, 10% 100%, 0% 100%);
}

.top_nav .nav_link{
    color: var(--color-light);
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
}

.top_nav .nav_link:hover{
    color: var(--color-primary);
}

.top_nav .nav_link.active{
    color: var(--color-primary);
    font-weight: 800;
}

.contact_div{
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    z-index: 1;
}

.contact_div .icon{
    width: 30px;
    height: 30px;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-light);
}

.contact_div a{
    font-size: 14px;
    color: var(--paragraph-color);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    z-index: 1;
}

.contact_div a:hover{
    color: #F60000;
}

.caption{
    margin-left: 50px;
    margin-bottom: 50px;
    padding-right: 50px;
}

.caption h1{
    color: var(--color-light);
    font-size: 40px;
    font-weight: 800;
}

/* ================= */
/* ================= */
/* ================= */
/* ================= */

.contact_box {
    height: 140px;
    width: 535px;
    background-color: #ffffff;
    right: 0;
    bottom: -15px;
    position: absolute;
}

.contact_box::after {
    content: "";
    position: absolute;
    top: 35.5px;
    left: -68px;
    right: auto;
    width: 200px;
    height: 189px;
    background-color: #ffffff;
    z-index: 5;
    border-radius: 10px;
    transform: scaleX(-1) rotate(147deg);
    clip-path: polygon(0% -2%, 50% 15%, 12% 107%, 0% 103%);
}

.contact_box::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 0px;
    width: 20px;
    height: 21px;
    background-image: url(../images/header_rgt_btm_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleX(-1) rotate(180deg);
}

.corners{
    position: relative;
}

.corners::before {
    content: "";
    position: absolute;
    bottom: -128px;
    left: -104px;
    width: 35px;
    height: 32px;
    background-image: url(../images/header_rgt_btm_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleX(-1) rotate(168deg);
}

.contact_content .line {
    z-index: 9;
    position: relative;
    width: 634px;
    left: -100px;
    top: 12px;
}

.contact_car{
    z-index: 6;
    position: relative;
    width: 250px;
    left: -120px;
    bottom: 153px;
}

.contact_content .text_box{
    position: absolute;
    top: 37px;
    right: 20px;
    z-index: 10;
    padding-left: 141px;
    z-index: 99;
}

/* about section */

.type_col {
    padding-top: 110px;
    padding-bottom: 30px;
}

.type_bg {
    position: absolute;
    top: 0px;
    left: -15px;
    width: 105%;
    height: 101%;
    z-index: -1;
    opacity: 1;
}

.type_img_1{
    width: 100%;
    height: 100%;
}

.mask1 {
    -webkit-mask-image: url(../images/type_bg.png);
    mask-image: url(../images/type_bg.png);
    mask-repeat: no-repeat;
    mask-size: 100%;
    position: relative;
    z-index: -1;
    width: 100%;
    mask-position: center;
    height: 100%;
            object-fit: cover;
}

.category_box{
    padding: 18px 10px;
    border: 1px solid #BFBFBF;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s ease-in-out all;
    height: 100%;
    text-align: center;
}

.category_box:hover{
    border-color: var(--color-primary);
    box-shadow: 0 0 15px #fffbc84a;
    transform: translateY(-1px);
}

.category_box img{
    width: 50px;
}

.vehicles_tab_div{
    margin-top: 50px;
}

.nav-tabs .nav-link{
    font-size: 13px;
    font-weight: 800;
    color: var(--tab-text-color);
    padding: 12px 30px;
}

.nav-tabs .nav-link span{
    font-weight: normal;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* car details */

.feat_tabs{
    position: relative;
}

.feat_tabs::after{
    content: "";
    position: absolute;
    width: 315px;
    height: 165px;
    background-image: url(../images/line_art_green.png);
    background-position: center;
    background-repeat: no-repeat;
    right: 0;
    bottom: 0;
}

.feat_tabs .nav-item{
    z-index: 9999;
}

.feat_sec{
    background-color: #FBFBFB;
    padding-top: 20px;
}

.carSwiper{
    padding-bottom: 39px;
}

.detail_card{
    padding: 7px;
    border-radius: 10px;
    border: 0.5px solid #efefef;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 4px 12px;
}

.card_content{
    padding: 0 10px 15px 10px;
}

.detail_card .card_img img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.detail_card:hover .car_title{
    color: #F60000;
}

.detail_card .car_title{
    min-height: 45px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.car_stats{
    display: flex;
    gap: 20px;
    justify-content: space-around;
    border-top: 0.5px solid #E6E6E6;
    border-bottom: 0.5px solid #E6E6E6;
    padding: 10px 0;
    margin-bottom: 15px;
}

.stats_icon{
    width: 17px;
}

.swiper-pagination-bullet-active{
    background: var(--color-primary);
}

.price h3 span{
    color: #707070;
    font-size: 12px;
    font-weight: normal;
}

/* footer */

footer {
    padding: 0 10px 10px 10px;
}

.footer_con{
    border-radius: 10px;
    background-color: var(--footer-bg-color);
    color: var(--color-light);
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: url(../images/footer_bg.png);
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.footer_logo{
    width: 120px;
}

.footer_social_link{
    background-color: var(--color-primary);
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
                    
.footer_social_link:hover{
    background-color: var(--color-light);
    color: #171717;
}

.footer_nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 28px;
}

.footer_nav h3{
    margin-bottom: 20px;
}

.footer_nav li a{
    color: var(--color-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer_nav li a:hover{
    color: var(--color-primary);
}

.footer_nav li {
  list-style: none;
  position: relative;
}

.footer_nav li::before {
  content: "|";
  position: absolute;
  left: -20px;
  color: var(--color-primary);
}

.ftr_contact .icon i{
    background-color: var(--color-primary);
    color: var(--color-light);
    margin-right: 10px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.ftr_contact p{
    color: var(--color-light);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ftr_contact:hover p{
    color: var(--color-primary);
}

.copyright_row p{
    color: #737373;
    font-size: 12px;
    font-style: italic;
}

.copyright_row .carmarket_logo{
    width: 180px;
}

/* ==================================================== */
/* ==================================================== */
/* ==================================================== */

/* inner pages  */

.inner_header{
    height: 280px !important;
}

.detail_header{
    height: 200px;
}

.search_row{
    padding: 10px 0 0 0;
    background-color: #ffffff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    align-content: center;
    border-radius: 8px;
    padding-right: 0 !important;
}

.search_row .form-control{
    font-size: 13px;
    font-family: var(--font-heading);
    color: var(--paragraph-color);
    height: 35px;
    border-radius: 3px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #cbcbcb;
    box-shadow: none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    border-color: #cbcbcb;
    box-shadow: none;
}

.select2-container--bootstrap-5 .select2-selection{
    border: none;
    font-size: 14px;
}

.select2-container--bootstrap-5 .select2-dropdown{
    border: none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option{
    font-size: 14px;
}

.filter_border{
    border-right: 1px solid #E6E6E6;
    border-radius: 0px;
    padding: 5px;
}

.filter_body{
    background-color: #eeeeee;
    margin-top: 10px;
    border-radius: 0px 0px 10px 10px;
}

.post_date{
    display: flex;
    justify-content: space-between;
}

.post_date p{
    font-size: 12px;
    color: #616161;
    margin-bottom: 0;
}

.sort_dropdown .form-select{
    font-size: 14px;
}

/* pagination */

.page-link{
    margin-right: 7px;
    border-radius: 5px !important;
    color: #151515;
    border-color: #151515 !important;
    box-shadow: none !important;
}

.page-link:hover{
    color: #151515;
}

.page-item.active .page-link{
    background-color: #151515;
    color: #ffffff;
    border-color: #151515;
}

/* swiper css  */
.swiper-slide {
  background-size: cover;
  background-position: center;
}

.detail_mySwiper2 {
  border-radius: 20px;
  height: 600px;
  width: 100%;
}

.gallery_slider {
  height: 420px;
  width: 100%;
  border-radius: 10px;
}

.detail_slider {
  margin-top: -30px;
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
  height: 100px;
}

.detail_slider .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 1 !important;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 4px solid #ffffff;
}

.detail_slider .swiper-slide-thumb-active::after {
  display: none;
}

.detail_slider .swiper-slide-thumb-active {
  border-color: var(--color-primary);
}

.gallery_slider .swiper-slide img{
    display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail_slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* swiper css  */

/* detail page */

.post_date{
    color: #6C6C6C;
}

.share_dropdown:hover{
    cursor: pointer;
}

.share_dropdown{
    font-size: 14px;
}

.vehicle_detail .price{
    color: #F60000;
    font-weight: 900;
}

.vehicle_detail .price span{
    font-size: 14px;
    color: #707070;
    font-weight: 600;
    font-style: italic;
}

/* Show dropdown on hover */
.custom-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Optional: smooth fade */
.custom-dropdown .dropdown-menu {
    display: none;
    transition: all 0.3s ease;
}

/* Remove default arrow if still appears */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

dt, dd{
    font-size: 14px;
    color: var(--paragraph-color);
}

.des_con{
    position: relative;
}

.des_con::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #F0F0F0;
}

.des_con::after{
    content: '';
    position: absolute;
    background-image: url(../images/line_art.png);
    width: 270px;
    height: 100%;
    top: -148px;
    right: 0;
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
}

/* about us */

.stats_con{
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 20px;
}

.why_choose_sec{
    background-color: var(--footer-bg-color);
    background-image: url(../images/tire_ng.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;   
}

.why_choose_sec h3{
    position: relative;
    color: #ffffff;
    padding-left: 13px;
}

.why_choose_sec p{
    color: #ffffff;
}

.why_choose_sec h3::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background-color: var(--color-primary);
}

.border_light{
    border-color: #ffffff30 !important;
}

/* accordion styles */

.accordion-item{
    margin-bottom: 15px;
    border: none;
    background-color: #F5F5F5;
    border-radius: 10px;
}

.accordion-button{
    background-color: #F5F5F5;
    border-radius: 8px;
    box-shadow: none !important;
}

.accordion-button{
    font-size: 16px;
    color: var(--heading-color);
    font-weight: 600;
}

.accordion-button:not(.collapsed){
    background-color: #F5F5F5;
    color: var(--heading-color);
}

.accordion-body{
    padding-top: 0;
}

.accordion-body p{
    margin-bottom: 0;
}

.contact_info_col{
    background-color: var(--footer-bg-color);
    padding: 40px;
    border-radius: 10px;
    background-image: url(../images/contactus_bg.png);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: right bottom;
}

.contact_info_div .icon img{
    width: 25px;
    height: 25px;
}

.contact_info_div .icon{
    width: 45px;
    height: 45px;
    background-color: #ffffff20;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_info_div a{
    color: #ffffff;
}

.contact_info_div a:hover{
    color: var(--color-primary);
}

.form_div{
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 40px;
    height: 100%;
}

.form-label{
    font-size: 14px;
    color: var(--paragraph-color);
}

.input_cutm{
    border-radius: 50px;
    height: 47px;
    font-size: 14px;
    padding-left: 17px;
    box-shadow: none !important;
}

.input_cutm:focus{
    border-color: #3a3a3a;
}

.text_area{
    font-size: 14px;
    padding-left: 17px;
    box-shadow: none !important;
    height: 150px;
    border-radius: 15px;
}

.text_area_label{
    font-size: 14px;
}

.text_area:focus{
    border-color: #3a3a3a;
}