.mobile-side-logo {
  width: 250px;
}

.main-logo {
  width: 100px;
  transform: scale(2);
  margin-left: 25px;
}

.loan-icons {
  width: 50px;
}

.img-custom-anim-left {
  width: 400px;
}

.partner-img {
  width: 380px;
}

.about-img {
  margin-top: -70px;
}

.footer-logo {
  width: 200px;
  border-radius: 5px;
}

.service-gif {
  width: 100px !important;
}

.service-img {
  width: 300px;
  margin-top: -20px;
}

.testimonial-img {
  width: 800px;
}

.head-img {
  width: 80% !important;
  height: 100% !important;
}

.quote-img {
  width: 50px;
}


@media (min-width: 280px) and (max-width: 450px) {
  .mobile-side-logo {
    width: 180px !important;
  }

  .testimonial-img {
    width: 400px !important;
  }

  .head-img {
    width: 50% !important;
    height: 100% !important;
  }
}

@media (min-width: 451px) and (max-width: 990px) {
  .testimonial-img {
    width: 600px !important;
  }

  .head-img {
    width: 80% !important;
    height: 100% !important;
  }
}

@media (min-width: 627px) and (max-width: 990px) {
  .head-img {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .testimonial-img {
    width: 600px !important;
  }
}

@media (min-width: 1201px) and (max-width: 1400px) {
  .testimonial-img {
    width: 700px !important;
  }
}

.loan-calculator {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1000px;
  margin: 24px auto;
  background: #fff;
  box-shadow: 0 12px 50px -11px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  color: #14213d;
  overflow: hidden;
  padding: 60px;
}

.loan-calculator,
.loan-calculator * {
  box-sizing: border-box;
}

.loan-calculator .top {
  width: 90%;
  background: #91bf4b;
  color: #fff;
  padding: 16px;
  box-sizing: border-box;
}

.loan-calculator .top h2 {
  margin-top: 0;
  color: white;
}

.loan-calculator form {
  display: flex;
  flex-wrap: wrap;
}

.loan-calculator .group {
  flex: 1 1 100%;
}

.loan-calculator .title {
  color: #294859;
  font-weight: 500;
  font-size: 18px;
}

.loan-calculator input[type="text"] {
  font-size: 18px;
  padding: 4px 12px;
  width: calc(100% - 24px);
  border: 1px solid #ccc;
  border-radius: 4px;
}

.loan-calculator input[type="range"] {
  width: 100%;
}

.loan-calculator .result {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
}

.loan-calculator .result .left,
.loan-calculator .result .right {
  width: 100%;
}

.loan-calculator .result .left {
  width: 100%;
  padding: 8px 16px;
}

.loan-calculator .left h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.loan-calculator .result .value {
  font-size: 30px;
  font-weight: 900;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.2);
}

.loan-calculator .result .value::before {
  content: "₹";
  font-size: 24px;
  font-weight: 400;
  margin-right: 6px;
  opacity: 0.6;
  color: #000;
}

.loan-calculator .calculate-btn {
  display: inline-block;
  border: none;
  text-transform: uppercase;
  background-color: #91bf4b;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  margin-top: 20px;
  cursor: pointer;
}

.loan-calculator .calculate-btn:hover {
  background-color: #294859;
  transition: all 0.3s ease;
}

.loan-calculator .right {
  width: 100%;
  text-align: center;
}

#myChart {
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 650px) {
  .loan-calculator form {
    flex-direction: column;
    gap: 20px;
  }

  #myChart {
    max-width: 100%;
    margin: 0 auto;
  }

  .loan-calculator {
    flex-direction: column;
  }

  .loan-calculator .result {
    flex-direction: column;
    text-align: center;
  }

  .loan-calculator .top,
  .loan-calculator .result {
    width: 100%;
  }

  .loan-calculator .right {
    width: 100%;
  }

  .contact-img {
    width: 100%;
  }

  .loan-calculator {
    padding: 20px !important;
  }

  .loan-calculator .result {
    align-items: center !important;
  }
}

@media (max-width: 991px) {
  .contact-img {
    width: 100%;
  }

}

@media (max-width: 1200px) {
  .img-custom-anim-left {
    width: 400px;
  }

  .partner-img {
    width: 400px !important;
  }
}

@media (max-width: 527px) {
  .img-custom-anim-left {
    width: 200px;
    margin-top: -40px;
  }

  .partner-img {
    max-width: 380px;
    margin-top: 10px;
  }
}

.slider {
  width: 100%;
}

.contact-img {
  width: 100%;
}

.heights {
  height: 500px !important;
}

.content-section {
  background-blend-mode: overlay;
  height: 100%;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  /* Text color */
}

.contents {
  text-align: center;
  z-index: 2;
  margin-top: -80px;
  /* Ensure content is above the background */
}

.contents h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white !important;
}

.contents p {
  font-size: 18px;
  margin-bottom: 20px;
  color: white !important;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}

.custom-dropdown {
  width: 100%;
  padding: 10px 15px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  appearance: none;
  /* Standard property */
  -webkit-appearance: none;
  /* Safari & Chrome */
  -moz-appearance: none;
  /* Firefox */
  outline: none;
  transition: border-color 0.3s;
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.custom-dropdown:focus {
  border-color: #66afe9;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
}

.active {
  color: #91bf4b !important;
}