:root {
  --clr-p-darkblue: #1d0a4a;
  --clr-p-purple: #7228ff;
  --clr-p-lightpurple: #bfc0f9;
  --clr-p-lighterpurple: #e5e0ff;
  --clr-s-orange: #eb6247;
  --clr-s-lime: #cbeb6e;
  --fnt-primary: 'ALTMariaClara',serif;
  --fnt-secondary: 'Sohne', sans-serif;
}

@font-face {
  font-family: 'ALTMariaClara';
  src: url(../fonts/ALTMariaClara_TRIAL/ALTMariaClara-Regular.otf);
  font-weight: 400;
}

@font-face {
  font-family: 'ALTMariaClara-regular';
  src: url(../fonts/ALTMariaClara_TRIAL/ALTMariaClara-Medium.otf);
  font-weight: 500;
}

@font-face {
  font-family: 'ALTMariaClara-regular';
  src: url(../fonts/ALTMariaClara_TRIAL/ALTMariaClara-Bold.otf);
  font-weight: 700;
}

@font-face {
  font-family: 'Sohne';
  src: url(../fonts/Sohne_trial/test-soehne-leicht.woff2);
  font-weight: 400;
}

@font-face {
  font-family: 'Sohne';
  src: url(../fonts/Sohne_trial/test-soehne-kraftig.woff2);
  font-weight: 500;
}

@font-face {
  font-family: 'Sohne';
  src: url(../fonts/Sohne_trial/test-soehne-fett.woff2);
  font-weight: 700;
}

@font-face {
  font-family: 'Inter';
  src: url(../fonts/Inter/Inter-VariableFont_opsz\,wght.ttf);
}




/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

body {
  background-color: #edeaff;
  padding-top: 0px; /* To prevent content from being hidden under the banner */
}

h1,h2,h3 {
  font-weight: 500;
  color: var(--clr-p-darkblue);
  font-family: var(--fnt-primary);
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.02em;
}

h2:not(.mini-title) {
  margin-bottom: 24px;
}

h3 {
  font-size: 32px;
}

p {
  font-family: var(--fnt-secondary);
  font-size: 18px;
  line-height: 28px;
  color: var(--clr-p-darkblue);
}

p:has(+ .btn) {
  margin-bottom: 24px;
}

a {
  text-decoration: unset;
  font-family: var(--fnt-primary);
  color: inherit;
}

li {
  list-style-type: none;
}

