/* ====== Hero Nosotros Fullscreen ====== */
.hero-nosotros {
  position: relative;
  height: 100vh; /* Ocupa toda la altura de la pantalla */
  background-image: url("../assets/img/portada_nosotros.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* Espacio por el navbar */
  overflow: hidden;
}

.hero-nosotros::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* oscurece para que se lea bien el texto */
  z-index: 1;
}

.hero-nosotros .container {
  position: relative;
  z-index: 2;
}

.hero-nosotros h1,
.hero-nosotros p {
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* ===== Main Container ===== */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ===== General Sections ===== */
.about-section {
  margin-bottom: 40px;
}

.section-title {
  color: #003366;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #80c542;
}

.section-subtitle {
  color: #5a6a7e;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

/* ===== About Grid Layout ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}

.about-text {
  padding: 20px;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.subsection-title {
  color: #005b8c;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ===== Images ===== */
.about-image {
  text-align: center;
}

.about-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0; /* Elimina los bordes redondeados */
  box-shadow: none; /* Elimina la sombra */
  background: none; /* Asegura que no haya fondo */
}

/* ===== Mission & Vision ===== */
.mission-vision {
  background: #f8fafc;
  padding: 40px 0; /* Menos padding */
  margin: 40px 0; /* Menos separación */
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mv-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
}

.mv-icon {
  font-size: 2.5rem;
  color: #80c542;
  margin-bottom: 1.5rem;
}

/* ===== Values ===== */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.value-item i {
  color: #80c542;
  margin-right: 10px;
  margin-top: 3px;
}

.value-item span {
  font-size: 1rem;
  color: #333;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .reverse {
    direction: ltr;
  }

  .about-image {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .about-container {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .mv-card {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }
}
