.seguridadvial-section {
    background-image: url('/img/vias2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    min-height: 50vh;
    border: 1px solid #3498db;
    border-radius: 10px;
    margin-top: 40px;
  }

  .seguridadvial-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  .seguridadvial-title{
      font-size: 48px;
  }
.seguridadvial-title  {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.seguridadvial-content li {
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

  .normas-seguridad-vial {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 70px auto 0 auto; /* Agrega margen arriba */
}

.texto-normas {
    flex: 1;
    color: #222;
}

.texto-normas h2 {
    font-size: 24px;
    font-weight: bold;
}

.texto-normas p {
    font-size: 16px;
    line-height: 1.5;
}

.logos-normas {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.logos-normas img {
    width: 100px;
    height: auto;
}

/* Responsivo */
@media (max-width: 768px) {
    .normas-seguridad-vial {
        flex-direction: column;
        text-align: center;
    }
    .logos-normas {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.accordion-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    margin-top: 20px;   
    margin-bottom: 30px;
  }
  
  /* Ajuste del tamaño del acordeón */
  .accordion {
    width: 80%;
    max-width: 900px;
  }
  
  /* Estilizar los elementos del acordeón */
  .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* Botón del acordeón */
  .accordion-button {
    background: #3498db; 
    color: white;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease-in-out;
  }
  
  /* Efecto hover en los botones */
  .accordion-button:hover {
    background: #3499db; 
  }
  
  /* Quitar el contorno azul al hacer clic */
  .accordion-button:focus {
    box-shadow: none;
  }
  
  /* Estilo del contenido del acordeón */
  .accordion-body {
    background: #f7f7f7;
    color: #444;
    padding: 15px;
    font-size: 16px;
  }