/* ====== BASE STYLES ====== */
body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background: hsl(210, 20%, 98%);
  color: hsl(222, 15%, 20%);
}

.principal-section {
  padding: 60px 20px;
  background: whitesmoke;
  color: hsl(0, 70%, 48%);
}

.container {
  max-width: 1100px;
  margin: auto;
}

.text-center {
  text-align: center;
  margin-bottom: 40px;
}

#section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.lang-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn {
  background: none;
  border: 2px solid hsl(0, 80%, 50%);
  padding: 8px 16px;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  color: hsl(0, 0%, 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.active,
.btn {
  background: hsl(0, 0%, 100%);
  color: hsl(0, 80%, 67%);
}

/* ====== CARD STYLES ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: hsl(0, 0%, 100%);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px -4px hsl(210, 92%, 45%, 0.2);
  color: hsl(222, 15%, 20%);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px -10px hsl(210, 92%, 45%, 0.3);
}

.image-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid hsl(0, 80%, 67%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .image-wrapper {
  border-color: hsl(0, 80%, 58%);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover .image-wrapper img {
  transform: scale(1.08);
}

.title {
  font-weight: bold;
  color: hsl(142, 86%, 28%);
  margin-bottom: 10px;
}

.quote {
  font-size: 30px;
  color: hsl(35, 95%, 55%);
  margin-bottom: 10px;
}

.message {
  color: hsl(222, 15%, 50%);
  line-height: 1.6;
}
 @media (max-width: 768px) {
    #section-title {
      font-size: 1.7rem;
    }
    .card {
      padding: 18px;
    }
    .image-wrapper {
      width: 100px;
      height: 100px;
    }
    .message {
      font-size: 0.9rem;
    }
  }

  @media (max-width: 480px) {
    .principal-section {
      padding: 35px 15px;
    }
    #section-title {
      font-size: 1.5rem;
    }
    .btn {
      padding: 6px 12px;
      font-size: 13px;
    }
    .cards {
      gap: 15px;
    }
    .image-wrapper {
      width: 90px;
      height: 90px;
    }
    .message {
      font-size: 0.88rem;
    }
  }