/* 
Theme Name: Astra Child
Theme URI: https://github.com/elementor/astra/
Description: Astra Elementor Child is a child theme of Astra Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: astra
Version: 2.0.0
Text Domain: astra-child
*/

.tooltip p{
    background: #edf3ef;
color: #365a4f;
border-radius: 30px;
padding: 10px 20px;
font-size: 14px;
font-weight: 600;
display: inline-block;
}

/* Finance Form */
.finance-form{
    min-height: 550px;
}

.finance-form .form-section{
    margin-bottom:25px;
}

.finance-form label{
    display:block;
    font-size:14px;
    font-weight:700;
    color:#222;
    margin-bottom:12px;
}

.finance-form .wpcf7-form-control-wrap .wpcf7-select{
        padding: 0 5px 0 !important;
} 
/* Vehicle & Price Options */
.finance-form .wpcf7-form-control-wrap .wpcf7-radio,
.finance-form .wpcf7-form-control-wrap[data-name="credit_history"] .wpcf7-radio,
.finance-form .wpcf7-form-control-wrap[data-name="vehicle_price"] .wpcf7-radio{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.carowners img{
    height: 180px!important;
    width: auto;
}

/* Employment Type */
.finance-form .wpcf7-form-control-wrap[data-name="employment_type"] .wpcf7-radio{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.finance-form .wpcf7-form-control-wrap[data-name="loan_use"] .wpcf7-radio,.finance-form .wpcf7-form-control-wrap[data-name="residency_status"] .wpcf7-radio,.finance-form .wpcf7-form-control-wrap[data-name="housing_situation"] .wpcf7-radio{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.shortdesc{
    font-size: 12px;
    margin:0;
}
.finance-form .wpcf7-list-item{
    margin:0 !important;
}

.finance-form .wpcf7-list-item label{
    margin:0;
    cursor:pointer;
    display:block;
}

.finance-form .wpcf7-list-item input[type="radio"]{
    display:none;
}

.finance-form .wpcf7-list-item-label{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:44px;
    padding:10px;
    border:1px solid #dcdcdc;
    border-radius:6px;
    background:#fff;
    font-size:12px;
    font-weight:500;
    color:#333;
    transition:.3s;
}

/* Active Radio */
.finance-form .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label{
    border:2px solid #0b5d46;
    background:#f5fbf8;
    color:#0b5d46;
    font-weight:600;
}

/* Inputs */
.finance-form input[type="text"],
.finance-form input[type="tel"],
.finance-form input[type="email"]{
    width:100%;
    height:52px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:0 16px;
    font-size:14px;
    background:#fff;
}

.finance-form input[type="text"]:focus,
.finance-form input[type="tel"]:focus,
.finance-form input[type="email"]:focus{
    outline:none;
    border-color:#0b5d46;
}

/* Submit Button */
.finance-form input[type="submit"]{
    width:100%;
    height:56px;
    border:none;
    border-radius:6px;
    background:linear-gradient(90deg,#003d30,#00543f);
    color:#fff;
    font-size:16px;
    font-weight:700;
    letter-spacing:.5px;
    cursor:pointer;
    transition:.3s;
}

.finance-form input[type="submit"]:hover{
    transform:translateY(-2px);
}
.finance-form-card{
    position: absolute !important;
    top: 40px;
    right: 20px;
    max-width:480px;
    margin-left:auto;
    background:#fff;
    padding:30px;
    border-radius:16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.hero_slide_wrp{
    position: relative;
    overflow: hidden;
}


.hero_slide_wrp .slick-dots{
    bottom: 40px!important;
    left: 0;
    right: 0;
    text-align: center;
}

.hero_slide_wrp .slick-list{
    overflow: hidden;
}
/* Mobile */
@media(max-width:767px){

    .finance-form{
        padding:20px;
    }

    

    .finance-form .wpcf7-form-control-wrap[data-name="vehicle_type"] .wpcf7-radio,
    .finance-form .wpcf7-form-control-wrap[data-name="vehicle_price"] .wpcf7-radio,
    .finance-form .wpcf7-form-control-wrap[data-name="employment_type"] .wpcf7-radio,
    

    .finance-form .wpcf7-form-control-wrap .wpcf7-radio{
        grid-template-columns:1fr !important;
    }

    .hero_slide_content::after{
        background: linear-gradient(to bottom,rgba(255,255,255,.95) 0%,rgba(255,255,255,0.45) 10%,rgba(255,255,255,0) 40%),linear-gradient(90deg, rgba(255, 255, 255, 1) 29%, rgba(255, 255, 255, 0.25) 100%, rgba(255, 255, 255, -0.25) 40%, rgba(255, 255, 255, 0) 81%, rgba(255, 255, 255, 0) 100%)!important;
    }

}
/* Finance Form */
/*finance card */
.budget_card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 48px 24px 32px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.cla-step-wrapper{
    display:none;
}

.cla-step-wrapper.active{
    display:block;
}


.budget_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.cla-conditional-field{
    display:none;
    margin-top:20px;
}

.cla-progress-bar p {
    margin-bottom: 0 !important;
}
/* finance Card*/

/* Steps */
.steps-section {
    padding: 80px 0;
    background: #fff;
}

.steps-container{
    position: relative !important;
    display: flex !important;
    justify-content: space-between;
}

/* Horizontal connecting line */
.e-grid.steps-container.e-con.e-child:before {
    content: "";
    position: absolute;
    top: 61px;
    left: 12%;
    right: 0;
    border-top: 2px dotted #0B5D46;
    z-index: 1;
    width: 75%;
}
.steps-section,
.steps-container{
    overflow: visible !important;
}

.step-item {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 2;
}

/* .step-item .elementor-icon svg {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 87, 63, 0.2);
} */

.step-item .elementor-icon-box-title div {
    width: 24px;
    height: 24px;
    margin: 0 5px 15px 0;
    border-radius: 50%;
    background: #d8a23a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px){

    .steps-container{
        flex-direction: column !important;
        gap: 40px;
    }

    .e-grid.steps-container.e-con.e-child:before{
        display: none;
    }

    .step-item{
        width: 100%;
    }


}
.vehicle-finance-section {
    background: #f8f8f8;
    padding: 40px 30px;
    border-radius: 20px;
}

.vehicle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.vehicle-card {
    width: 200px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    font-size: 16px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ast-mobile-header-content .ast-header-social-1-wrap .ast-social-color-type-custom .social-item-label{color: #111111 !important;}
.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.vehicle-finance-calculator{
	display:flex;
	gap:30px;
	background:#f5f5f5;
	padding:25px;
	border-radius:20px;
	flex-wrap:wrap;
}

.vfc-left{
	width:220px;
        display: flex;
    flex-direction: column;
    justify-content: center;
}

.vfc-left h2{
	font-size:28px;
	line-height:normal;
	margin:0 0 20px;
}

.vfc-left p{
	color:#666;
}

.vfc-center{
	flex:1;
	background:#fff;
	padding:25px;
	border-radius:16px;
}

.vfc-row{
	/* display:grid;
	grid-template-columns:150px 1fr 140px;
	align-items:center;
	gap:20px; */
	margin-bottom:10px;
    position: relative;
}
.vfc-row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vfc-row-progress {
    width: 80%;
    margin-left: auto;
}

.vfc-row-progress-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vfc-row-progress-value p {
    font-size: 12px;
    color: #666;
    margin: 0;
}
.vfc-row label{
	    font-weight: 600;
    color: #000;
    font-size: 12px;
}

.value-box{
	border:1px solid #ddd;
	padding:6px;
	border-radius:8px;
	text-align:center;
	font-weight:600;
    font-size: 12px;
}

/* .vfc-row input[type="range"]{
	width:100%;
	accent-color:#004f3d;
} */

.vfc-row-progress input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: #d9d9d9; /* Default gray track */
    outline: none;
    cursor: pointer;
}

/* Chrome, Safari, Edge */
.vfc-row-progress input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: #d9d9d9;
    border-radius: 10px;
}

.vfc-row-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00573f;
    border: 0;
    margin-top: -5px; /* Centers thumb on track */
    cursor: pointer;
}

/* Firefox */
.vfc-row-progress input[type="range"]::-moz-range-track {
    height: 6px;
    background: #d9d9d9;
    border-radius: 10px;
}

.vfc-row-progress input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #00573f;
    cursor: pointer;
}



.vfc-right{
	width:360px;
	background:linear-gradient(135deg,#003d30,#0f7a57);
	color:#fff;
	padding:30px;
	border-radius:20px;
}

.vfc-right h4{
    text-align: center;
    color: #fff;
    font-size: 16px;
}
.vfc-right h3{
	text-align:center;
	margin-bottom:20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.monthly-payment{
	font-size:50px;
	font-weight:700;
	color:#d6a247;
	text-align:center;
	margin-bottom:20px;
}

.summary-row{
	display:flex;
	justify-content:space-between;
	margin-bottom:15px;
    font-size: 16px;
}

.vfc-btn{
	display:block;
	text-align:center;
	background:#d6a247;
	color:#fff;
	text-decoration:none;
	border-radius:8px;
	margin-top:25px;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px !important;
}
.header-social-item .svg-baseline {
  border-radius: 25px;
  background: #d6a247;
  padding: 5px;
}

.vehicle-card .elementor-image-box-wrapper {
    position: relative;
}

.vehicle-card .elementor-image-box-title a::after {
    content: "→";
    position: absolute;
    right: 0;
    bottom: 5px;
    top: auto;
    transform: none;

    width: 24px;
    height: 25px;
    border: 2px solid #d6a247;
    border-radius: 50%;

    display: flex;
align-items: end;
    justify-content: center;

    color: #d6a247;
    background: #fff;
}
.slick-dotted.slick-slider {
   margin-bottom: 0!important;
}
@media(max-width:991px){

	.vehicle-finance-calculator{
		flex-direction:column;
	}

	.vfc-left,
	.vfc-right{
		width:100%;
	}

	.vfc-row{
		grid-template-columns:1fr;
	}
}

/* Review Carousel */
.reviews-carousel-wrap{
    padding:80px 0;
}

.reviews-heading{
    text-align:center;
    margin-bottom:40px;
}

.reviews-heading span{
    display:block;
    color:#0B5D46;
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
}
.reviews-heading h2{
    margin:10px 0 0;
    font-size:42px;
}

.review-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    padding:25px;
    min-height:220px;
    transition:.3s;
}

.review-card:hover{
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.review-stars{
    display:flex;
    align-items:center;
    gap:3px;
    margin-bottom:15px;
}

.review-stars img{
    width:18px;
    margin-right:5px;
}

.review-stars .filled{
    color:#F4B400;
    font-size:14px;
}

.review-stars .empty{
    color:#ddd;
    font-size:14px;
}

.review-card h4{
    margin:0 0 5px;
    font-size:18px;
    font-weight:700;
}

.review-card .vehicle{
    display:block;
    font-size:14px;
    color:#666;
    margin-bottom:15px;
}

.review-text{
    font-size:15px;
    line-height:1.7;
    color:#444;
}

.swiper-pagination{
    margin-top:30px;
    position:relative !important;
}

.swiper-pagination-bullet{
    width:10px;
    height:10px;
    opacity:1;
    background:#d8d8d8;
}

.swiper-pagination-bullet-active{
    background:#0B5D46;
}

/* Review Carousel */

/* FAQ */
.faq_section .e-n-accordion-item-title{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    width:100%;
    padding:18px 25px !important;
    text-align:left !important;
}

.faq_section .e-n-accordion-item-title-header{
    flex:1;
}

.faq_section .e-n-accordion-item-title-text{
    text-align:left !important;
    font-size:16px;
    font-weight:600;
}

.faq_section .e-n-accordion-item-title-icon{
    margin-left:20px;
    flex-shrink:0;
}

.faq_section .e-n-accordion-item{
    background:#fff;
    border-radius:12px;
    border:1px solid #ececec !important;
    margin-bottom:12px;
    overflow:hidden;
}

.faq_section summary{
    justify-content:center;
}

.faq_section .e-n-accordion-item-title{
    text-align:center;
}

.imgbgcontainer{position: relative;}

.hero_wrp .e-con-inner{
    position: relative;
    padding: 40px 0 !important;
}
.hero_wrp::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255) 40%, rgb(255 255 255 / 0%) 90%);
}
.hero_wrp::before{
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    left:  auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 30% !important;
    height: 100% !important;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255 / 85%) 100%, rgb(255 255 255 / 0%) 90%);
}

