@font-face  {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/HankenGrotesk-VariableFont_wght.ttf") format("ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face  {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/HankenGrotesk-VariableFont_wght.ttf") format("ttf");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face  {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/HankenGrotesk-VariableFont_wght.ttf") format("ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

::selection  {
  background: #1119a3;
  color: #ffffff;
}

*  {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body  {
  background: #ffffff;
  color: #202020;
  font-family: 'Inter', sans-serif;
}

a{
  text-decoration: none;
  color: inherit;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f8f8f8;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-text {
    color: #202020;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.5px;
    margin: 0;
}

.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: flex-end;
    padding: 60px 8%;
    box-sizing: border-box;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    color: white;
}

.hero-content h1 {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 12px;
    filter: drop-shadow(2px 2px 4px rgba(28, 28, 28, 0.5));
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: white;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 650px;
}

.main-text  {
  color: #202020;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.5px;
  padding: 4%;
}

.container  {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
}

.container h1  {
  font-size: 4em;
  font-weight: 700;
  margin-bottom: 12px;
  text-decoration: none; 
  color: inherit; 
}

section  {
  padding: 65px 0 35px;
}

.item-grid  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.column  {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item-card  {
  background: #f0f0f0;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.item-card:hover  {
  transform: translateY(-4px);
}

.item-info  {
  padding: 18px 12px 5px;
  z-index: 2;
  width: 100%;
}

.item-icon  {
  font-size: 17px;
  margin-bottom: 8px;
}

.item-card h3  {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.item-image  {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.item-image img  {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.item-card:hover img  {
  transform: scale(1.05);
}



.goal-section  {
  padding-top: 95px;
}

.goal-section h1  {
  margin-bottom: 48px;
}

.goal-grid  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.goal-card  {
  display: flex;
  flex-direction: column;
}

.goal-card .item-card  {
  height: 188px;
}

.goal-card .item-image  {
  height: 155px;
}

.goal-card h3  {
  font-size: 20px;
  font-weight: 700;
  margin-top: 17px;
  margin-bottom: 8px;
}

.description  {
  font-size: 10px;
  line-height: 1.65;
  color: #444;
  font-weight: 400;
}

.learn-more  {
  background-color: #1119a3;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  align-self: center;
  justify-self: center;
  display: block;
  margin-top: 88px;
}


@media (max-width: 600px)  {
  .nav  {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .nav-links  {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    display: none; 
  }

  .logo  {
    height: 30px;
  }

  .main-text  {
    display: none;
  }

  .container  {
    width: calc(100% - 28px);
  }

  .container h1  {
    font-size: 2em;
  }

  .background-image  {
    height: 50vh;
  }

  .hero  {
    height: 50vh;
    padding: 30px 4%;
  }

  .hero-content  {
    max-width: 100%;
  }

  .hero-content h1  {
    font-size: 2.5em;
  }

  .hero-content p  {
    font-size: 14px;
  }

  section  {
    padding-top: 45px;
  }

  h1  {
    margin-bottom: 35px;
  }

  .item-grid, .goal-grid  {
    gap: 9px;
  }

  .item-card  {
    border-radius: 9px;
  }

  .goal-section  {
    padding-top: 75px;
  }

  .goal-card .item-card  {
    height: 145px;
  }

  .goal-card .item-image  {
    height: 115px;
  }

  .goal-card h3  {
    font-size: 9px;
    margin-top: 12px;
  }

  .description  {
    font-size: 9px;
  }

}