/* GLOBAL STYLES */
body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}

.contenedor {
  display: flex;
  align-items: center;
}

.logo {
  max-width: 16%;
}

.texto {
  color: #fff;
  margin-left: 4px;
  font-weight: bold;
  font-family: 'Söhne', sans-serif;
  font-size: 25px;
}

.nav-item {
  font-size: 20px;
  font-weight: bold;
}

@media only screen and (max-width: 600px) {
  .texto {
    display: none;
  }
  .logo {
    margin: 0 auto;
    max-width: 25%;
  }
}

/* Estilos para el carrusel */
.carousel-item img {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.carousel {
  margin-bottom: 4rem;
}

.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

.carousel-item {
  height: 90vh;
}

/* Estilos para la burbuja de chat */
.chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
}

/* Estilos para el cuadro de chat */
#chatBox {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 998;
}

#chatBox button {
  margin: 5px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#chatBox button:hover {
  background-color: #0056b3;
}

#chatBox.show {
  transform: translateY(0);
}

#chatBox.hide {
  transform: translateY(100%);
}

/* Estilos para los botones */
.btn-secondary {
  background-color: #292a2e;
  border-color: #6c757d;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #5a6268;
  color: #fff;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

/* Estilos para los servicios */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service {
  width: calc(50% - 10px);
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: flex;
}

.service img {
  max-width: 39%;
  height: auto;
  margin-right: 20px;
  align-self: center;
}

.text-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content h3 {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.text-content p {
  text-align: justify;
}

@media (max-width: 992px) {
  .service {
    width: 100%;
  }
}

/* Estilos para el formulario de Google */
.google-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
}

.google-form-container iframe {
  width: 100%;
  max-width: 1080px;
  height: 100vh;
}

/* Estilos para los botones de solicitud */
.btn-solicitar {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-solicitar:hover {
  background-color: #0056b3;
}

.iframe-container {
  margin: 0 auto;
  text-align: center;
}


.lead {
  text-align: justify;
}

.justificado {
  text-align: justify;
}
/* estilos.css */

/* Estilos generales */
header {
  z-index: 500;
}

#myCarousel {
  z-index: 1;
}

.navbar-nav {
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  padding: 10px 15px;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
  header {
    position: relative;
  }
  .carousel-caption {
    top: 20%;
    bottom: auto;
    transform: translateY(10%);
    color: black !important;
  }
  .carousel-item img {
    width: 100%;
    height: auto;
  }
  .mb-6 {
    margin-bottom: 2rem !important;
  }
  .container.marketing {
    margin-top: 2rem;
  }
}
