@font-face {
  font-family: Poppins;
  src: url(./Assets/fonts/Poppins-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: Poppins;
  src: url(./Assets/fonts/Poppins-Bold.ttf);
  font-weight: bold;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-size: 1rem;
  font-family: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-sssssssserif;
  font-weight: normal;
  line-height: 1.5;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: bold;
}

section {
  padding: 5rem 0 0 0;
  margin: 0;
  width: 100%;
}

.ctn {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  /* outline: 1px solid red; */
}

.cta {
  display: block;
  text-decoration: none;
  padding: 1rem 1.6rem;
  background-color: #4d13d1;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
}

/* HEADER SECTION */
.header {
  background: beige;
}
/* .header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: inherit;
  z-index: 1000;
} */

.header-top-ctn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 2rem;
}

.header-top-ctn .cta {
  color: #fff;
}

.logo {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
}

.header-nav {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translate(-50%, 20%);
  width: 90vw;
  background: #fff;
  border-radius: 8px;
  box-shadow: 12px 12px 48px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1rem;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  transition: 300ms transform, 300ms opacity;
}

.header-nav.open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: all;
}

.header-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-nav ul li {
  margin: 1rem;
}

.header-nav ul li:last-child {
  align-self: stretch;
}

.header-nav ul li:last-child a {
  width: 100%;
}

.header-nav .cta {
  color: #fff;
}

.header-top-ctn a {
  text-decoration: none;
  color: #000;
  width: 100%;
  width: max-content;
  /* font-weight: 600; */
}

.header-nav-cta {
  display: none;
}

.menu {
  position: relative;
  width: 48px;
  height: 48px;
  background: none;
  border-radius: 4px;
  color: inherit;
  outline: none;
  border: none;
  cursor: pointer;
}

.menu::before,
.menu::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 2px;
  background-color: currentColor;
  transition: 300ms transform;
}

.menu::before {
  transform: translate(-50%, -8px);
  box-shadow: 0 8px 0 currentColor;
}

.menu::after {
  transform: translate(-50%, 8px);
}

.menu.active::before {
  transform: translate(-50%, 0px) rotate(-45deg);
  box-shadow: none;
}

.menu.active::after {
  transform: translate(-50%, 0px) rotate(45deg);
}

/* HERO-SECTION */
.hero {
  padding: 2rem 0 4rem;
}
.hero-ctn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-box {
  margin: 3rem 0;
}

.text-box h1 {
  font-size: clamp(32px, 4vw + 1rem, 56px);
  margin: 1rem 0 2rem 0;
}

.img-box img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.cta-box a:last-child {
  color: #4d13d1;
  text-decoration: none;
  font-weight: bold;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 2px;
  background-position: bottom;
  background-repeat: no-repeat;
  margin-left: 2rem;
}

/* CHOICE SECTION */
.highlight {
  color: #4d13d1;
  font-weight: bold;
}

.choice h2 {
  font-size: clamp(22px, 3vw + 1rem, 40px);
  margin: 1rem 0 3rem 0;
  max-width: 560px;
}

.choice-ctn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.choice-box {
  width: 100%;
  margin-bottom: 3rem;
  /* outline: 1px solid blue; */
}

.choice-box h3 {
  margin: 0.5rem 0 1rem;
}

.banner-box {
  background-color: #4d13d1;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.banner-box .img-box img {
  transform: translateY(15%);
}

.cta.banner {
  background-color: #fff;
  color: #4d13d1;
}

.text-box {
  justify-content: center;
}

.text-box h2 {
  font-size: clamp(22px, 3vw + 1rem, 40px);
}

.banner-box .text-box p {
  margin: 1rem 0 1.5rem 0;
}

.testimonial {
  padding-bottom: 5rem;
}

.testimonial-ctn {
  width: 100%;
  max-width: 1200px;
  display: flex;
  scroll-snap-type: x mandatory;
  padding: 2rem 2rem;
  margin: 0 auto;
  overflow: hidden;
  overflow-x: auto;
}

.testimonial-ctn::-webkit-scrollbar {
  height: 8px;
  background-color: none;
}

.testimonial-ctn::-webkit-scrollbar-thumb {
  background-color: rgb(216, 216, 216);
  border-radius: 8px;
}

