.xapr-container{
display:flex;
flex-wrap:wrap;
max-width:1100px;
margin:auto;
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.xapr-left{
flex:1;
min-width:320px;
padding:25px;
}

.xapr-right{
flex:1;
min-width:320px;
padding:25px;
background:#e8f0f7;
}

.xapr-slider-group{
margin-bottom:25px;
}

.xapr-slider-group label{
font-weight:600;
display:block;
margin-bottom:0px;
}

input[type=range]{
width:100%;
padding: 0;
}

.xapr-result-box{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
font-size:15px;
}

.xapr-value{
background:white;
padding:6px 12px;
border-radius:6px;
border:1px solid #ccc;
}

.xapr-notes{
margin-top:35px;
}

.xapr-note-box{
border:1px solid #ddd;
padding:18px;
border-radius:8px;
margin-top:12px;
font-size:14px;
background:#fafafa;
}

.xapr-note-number{
width:40px;
height:40px;
border-radius:50%;
border:2px solid red;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
margin-bottom:10px;
color:red;
}

/* TABLET */

@media (max-width:900px){

.xapr-container{
flex-direction:column;
}

.xapr-left{
order:1;
}

.xapr-right{
order:2;
}

}

@media (max-width:768px){
input[type=range]{
    width:96%;
}
.xapr-result-box{
    padding-right:10px;
}
}

/* MOBILE */

@media (max-width:600px){

.xapr-note-box{
    position: relative;
    right: 1px;
}
.xapr-left,.xapr-right{
padding:18px;
}

.xapr-result-box{
font-size:14px;
}

.xapr-value{
font-size:13px;
padding:5px 10px;
}

.xapr-note-box{
font-size:13px;
}

}

canvas{
max-width:100%;
margin-top:20px;
}



 .calc_wrap {
            margin-top: 70px;
        }

        .glass-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        }

        .progress {
            height: 10px;
            border-radius: 10px;
        }

        .loan-card {
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 16px;
            height: 100%;
        }

        .loan-card h6 {
            font-weight: 600;
        }

        .badge.good {
            background: #d1fae5;
            color: #065f46;
            line-height: 16px;
            border-radius: 21px;
        }

        .badge.excellent {
            background: #dcfce7;
            color: #166534;
            line-height: 16px;
            border-radius: 21px;
        }

        .badge.fair {
            background: #fef3c7;
            color: #92400e;
            line-height: 16px;
            border-radius: 21px;
        }

        .badge.poor {
            background: #fee2e2;
            color: #991b1b;
            line-height: 16px;
            border-radius: 21px;
        }

        .emi-preview {
            font-size: 18px;
            font-weight: 700;
            color: #111827;
        }

        .progress-range {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            border-radius: 6px;
            background: #e5e7eb;
            outline: none;
        }

        /* Track override (IMPORTANT) */
        .progress-range::-webkit-slider-runnable-track {
            height: 6px;
            border-radius: 6px;
            background: transparent !important;
        }

        .progress-range::-moz-range-track {
            height: 6px;
            border-radius: 6px;
            background: transparent !important;
        }

        /* Thumb */
        .progress-range::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #fbbd23;
            border: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
            cursor: pointer;
            margin-top: -6px;
        }

        .progress-range::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #fbbd23;
            border: none;
            cursor: pointer;
        }

        button:disabled,
        .btn:disabled {
            cursor: not-allowed !important;
            opacity: 0.6;
            pointer-events: none;
        }
        .cursor-pointer{
            cursor: pointer;
        }

        .red-bg{
            background: linear-gradient(180deg, rgb(251 36 36 / 18%), transparent);
            padding: 40px;
        }
        .progress-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: red;
  border-radius: 50%;
  cursor: pointer;
}

.progress-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: red;
  border-radius: 50%;
  cursor: pointer;
}



/* Tabs */
.emi-tabs{
    max-width:950px;
    margin:30px auto 15px;
    background:#fff;
    padding:10px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    text-align:center;
}

.emi-tabs button{
    border:none;
    padding:7px 16px;
    margin:0 4px;
    border-radius:4px;
    cursor:pointer;
    background:transparent;
    font-size:14px;
    color:black;
}

.emi-tabs button.active{
    background:red;
    color:#fff;
}

/* Main Card */
.emi-card{
    max-width:950px;
    margin:auto;
    background:#fff;
    border-radius:18px;
    padding:30px;
    display:flex;
    gap:40px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 18px;
}

/* Left */
.emi-left{flex:1;}

.emi-group{
    margin-bottom:30px;
}

