body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  background: transparent;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 100px; /* Ajusta esta altura según sea necesario */
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.2rem; /* Ajusta el tamaño de la fuente del menú */
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ddd;
}

.hero-image {
  position: relative;
  background-image: url('../images/rascacielos.jpg'); /* Ajusta la ruta según sea necesario */
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.562); /* Ajusta el nivel de oscuridad aquí */
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  text-align: left;
  z-index: 2;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: bold;
}

.hero-text p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
}

.hero-text .btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff9800;
  border: none;
  border-radius: 5px;
  font-family: 'Raleway', sans-serif;
}

.hero-text .btn:hover {
  background-color: #e68900;
}

@media (max-width: 768px) {
  .hero-text {
    left: 5%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .navbar-brand img {
    height: 80px; /* Ajusta esta altura según sea necesario para pantallas pequeñas */
  }

  .navbar-dark .navbar-nav .nav-link {
    font-size: 1rem; /* Ajusta el tamaño de la fuente del menú para pantallas pequeñas */
  }
}

/* Services Section 2 */
.services-section {
  background-color: white; /* Fondo blanco */
  background-image: url('../images/contacto.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  position: relative;
  color: #333; /* Color del texto oscuro */
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9); /* Blanco con ligera transparencia para mostrar la imagen de fondo */
  z-index: 0; /* Asegúrate de que esté detrás del contenido */
}

.services-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000; /* Color del texto */
  position: relative;
  z-index: 1; /* Asegúrate de que el título esté encima del fondo */
}

.service-box {
  background-color: #17162A;
  padding: 30px 20px;
  border-radius: 20px; /* Ajusta este valor para hacer los bordes más redondeados */
  color: white; /* Color del texto claro */
  margin-bottom: 50px; /* Mayor margen inferior para crear espacio para el botón */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center; /* Centra el contenido de la caja */
  position: relative;
  z-index: 1; /* Asegúrate de que las cajas de servicio estén encima del fondo */
}

.service-box h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 20px;
}

.service-box .btn {
  background-color: #ff9800;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  text-transform: uppercase;
  position: absolute;
  bottom: -20px; /* Hace que el botón "toque" el borde del recuadro azul */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.service-box .btn:hover {
  background-color: #e68900;
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background-color: #17162A;
  border-radius: 50%;
  border: 4px solid #fff; /* Ajusta el grosor del borde del icono */
  position: absolute;
  top: -50px; /* Ajusta este valor para mover el icono hacia arriba */
  left: 50%;
  transform: translateX(-50%);
}

.service-icon i {
  color: white;
  font-size: 3rem; /* Ajusta el tamaño del icono */
}

@media (max-width: 768px) {
  .service-box {
    margin-bottom: 40px;
  }

  .service-box h3 {
    font-size: 1.1rem;
  }

  .service-box .btn {
    padding: 8px 16px;
    bottom: -15px; /* Ajustado para pantallas pequeñas */
  }

  .service-icon {
    top: -30px; /* Ajusta este valor para mover el icono hacia arriba en pantallas pequeñas */
  }
}
/* the end Services Section 2*/


/* Why VPG Section 3 */
/* ¿Por Qué VPG? Section */
.why-vpg-section {
  background-color: #17162A;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.why-vpg-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #fff;
}

.why-vpg-box {
  background-color: white;
  padding: 30px 20px;
  border-radius: 50px;
  color: #222;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  margin-top: 60px;
}

.why-vpg-box h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 20px;
  margin-left: 70px; /* Ajusta el espacio para el icono */
}

.why-vpg-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin: 0;
  background-color: #ff9800;
  border-radius: 50%;
  position: absolute;
  top: -20px; /* Ajusta este valor para mover el icono hacia arriba */
  left: -30px; /* Ajusta este valor para mover el icono hacia la izquierda */
}

.why-vpg-icon img {
  width: 40px; /* Tamaño ajustado para la imagen */
  height: 40px; /* Ajusta el tamaño para que se vea bien en el círculo */
}

@media (max-width: 768px) {
  .why-vpg-box {
    margin-bottom: 20px;
  }

  .why-vpg-box h3 {
    font-size: 1.1rem;
    margin-left: 70px; /* Ajusta el espacio para el icono en pantallas pequeñas */
  }

  .why-vpg-icon {
    top: -20px; /* Ajusta este valor para mover el icono hacia arriba en pantallas pequeñas */
    left: -20px; /* Ajusta este valor para mover el icono hacia la izquierda en pantallas pequeñas */
    width: 50px;
    height: 50px;
  }

  .why-vpg-icon img {
    width: 30px; /* Tamaño ajustado para la imagen en pantallas pequeñas */
    height: 30px;
  }
}

