* {
  box-sizing: border-box !important;
  padding: 0;
  margin: 0;
}

body,
html {
  overflow-x: hidden !important;
}

/* --------- 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: #2671b7;
  --text-color: #000000;
  --background-color: #f8f9fa;
}
.bg-background {
  background-color: var(--background-color);
}
a {
  color: var(--primary-color);
}
.heading-text {
  color: var(--primary-color);
}

/* ------------- Color-variables-end ------------ */

/* ---------Typography-start---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "inter", sans-serif;
}

h1 {
  font-size: min(44px, 5vw);
  font-weight: 800;
  line-height: 125%;
}
h2 {
  font-size: min(30px, 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);
}
.navbar-brand img {
  width: 100%;
  max-width: 125px;
}
.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(
    180deg,
    rgba(38, 113, 183, 0.1) 0%,
    rgba(36, 101, 161, 0.22) 60%,
    rgba(33, 98, 160, 0.35) 100%
  );

  z-index: -1;
}

.modal-backdrop.show {
  opacity: 0.2 !important;
}
.modal-backdrop {
  --bs-backdrop-zindex: 1 !important;
}
#otpModal {
  backdrop-filter: brightness(0.2) !important;
}

.thanku-card {
  filter: brightness(1.15);
  color: #fff !important;
  background: linear-gradient(90deg, #1f609c 0%, #4a9be8 50%, #2671b7 100%);
  padding: 12% 6%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 70%;
  width: 90%;
}
.thanku-sec {
  height: 70vh;
}

.key-img {
  width: 20%;
}

.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(--primary-color);
  border-color: var(--primary-color);
  padding: 14px 16px;
  line-height: 20px;
  border-radius: 30px;
}
.btn-primary:hover {
  background-color: #000000;
  color: #fff;
  border-color: #000000;
}
.form-control {
  padding: 10px 12px;
}
.price-list .text-black {
  font-size: 14px;
}

input::placeholder {
  color: #000000;
  opacity: 1;
}
.form-control:focus {
  border-color: #d2d2d2;
  box-shadow: none;
}

@media (max-width: 992px) {
  .carousel-inner {
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 767px) {
  .carousel-inner {
    width: 100%;
    margin: auto;
  }
  #eligibility .form-control {
    width: 100%;
  }
  .thanku-card {
    max-width: 100%;
  }
  .thanku-card h1 {
    font-size: 25px !important;
  }
  .testimonial-slider {
    margin: 20px auto !important;
  }

  .testimonial-card {
    padding: 0px !important;
  }
  .t-img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    margin-bottom: 8px;
  }
  .t-text {
    font-size: 12px !important;
  }
  .price-box > p {
    margin-bottom: 0px !important ;
    font-size: 12px !important;
  }
  .price-box {
    margin-top: 0px !important;
    padding: 8px !important;
  }
  .t-name {
    margin-top: 0px !important;
    margin-bottom: 5px !important;
    font-size: 10px !important;
  }
  .testimonial-card .inner {
    padding: 15px !important;
  }
  .apply-form {
    padding: 15px 25px !important;
  }
  .btn-primary {
    padding: 8px 16px;
    line-height: 10px;
    font-size: 14px !important;
  }
  .top-P {
    font-size: 12px !important;
  }
}

@media (max-width: 479px) {
  .testimonial-slider {
    margin: 40px auto;
  }
  .testimonial-card {
    padding: 0px;
  }
  .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;
}
.fs-14 {
  font-size: 0.9rem;
}
.textgrey {
  color: gray !important;
}

/* Testimonial styling  */
.testimonial-slider {
  margin: 40px auto;
}

.testimonial-card {
  border-radius: 15px;
  margin: 20px 10px;
  padding: 10px;
  transition: all 0.4s ease-in-out;
}

.testimonial-card.slick-center {
  transform: scale(1.05);
  opacity: 1;
}

.testimonial-card .inner {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
  transition: 0.4s;
}

.testimonial-card.slick-center .inner {
  box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.15);
}

.t-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  margin-bottom: 15px;
  object-fit: cover;
}

.t-text {
  font-size: 15px;
  color: #444;
}

.t-name {
  font-weight: 600;
}

.price-box {
  margin-top: 15px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
}
.price-box > p {
  margin-bottom: 5px !important ;
}

