@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/* ---------- GLOBAL STYLING ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, Arial, sans-serif;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  font-weight: 400;
  color: #000000;
}

h4 {
  font-size: 20px;
  font-weight: 700;
  color: #111111e1;
}

p {
  font-size: 16px;
  font-weight: 400;
  color: #fefefe;
  margin: 15px 0 20px 0;
}

/* ----------INTRODUCTION---------- */
#introduction {
  display: flex;
  padding: 40px;
  background-color: #ffffff;
  align-items: center;
}

.cards {
  min-width: 50%;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}

.design-card {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  min-height: 100px;
  background-color: #062D61;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  transition: 1s ease;
}

.text-section {
  flex: 70%;
}

.card-text {
  padding: 5px;
}

.icon-section {
  flex: 30%;
  display: flex;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin-top: 10px;
}

.icon i {
  font-size: 4.5rem;
}

.design-card:hover {
  box-shadow: 0 0 15px #00000080;
  cursor: pointer;
}

.design-card.active {
  background-color: #d3ac00;
  display: flex;
}

.design-card.active:hover h3 {
  color: #0E131F;
}

.design-card.active:hover i {
  color: #0E131F;
}

.design-card.active p {
  color: #000000;
  font-weight: 700;
}

.design-card div {
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.design-card:hover div {
  color: #d3ac00;
}

.design-card:hover div i{
  color: #d3ac00;
}

.design-card div h3 {
  font-weight: 500;
}

.design-card:hover div h3 {
  font-weight: 600;
}

.design-card p {
  font-size: 14px;
  font-weight: 600;
  color: #7c7d81;
}

.design-card:hover a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.introduction-text {
  display: block;
  min-width: 50%;
  padding-right: auto;
}

.introduction-text h2 {
  font-size: 35px;
  margin: 18px;
  font-weight: 800;
}

.introduction-text p {
  margin: 12.5px;
}

.text-area p {
  font-size: 13px;
  color: #7c7d81;
  font-weight: 500;
  text-align: justify;
}

.text-area p span {
  font-weight: 600;
  font-size: 16px;
  color: #d3ac00;
  margin-right: 20px;
}

.back {
  font-size: 15px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 600;
  margin: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(
        --text-gray
    );
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 16px 0px;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    margin-top: 10px;
  }

  @media screen and (max-width: 950px) {
    #introduction {
      flex-direction: column;
      height: 90vh;
    }

    .introduction-text h2 {
      font-size: 30px;
    }

    .introduction-text p {
      font-size: 13px;
      margin: 10px;
    }

    .cards {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: clamp(5px, 10px, 500px);
    }

    .design-card.active {
      flex-direction: column;
      width: 100%;
      max-width: 300px;
      min-width: 150px;
      height: 185px;
      padding: 20px;
    }

    .design-card {
      flex-direction: column;
      width: 100%;
      max-width: 125px;
      height: 185px;
      padding: 20px;
    }

    .design-card.active .icon {
      margin-top: 15px;
    }

    .design-card.active .icon i {
      font-size: 4rem;
    }

    .cards h3{
      text-align: center;
    }

    .icon i {
      font-size: 2rem;
    }

    .card-text p {
      display: none;
    }
  }  

  @media screen and (max-width: 650px) {
    .card-text h3 {
      font-size: 12.5px;
    }

    .introduction-text h2 {
      font-size: 20px;
      margin: 10px;
    }

    .introduction-text h4 {
      font-size: 18;
    }

    .introduction-text p {
      font-size: 12.5px;
      margin: 10px;
    }

    .introduction-text p span {
      font-size: 15px;
    }
  }

  @media screen and (max-width: 500px) {
    .design-card {
      flex-direction: column;
      width: 100%;
      max-width: 70px;
      height: 125px;
      padding: 20px;
    }

    .design-card.active {
      flex-direction: column;
      width: 100%;
      max-width: 150px;
      height: 125px;
      padding: 10px;
    }

    .design-card .card-text {
      display: none;
    }

    .design-card .icon {
      justify-content: center;
      margin-top: -10px;
    }

    .design-card.active .card-text {
      display: block;
    }

    .design-card.active .icon {
      width: 10px;
      height: 10px;
      margin-top: 0px;
    }

    .design-card.active .icon i {
      font-size: 2.5rem;
    }

    .icon i {
      font-size: 1.75rem;
    }


  
    .text-section {
      flex: 50%;
    }

    .icon-section {
      flex: 50%;
      display: flex;
    }
  }