@media (max-width: 576px) {
  .why-vpg-box {
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .why-vpg-icon {
    left: -10px; /* Ajusta este valor para mover el icono hacia la izquierda en pantallas muy pequeñas */
    width: 40px;
    height: 40px;
  }

  .why-vpg-icon img {
    width: 25px; /* Ajusta el tamaño de la imagen en pantallas muy pequeñas */
    height: 25px;
  }
}

/* Compliance Section */
.compliance-section {
  background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco con un poco de transparencia */
  background-image: url('../images/contacto.jpg'); /* Ajusta la ruta de la imagen según sea necesario */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 0;
  position: relative; /* Añadido para el pseudo-elemento */
  color: #222;
}

.compliance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9); /* Ajusta el nivel de transparencia aquí */
  z-index: 1; /* Asegúrate de que esté detrás del contenido */
}

.compliance-section .container {
  position: relative;
  z-index: 2; /* Asegúrate de que el contenido esté por encima del pseudo-elemento */
}

.compliance-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
}

.compliance-section p {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* FAQ Section */
.faq-section {
  background-image: url('../images/rascacielos.jpg'); /* Ajusta la ruta de la imagen según sea necesario */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 0;
  color: white;
  position: relative; /* Añadido para posicionar el ::before correctamente */
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 0, 0.945); /* Ajusta el nivel de oscuridad aquí */
  z-index: -1; /* Asegúrate de que esté detrás del contenido */
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.faq-section p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.faq-item {
  background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
}

.faq-item h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  color: white;
}

.faq-content {
  display: none;
  font-size: 1rem;
  margin-top: 10px;
  color: white;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-item::after {
  content: '\25BC';
  font-size: 1.5rem;
  position: absolute;
  right: 20px;
  top: 20px;
  color: white;
}

.faq-item.active::after {
  content: '\25B2';
}

/* Agregar la regla para solo mostrar un FAQ a la vez */
.faq-item.active ~ .faq-item .faq-content {
  display: none;
}

.faq-item.active ~ .faq-item.active .faq-content {
  display: block;
}

/* Estilo del botón para consultar más preguntas */
.faq-section .btn-secondary {
  background-color: #6c757d; /* Cambia el color si es necesario */
  border: none;
  padding: 10px 20px;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

/* Botón de scroll hacia arriba */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff9800;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex; /* Cambiado a flex para alinear el icono */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
}

.scroll-top-btn i {
  font-size: 1.5rem;
}

.scroll-top-btn:hover {
  background-color: #e68900;
}

/* Footer Section */
.footer-section {
  background: #000;
  color: #fff;
  padding: 20px 0;
}

.footer-logo {
  max-width: 100px;
}

.footer-countries {
  list-style: none;
  padding: 0;
}

.footer-countries li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icons li {
  margin-bottom: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5em;
}

.newsletter-section {
  text-align: center;
}

.newsletter-section h2 {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.newsletter-section p {
  font-size: 1em;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  font-size: 1em;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 80%;
}

.newsletter-form button {
  background-color: #ffc107;
  border: none;
  color: #000;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
}

.newsletter-form button:hover {
  background-color: #ff9800;
}

.footer-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-section hr {
  border-color: #fff;
}

.footer-section p {
  font-size: 0.9em;
}

.footer-section a {
  color: #ffc107;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

/* Sección 6 */
/* Sección de Contacto */
#contact {
  position: relative;
  background-image: url('../images/contact-bg.jpg'); /* Ajusta la ruta según sea necesario */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 0;
  color: white;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Degradado oscuro */
  z-index: -1; /* Asegúrate de que esté detrás del contenido */
}

#contact .container {
  position: relative;
  z-index: 1; /* Asegúrate de que el contenido esté sobre el overlay */
}

.mapouter {
  position: relative;
  text-align: right;
  height: 350px;
  width: 100%;
  margin-bottom: 30px;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  height: 350px;
  width: 100%;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6); /* Fondo negro semitransparente */
  position: absolute;
  height: 350px;
  width: 100%;
}

.overlay * {
  color: #ffffff;
}

.overlay a:hover {
  color: #ffffff;
}

.overlay h1 {
  font-weight: bold;
  opacity: 0;
  margin-top: 5%;
  line-height: 60px;
  -webkit-transition: opacity 2s;
  transition: opacity 2s;
}

