/*--------------------------------------------------------------
# INFO STYLES - Estilos específicos para páginas /info
# SistemasPNP.org - Versión 8 - 2026
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Sección principal info
--------------------------------------------------------------*/
#info {
  padding-top: 105px; 
  min-height: 100vh;
}

#info:before {
  content: "";
  background: rgba(240,240,240);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

#info h5 {    
  margin: 1px 0 0 0;    
}

/* Títulos */
.section-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0A8250;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Contenido */
.info .content {
  padding: 25px;
  font-family: "Open Sans", sans-serif;
}

.info .content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 20px;
}

.info .content p {
  margin: 15px 0 30px 0;
  line-height: 24px;
  color: #666;
}

/* Efecto hover en imágenes */
.info .hover-effect {
  transition: all 0.3s ease;
  border-radius: 10px;
}

.info .hover-effect:hover {
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

/* Alineación de texto */
.text-justify {
  text-align: justify;
}

/*--------------------------------------------------------------
# Botones FontAwesome (estilo original)
--------------------------------------------------------------*/
.info .contenedor-botones {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.info .boton {
  display: inline-block;
  padding: 20px 30px;
  background-color: #0A8250;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  margin: 5px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 120px;
}

.info .boton:hover {
  background-color: #096d42;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(10, 130, 80, 0.3);
  color: white;
}

.info .boton i {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
}

.info .boton span {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
}

.info .boton-rojo {
  background-color: #e35052;
}

.info .boton-rojo:hover {
  background-color: #c82333;
}

/*--------------------------------------------------------------
# Botones estilo Bootstrap (alternativo)
--------------------------------------------------------------*/
.btn-custom {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-decoration: none;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  color: white;
}

.btn-success {
  background: #0A8250;
  color: white;
}

.btn-success:hover {
  background: #096d42;
  color: white;
}

/*--------------------------------------------------------------
# Tabs - Sistema de pestañas
--------------------------------------------------------------*/
.tabs {
  padding: 60px 0;
  background: white;
}

.tabs .nav-tabs {
  border: 0;
  border-bottom: 2px solid #0A8250;
}

.tabs .nav-link {
  border: 1px solid #b9b9b9;
  padding: 15px;
  transition: 0.3s;
  color: #111111;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: white;
}

.tabs .nav-link i {
  padding-right: 15px;
  font-size: 48px;
  color: #666;
}

.tabs .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.tabs .nav-link:hover {
  color: #0A8250;
  border-color: #0A8250;
}

.tabs .nav-link:hover i {
  color: #0A8250;
}

.tabs .nav-link.active {
  background: #0A8250;
  color: #fff;
  border-color: #0A8250;
}

.tabs .nav-link.active i,
.tabs .nav-link.active h4 {
  color: white;
}

.tabs .tab-content {
  margin-top: 30px;
  background: white;
  padding: 30px;
  border-radius: 10px;
}

.tabs .tab-pane h3 {
  color: #0A8250;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 22px;
}

.tabs .tab-pane p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.tabs .tab-pane ul {
  list-style: none;
  padding: 0;
}

.tabs .tab-pane ul li {
  padding: 10px 0;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tabs .tab-pane ul li i {
  font-size: 20px;
  color: #0A8250;
}

.tabs .tab-pane ul li a {
  color: #0A8250;
  font-weight: 600;
  text-decoration: none;
}

.tabs .tab-pane ul li a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Responsive - Tablets
--------------------------------------------------------------*/
@media (max-width: 768px) {
  #info {
    padding-top: 90px;
  }

  .section-title h1 {
    font-size: 2rem;
  }
  
  .info .content h2 {
    font-size: 1.5rem;
  }

  .info .content {
    padding: 20px;
  }

  .info .contenedor-botones {
    justify-content: center;
  }

  .tabs .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }

  .tabs .tab-pane h3 {
    font-weight: 600;
    font-size: 20px;
  }

  .tabs .tab-content {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Responsive - Móviles
--------------------------------------------------------------*/
@media (max-width: 575px) {
  .section-title h1 {
    font-size: 1.75rem;
  }

  .info .content h2 {
    font-size: 1.25rem;
  }

  .info .boton {
    padding: 15px 20px;
    min-width: 100px;
  }

  .info .boton i {
    font-size: 1.5rem;
  }

  .tabs .nav-link {
    padding: 15px 10px;
  }

  .tabs .nav-link i {
    font-size: 24px;
  }

  .tabs .nav-link h4 {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Animaciones
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info .content,
.info .hover-effect {
  animation: fadeInUp 0.6s ease-out;
}

/*--------------------------------------------------------------
# Utilidades
--------------------------------------------------------------*/
.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

.text-center {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}
