
/* ==========================================================================
   5. PÁGINA SOBRE NOSOTROS E HISTORIA
========================================================================== */
/* #region ABOUT */
.about-hero {
  position: relative;
  background-image: url('../assets/images/about-image.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alineación izquierda */
  color: white;
}

.about-hero .overlay {
  background: linear-gradient(180deg, rgba(0, 11, 64, 0.6), rgba(129, 149, 248, 0.6));
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.about-hero .container {
  max-width: 570px;
  margin-left: 8%;
  padding: 2rem;
  text-align: left;
  margin-top: 85px;
}

.about-hero h1 {
  font-size: 38px!important;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 7rem;
  text-align: justify;
  color: #fefefe;
}

.about-hero p {
  font-size: 16px;
  line-height: 1.35;
  text-align: justify;
  margin-bottom: -1rem;
}
/* ------------------------------------------------------------------------------------------------------------------*/
.about-section-two {
  padding: 10rem 2rem 8rem 2rem;
}

.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: -30px;
}

.about-image img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
}

.about-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  margin-right: 110px;
  margin-left: -50px;
}

.about-content h2 {
  font-size: 40px;
  color: #6265fe;
  margin-bottom: 1rem;
  text-align: left;
}

.section-subtitle {
  font-size: 16px;
  color: #022e47;
  margin-bottom: 2.5rem;
  text-align: justify;
}

.about-summary h2 {
  font-size: 40px;
  color: #6265fe;
  margin-bottom: 1rem;
  text-align: left;
}
.about-summary p {
  font-size: 16px;
  color: #022e47;
  margin-bottom: 2.5rem;
  text-align: justify;
}
.read-more-btn {
  display: inline-block;
  background-color: #6265fe;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 1.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #76a6ef;
  color: #fefefe;
}

.circle-wrapper {
  position: relative;
  display: inline-block;
}

.circle-wrapper img {
  display: block;
  border-radius: 50%;
  width: 380px;
  height: 380px;
  object-fit: cover;
}

/* Círculos decorativos */
.circle {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}

/* Círculo azul arriba a la izquierda */
.circle-blue-top {
  width: 120px;
  height: 120px;
  background-color: #76a6ef;
  top: -50px;
  left: 10px;
}

/* Círculo azul oscuro abajo a la izquierda */
.circle-dark-bottom-left {
  width: 105px;
  height: 105px;
  background-color: #022e47;
  bottom: -10px;
  left: 15px;
}

/* Círculo morado abajo a la derecha */
.circle-purple-bottom-right {
  width: 60px;
  height: 60px;
  background-color: #6265fe;
  bottom: -20px;
  right: 110px;
}


.historia-equipo {
  background-color: #6265fe;
  padding: 4rem 2rem;
}

.historia-equipo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem; /* margen lateral */
}

.historia-equipo h2 {
  text-align: center;
  font-size: 40px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.equipo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centra el contenido */
  gap: 2rem;
}

.cargo {
  text-align: center;
  width: 220px;
  padding: 1rem;
}

.equipo-foto {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: block;
}

.cargo h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cargo-titulo {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  color: #ffffff;
  margin: 0;
}
/* #endregion */


/* #region RESPOSIVE */

@media (max-width: 992px) {
  .about-hero {
    min-height: 60vh; /* mantiene altura visual */
    padding: 6rem 1rem 4rem 1rem;
  }

  .about-hero .container {
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
  }

  .about-hero h1,
  .about-hero p {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  .about-image img {
    width: 300px;
    height: 300px;
  }

  .about-content {
    margin: 0;
    max-width: 90%;
    text-align: center;
  }

  .about-content h2,
  .about-summary h2 {
    font-size: 32px;
    text-align: center;
  }

  .section-subtitle,
  .about-summary p {
    text-align: justify;
  }

  .historia-hero h1,
  .historia-hero p,
  .historia-galeria h2 {
    margin-left: 2rem;
  }

  .historia-timeline-section .intro-year {
    font-size: 52px;
  }

  .historia-timeline-section .intro-subtitle {
    font-size: 28px;
  }

  .event-box {
    width: 50vw;
    max-width: 50vw;
    min-width: unset;
    left: 5%;
    transform: none;
    top: -80px;
    padding: 1rem 1.2rem;
  }
}


@media (max-width: 768px) {
  .about-hero {
    min-height: 70vh;
    padding: 5rem 1rem 3rem 1rem;
    background-position: center top;
  }

  .about-hero .container {
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
  }

  .about-hero h1 {
    font-size: 26px !important;
    margin-top: 3rem;
    line-height: 1.3;
    text-align: center;
  }

  .about-hero p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 auto;
    text-align: center;
  }
  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .about-image {
    margin: 0 auto;
    justify-content: center;
  }

  .about-image img,
  .circle-wrapper img {
    width: 200px;
    height: 200px;
  }

  .about-content {
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 100%;
    text-align: center;
  }

  .about-content h2,
  .about-summary h2 {
    font-size: 24px;
    text-align: center;
  }

  .section-subtitle,
  .about-summary p {
    font-size: 15px;
    text-align: center;
  }

  .circle-blue-top {
    top: -30px;
    left: -60px;
  }

  .circle-dark-bottom-left {
    bottom: -10px;
    left: -40px;
  }

  .circle-purple-bottom-right {
    bottom: -15px;
    right: -10px;
  }

}

