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

/* SECTION: 1 */
.index-section-1 {
  /* padding-top: 100px; */
  padding-bottom: 100px;
}
.index-section-1-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.index-section-1-cards > div {
  flex: 1 1 calc(50% - 16px);
  box-sizing: border-box;
  position: relative;
  display: flex;
  height: 280px;
  flex-direction: column;
  justify-content: center;
}
.index-section-1-cards > div:not(:first-child) {
  background: var(--ea-secondary-color);
  padding: 33px;
  border-radius: 10px;
  border: 1px solid var(--ea-secondary-color);
}
.index-section-1-cards > div:not(:first-child) .card-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 63px;
  height: 64px;
}
.index-section-1-cards > div:not(:first-child) .card-img-inner {
  display: flex;
  background: var(--ea-primary-color);
  justify-content: center;
  align-items: center;
  border-radius: unset;
  border-top-right-radius: 5px;
  width: 100%;
  height: 100%;
}
.index-section-1-cards > div:not(:first-child) .card-img {
  padding: 5px;
  background: white;
}
.index-section-1-cards > div .card-img img {
  width: 35px;
}

.index-section-1-cards > div h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--ea-text-color-1);
}
.index-section-1-cards > div p {
  font-weight: 400;
  font-size: 13px;
  color: var(--ea-text-color-1);
  /* max-width: 250px; */
}
@media screen and (max-width: 990px) {
  .index-section-1-cards {
    flex-direction: column;
  }
  .index-section-1-cards > div {
    width: 100%;
  }
  .index-section-1 {
    padding-top: 100px;
  }
}

/* SECTION: 2 */
.index-section-2-cards {
  display: flex;
  flex-direction: column;
}
.index-section-2-cards > div {
  display: flex;
  flex-direction: row;
  gap: 43px;
  margin-bottom: 54px;
}
.index-section-2-cards > div:nth-child(even) {
  flex-direction: row-reverse;
}
.index-section-2-img-part {
  width: 50%;
}
.index-section-2-about-part {
  width: 50%;
}
.index-section-2-img-part img {
  width: 100%;
}
.index-section-2-cards > div .index-section-2-about-part {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.index-section-2-cards > div:nth-child(even) .index-section-2-about-part {
  align-items: flex-end;
}
.index-section-2-cards > div:nth-child(even) .index-section-2-about-part p {
  text-align: right;
}
.index-section-2-cards > div .index-section-2-about-part h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--ea-text-color-1);
}
.index-section-2-cards > div .index-section-2-about-part p {
  font-weight: 400;
  font-size: 13px;
  color: var(--ea-text-color-1);
  max-width: 435px;
}
.index-section-2-cards .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: white;
  text-decoration: none;
}
@media screen and (max-width: 990px) {
  .index-section-2-cards > div {
    flex-direction: column !important;
  }
  .index-section-2-about-part {
    width: 100%;
  }
  .index-section-2-img-part {
    width: 100%;
  }
  .index-section-2-cards > div .index-section-2-about-part p {
    max-width: 100%;
  }
  .index-section-2-cards > div .index-section-2-about-part {
    align-items: flex-start !important;
    padding: 17px;
  }
  .index-section-2-cards > div:nth-child(even) .index-section-2-about-part p {
    text-align: left;
  }
}
