.hero {
  width: 100%;
  position: absolute;
  top: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-align: center;
  color: white;
}

main {
  flex: 1;
  width: 100%;
  position: relative;
}

.background {
  background-image: url('../../../assets/img/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  top: 85px;
  overflow: hidden;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  z-index: 1;
  pointer-events: none;
  height: 100vh;
}


.page-title {
  position: relative;
  z-index: 5;
  margin-top: -60px;

  h1 {
    font-size: 65px
  }
}

.subtitle {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  font-size: 36px;
}

content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.button {
  z-index: 20;
}




.learn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  background: linear-gradient(145deg, #f9f9f9, #e6e6e6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  filter: brightness(1.05);

}

.learning-list {
  gap: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.learning-option {
  text-align: start;
  width: 100%;
  font-size: 20px;
}

.learn-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 60px;
  width: 100%;
  max-width: 1440px;
  margin: 0px auto;
  padding: 20px 0px;
  position: relative;

  @media(max-width:900px) {
    justify-content: center;
  }
}

.learn-card-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  width: 150px;

  img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }
}

h2 {
  font-size: 36px;
}

h3{
  font-size: 20px;
}

.process-wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.process-card{
  position: relative;
  display: flex;
  flex-direction: column;
  filter: brightness(1.05);
  gap: 5px;
  width: 100%;
  padding: 20px;
  background: linear-gradient(145deg, #f9f9f9, #e6e6e6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.process-text{
  font-size: 18px;
}

.about-wrapper{
  display: flex;
  align-items: center;
  gap: 20px;
  
}

.about-text, .cta-text{
  font-size: 18px;
}


.portrait{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #000000;
  object-position: 50% 25%;
}

.cta-wrapper{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.buttons-wrapper{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

@media (max-width:1000px) {
  .learn-wrapper {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
    gap: 30px;
    
  }
  .learn-card{
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
  }

  .about-wrapper{
    flex-direction: column;
  }

  .portrait{
    width: 150px;
    height: 150px;
  }

  
}

@media (max-width:800px) {
  .subtitle {
    font-size: 20px;
  }

  .page-title {
    h1 {
      font-size: 48px;
    }
  }

  .background {
    background-position: calc(10% - 100px) center;
  }

}

@media(max-width:600px) {
  .learn-card{
    width: 100%;
  }

  .learning-option{
    font-size: 16px;
  }
}



@media (max-width:450px) {
  .subtitle {
    font-size: 16px;
  }

  .page-title h1{
      font-size: 32px;
  }

  .buttons-wrapper{
    flex-direction: column-reverse;
  }

}