* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
/* --------- font family start ---------- */
@font-face {
  font-family: "inter";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/inter-Regular.ttf) format("truetype");
}
/* --------- font family end ---------- */

/* ----------- Color-variables-start ------------ */
:root {
  --primary-color: #4f7d59;
  --text-color: #2c3e50;
  --dark-green: #063e1d;
}
.bg-background {
  background: linear-gradient(10deg, rgb(0, 87, 183), rgb(212, 175, 55));
}
.bg-testimonial {
  background-color: var(--primary-color);
}

a {
  color: var(--dark-green);
}
p,
.black-txt {
  color: var(--text-color);
}
.heading-text {
  color: var(--primary-color);
}
.keyBenefit {
  border-top: 2px solid red;
}

/* ------------- Color-variables-end ------------ */

/* ---------Typography-start---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "inter", sans-serif;
}

h1 {
  font-size: min(70px, 5vw);
  font-weight: 700;
  line-height: 125%;
}
h2 {
  font-size: min(45px, 5vw);
  font-weight: 700;
  line-height: 115%;
}
h3 {
  font-size: min(26px, 5vw);
  font-weight: 600;
  line-height: 115%;
}
h4 {
  font-size: min(24px, 5vw);
  font-weight: 500;
  line-height: 115%;
}
h5 {
  font-size: min(20px, 5vw);
  font-weight: 400;
  line-height: 115%;
}
h6 {
  font-size: min(18px, 5vw);
  font-weight: 400;
  line-height: 115%;
}
/* ---------Typography-start---------- */

.container-fluid {
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
}
body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: white;
}
.navbar-brand img {
  width: 100%;
  max-width: 200px;
  max-height: 70px;
  height: auto;
}

@media screen and (max-width: 750px) {
  .navbar-brand img {
    width: 100%;
    max-width: 180px;
    max-height: 50px;
    height: auto;
  }
}
.facing-section {
  background-image: url(/instaloan/assets/images/banner.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.facing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #32602f 0%, #3f733a 40%, #558856 100%);
  z-index: -1;
}
.modal-backdrop.show {
  opacity: 0.2 !important;
}
.circle-box {
  border-top: 4px solid var(--primary-color) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.circle-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  border-top-color: var(--dark-green);
}

.step-card {
  background: var(--dark-green);
  color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
}
.step-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}
.step-divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  height: 80px;
  margin: 0 10px;
}
.step-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.thanku-card {
  background: #fff;
  padding: 12% 6%;
  border-radius: 15px;
  box-shadow: 0 0px 10px #558a56;
  text-align: center;
  max-width: 70%;
  width: 90%;
  border: 1px solid var(--primary-color);
}
.thanku-sec {
  height: 70vh;
}
.testimonial-card {
  border-radius: 15px;
  box-shadow: 0 0px 4px 0px rgb(255 255 255 / 1);
  margin: 20px 10px;
}
.price-list {
  width: fit-content;
  border: 1px solid var(--primary-color);
}
.testimonial-image img {
  border-radius: 50%;
  height: 100px;
  object-fit: cover;
  width: 100px;
}
.testimonialCirle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-image,
.key-img {
  width: 20%;
}
.testimonial-content {
  width: 80%;
}
.apply-form {
  background-color: rgb(255, 255, 255, 0.8);
  padding: 30px 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 20px !important;
}
.btn-primary {
  background-color: var(--dark-green);
  padding: 14px 16px;
  line-height: 20px;
  border-radius: 30px;
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #32602f 0%, #3f733a 40%, #558856 100%);
  color: #fff;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #000000;
  color: #fff;
}
.form-control {
  padding: 10px 12px;
}
.price-list .text-black {
  font-size: 14px;
}
.testimonial-text {
  font-style: italic;
  font-size: 15px;
  color: var(--text-color);
}
.testimonial-name {
  color: var(--text-color);
}
.cunsumer-txt {
  color: var(--dark-green);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 14px;
  border: 1px solid var(--primary-color);
}
.carousel-control-next,
.carousel-control-prev {
  width: 8%;
  opacity: 1;
}
.carousel-inner {
  width: 70%;
  margin: auto;
}
input::placeholder {
  color: #000000;
  opacity: 1;
}
.form-control:focus {
  border-color: #d2d2d2;
  box-shadow: none;
}

