@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&family=Raleway:wght@500;600;700&display=swap");

/*about section*/
.about-section {
  padding: 0;
}
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  gap: 40px;
  padding: 100px;
}
.about h1 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 550;
  margin-bottom: 20px;
  color: var(--primary-color);
}
.about .pg {
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.about .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.about .pg ul li {
  list-style: none;
}
.about .pg ul li::first-letter {
  font-weight: 500;
  color: rgb(37, 49, 32);
  font-size: larger;
}
.about-card {
  background-color: var(--background-color);
  color: var(--text-color);
  width: 300px;
  height: 200px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px 8px rgba(10, 184, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.about-card .icon {
  height: 30px;
  width: 30px;
  margin-bottom: 10px;
  text-align: center;
}
.about-card .icon svg {
  fill: var(--primary-color);
}
.about-card h1 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.about-card p {
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--text-color);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .about {
    padding: 80px 40px;
  }
  .about h1 {
    font-size: 2.2rem;
  }
  .about .pg {
    font-size: 1rem;
  }
  .about-card {
    width: 90%;
    height: auto;
    padding: 15px;
  }
  .about-card h1 {
    font-size: 1.2rem;
  }
}
