@font-face {
  font-family: 'Averta PE';
  src: url('../fonts/AvertaPE-Bold.otf') format('opentype'); /* Path to your font file */
  font-weight: bold;
  font-style: normal; /* Optional, only if you have italic style */
}

@font-face {
  font-family: 'Averta PE';
  src: url('../fonts/AvertaPE-Regular.otf') format('opentype'); /* Path to your font file */
  font-weight: normal;
  font-style: normal; /* Optional, only if you have italic style */
}

html {
  box-sizing: border-box;
  font-family: "Averta PE", filson-pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth; }

*, *::before, *::after { box-sizing: inherit; }

:root {
  --color-background-heading: #40535C;
  --color-background-subheading: #bad4de;
  --color-background-primary: #F9FAFC;
  --color-background-secondary: #FFF;
  --color-text-primary: #121217;
  --color-text-secondary: #6C6C89;
  --color-text-white: #FBFAF2;
  --color-background-button-primary-normal: #CDE5F2;
  --color-background-button-primary-hover: #E4F3FB;
  --color-background-button-outline-normal: #fff;
  --color-background-button-outine-hover: #F7F7F8;
  --color-border: #D1D1DB;
  --color-access: #7047EB;
  --bold: 600;
  --normal: 400; 
  --spacing-0: 0px;
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-6: 24px;
  --spacing-8: 32px;
  --spacing-12: 48px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

::-moz-selection {
  background: var(--color-text-primary);
  color: var(--color-text-white); 
}

::selection {
  background: var(--color-text-primary);
  color: var(--color-text-white); 
}

input, button, textarea, select {
  font: inherit;
}

body {
  color: var(--color-text-primary, #121217);
  background: var(--color-background-secondary);  
  overflow-x: hidden;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, p, li, label { 
  text-wrap: pretty;
  margin: 0;
  padding: 0;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none; 
}

.underline {
  text-decoration: underline;
}

h1 {
  color: var(--color-text-white, #FBFAF2);
  font-size: calc(1.75rem + 1vw);
  font-style: normal;
  font-weight: 700;
  line-height: calc(2rem + 1vw);
  text-align: center;
}

h2 {
  color: var(--color-text-primary, #121217);
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem; 
}

h4 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

p, li {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2rem;
}

p.small {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem; /* 142.857% */
}

p.smaller {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2rem; /* 140% */
}

button {
  display: flex;
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  justify-content: center;
  align-items: center;
  gap: var(--spacing-1, 0.25rem);
  align-self: stretch;
  border-radius: var(--radius-md, 0.5rem);
  transition: all 0.3s ease; /* Smooth transition for hover effect */
  box-shadow: 0px 10px 15px -3px rgba(18, 18, 23, 0.08), 0px 4px 6px -2px rgba(18, 18, 23, 0.05);
}

button:hover, .tertiary {
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

button:focus {
  box-shadow: 0px 0px 0px 4px #7047EB, 0px 0px 0px 2px #FFF;
}

button.primary {
  color: var(--color-text-primary, #121217);
  background: #FFD700;
  border: 0 solid;
  font-weight: bold;
  overflow: hidden;
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
}

button.primary:hover {
  background: #FCDB2C;
}

button.secondary, .tertiary, .secondary{
  padding: var(--spacing-1, 0.25rem) var(--spacing-2, 0.5rem);
  border-radius: var(--radius-md, 0.5rem);
  background: none;
  color: var(--color-background-primary, #F9FAFC);
}

button.secondary, .secondary {
  border: 1px solid #FFF;
}

.tertiary {
  border: 1px solid #ffffff00;
}

button.secondary:hover, .tertiary:hover{
  border-radius: var(--radius-md, 0.5rem);
  border: 1px solid var(--color-border-button-outline-hover, #D1D1DB);
  background: #f9fafc2a;
  transform: translateY(-3px); 
}

.c-margin {
  margin: var(--spacing-12) 0;
}

.contents {
  width: 100%;
  max-width: 840px;
}

.contents-hero {
  width: 100%;
  max-width: 1280px;
  align-items: center;
}

.contents, .contents-hero {
  display: flex;
  flex-direction: column;
}

.gap {
  gap: 2.5rem;
}

.w100 { 
  width: 100vw;
  display: flex;
  justify-content: center;
}

.hero {
  background: #40535C;
  background: linear-gradient(180deg, #495B67 0%, #667F8F 100%);
  display: flex;
  padding: 2rem 1.5rem 6rem 1.5rem;
  color: var(--color-text-white, #FBFAF2);
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  /*background: #1A2125;
  background: #29353B;*/
  background: #495B67;
  padding: 1rem 2rem;
}

.menu button {
  align-self: auto;
}

.menu > .btn-div {
  display: flex;
  flex-direction: row;
  gap: .5rem;
}

.intro, .download-btn, .body-info, .c-card, .vvb {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro {
  align-items: center;
}

.usp-wrap {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  row-gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.usp {
  border-radius: var(--radius-md, 0.5rem);
  background: #f9fafc0f;
  padding: 0.4rem 0.7rem;
  text-align: center;
  font-size: 1.125rem;
  display: flex;
  gap: .2rem;
  align-items: center;
}

.download-btn button {
  width: fit-content;
}

.subhero {
  background: var(--color-background-subheading, #bad4de);
  display: flex;
  padding: 3.75rem var(--radius-3xl, 1.5rem) 7.5rem var(--radius-3xl, 1.5rem);
  color: #121217;
}

.vvb > h2 {
  color: #121217;
}

.vvb-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
  max-height: 188px;
    overflow: hidden;
    overflow-y: scroll;
}

.vvb-wrap > p {
  border-radius: var(--radius-md, 0.5rem);
  background: #ffffffc4;
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
}

.body-main {
  padding: 5rem var(--radius-3xl, 1.5rem);
  background: var(--color-background-primary, #F9FAFC);
}

.badge {
  display: flex;
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  align-items: center;
  gap: var(--spacing-0, 0rem);
  border-radius: var(--radius-md, 0.5rem);
  border: 1px solid #7B98B3;
  background: #EFF7FC;
  width: fit-content;
  color: #2E577D;
}

ul {
  padding: 0;
}

li {
  margin-bottom: 0.75rem;
  margin-left: 1.5rem;
  list-style-position: outside;
}

img {
  width: 100%; /* Make the image fill the entire width of its container */
  display: block; /* Ensure the image behaves like a block-level element */
}

.footer {
  display: flex;
  padding: 0 var(--radius-3xl, 2rem);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  align-self: stretch;
  text-align: center;
}

.footer > .contents {
  align-items: center;
}

.footer-info {
  gap: var(--spacing-4, 1rem);
}

#CopyButton {
  cursor: pointer;
}

.hero-img {
  transform: translateY(-20px);
}

.btn-hero {
  width: fit-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  z-index:100;  
}

.btn-hero:hover {
  transform: translateX(-50%) translateY(-3px);
}

.check-svg {
  display: block;
}

@media screen and (max-width: 639px) {
  .menu {
    padding: 1rem .5rem;
  }
  .hero {
    padding: 0.5rem var(--radius-3xl, 1.5rem) 3rem var(--radius-3xl, 1.5rem);
  }
  .check-svg {
    display: none;
  }

  p, li {
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  .gap {
    gap: 2.5rem;
  }

  .c-margin {
    margin: var(--spacing-8) 0;
  }

  .btn-hero {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    transform: translateX(0%);
    width: -webkit-fill-available !important;
    margin: 0 var(--radius-3xl, 1.5rem);
  }

  button.primary:hover {
    transform: translateX(0%) translateY(0px);
  }

  .hero-img {
      transform: translateY(0px);
  } 
  .vvb-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-2, 0.5rem);
    max-height: 244px;
      overflow: hidden;
      overflow-y: scroll;
  }
  .footer {
    padding-bottom: 6rem;
  }

  .usp {
    font-size: 1rem;
  }
}

.vvb-wrap::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

.vvb-wrap::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

#submit-form {
  scroll-margin-top: 120px;
}