.overlay h1:hover {
  opacity: 1;
}

.parallax {
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro con opacidad */
  padding: 60px 0;
}

.contact-form {
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro con opacidad */
  padding: 30px;
  border-radius: 5px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background-color: rgba(255, 255, 255, 0.2); /* Fondo de los campos de formulario ligeramente transparente */
  border: none;
  color: white;
}

.contact-form .btn-submit {
  background-color: #ff9800; /* Botón de color */
  border: none;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
}

.contact-info {
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro con opacidad */
  padding: 30px;
  border-radius: 5px;
}

.contact-info .address li,
.contact-info ul li {
  color: white;
}

.form-check-group {
  display: flex;
  align-items: center;
}

.form-check-label {
  margin-right: 10px;
}

.btn-terms {
  background-color: #000;
  color: white;
  padding: 5px 10px;
  border: none;
  text-decoration: none;
}

.btn-terms:hover {
  background-color: #444;
}

/* Estilos para el botón de enviar */
  /* Estilos para el botón de enviar */
  .btn-submit {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-submit:hover {
    background-color: #e68900;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  }

  /* Estilos para el enlace de términos y condiciones */
  .terms-link {
    color: #ff9800;
    margin-left: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .terms-link:hover {
    color: #e68900;
  }

      /* Estilos para el botón de enviar */
      .btn-submit {
        background-color: #ff9800;
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
      }
  
      .btn-submit:hover {
        background-color: #e68900;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
      }
  
      /* Estilos para el enlace de términos y condiciones */
      .terms-link {
        color: #ff9800;
        margin-left: 10px;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
      }
  
      .terms-link:hover {
        color: #e68900;
      }
  
      /* Estilos para el área de contacto */
      #contact-us {
        background-image: url('images/contact-bg.jpg'); /* Ajusta la ruta de la imagen según sea necesario */
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        position: relative;
        padding: 60px 0;
        color: white;
      }
  
      #contact-us::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6); /* Ajusta el nivel de oscuridad aquí */
        z-index: -1;
      }
  
      .address {
        list-style: none;
        padding: 0;
        color: white;
      }
  
      .address li {
        margin-bottom: 10px;
      }
  
      .address a {
        color: white;
        text-decoration: none;
      }
  
      .address a:hover {
        text-decoration: underline;
      }
  
      .contact-form .form-control {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: white;
      }
  
      .contact-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
      }
  
      .form-check-group {
        display: flex;
        align-items: center;
      }
  
      .form-check-group label {
        margin-left: 10px;
      }
  
      .form-check-group .terms-link {
        margin-left: auto;
      }

.btn-custom {
  background-color: #ff9800; /* Color de fondo amarillo */
  color: white; /* Color del texto */
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #e68900; /* Color de fondo al pasar el mouse */
}


/* Sección de Nosotros */
.about-us-section {
  background-color: #17162A; /* Fondo azul oscuro */
  color: white;
  padding: 60px 0;
}

.about-us-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.about-us-section p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.our-skills {
  padding-top: 30px;
}

.single-skill {
  background-color: #1f1f3f;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.single-skill .lead {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff9800;
}

.single-skill p {
  margin: 0;
  font-size: 1rem;
  color: white;
}

.single-skill i {
  color: #ff9800;
  margin-right: 10px;
}

.single-skill:hover {
  background-color: #2a2a5a;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .about-us-section h2 {
    font-size: 2.5rem;
  }

  .about-us-section p {
    font-size: 1rem;
  }

  .single-skill .lead {
    font-size: 1rem;
  }

  .single-skill p {
    font-size: 0.9rem;
  }
}

/* Añadir un poco de espaciado a los lados en pantallas pequeñas */
@media (max-width: 576px) {
  .about-us-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Seccion 1 QUIENES SOMOS */
/* Estilo para la imagen de fondo */
.hero-imagev {
  background: url('../images/marketing.jpg') no-repeat center center/cover; /* Ajusta esta ruta a tu imagen de fondo */
  height: 80vh; /* Ajusta la altura según tus necesidades */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-imagev::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5); /* Capa oscura semitransparente */
  z-index: 1; /* Asegúrate de que esté detrás del texto */
}

.hero-textv {
  position: relative;
  z-index: 2; /* Coloca el texto encima del fondo */
  color: white;
  text-align: center;
}

.hero-textv h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
}
/* Fin Seccion 1 QUIENES SOMOS */