.emi-group label{
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

.emi-group input[type="number"]{
    width:100%;
    padding:10px;
    border-radius:8px;
    border:1px solid #ccc;
    margin-top:6px;
}

/* Value text */
.emi-value{
    color:red;
    font-size:13px;
    margin-top:6px;
}

/* 🔥 PERFECT SLIDER */
.emi-slider{
    width:100%;
    height:3px;
    margin-top:12px;
    appearance:none;
    background:#ddd;
    border-radius:3px;
}

.emi-slider::-webkit-slider-thumb{
    appearance:none;
    width:14px;
    height:14px;
    background:red;
    border-radius:50%;
    cursor:pointer;
    margin-top:-5px; /* 🔥 center align */
}

/* Right */
.emi-right{
    width:40%;
    text-align:center;
}

.emi-title{
    font-size:14px;
    color:#666;
}

.emi-amount{
    font-size:40px;
    color:red;
    font-weight:bold;
    margin:10px 0 20px;
}

/* 🔥 Total box spacing fixed */
.emi-total{
    border:1px solid red;
    padding:12px;
    border-radius:10px;
    background:#fff5f5;
    margin-bottom:25px; /* 🔥 gap from chart */
}

/* Chart box */
.emi-chart-box{
    background:#f2f2f2;
    padding:20px;
    border-radius:14px;
    width:220px;
    margin:auto;
}

/* Bottom bar */
.emi-bar{
    height:5px;
    background:#ccc;
    border-radius:5px;
    margin-top:20px;
}

.emi-fill{
    height:5px;
    background:red;
    border-radius:5px;
}

.emi-labels{
    display:flex;
    justify-content:space-between;
    font-size:12px;
    margin-top:5px;
}

/* Responsive */
@media(max-width:768px){
    .emi-card{
        flex-direction:column;
    }
    .emi-right{
        width:100%;
    }
}

.w-h{
  font-weight:600;
  margin-bottom:5px;
}
.creative-testimonial--slider{
  /* background-image: linear-gradient(to bottom, #f7f7ff, #f4f4fb, #f8f7fc, #fbfbfe, #ffffff); */
  background: linear-gradient(180deg, rgb(251 36 36 / 12%), transparent);
  padding: 50px 0px;
}
.creative-testimonial--slider .testimonial-inner {
  max-width: 1240px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
}
.testimonial-inner .testimonial-heading{
  text-align: center;
  max-width: 60%;
  margin: auto;
  font-size: 2.813rem;
  line-height: 3.125rem;
  letter-spacing: -1px;
  margin-top: 0;
  margin-bottom: 50px;
  font-weight:300;
}
.testimonial-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 6%;
}
.swiper-slide .swiper-slide--inner {
  padding-left: 15%;
  padding-right: 15%;
  display: flex;
  align-items: center;
  column-gap: 50px;
  position: relative;
  overflow-x: hidden;
}
.swiper-slide--inner .testimonial-detail img{
  height: 35px;
}
.swiper-slide--inner .testimonial-detail p{
  margin: 0;
  color: #242e45;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 5px;
}
.swiper-slide--inner .testimonial-detail span{
  color: #3c2fc0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  line-height: normal;
}
.company-details--row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}
.company-details--row .company-box {
  flex: 0 0 auto;
  width: 33.3333%;
  padding: 0 15px;
}
.company-details--row .company-box .company-box-inner {
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  transition: all 350ms cubic-bezier(.37,0,.63,1);
  background: #fff;
  text-align: center;
  border-radius: 6px;
}
.company-box-inner .company-box-top{
  padding: 10% 0;
  border-bottom: 1px solid #dee2e6;
}
.company-box-inner .company-box-top img{
  height: 40px;
}
.company-box-inner .company-box-bottom{
  padding: 15px;
}
.company-box-inner .company-box-bottom span{
  font-size: 15px;
  color: #878898;
  line-height: 30px;
}
.company-box-inner .company-box-bottom span strong{
  color: #242e45;
}

/* Responsive */
@media only screen and (max-width: 981px) {
  .creative-testimonial--slider{
    padding: 50px 10px;
  }
  .testimonial-inner .testimonial-heading{
    max-width: 100%;
  }
  .swiper-slide .swiper-slide--inner{
    padding-left: 0;
    padding-right: 0;
  }
  .swiper-button-next.slide-btns,
  .swiper-button-prev.slide-btns{
    display: none;
  }
  .company-details--row .company-box{
    padding: 0 5px;
  }
}
@media only screen and (max-width: 460px) {
  .testimonial-inner .testimonial-heading{
    font-size: 1.813rem;
    line-height: 2.125rem;
  }
  .swiper-slide .swiper-slide--inner {
    flex-direction: column;
    text-align: center;
  }
  .company-details--row{
    flex-direction: column;
    justify-content: center;
  }
  .company-details--row .company-box{
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
}

/* ================= Buy Me A Coffee ================== */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
.coffee-button {
  position: fixed;
  z-index:9;
  top: 20px;
  right: 20px;
  background-color: #FFC107;
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  font-size: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}
.coffee-button:hover {
  background-color: #FFD54F;
}
.coffee-icon {
  font-size: 24px;
  line-height: 1;
}

.emiCalcX_sec{
    background: linear-gradient(135deg,#1f3c88,#0f2027);
    padding: 80px 20px;
    color: #fff;
}

/* Center container */
.emiCalcX_wrap{
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* Subtitle & Heading */
.emiCalcX_subtitle{
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.emiCalcX_heading{
    color: #fff;
    margin: 10px 0 40px;
    font-size: 32px;
}

/* Form layout */
.emiCalcX_formBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

/* Input group */
.emiCalcX_inputGroup{
    position: relative;
    flex: 1 1 200px;
    min-width: 180px;
}

.emiCalcX_inputGroup i{
    position: absolute;
    left: 12px;
    top: 57%;
    transform: translateY(-50%);
    color: #666;
}

/* Input fields */
.emiCalcX_field{
    width: 100%;
    padding: 12px 12px 12px 35px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    background: #fff;
    color: #000;
    margin-top:10px;
}

.emiCalcX_field::placeholder{
    color: #888;
}

/* Button */
.emiCalcX_btn{
    background: red !important;
    position: relative;
    top: 4px;
    border: none;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s;
    height: 46px;
    flex: 0 0 180px;
}

.emiCalcX_btn:hover{
    background: #e5670f;
}

/* Output */
.emiCalcX_output{
    margin-top: 30px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* Responsive */
@media(max-width:768px){

    .emiCalcX_formBox{
        flex-direction: column;
    }

    .emiCalcX_btn{
        width:100%;
        flex:unset;
    }

    .emiCalcX_inputGroup{
        flex:unset;
    }

    .emiCalcX_inputGroup i{
        top:33px;
    }

}
