/* Simple hero blocks */
.hero {
  padding: 200px 0 120px;
  background: linear-gradient(180deg, var(--purple-50, #F4F2FF) 0%, #FFF 100%);
}

.hero-inner {
  display: flex;
  gap: 160px;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.hero-title{
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.hero-title h1{
  text-align: center;
  font-size: 3rem;
}

.hero-desc {
  font-size: 1.375rem !important;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
}

.hero-img {
  width: 320px;
  max-width: 40%;
}

.cta-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cta-btn{
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: relative;
}
.cta-btn:hover{
  border: 1px solid var(--primary);
  transition: all 0.5s;
}
.cta-btn img{
  display: flex;
  width: 75px;
  height: 75px;
  justify-content: center;
  align-items: center;
}
.cta-btn .cta-txt{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-btn .cta-txt h3{
  color: var(--black);
}
.cta-btn .cta-txt p{
  color: var(--grey-800);
}
.cta-btn .arrow{
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  background-image: url('../../img/home-cta-arrow.svg');
  border-radius: var(--radius-round);
  background-color: var(--primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  position: absolute;
  right: 40px;
  bottom: 40px;
}




.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 0;
}
.feature-grid article{
  display: flex;
  padding: 30px;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-lg);
  color: var(--black);
  height: 595px;
}

.feature-grid article:nth-child(1){
  background-color: var(--primary);
  color: var(--white);
}
.feature-grid article:nth-child(1) .img-box{
  background-color: rgba(255, 255, 255, 0.20);
}

.feature-grid article:nth-child(2){
  background-color: var(--white);
  border: 1px solid var(--grey-300);
  margin-top: 40px;
}
.feature-grid article:nth-child(2) .img-box{
  background-color: #f0f0f0;
}

.feature-grid article:nth-child(3){
  background-color: var(--secondary);
  color: var(--white);
}
.feature-grid article:nth-child(3) .img-box{
  background-color: #2E3A7E;
}

.feature-grid .img-box{
  display: flex;
  height: 260px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  padding: 30px;
}


.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tabs button {
  background: var(--white);
  border: 1px solid var(--grey-400);
  display: flex;
  height: 60px;
  padding: 0 40px;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-round);
  cursor: pointer;
}
.tabs button.is-active {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}
.feature-tabs .panel-box{
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  border-radius: var(--radius-lg);
  background-color: var(--white);
  color: var(--black);
}
.home p{
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 160%;
}


.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}
.who-grid article{
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}
.who-grid article img{
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.technical-structure{
  display: flex;
  padding: 60px 50px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  border-radius: var(--radius-lg);
  color: var(--white);
  background-image: url('../../img/technical-structure-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: var(--box-shadow);
}
.technical-structure img{
  width: 80px;
  height: 80px;
}



@media (max-width: 1024px){

  /* home */
  .hero{
    padding: 80px 0;
  }
  .hero-inner{
    gap: 40px;
  }
  .hero-title{
    gap: 20px;
  }
  .hero-title h1{
    padding: 0 10px;
    font-size: 1.5rem;
  }
  .hero-desc{
    font-size: 1.25rem !important;
  }
  .home p{
    font-size: 1rem;
  }
  .cta-grid{
    gap: 20px;
  }
  .cta-btn{
    padding: 20px;
    gap: 16px;
  }
  .cta-btn img{
    display: none;
  }
  .cta-btn .cta-txt{
    gap: 8px;
    width: 80%;
  }
  .cta-btn .arrow{
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    background-size: 12px;
  }

  .feature-grid,
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-grid{
    gap: 20px;
    margin-bottom: 20px;
  }

  .feature-grid{
    gap: 20px;
    padding: 0;
  }
  .feature-grid article{
    padding: 20px 20px 30px;
    gap: 12px;
    height: auto;
  }
  .feature-grid article:nth-child(2){
    margin-top: 0;
  }
  .feature-grid .img-box{
    height: auto;
  }

  

}

@media (max-width: 768px) {
    .cta-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .feature-tabs{
    gap: 20px;
  }
  .feature-tabs .tabs{
    justify-content: space-between;
    gap: 12px;
  }
  .feature-tabs .tabs button{
    border: 1px solid var(--grey-200);
    width: 100%;
    padding: 0;
    height: 56px;
    font-size: 1.125rem;
  }
  .feature-tabs .panel-box{
    border: 1px solid var(--grey-200);
    padding: 24px 20px;
    gap: 12px;
  }

  .who-grid article,
  .technical-structure{
    padding: 20px;
    gap: 10px;
  }
  .who-grid article img,
  .technical-structure img{
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

}