/* Botón Quiero saber más */
.btn-primary {
  background-color: #ff9800; /* Cambia el fondo del botón a color amarillo */
  color: white; /* Color del texto en blanco */
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 5px; /* Puedes ajustar este valor para cambiar la forma del botón */
}

.btn-primary:hover {
  background-color: #e68900; /* Color del botón al pasar el mouse */
  color: white;
}

/* Ajustes para la imagen ovalada */
.oval-image {
  width: 100%; /* Ajusta el tamaño al 100% de su contenedor */
  height: auto; /* Mantén la proporción de la imagen */
  border-radius: 50% / 30%; /* Esto crea un efecto ovalado */
  object-fit: cover; /* Asegura que la imagen se ajuste bien dentro del recuadro */
}

@media (max-width: 768px) {
  /* Ajustes para pantallas más pequeñas */
  .oval-image {
    border-radius: 50% / 40%; /* Ajusta el borde en pantallas pequeñas */
  }
}

/* Ajustes para centrar el contenido verticalmente */
.custom-about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #fff;
  text-align: center; /* Centrar el título */
}

.custom-about .about-text {
  text-align: justify; /* Justificar el texto */
  padding-right: 20px; /* Añadir espacio entre el texto y la imagen */
}

.custom-about .container {
  display: flex;
  flex-wrap: wrap;
}

.custom-about .row {
  width: 100%;
}

.custom-about .col-sm-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ajustes para la imagen ovalada */
.oval-image {
  width: 100%;
  max-width: 350px; /* Tamaño máximo de la imagen */
  border-radius: 50% / 30%; /* Ajuste ovalado */
  object-fit: cover;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .custom-about .about-text {
    text-align: center; /* Centrar texto en dispositivos pequeños */
    padding: 0 20px;
  }

  .custom-about .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Añadir espacio entre el texto y la imagen en pantallas pequeñas */
  }

  .oval-image {
    width: 100%; /* Mantener el ancho de la imagen al 100% */
    max-width: 280px; /* Reducir un poco el tamaño en pantallas pequeñas */
  }

  .custom-about h2 {
    font-size: 2.5rem; /* Reducir el tamaño del título en pantallas más pequeñas */
  }
}


/* Estilos para la sección de valores */
/* Sección de Valores */
.valores-section {
  background-color: #17162A;
  color: white;
  padding: 60px 0;
}

.valores-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}

.valores-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 40px;
}

.valores-box {
  background-color: #1C1C3A;
  padding: 20px;
  text-align: center;
  margin: 10px;
  border: 2px solid #fff;
  width: 45%;
}

.valores-box.central {
  width: 60%; /* Aseguramos que el bloque central sea más ancho */
  background-color: #2C2C4A;
  border: 3px solid #fff;
  margin: -30px auto 20px auto; /* Centramos el bloque y ajustamos el margen */
  position: relative;
  top: 0; /* Posicionamos el cuadro en la línea correcta */
  z-index: 2;
}

.valores-box h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.valores-box p {
  font-size: 1rem;
  font-weight: normal;
  color: #EDEDED;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .valores-row {
    flex-direction: column;
    align-items: center;
  }

  .valores-box {
    width: 90%;
  }

  .valores-box.central {
    width: 100%;
    margin: 20px 0;
  }
}

/* Ajuste para subir un poco más Innovación y Trabajo en equipo */
.valores-row:nth-child(3) {
  margin-top: -20px; /* Ajuste para subir las cajas de la última fila */
}

/*Incia seccion de legales*/

/* Sección Legal con un recuadro más pequeño y con scroll */
.legal-section {
  background-color: #17162A; /* Mantiene el fondo actual */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh; /* Ajusta la altura a la mitad de la pantalla */
  padding: 20px;
}

.legal-box {
  background-color: rgba(255, 255, 255, 0.8); /* Fondo blanco semitransparente */
  padding: 20px;
  width: 80%; /* Ajusta el ancho según lo que desees */
  max-height: 200px; /* Limita la altura del cuadro */
  overflow-y: auto; /* Activa el scroll vertical si el contenido es demasiado largo */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para profundidad */
  text-align: justify;
}

.legal-text {
  font-size: 1rem;
  color: #333; /* Color del texto */
  line-height: 1.6;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .legal-box {
    width: 90%; /* Más ancho en pantallas pequeñas */
    max-height: 150px; /* Limita aún más la altura en pantallas pequeñas */
  }

  .legal-text {
    font-size: 0.9rem;
  }
}

/* Fin seccion de legales */