.about-title {
  text-align: center;
  padding: 10px;
}

.about-title h1 {
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  align-items: center;
}

.about-card {
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  padding: 10px;
  height: 400px;
  color: var(--color-black);
  text-shadow: 2px 2px 2px rgba(241, 147, 147, 0.748);
  transition: box-shadow 0.5s;
  border-radius: 10px;
  justify-content: space-evenly;
  border: 2px solid var(--color-primary);
  text-align: center;
}
.bn .about-card p {
  text-shadow: none;
  font-size: 1rem;
  font-weight: 600;
}
.about-card:nth-child(odd) {
  background-color: var(--color-primary);
}
.about-card:nth-child(odd) {
  background-color: var(--background);
}
.card-title {
  margin: 0;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 1.2rem;
  line-height: 2rem;
  word-spacing: 3px;
  word-wrap: break-word;
  padding: 10px;
}

.about-card:hover {
  box-shadow: 0 0 15px rgb(0, 0, 0);
}

/* Responsive behavior for larger screens (768px and up) */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-card:nth-child(1),
  .about-card:nth-child(4) {
    background-color: var(--background);
  }

  .about-card:nth-child(2),
  .about-card:nth-child(3) {
    background-color: var(--color-primary);
  }
}

.choose {
  margin-top: 30px;
}

.choose h1 {
  padding-left: calc(20px + 2vw);
  text-align: left;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  padding: 10px;
  border: 2px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  padding-right: 5px;
}
.feature-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-image: url("/assets/icons/check2-square.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.color-success {
  color: var(--color-success);
  font-size: 1.2rem;
  font-weight: 900;
}

.feature-description {
  font-size: 1rem;
  margin-left: 30px;
}

/* Responsive behavior for larger screens (768px and up) */
@media (min-width: 768px) {
  .feature-item {
    flex-direction: row;
    align-items: center;
  }

  .feature-title {
    margin-bottom: 0;
  }

  .feature-description {
    padding-left: 10px;
    border-left: 1px solid var(--color-success);
  }
}