@media (max-width: 992px) {
  .carousel-inner {
    width: 85%;
    margin: auto;
  }
}

@media (max-width: 767px) {
  .carousel-inner {
    width: 90%;
    margin: auto;
  }
  #eligibility .form-control {
    width: 100%;
  }
  .thanku-card {
    max-width: 100%;
  }
  .thanku-card h1 {
    font-size: 25px !important;
  }
  .apply-form {
    width: 100%;
    padding: 15px 25px !important;
  }
  .btn-primary {
    padding: 8px 16px;
    line-height: 10px;
    font-size: 14px !important;
  }
  .top-P {
    font-size: 12px !important;
  }
  .step-card {
    padding: 12px 10px;
  }
  .step-icon {
    width: 40px;
    height: 40px;
  }
  .testimonial-text {
    font-size: 12px;
  }
  .testimonialCirle {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 675px) {
  .testimonial-image {
    width: 30%;
  }
  .testimonial-content {
    width: 70%;
  }
  .form-control {
    padding: 8px 7px;
  }
}

@media (max-width: 479px) {
  .testimonial-card {
    flex-direction: column !important;
    gap: 25px;
  }
  .testimonial-image,
  .testimonial-content {
    width: 100%;
  }
  .top-P {
    font-size: 10px !important;
  }
  .textgrey > p {
    font-size: 10px !important;
  }
}
.close-main {
  position: relative;
}
.close-main img {
  position: absolute;
  right: 20px;
}
.modal-backdrop.show {
  opacity: 0.2 !important;
}
#otpModal {
  backdrop-filter: brightness(0.2) !important;
}
.modal-backdrop {
  --bs-backdrop-zindex: 1 !important;
}
.transparent-btn {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-block;
  font-weight: 600;
  backdrop-filter: blur(5px);
}
.step2-text h1,
.step2-text h4 {
  position: relative;
  z-index: 2;
}

.form-container {
  position: relative;
  z-index: 2;
}

/* Decorative images */
.decor-img {
  position: absolute;
  top: 0;
  width: 100px;
  height: auto;
  opacity: 0.3; /* subtle, background effect */
  z-index: 1;
}

.left-img {
  left: 20rem;
  top: 10rem;
}
.mid-img {
  left: 50rem;
  top: 1rem;
}
.center-img {
  left: 1px;
  top: 30rem;
}
.top-img {
  left: 20rem;
  top: 30rem;
}

.right-img {
  right: 10rem;
  top: 10rem;
  z-index: -1;
}
.img3 {
  right: -1rem;
  top: 35rem;
}
@media (max-width: 700px) {
  .decor-img {
    display: none;
  }
}

/* justOneMint styling */
.justOneMint {
  background-color: var(--dark-green);
  text-align: center;
  font-size: min(22px, 4vw);
  width: 100%;
}
.rate-container {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  padding: 30px;
  max-width: 1000px;
  margin: auto;
  width: 100%;
}
.Illustrationss {
  padding: 30px;
  max-width: 1000px;
  margin: auto;
  width: 100%;
}
/* Rates and Charges styling */
.rate-cards .rateCard > div,
.rate-cards .chargesCard > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.rate-cards .rateCard h5,
.rate-cards .chargesCard h5 {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 500;
  font-size: 16px;
  color: gray;
}

@media (max-width: 767px) {
  .rate-cards .rateCard h5,
  .rate-cards .chargesCard h5 {
    padding: 8px 0;
    font-size: 10px;
  }
  .rate-container {
    padding: 15px;
  }
  .iilustration {
    font-size: 12px !important;
  }
  .innerP {
    font-size: 12px !important;
  }
  .representativeP {
    font-size: 12px !important;
  }
}
.iilustration {
  font-size: 16px;
}
