body {
  font-size: 18px;
}
p {
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
  text-align: justify;
}

h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}
h3 {
  font-size: 30px;
  font-weight: bold;
  max-width: 200px;
  color: #d7206a;
}
h3 span {
  color: #000;
  font-weight: 600;
  font-size: 26px;
}

.bbps_page h3 {
  font-size: 2rem;
  width: 100%;
  float: left;
  margin-bottom: 4rem;
}
.bbps_page .bbps {
  width: 100%;
  float: left;
  margin-top: 1.5rem;
  padding: 5rem 0;
  margin-bottom: 1rem;
  position: relative;
  padding-top: 0rem;
}

.bbps_page .bbps .bbps_prod {
  text-align: center;
  width: 100%;
  float: left;
  margin-bottom: 0rem;
  display: flex;
  justify-content: start;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.bbps_page .bbps .bbps_prod a {
  min-width: 200px;
  background: #fff;
  text-decoration: none;
  border-radius: 10px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 25px 20px;
  gap: 10px;
  flex-direction: column;
  transition: all 0.3s;
  fill: #fff;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.bbps_page .bbps .bbps_prod a:hover {
  transform: scale(1.1);
  fill: #fff;
}
.bbps_page .bbps .bbps_prod a:hover h5 {
  color: #d7206a;
}
.bbps_page .bbps .bbps_prod a.active .bbps_prod_img_box {
  transform: scale(1.1);
  fill: #fff;
  filter: drop-shadow(0px 4px 4px #d7206a);
}
.bbps_page .bbps .bbps_prod a.active h5 {
  color: #d7206a;
}
.bbps_page .bbps .bbps_prod h5 {
  color: #000;
  margin: 0;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.bbps_page .bbps_overview {
  width: 100%;
  float: left;
  margin-top: 3rem;
}
.bbps_page .bbps_overview h3 {
  margin-bottom: 1rem;
  font-size: 24px;
  color: #000;
}
.bbps_page .bbps_overview p {
  width: 100%;
  float: left;
  text-align: justify;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 2rem;
}

.topbar {
  width: 100%;
  float: left;
}
.topbar .logo {
  float: left;
  padding-top: 1px;
}

.top_strip {
  width: 100%;
  float: left;
  background: #d7206a;
  border-bottom: #fabf4c solid 3px;
  height: 46px;
  line-height: 40px;
  margin-bottom: 20px;
}
.top_contact {
  height: 46px;
  line-height: 40px;
}
.top_contact ul {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 40px;
  margin-bottom: 0;
  list-style: none;
}
.top_contact ul li a {
  color: #000;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
.top_contact li a img {
  height: 30px;
}

.MarqueeContainer {
  --space: 10px;
  display: grid;
  align-content: center;
  gap: var(--space);
  width: 100%;
  font-family: "Corben", system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
}

.marquee {
  --duration: 60s;
  --gap: var(--space);
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.marquee--borders {
  padding-block: 20px;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: calc(var(--duration) / -2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

@media screen and (min-width: 311px) and (max-width: 767px) {
  .MarqueeContainer {
    padding: 0 10px;
  }
  .main_hi_popup.loan_popup .marquee__group img {
    width: 120px;
    height: 60px;
  }
  .marquee-LeftSideSubTitle {
    font-weight: 700;
    font-size: 25px;
    line-height: 43px;
    text-align: center;
  }
  .marquee--borders {
    padding-block: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 2560px) {
  .marquee-LeftSideSubTitle {
    text-align: start;
  }
  .marquee-LeftSideMianTitle {
    display: flex;
    justify-content: start;
  }
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(280px, 1fr)
  ); /* Automatic grid layout */
  gap: 30px;
  align-items: stretch; /* Ensures equal height */
}

.testi_box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 25px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out;
}

/* Text styling */
.testi_box h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #222;
}

.testi_box p {
  margin: 10px 0;
  flex-grow: 1; /* Makes the box stretch equally */
}

/* Image styling */
.testi_box img {
  margin-top: 10px;
  max-width: 100px;
}

/* Hover effect */
.testi_box:hover {
  transform: translateY(-5px);
}

.qr_code {
  width: 100%;
  float: left;
  margin-bottom: 5rem;
  text-align: center;
}

footer {
  border-top: #ddd solid 1px;
  padding: 25px 0;
  margin-top: 1rem;
  width: 100%;
  float: left;
}

footer .top_contact ul {
  padding-left: 0;
  justify-content: start;
}

footer .top_contact ul li a {
  font-size: 15px;
}

.main_hi_popup.loan_popup {
  position: relative;
}
.main_hi_popup.loan_popup input[type="text"],
[type="email"],
[type="tel"],
select {
  border: #ddd solid 1px;
  padding: 1rem;
  border-radius: 10px;
  color: #000;
  margin-bottom: 0.8rem;
}
.main_hi_popup.loan_popup::placeholder {
  color: #000;
}
.main_hi_popup.loan_popup h4 {
  font-weight: 600;
  margin-bottom: 0;
}
.main_hi_popup.loan_popup h3 {
  font-size: 43px;
  color: #f47189;
  font-weight: bolder;
  margin-top: 0;
  max-width: inherit;
}
button[type="submit"] {
  background: #d7206a;
  color: #fff;
  border: none;
  padding: 15px 0;
  border-radius: 10px;
}
.main_hi_popup.loan_popup h2 {
  background: #567fce;
  font-size: 40px;
  border-radius: 14px;
  font-weight: bold;
  padding: 0.5rem 1rem;
}
.modal-content {
  border-radius: 1rem;
}
.main_hi_popup.loan_popup #loan_details_extra_form select {
  border: #ddd solid 1px;
  height: 55px;
  line-height: 55px;
  padding: 1rem;
  border-radius: 10px;
  color: #000;
  margin-bottom: 1.8rem;
}
.main_hi_popup.loan_popup .marquee--borders {
  padding: 5px;
}
.main_hi_popup.loan_popup .marquee__group img {
  width: 100px;
}
.main_hi_popup.loan_popup ul {
  position: relative;
  padding-left: 0;
}
.main_hi_popup.loan_popup li {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 1.5rem;
  width: 100%;
  gap: 15px;
  z-index: 1;
  position: relative;
}
.main_hi_popup.loan_popup .dashed_line {
  content: "";
  border: 1px dashed #f47189;
  height: 100%;
  width: 1px;
  position: absolute;
  left: 6.5%;
  top: 0;
  z-index: 0;
}
.main_hi_popup.loan_popup .modal-body {
  padding: 0 1rem 3rem;
}
.main_hi_popup.loan_popup .loan_part_logo {
  text-align: center;
}
.main_hi_popup.loan_popup .loan_part_logo img {
  max-width: 105px;
  margin: 0 auto;
  display: inline;
  width: auto;
}
.main_hi_popup .modal-body {
  padding: 0 1rem 3rem;
}
.main_hi_popup h3 {
  font-size: 30px;
  font-weight: 600;
  width: 100%;
  color: #000;
  float: left;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: inherit;
}
.main_hi_popup h6 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  height: 27px;
  line-height: 27px;
  padding: 0 25px;
  border-radius: 100px;
  width: auto;
  float: left;
  position: relative;
  background-color: #f47189;
}
.main_hi_popup h6::before {
  content: "";
  background: url(../images/svg/left-border-white.svg) no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 27px;
}
.main_hi_popup h6::after {
  content: "";
  background: url(../images/svg/right-border-white.svg) no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  width: 8px;
  height: 27px;
}
.main_hi_popup ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  width: 100%;
  float: left;
}
.main_hi_popup ul li {
  width: 50%;
  float: left;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}
.main_hi_popup ul li p {
  margin-bottom: 0;
}
.main_hi_popup ul li img {
  min-width: 30px;
}
.main_hi_popup input[type="button"] {
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
}
.main_hi_popup button[type="submit"] {
  width: 100%;
}
.main_hi_popup .field,
select {
  border: #ddd solid 1px;
  padding: 1rem;
  border-radius: 10px;
  color: #000;
  margin-bottom: 0.8rem;
  width: 100%;
}
.main_hi_popup .field:focus-visible {
  outline: none;
}

.bap_benefit {
  width: 100%;
  float: left;
  margin: 10rem 0;
}
.bap_benefit .bap_benefit_brdr {
  border: #ddd solid 1px;
  border-radius: 30px;
  border-left: none;
}
.bap_benefit .bap_benefit_left {
  text-align: center;
  width: 94%;
  padding: 0 7%;
  background: #f5c7da21;
  border: #d7206a solid 1px;
  border-radius: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
}
.bap_benefit .bap_benefit_rht .bap_benefit_box {
  padding: 2rem 1rem;
  border-right: #ddd solid 1px;
  border-bottom: #ddd solid 1px;
}
.bap_benefit .why_choose_btn {
  background: #d7206a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 5px;
}
.bap_benefit .bap_benefit_rht .bap_benefit_box img {
  height: 55px;
  margin-top: 0.7rem;
}
.bap_benefit .bap_benefit_rht .bap_benefit_box:hover {
  box-shadow: 0px 0px 20px #ddd;
}
.bap_benefit .bap_benefit_rht .brdr_rht_none {
  border-right: none;
}
.bap_benefit .bap_benefit_rht .brdr_btm_none {
  border-bottom: none;
}
.bap_benefit .bap_benefit_rht h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 25px;
  /* color: #d7206a; */
}
.bap_benefit .bap_benefit_left h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 30px;
  padding: 0 1rem;
  font-weight: 500;
  margin-bottom: 0;
  max-width: inherit;
  color: #000;
}
.bap_benefit .bap_benefit_rht p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0;
}
.logo-img {
  height: 60px;
}
.text-logo{
width: 60px;
height: 60px;
text-align: center;
background: #d7206a;
color: white;
font-weight: bold;
display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1200px) {
  .bbps_page .bbps .bbps_prod {
    gap: 10px;
  }
  .bbps_page .bbps .bbps_prod a {
    min-width: 180px;
  }
  footer .top_contact li a img {
    display: block;
  }
  footer .top_contact ul {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .bbps_page .bbps .bbps_prod a {
    min-width: 160px;
    max-width: 160px;
  }
}

@media (max-width: 992px) {
  .top_contact ul {
    gap: 20px;
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 820px) {
  .bap_benefit {
    margin: 2rem 0 5rem;
  }
  .bap_benefit .bap_benefit_left {
    padding: 2rem 10%;
    gap: 1rem;
    width: 100%;
  }
  .bap_benefit .bap_benefit_rht .bap_benefit_box {
    border: none;
  }
  .bap_benefit .bap_benefit_brdr {
    border: none;
  }
  .bap_benefit .bap_benefit_left h3 {
    margin-top: 0;
  }
  .bbps_page .bbps .bbps_prod {
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .bbps_page .bbps .bbps_prod a {
    min-width: 160px;
    max-width: 160px;
    float: left;
    min-height: 170px;
    margin-right: 2%;
  }
  .bbps_page h3 {
    max-width: inherit;
  }
  .testimonials {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  footer .top_contact {
    display: block;
  }
  footer .top_contact ul {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  footer .top_contact {
    height: auto;
  }
  footer .top_contact ul {
    margin-bottom: 0rem;
    align-items: start;
  }
  footer .top_contact ul li {
    line-height: 25px;
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .bbps_page .bbps .bbps_prod {
    display: block;
  }
  .bbps_page .bbps .bbps_prod a {
    margin-bottom: 1.5rem;
  }
  .topbar .logo {
    float: none;
  }
  .top_contact ul {
    justify-content: space-between;
    margin-top: 2rem;
  }
  .bbps_page .bbps {
    padding-bottom: 0;
  }
  .testi_box {
    width: 100%;
  }
  footer .top_contact ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }
  footer .top_contact ul li {
    max-width: inherit;
  }
  footer .top_contact ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .main_hi_popup ul {
    display: none;
  }
  .top_contact ul {
    padding: 0;
    display: block;
    text-align: center;
  }
  .bbps_page .bbps .bbps_prod {
    flex-wrap: wrap;
    display: flex;
  }
  .top_contact {
    padding: 0;
    margin-top: 0.5rem;
  }
  .top_contact ul {
    margin-top: 0;
    line-height: 10px;
  }
  .top_contact ul li {
    margin-bottom: 0.5rem;
  }
  .top_contact ul li:last-child {
    margin-bottom: 0rem;
  }
  .bbps_page .bbps_overview {
    margin: 2rem 0;
    margin-bottom: 0;
  }
  .bbps_page .bbps {
    margin-top: 0;
  }
  .bbps_overview {
    .col-lg-3 {
      display: none;
    }
  }
  .top_strip {
    margin-bottom: 5px;
  }
}
@media (max-width: 425px) {
  .top_contact {
    height: auto;
  }

  h2 {
    font-size: 30px;
  }
  .marquee__group img {
    width: 100px !important;
  }
  .bap_benefit .bap_benefit_left h3 {
    padding: 0;
  }
  .top_contact ul li a {
    font-size: 14px;
    word-break: break-all;
  }
}

@media (max-width: 320px) {
  .bbps_page .bbps .bbps_prod a {
    min-width: 130px;
    max-width: 130px;
    margin-right: 0%;
  }
  .main_hi_popup.loan_popup h2 {
    font-size: 30px;
  }
  .main_hi_popup.loan_popup h3 {
    font-size: 35px;
  }
}