.slick-dots li button:before {
  content: "";
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  transition: 0.3s ease;
}

.slick-dots li.slick-active button {
  background: var(--primary-color);
  transform: scale(1.2);
}

.slick-dots li button:hover {
  background: rgba(38, 113, 183, 0.3);
}

.brush-underline {
  position: relative;
  display: inline-block;
}

.brush-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;

  /* Brush paint style */
  background: linear-gradient(
    to right,
    rgba(141, 28, 56, 0.9) 0%,
    rgba(38, 113, 183, 0.7) 50%,
    rgba(38, 113, 183, 0.9) 100%
  );

  border-radius: 40px;
  filter: blur(2px) brightness(1.15) saturate(1.2);

  /* Rough edges (brush-like) */
  clip-path: polygon(
    0% 40%,
    10% 55%,
    20% 45%,
    30% 60%,
    40% 50%,
    50% 65%,
    60% 50%,
    70% 60%,
    80% 55%,
    90% 65%,
    100% 50%,
    100% 100%,
    0% 100%
  );

  transition: 0.3s ease;
}

.brush-underline:hover::after {
  filter: blur(1px) brightness(1.25);
}

/*.how-it-works Step Box */
.how-it-works-section {
  background: #f7faff;
  position: relative;
  padding: 60px 0;
}

.steps-wrapper .step-box {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.step-box:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

/* Step Number */
.step-num {
  background: #2671b7;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin-right: 15px;
  font-size: 18px;
  flex-shrink: 0;
}

.step-icon {
  width: 36px;
  margin-bottom: 8px;
}

.step-title {
  font-weight: 700;
  margin: 5px 0;
  color: #1a1a1a;
}

.step-text {
  margin: 0;
  color: #444;
  font-size: 15px;
}

.how-illustration {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.how-illustration .main-man {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.how-illustration .coins-bg {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .how-illustration .main-man {
    max-width: 300px;
  }
  .how-illustration .coins-bg {
    width: 320px;
    bottom: -10px;
  }
}

@media (max-width: 992px) {
  .steps-wrapper .step-box {
    padding: 15px;
  }
  .step-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .step-icon {
    width: 32px;
  }
}

@media (max-width: 768px) {
  .how-it-works-section {
    padding: 40px 0;
  }

  .steps-wrapper .step-box {
    flex-direction: row;
    text-align: left;
    padding: 15px 18px;
  }

  .step-num {
    margin-right: 12px;
  }

  .step-title {
    font-size: 17px;
  }

  .step-text {
    font-size: 14px;
  }

  .how-img {
    max-width: 380px;
    margin-top: 25px;
  }
}

@media (max-width: 480px) {
  .steps-wrapper .step-box {
    padding: 12px 15px;
  }

  .step-num {
    width: 35px;
    height: 35px;
    font-size: 15px;
  }

  .step-icon {
    width: 28px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-text {
    font-size: 13px;
  }

  .how-img {
    max-width: 300px;
  }
}

.steps-wrapper .step-box {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.steps-wrapper .step-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 7px;
  filter: brightness(1.15);
  background: linear-gradient(90deg, #1f609c 0%, #4a9be8 50%, #2671b7 100%);
  border-radius: 0 0 12px 12px;
  transition: 0.4s ease;
}

/* Coins Background */
.coins-bg-benefits {
  background: url("/assets/images/money-men.png") no-repeat right bottom;
  background-size: 230px;
  /* opacity: 0.2; */
  position: absolute;
  right: 0;
  bottom: -60px;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

/* benefits-coins styling */
.benefits-coins .border {
  border: none !important;
  border-left: 4px solid var(--primary-color) !important;
  border-right: 4px solid var(--primary-color) !important;
  background: #ffffffd5;
  backdrop-filter: blur(6px);
  border-radius: 16px !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.benefits-coins .border:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .coins-bg-benefits {
    background-size: 210px;
    opacity: 0.22;
  }
}

.hero-back-img {
  background-image: url("/assets/images/coinBg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left bottom;
  width: 100%;
  /* min-height: 550px; */
}

/* justOneMint styling */
.justOneMint {
  background-color: var(--primary-color);
  color: #fff;
  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;
  }
}
.iilustration {
  font-size: 16px;
}
