/* Estilos generales */
body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.navbar {
  background-color:#FFFFFF;
}

.menu-item {
  color:#1A2A6C !important;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

.menu-item:hover {
  color: #1A2A61 !important;
  transform: translateY(-5px);
}

.menu-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #1A2A6C;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu-item:hover::after {
  width: 100%;
}

/* Efecto Parallax */
.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 120vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: white;
  text-align: center;
}

.parallax .content {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  width: 100%;
  max-width: 1200px;
  padding: 25px;
  border-radius: 8px;
  margin: auto;
}

/* Estilos específicos para las imágenes de fondo */
.parallax-01 {
  background-image: url('../img/01.jpg');
}

.parallax-02 {
  background-image: url('../img/nosotros-04.jpg');
}

.parallax-03 {
  background-image: url('../img/servicios-01.jpg');
}

.parallax-04 {
  background-image: url('../img/clientes-03.jpg');
}

.parallax-05 {
  background-image: url('../img/contacto-04.jpg');
}

.footer {
  background-color: #1A2A6C;
  color: white;
}

/* Media Queries */
@media (max-width: 768px) {
  .parallax {
      background-attachment: scroll;
      height: 150vh;
  }

  .content {
      padding: 20px;
  }

  /* Corrección de columnas encimadas */
  .row {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .col {
      width: 100%;
      margin-bottom: 20px;
  }

  /* Control de altura flexible */
  .full-height {
      height: auto;
  }

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


@media (max-width: 576px) {
  .parallax {
    background-attachment: scroll;
    height: 200vh;
}
  h1 {
      font-size: 1.8rem;
  }

  p {
      font-size: 1rem;
  }

  
}

/* Estilo del botón para subir al inicio */
#btnScrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1A2A6C;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  z-index: 1000;
  display: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

#btnScrollTop:hover {
  background-color: #0F1B49;
}