/* .hero_slide_content {
    width: 40% !important;
} */

@media(max-width:1199px){
    /* .hero_slide_content {
        width: 50% !important;
    } */
}
@media(max-width:991px){
.finance-form-card {
    position: static !important;
    max-width: 100%;
}
.hero_wrp .e-con-inner {
    display: block !important;
}
.hero_slide_wrp{
    min-height: auto !important;
}

/* .e-con .hero_slide_content {
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row;
     box-sizing: border-box;
} */
} 


.hero_slide_wrp .slick-track {
    display: flex !important;
}

.hero_slide_wrp .slick-slide {
    height: auto !important;
}


#features_section .elementor-widget{
    min-width: 245px;
}

.hero_slide_wrp.slick-slider {
    display: block !important;
}

.hero_slide_wrp .slick-track {
    display: block !important;
}

.hero_slide_wrp .slick-slide {
    float: left !important;
    height: auto;
}


.hero_slide_content::after{
      content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
   background:linear-gradient(to bottom,rgba(255,255,255,.95) 0%,rgba(255,255,255,0.45) 10%,rgba(255,255,255,0) 40%),linear-gradient(90deg, rgba(255, 255, 255, 1) 19%, rgba(255, 255, 255, 0.75) 33%, rgba(255, 255, 255, -0.25) 40%, rgba(255, 255, 255, 0) 81%, rgba(255, 255, 255, 0) 100%)


}