.testimonial-box {
  flex: 1 0 auto;
  width: min(400px, 90vw);
  padding: 2rem 1rem;
  margin-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  scroll-snap-align: start center;
  border: 1px solid rgb(216, 216, 216);
  border-radius: 8px;
}

.testimonial-box .top {
  display: flex;
  align-items: center;
}

.testimonial-box .top div {
  margin-left: 0.5rem;
}

.testimonial-box p {
  margin: 1rem 0 2rem 0;
}

.testimonial-box .cta {
  width: 100%;
  border: 1px solid rgb(216, 216, 216);
}

footer {
  background: beige;
  padding: 2rem 0;
}

.footer-ctn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-ctn > * {
  margin: 2rem 2rem;
}

.footer-ctn .text-ctn {
  max-width: 360px;
}

.footer-ctn .text-ctn p {
  margin: 0.5rem 0 1.5rem 0;
  color: #333;
}

.footer-ctn ul li {
  list-style: none;
  margin: 0.5rem 0;
}

.footer-ctn ul li:first-child {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-ctn ul li a {
  color: #333;
  text-decoration: none;
}

.home {
  padding: 0;
}

.home-ctn {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.home-text-ctn,
.home-bg {
  padding: 4rem 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-text-ctn .wrapper {
  width: 90%;
  max-width: 480px;
}

.home-text-ctn form,
.home-text-ctn h2 {
  margin: 2rem 0;
}

.home-text-ctn h2 {
  font-size: clamp(22px, 3vw + 1rem, 40px);
}

.home-text-ctn form {
  accent-color: #4d13d1;
}

[type="password"],
[type="email"],
[type="text"] {
  width: 100%;
  display: block;
  height: 48px;
  border: 1px solid rgb(216, 216, 216);
  border-radius: 4px;
  margin: 0.5rem 0 2rem 0;
  padding: 0 1rem;
  font: inherit;
  outline: none;
}

[type="password"]:focus,
[type="email"]:focus,
[type="text"]:focus {
  border: 1px solid #4d13d1;
}

.home-text-ctn form label:not([for="agree"]) {
  font-weight: bold;
  color: #333;
}

[for="agree"] {
  margin-left: 0.5rem;
}

[for="agree"] a,
form + span a {
  color: #4d13d1;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid currentColor;
}

button[type="submit"] {
  display: block;
  margin: 4rem 0 2rem;
  width: 100%;
  height: 48px;
  background-color: #4d13d1;
  color: #fff;
  font: inherit;
  font-weight: bold;
  letter-spacing: 0.2px;
  border: none;
  outline: none;
  border-radius: 4px;
  cursor: pointer;
}

form + span {
  display: block;
  text-align: center;
}

.home-bg {
  display: none;
}

@media (min-width: 768px) {
  .header-nav {
    all: unset;
    /* position: static;
    transform: translate(0, 0);
    width: auto;
    background: inherit;
    border-radius: 0px;
    box-shadow: none;
    padding: 0px;
    display: block; */
    flex: 1;
    margin: 0 1rem;
  }

  .header-nav ul {
    flex-direction: row;
  }

  .header-nav li.lg {
    display: none;
  }

  .menu {
    display: none;
  }

  .header-nav-cta {
    display: flex;
    align-items: center;
  }

  .header-nav-cta a {
    display: inline-block;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 1.6rem;
  }

  .choice-box {
    width: 40%;
  }
}

@media (min-width: 1000px) {
  .hero-ctn {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .text-box {
    width: 50%;
  }

  .img-box {
    flex: 1;
  }

  .choice-box {
    width: 30%;
  }

  .banner-box {
    padding: 2rem 2rem;
  }

  .banner-box .cta {
    width: fit-content;
  }

  .footer-ctn > * {
    margin: 2rem 0px;
  }

  .home-ctn {
    flex-direction: row;
  }

  .home-bg,
  .home-text-ctn {
    flex: 1;
  }

  .home-text-ctn {
    padding: 5rem 0;
  }

  .home-bg {
    display: flex;
    position: sticky;
    top: 0;
    background-color: #4d13d1;
    color: #fff;
    height: 100vh;
    padding: 4rem;
    text-align: center;
  }

  .home-bg img {
    width: 100%;
    max-width: 560px;
    object-fit: contain;
  }

  .home-bg h2 {
    margin: 2rem auto 1rem;
    font-size: clamp(22px, 3vw + 1rem, 40px);
  }

  .home-bg p {
    max-width: 400px;
  }
}
