@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --red: #D61219;
  --green: #00F674;
  --white: #FFFFFF;
  --black: #1E1E1E;
  --blue: #006CB4;
  --navy: #051E46;
}

/* custom selection */
::-moz-selection {
  color: var(--white);
  background: var(--red);
}

::selection {
  color: var(--white);
  background: var(--red);
}

html, body{
  margin: 0;
  padding: 0 !important;
  font-family: "Funnel Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.1;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}

a:hover {
  color: #000000;
}
/* general */
.cta {
  min-width: 200px;
  height: 60px;
  padding: 0 30px;
  border: none;
  border-radius: 60px;
  font-size: clamp(18px, 5.5vw, 24px);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 15px;
  background: var(--blue);
  transition: all 0.5s ease;
}
.cta:hover {
  background: var(--red);
}
.title {
  margin-bottom: 80px;
  text-wrap: balance;
}
.title h3 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
}
.title h3 span {
  color: var(--blue);
}
.title p {
  font-size: clamp(13px, 2vw, 18px);
  margin: 20px 0 0 0;
}
.icon {
  width: 70px;
  height: 70px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background: #F7F7F7;
}
.icon img {
  height: 35px;
}

/* nav */
.nav {
  position: fixed;
  z-index: 333;
  width: 100%;
  transition: all 0.5s ease;
  left: 50%;
  transform: translateX(-50%);
}
.nav .container {
  padding: 25px 0;
  transition: all 0.5s ease;
}
.nav .col-12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav .col-12 img {
  width: 230px;
}
.nav .cta {
  font-size: 16px;
  min-width: 100px;
  height: 45px;
}
.nav.scrolling {
  background: transparent;
}
.nav.scrolling .container {
  margin-top: 10px;
   background: var(--white);
  border-radius: 50px;
  padding: 15px 30px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px) saturate(180%);
  background: rgba(255, 255, 255, 0.7);
}
/* header */
.header {
  background: url('/credisolutions-assets/img/header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 705px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}
.header::before {
  position: absolute;
  top: -20px;
  left: -20px;
  content: '';
  width: 750px;
  height: 750px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(150px);
  border-radius: 100%;
}
.header-txt {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 40px 0;
  position: relative;
  z-index: 33;
}
.header-txt img {
  max-width: 270px;
}
.header-txt h1 {
  font-size: clamp(30px, 5vw, 70px);
  font-weight: 800;
  text-wrap: balance;
}
/* section1 */
.section1 {
  text-align: center;
  padding: 60px 0;
}
.vant-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.vant {
  background: var(--white);
  width: 30%;
  min-height: 180px;
  border-radius: 20px;
  box-shadow: 0 0 20px 0 #E3E8F0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px 0;
  padding: 30px 50px;
  text-wrap: balance;
  cursor: pointer;
  transition: all 0.6s ease;
}
.vant:hover {
  transform: scale(1.05);
}
.vant p {
  margin: 0;
}
/* section2 */
.section2 {
  text-align: center;
  padding: 40px 0;
}
.partner-outer {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 45px;
}
.partner-outer img {
  max-width: 195px;
  max-height: 45px;
  margin: 0 auto;
}
/* section 3 */
.section3 {
  padding: 80px 0;
}
.sec3-title h3 {
  margin-top: 60px;
  text-wrap: balance;
}
.sec3-title img {
  height: 45px;
  margin: 30px 0 20px 0;
}
.sec3-title h6 {
  font-size: clamp(10px, 1.5vw, 12px);
  color: var(--black);
  font-weight: 400;
  text-wrap: balance;
}
.sec3-box {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 0 30px;
}
.sec3-grid {
  width: 90%;
  gap: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.grid-vant {
  background: var(--white);
  width: 45%;
  min-height: 160px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px 0;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px 0 #E3E8F0;
  text-wrap: balance;
  cursor: pointer;
  transition: all 0.6s ease;
}
.grid-vant:hover {
  transform: scale(1.05);
}
/* footer */
.footer {
  margin-bottom: 20px;
}
.footer .container {
  border-radius: 40px;
  background: linear-gradient(90deg, #4FA2D3 0%, #0063AB 100%);
  padding: 50px;
}
.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 40px;
}
.footer-img {
  width: 280px;
  min-height: 150px;
  position: relative;
}
.footer-img img {
  height: 400px;
  position: absolute;
  left: -60px;
  bottom: -50px;
}
.footer-content h3 {
  max-width: 480px;
  color: var(--white);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800;
}
.footer-content .cta {
  background: var(--red);
}
.footer-content .cta img {
  transition: all 0.5s ease;
}
.footer-content .cta:hover {
  background: var(--white);
  color: var(--blue);
}
.footer-content .cta:hover img {
  filter: brightness(0) saturate(100%) invert(29%) sepia(74%) saturate(1450%) hue-rotate(180deg) brightness(94%) contrast(103%);
}
/* Adstrategy */
#section-ads {
  text-align: center;
  padding: 30px 0;
}
/* Media Queries */
@media only screen and (max-width: 1300px) {
  .footer-content {
    gap: 0 20px;
  }
  .footer-content h3 {
    max-width: 350px;
  }
  .footer-content .cta {
    width: 300px;
  }
  .sec3-grid {
    gap: 20px;
  }
  .grid-vant {
    padding: 30px 20px;
    min-height: 230px;
  }
  .footer-img img {
    height: 350px;
  }
  .vant {
    padding: 30px;
    min-height: 210px;
    justify-content: flex-start;
  }
}
@media only screen and (max-width: 1200px) {
  .footer-content h3 {
    max-width: 250px;
    text-wrap: balance;
  }
  .footer-content .cta {
    min-width: 250px;
  }
  .footer-img img {
    height: 355px;
    bottom: -58px;
  }
}
@media only screen and (max-width: 992px) {
  .header {
    min-height: 620px;
    background-position: 62% center;
  }
  .header-txt {
    gap: 30px 0;
  }
  .header-txt h1 {
    max-width: 460px;
  }
  .vant-box {
    gap: 20px;
  }
  .vant {
    width: 33.333333%;
    padding: 25px 20px;
  }
  .sec3-box {
    gap: 0 20px;
  }
  .sec3-grid {
    width: 100%;
    gap: 25px;
  }
  .grid-vant {
    width: calc(50% - 12.5px);
    padding: 25px;
    justify-content: center;
    align-items: center;
  }
  .footer .container {
    padding: 40px 30px;
  }
  .footer-content {
    gap: 0 25px;
  }
  .footer-img {
    display: none;
  }
  .footer-content h3 {
    max-width: 50%
  }
  .section3 {
    text-align: center;
    padding: 30px 0 80px 0;
  }
  .sec3-box {
    flex-direction: column;
  }
}
@media only screen and (max-width: 768px) {
  .nav {
    max-width: 90%;
  }
  .nav .col-12 img {
    width: 180px;
  }
  .nav.scrolling .container {
    padding: 20px;
  }
  .header {
    min-height: 560px;
    padding: 40px 0;
    background-position: 64% center;
  }
  .header::before {
    width: 560px;
    height: 560px;
  }
  .header-txt {
    align-items: center;
    text-align: center;
  }
  .header-txt h1 {
    max-width: 520px;
  }
  .section1 {
    padding: 50px 0;
  }
  .title {
    margin-bottom: 50px;
  }
  .vant-box {
    flex-direction: column;
    gap: 20px;
  }
  .vant {
    width: 100%;
    min-height: 150px;
    max-width: 420px;
  }
  .section2 {
    padding: 30px 0;
  }
  .section3 {
    padding: 50px 0;
  }
  .sec3-box {
    flex-direction: column;
    gap: 0;
  }
  .sec3-title {
    width: 100%;
    margin-bottom: 30px;
  }
  .sec3-title h3 {
    margin-top: 0;
  }
  .sec3-grid {
    gap: 20px;
  }
  .grid-vant {
    width: calc(50% - 10px);
    min-height: 140px;
    padding: 20px;
    gap: 15px 0;
  }
  .footer .container {
    border-radius: 30px;
    padding: 35px 25px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px 0;
  }
  .footer-img {
    width: 200px;
    min-height: 175px;
  }
  .footer-img img {
    height: 280px;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
  }
  .footer-content h3 {
    max-width: 100%;
    margin: 0;
    font-size: 28px;
  }
  .sec3-title img {
    height: auto;
    width: 240px;
    margin: 30px auto 20px auto;
  }
}
@media only screen and (max-width: 475px) {
  .nav .col-12 img {
    width: 150px;
  }
  .nav .cta {
    min-width: 90px;
    height: 40px;
    padding: 0 15px;
    font-size: 14px;
  }
  .header {
    min-height: 520px;
    background-position: 65% center;
    margin-top: 90px;
  }
  .header::before {
    top: 0;
    left: -100px;
    width: 460px;
    height: 460px;
  }
  .header-txt {
    gap: 25px 0;
  }
  .header-txt img {
    max-width: 180px;
  }
  .header-txt h1 {
    margin: 0;
  }
  .cta {
    min-width: 180px;
    height: 54px;
    padding: 0 24px;
  }
  .section1 {
    padding: 40px 0;
  }
  .title {
    margin-bottom: 40px;
  }
  .title h3 {
    margin-top: 0;
  }
  .vant {
    min-height: 140px;
  }
  .section3 {
    padding: 40px 0;
  }
  .sec3-title {
    margin-bottom: 25px;
  }
  .sec3-grid {
    flex-direction: column;
  }
  .grid-vant {
    width: 100%;
    min-height: 125px;
    max-width: 420px;
  }
  .footer .container {
    padding: 30px 20px;
  }
  .footer-img {
    width: 180px;
    min-height: 160px;
  }
  .footer-img img {
    height: 250px;
  }
}
@media only screen and (max-width: 375px) {
  .nav .col-12 img {
    width: 130px;
  }
  .title h3, .footer-content h3{
    font-size: 24px;
  }
  .footer-content .cta {
    width: auto;
  }
  .header::before {
    top: unset;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
  }
}