@import url('../../assets-custom/root.css');

/* SECTION: 1 */
.index-section-1 {
  padding-top: 170px;
  padding-bottom: 170px;
  position: relative;
  /* height: 500px; */
  background-size: cover;
  background-repeat: no-repeat;
  /* background-size: contain; */
  background-repeat: no-repeat;
  background-image: var(--index-section-1-background-image);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.index-section-1-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.index-section-1-cards > div {
  flex: 1 1 calc(33% - 16px);
  box-sizing: border-box;
  position: relative;
  display: flex;
  height: 280px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--ea-secondary-color);
  border-radius: 15px;
}
.index-section-1-cards > div.active-card {
  background: var(--ea-primary-color);
  margin-top: -82px;
}
.index-section-1-cards > div h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--ea-primary-color);
}
.index-section-1-cards > div.active-card h3 {
  color: var(--ea-text-color-2);
}
.index-section-1-cards > div p {
  font-weight: 400;
  font-size: 13px;
  color: var(--ea-text-color-1);
  text-align: center;
}
.index-section-1-cards > div.active-card p {
  color: var(--ea-text-color-2);
}
.index-section-1 .card-img-inner {
  background: var(--ea-primary-color);
  border-radius: 10px;
  padding: 9px;
  margin-bottom: 14px;
}
.index-section-1-cards > div.active-card .card-img-inner {
  background: var(--ea-secondary-color);
}
.index-section-1 .card-img-inner img {
  width: 32px;
}
@media screen and (max-width: 990px) {
  .index-section-1-cards {
    flex-direction: column;
  }
  .index-section-1-cards > div.active-card {
    margin-top: auto;
  }
  .index-section-1-cards > div {
    padding: 7px;
    padding-top: 35px;
    padding-bottom: 35px;
  }
}
/* SECTION: 2 */
.index-section-2 {
  position: relative;
  /* height: 500px; */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  /* background-size: contain; */
  /* background-repeat: no-repeat; */
  /* background-image: var(--index-section-2-background-image); */
  /* background-size: cover; */
  padding: 47px;
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--ea-background-color);
}
.index-section-2-cards {
  display: flex;
  flex-direction: column;
  gap: 98px;
}
.index-section-2 h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--ea-text-color-2);
  max-width: 200px;
}
.index-section-2 p {
  font-weight: 400;
  font-size: 13px;
  color: var(--ea-text-color-2);
  /* max-width: 300px; */
}
.index-section-2-cards > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
.index-section-2-card-img img {
  width: 100%;
  height: 180px;
}
.index-section-2-cards > div > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
}
.index-section-2-cards > div > div div {
  width: 33%;
}
@media screen and (max-width: 990px) {
  .index-section-2-cards > div > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .index-section-2-cards > div > div div {
    width: 100%;
  }
  .index-section-2-card-img {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .index-section-2-card-img img {
    width: auto;
    height: 180px;
  }
}
.index-section-2 .discover-more-button {
  text-align: center;
  padding: 10px;
  background: var(--btn-background-color);
  width: max-content;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 500;
  border-radius: var(--btn-border-radius);
  cursor: pointer;
  color: var(--ea-text-color-2);
  text-decoration: none;
}