span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.btn {
  width: fit-content;
  padding: 15px 25px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:has(img) {
  gap: 15px;
}

.btn.white {
  color: var(--clr-p-darkblue);
  background-color: #fff;
}

.mini-title {
  width: fit-content;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  line-height: unset;
}

.mini-title.purple {
  color: var(--clr-p-darkblue);
  background-color: var(--clr-s-lime);
}

.mini-title.orange {
  color: #fff;
  background-color: var(--clr-s-orange);
}

.mini-title img {
  height: 16px;
}

h3.subtitle {
  padding-block: 24px;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  h3.subtitle {  
    font-size: clamp(24px, 6vw, 48px);
    line-height: 1.2;
  }

  .btn:has(img) {
    gap: 5px;
  }
}

/* form style */

form p {
  font-family: var(--fnt-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 22.65px;
  letter-spacing: -0.39px;
}

/* header */

header {
  padding: 34px min(6.7%, 96px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header #logo {
  width: 110px;
  height: 52px;
  object-fit:contain;
  object-position: 50% 50%;
}

header .nav-list {
  padding:2px 77.5px;
  display: flex;
  gap: 20px;
  border-radius: 24px;
  background-color: var(--clr-p-lighterpurple);
}

header .nav-list li {
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sign-container .btn {
  color: #fff;
  background-color: var(--clr-p-darkblue);
}

/* Hamburger Menu Styles */
.hamburger {
  content: "";
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
  z-index: 1001;
}

.hamburger span {
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--clr-p-darkblue);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background-color: #fff;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(29, 10, 74, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  list-style: none;
  text-align: center;
  margin-bottom: 40px;
}

.mobile-nav li {
  margin: 30px 0;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--clr-p-lighterpurple);
}

.mobile-sign-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.mobile-sign-container a:first-child {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.mobile-sign-container a:first-child:hover {
  background-color: #fff;
  color: var(--clr-p-darkblue);
}

.mobile-btn {
  padding: 15px 30px;
  border-radius: 24px;
  background-color: #fff;
  color: var(--clr-p-darkblue);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-btn:hover {
  background-color: var(--clr-p-lighterpurple);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  header .nav-list,
  .sign-container {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 {
    font-size: clamp(32px, 8vw, 64px);
  }
}

/* hero */

.hero {
  margin-top: 100px;
  padding-inline: min(12%, 172px);
}

.hero .text-container {
  margin-bottom: 60px;
}

.hero h1 {
  margin-bottom: 24px;
  text-align: center;
}

.hero p {
  max-width: 560px;
  margin-bottom: 34px;
  margin-inline: auto;
  text-align: center;
}

.hero .btn {
  margin-inline: auto;
  border: 1px solid var(--clr-p-darkblue);
  color: var(--clr-p-darkblue);
  background-color: #1D0A4A0D;
}

.hero img {
  margin-inline: auto;
}

/* intro */

.intro {
  padding-top: 133px;
  position: relative;
}

.intro .wrapper {
  margin-inline: auto;
  padding: 0 min(6.7%, 96px);
  display: flex;
  gap: 50px;
  align-items: center;
  position: relative;
}

.intro .mockup {
  max-width: 487px;
}

.intro .text-container {
  margin-right: 64px;
}

.oval-bg {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  bottom: 0;
}

@media (max-width: 1180px) {
  .intro .mockup {
    max-width: 50vw;
  }
}

@media (max-width: 1024px) {
  .intro {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .intro .wrapper {
    flex-direction: column;
  }

  .intro .text-container {
    margin-left: auto;
    margin-right: auto;
  }

  .intro .btn {
    margin-inline: auto;
  }

  .oval-bg {
    height: 80%;
  }
}

/* how it works */

.how-it-works {
  padding: 100px min(6.7%, 96px);
}

.how-it-works .text-container {
  max-width: 870px;
  margin-bottom: 100px;
  margin-inline: auto;
  text-align: center;
}

.how-it-works .vid-container {
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-works img {
  margin-inline: auto;
}

/* value */

.value {
  background-color: var(--clr-p-lightpurple);
  position: relative;
  background-image: url(../images/Group\ 3.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto 100%;
}

.value h2 {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 50px;
}

.value .container {
  max-width: 1250px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.value-list {
  max-width: 450px;
  margin-left:20px;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 34px;
  color: var(--clr-p-darkblue);
  margin-bottom: 50px;
}

.value-list li {
  /* display: flex;
  flex-direction: column; */
}

.value-list li:nth-child(n-1) {
  border-bottom: 1px solid var(--clr-p-lighterpurple);
}

.value-list h3 {
  margin-block: 32px 14px;
}

.value-list p {
  margin-bottom: 32px;
}

.value-img {
  display: none;
}

@media (max-width: 1024px) {
  .value {
    background-image: none !important;
  }
  .value .container {
    position: relative;
    min-height: 0; /* remove if previously set */
    padding-bottom: 0; /* ensure no extra space */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .value-list {
    margin-bottom: 0; /* ensure no extra space */
  }
  .value-img {
    display: block;
    width: 100%;
    max-width: 100vw;
    height: auto;
    margin: 0 0 0 auto;
  }
}

/* statement */

.statement {
  padding: 160px min(96px, 6.7%);
  display: flex;
  align-items: center;
  gap: 63px;
  background-color: var(--clr-p-darkblue);
}

.statement .text-container :is(h3, p) {
  color: #fff;
}

@media (max-width: 1024px) {
  .statement {
    flex-direction: column;
  }
}

/* problem */

.problem {
  padding: 82.5px min(150px, 10.4%);
}

.problem .text-container {
  margin-inline: auto;
  max-width: 730px;
  text-align: center;
}

.problem .mini-title {
  margin-inline: auto;
}

.problem p {
  color: var(--clr-p-darkblue);
}

.problem .panel-container {
  margin-inline: auto;
  padding-block: 80px;
  display: flex;
  gap: 47px;
  justify-content: center;
}

.panel {
  max-width: 550px;
  padding: 43px 61px;
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.panel:nth-child(1) {
  color: #fff;
  /* background-image: url(../images/Frame\ 6736.png); */
  background-color: var(--clr-p-purple);
  border-radius: 13px 13px 100px 13px;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.3);
}

.panel:nth-child(2) {
  color: var(--clr-p-darkblue);
  /* background-image: url(../images/Frame\ 6737.png); */
  background-color: var(--clr-s-lime);
  border-radius: 13px 13px 13px 100px;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.3);
}

.panel .number {
  display: flex;
  align-items: baseline;
}

.number {
  line-height: 1;
}

.number .lg {
  font-size: 128px;
}

.number .mid {
  font-size: 64px;
}

.panel .sm {
  margin-bottom: 1cap;
  font-family: var(--fnt-secondary);
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.4px;
  font-weight: 300;
}

.xs {
  font-size: 10px;
  font-family: var(--fnt-secondary);
  display: block;
}

@media (max-width: 1024px) {
  .panel-container {
    flex-direction: column;
    align-items: center;
  }

  .number .lg {
    font-size: clamp(64px, 15vw, 128px);
  }

  .number .mid {
    font-size: clamp(32px, 8vw, 64px);

  }
}

/* solution */

.solution {
  padding: 100px min(100px, 6.9%);
  background-color: var(--clr-s-orange);
  position: relative;
}

.solution .wrapper {
  padding: 21px 23px;
  position: relative;
  background: url(../images/kenny-eliason-zFSo6bnZJTw-unsplash.jpg)  ;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-radius: 24px;
}

.solution .wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,0,0.3);
  border-radius: 24px;
  inset: 0;
  /* z-index: 0; */
}

.solution .text-container {
  margin-bottom: 190px;
  padding: 61px 96px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.solution .text-container .mini-title {
  margin-inline: auto;
}

.solution .subtitle {
  color: #fff;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 11px;
}

.solution-list li {
  padding: 30px;
  background-color: #fff;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: 8px;
  filter: drop-shadow(0 4px 25px rgba(0,0,0,0.04));
}

.solution-list li .number {
  margin-bottom: 40px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--clr-s-orange);
  border: 1px solid var(--clr-s-orange);
  border-radius: 8px;
  font-family: 'Suisse Neue', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.04em;
}

.solution-list li p {
  font-family: 'Suisse Neue', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.04em;
  color: var(--clr-p-darkblue);
}

@media (max-width: 1024px) {
  .solution .wrapper {
    background-size: cover;
  }

  .solution .text-container {
    margin-bottom: clamp(50px, 9vw, 190px);
    padding: clamp(30px, 6vw, 61px) clamp(20px, 6vw, 96px);
  }

  .solution-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
    .solution-list {
    grid-template-columns: 1fr;
  }
}

/* trust */

.trust {
  padding: 110px min(96px, 6.7%);
  background-image: url(../images/javier-trueba-iQPr1XkF5F0-unsplash.jpg);
  background-repeat: no-repeat;
  background-position-x: 50%;
  font-family: 'Suisse Neue', serif;
}

.trust h2 {
  max-width: 540px;
  font-size: 64px;

}

.trust ul {
  width: fit-content;
  margin-top: 160px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "a d"
  "b c";
}

.trust ul li {
  max-width: 350px;
  aspect-ratio: 354 / 336 ;
  padding: 40px;
  background-color: var(--clr-p-purple);
  border-radius: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust ul li:nth-child(1) {
  grid-area: a;
}

.trust ul li:nth-child(2) {
  grid-area: b;
}

.trust ul li:nth-child(3) {
  grid-area: c;
}

.trust ul li .lg {
  font-size: 128px;
}

.trust ul li .sm {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 1cap;
}

@media (max-width: 860px) {
  .trust {
    background-size: cover;
  }

  .trust ul {
    margin-top: clamp(60px, 12vw, 160px);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trust ul li {
    max-width: min(300px, 75%);
    padding: clamp(20px, 5vw, 40px);
  }

  .trust ul li .lg {
    font-size: clamp(64px, 15vw, 128px);
  }

  .trust ul li .mid {
    font-size: clamp(32px, 8vw, 64px);
  }
}

/* get in touch */

.contact {
  padding: 60px min(96px, 6.7%);
}

.contact .text-container {
  max-width: 550px;
  margin-bottom: 36px;
  margin-inline: auto;
  text-align: center;
}

.contact .form-container {
  max-width: 1250px;
  margin-inline: auto;
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 60px;
  background-color: var(--clr-p-darkblue);
  border-radius: 20px;
}

.contact form {
  max-width: 100%;
  padding: 40px;
  color: #fff;
}

.contact form h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--fnt-secondary);
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -0.39px;
}

.contact form p {
  margin-bottom: 40px;
  color: #fff;
}

.contact form .input-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.name {
  display: flex;
  gap: 14px;
}

.contact form input:not(.btn) {
  padding: 12px 14px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: 5px;
  font-size: 14px;
  font-family: var(--fnt-secondary);
  line-height: 1;
  color: #fff;
}

.contact form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact form .btn {
  width: 100%;
  margin-top: 14px;
  font-family: var(--fnt-secondary);
  border: none;
}

@media (max-width: 1024px) {
  .contact .form-container {
    flex-direction: column;
  }
}

@media (max-width: 490px) {
  .contact form {
    padding: 16px;
  }

  .name {
    flex-direction: column;
  }
}

/* footer */

footer {
  padding: 96px min(96px, 6.7%);
  background-color: var(--clr-p-darkblue);
}

footer :is(h3, a, .copyright) {
  color: #fff;
}

footer h3 {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.4px;
}

footer p {
  font-size: 16px;
  line-height: 1.42;
  color: rgb(155,164,177);
}

.footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-top .col {
  width: fit-content;
}

.col:has(.logo-container) {
  max-width: 365px;
}

.address {
  margin-block: 45px 50px;
}

.address h3 {
  margin-bottom: 12px;
}

.col .footer-logo {
  margin-bottom: 16px;
}

.quicklinks {
  max-width: 110px;
}

.quicklinks ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.quicklinks a {
  font-family: var(--fnt-secondary);
  font-size: 14px;
  color: rgba(250, 250, 248, 1);
}

.quicklinks a.home {
  font-weight: 600;
}

.subscribe {
  max-width: 445px;
}

.subscribe h3 {
  margin-bottom: 16px;
}

.subscribe .form-container {
  margin-block: 34px;
}

#subscribe {
  padding: 8px 14px;
  background-color: #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
}

#subemail {
  padding: 10.5px 12px;
  border: none;
  font-family: var(--fnt-secondary);
  color: var(--clr-p-darkblue);
}

#subemail::placeholder {
  color: #595959;
}

#submitButton {
  padding: 14px 32px;
  font-family: var(--fnt-secondary);
  font-size: 16px;
  line-height: 22.65px;
  letter-spacing: -0.39px;
  color: #fff;
  background-color: #171717;
  border: none;
  border-radius: 100px;
}

.subscribe .social {
  display: flex;
  justify-self: end;
  gap: 16px;
}

@media (max-width: 1024px) {
  .footer-top {
    flex-direction: column;
  }

  .quicklinks ul{
    margin-bottom: 40px;
    gap: 12px;
  }

  #subscribe {
    max-width: 100%;
    flex-direction: column;
    background-color: transparent;
  }

  label img {
    display: none;
  }

  #subemail {
    border-radius: 100px;
    background-color: #fff;
    margin-bottom: 12px;
  }

  .subscribe .social {
    margin-bottom: 40px;
    justify-self: center;
  }

  .copyright {
    text-align: center;
  }
}

.top-banner {
  width: 100%;
  background: #1d0a4a;
  color: #fff;
  text-align: center;
  font-family: var(--fnt-secondary);
  font-size: 14px;
  padding: 8px 0;
  letter-spacing: 0.01em;
  position: relative;
  top: 0;
  left: 0;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}