/* Estilos generales */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.high {
  color: #4caf50;
}

/* Hero Section */
.hero-acerca {
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../Photos/inicio/bote.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Introducción */
.introduccion {
  padding: 60px 20px;
  background: #fff;
}

.introduccion h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.title-underline {
  display: block;
  width: 180px;
  height: 4px;
  background-color: rgb(255, 174, 0);
  margin: 10px auto 0;
  border-radius: 2px;
}

.introduccion p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* Misión y Visión */
.mision-vision {
  padding: 60px 20px;
  background: #f5f5f5;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mv-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.mv-card:hover {
  transform: translateY(-5px);
}

.mv-card h3 {
  font-size: 28px;
  color: #4caf50;
  margin-bottom: 20px;
}

.mv-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* Líneas de Investigación */
.lineas-investigacion {
  padding: 60px 20px;
  background: #f5f5f5;
}

.lineas-investigacion h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.lineas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.linea-card {
  background: #fafafa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.linea-card:hover {
  border-color: #4caf50;
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.2);
  transform: translateY(-5px);
}

.linea-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  min-height: 250px;
}

.linea-icon img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.linea-card h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.linea-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Historia - Timeline */
.historia {
  padding: 60px 20px;
  background: #fff;
}

.historia h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #4caf50;
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  flex: 0 0 100px;
  font-size: 24px;
  font-weight: bold;
  color: #4caf50;
  text-align: center;
  padding: 10px;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 30px;
}

.timeline-content h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Equipo */
.equipo {
  padding: 60px 20px;
  background: #fff;
}

.equipo h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.equipo-directora {
  margin-bottom: 60px;
}

.miembro-destacado {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.miembro-destacado img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.miembro-info h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 5px;
}

.cargo {
  font-size: 18px;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 20px;
}

.descripcion {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.subtitulo-equipo {
  font-size: 28px;
  color: #333;
  margin: 40px 0 20px 0;
  text-align: center;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.miembro-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.miembro-card:hover {
  transform: translateY(-5px);
}

.miembro-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.miembro-card h4 {
  font-size: 18px;
  color: #333;
  margin: 15px 0 5px 0;
  padding: 0 15px;
}

.especialidad {
  font-size: 14px;
  color: #4caf50;
  margin-bottom: 15px;
  padding: 0 15px;
}

.estudiantes-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.estudiante-categoria {
  background: #4caf50;
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.estudiante-categoria h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.estudiante-categoria p {
  font-size: 16px;
}

/* Infraestructura */
.infraestructura {
  padding: 60px 20px;
  background: #fff;
}

.infraestructura h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.infra-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.infra-card h3 {
  font-size: 22px;
  color: #4caf50;
  margin-bottom: 20px;
  text-align: center;
}

.infra-card ul {
  list-style: none;
  padding: 0;
}

.infra-card li {
  font-size: 15px;
  color: #555;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.infra-card li:last-child {
  border-bottom: none;
}

.infra-card li::before {
  content: "✓ ";
  color: #4caf50;
  font-weight: bold;
  margin-right: 8px;
}

/* Reconocimientos */
.reconocimientos {
  padding: 60px 20px;
  background: #f5f5f5;
}

.reconocimientos h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.reconocimientos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.reconocimiento-card {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.reconocimiento-card:hover {
  transform: translateY(-5px);
}

.reconocimiento-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.reconocimiento-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.reconocimiento-card p {
  font-size: 15px;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 32px;
  }

  .hero-overlay p {
    font-size: 18px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-year {
    flex: 0 0 60px;
    font-size: 18px;
  }

  .timeline-content {
    margin: 0 0 0 20px;
  }

  .miembro-destacado {
    grid-template-columns: 1fr;
  }

  .miembro-destacado img {
    height: 250px;
  }
}
