/* ================= ABOUT SECTION ================= */

.about-section {
  background: linear-gradient(135deg, #052a51, #021b33);
  padding: 120px 20px 100px 20px;
  color: white;
  margin-top: 100px;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* ================= CARDS ================= */


.about-card {
  background: rgba(255,255,255,0.05);
  padding: 45px 35px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);

  text-align: center; /* 🔥 centramos todo */

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(.23,1.02,.52,.99);

  position: relative;
  overflow: hidden;
}

/* Animación de entrada */
.about-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ✨ Efecto constante suave */
.about-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,191,255,0.08), transparent 70%);
  animation: rotateGlow 8s linear infinite;
  top: -50%;
  left: -50%;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hover elegante */
.about-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* ================= ICON ================= */

.about-icon {
  font-size: 48px;
  margin-bottom: 25px;
  color: #00bfff;
  display: block;
}

/* ================= TITLES ================= */

.about-card h2 {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 600;
}

/* ================= TYPEWRITER TEXT ================= */

.about-card p,
.goals-list li {
  font-size: 15px;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Clase que activa escritura */
.typing {
  opacity: 1;
}

/* ================= GOALS LIST ================= */

.goals-list {
  list-style: none;
  padding: 0;
  text-align: left; /* lista alineada */
}

.goals-list li {
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}

.goals-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00bfff;
  font-weight: bold;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1230px) {
  .about-section {
    padding: 100px 20px;
    margin-top: 94px;
  }
}

@media (max-width: 1024px) {
  .about-section {
    padding: 100px 20px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 15px;
  }

  .about-card {
    padding: 35px 25px;
  }

  .about-card h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 70px 15px;
  }

  .about-card {
    padding: 30px 20px;
  }

  .about-icon {
    font-size: 36px;
  }

  .about-card p,
  .goals-list li {
    font-size: 14px;
  }
}