/* Contact Form 7 Multi-Step Form */
.finance-form .wpcf7-form-control-wrap[data-name="loan_type"] .wpcf7-radio{
	display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}
.cla-finance-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cla-progress-bar {
    display: none;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.cla-finance-form .wpcf7-not-valid-tip {
    display: none !important;
}

.cla-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.cla-progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cla-progress-step.active {
    background: #28b463;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(40, 180, 99, 0.2);
}

.cla-progress-step.done {
    background: #28b463;
    color: #fff;
}

.cla-step-wrapper {
    display: none;
    animation: fadeIn 0.3s ease;
}

.cla-step-wrapper.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cla-step h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
}

.cla-group {
    margin-bottom: 20px;
}

.cla-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.cla-group input,
.cla-group select,
.cla-group textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

.cla-group input:focus,
.cla-group select:focus,
.cla-group textarea:focus {
    outline: none !important;
    border-color: #28b463 !important;
}

.cla-group input.error,
.cla-group select.error,
.cla-group textarea.error {
    border-color: #ff4444 !important;
}

.cla-mobile-field {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cla-mobile-field .wpcf7-form-control-wrap {
    flex: 1;
}

.cla-mobile-edit {
    border: 0;
    background: transparent;
    color: #28b463;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.cla-mobile-edit:hover {
    text-decoration: underline;
}

.cla-otp-section {
    margin-top: 14px;
}

.cla-otp-section.hidden,
.cla-mobile-edit.hidden {
    display: none !important;
}

.cla-otp-input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

.finance-form input.readonly {
    background-color: #f0f2f4 !important;
    color: #6b7280 !important;
}

.cla-toast {
    position: fixed;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    padding: 14px 22px;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    transition: top .3s ease, opacity .3s ease;
    max-width: calc(100vw - 32px);
    text-align: center;
}

.cla-toast.show {
    top: 20px;
    opacity: 1;
}

.cla-toast.success {
    background: #28b463;
}

.cla-toast.error {
    background: #dc3545;
}

.cla-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}
.cla-buttons p{
display: flex;
  justify-content: space-between;
  width: 100%;
}

.cla-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.cla-next {
    background: #003D2F;
    color: #ffffff;
}

.cla-next:hover {
    background: #003D2F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 180, 99, 0.3);
}

.cla-prev {
    background: #c8c9c9;
  color: #003d2f;
  margin-right: 15px;
}

.cla-submit {
    background: #28b463;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cla-submit:hover {
    background: #1f9a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 180, 99, 0.3);
}
.cla-error-message{
    color:#dc3545;
    font-size:13px;
    margin-top:5px;
    display:block;
}

.error{
    border-color:#dc3545 !important;
}
@media (max-width: 600px) {
    .cla-finance-form {
        padding: 20px;
        margin: 10px;
    }
    
    .cla-buttons {
        flex-direction: column;
    }
    
    .cla-btn {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .cla-progress-step {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
