/* Reset CSS básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  background-color: #f5f6f6;
}

body.no-scroll {
  overflow: hidden;
}

main{
  padding-bottom: 150px;
}

.container3, .container4 {
  padding: 0 170px;
  padding-bottom: 150px;
}

.container-form{
  padding: 0 170px;
}

html {
  scroll-behavior: smooth;
}

#presentacion{
  padding: 120px 0px;
  padding-bottom: 0;
}

#consultancy{
  padding-top: 0;
  padding-bottom: 120px;
}

.container-form p{
  line-height: 1.4; /* 1.5 veces el tamaño de fuente actual */
  color: #fff;
  font-size: 17px;
}

.container3 p, .container4 p{
  line-height: 1.4; /* 1.5 veces el tamaño de fuente actual */
  color: #1D1D1F;
  font-size: 21px;
}

.container3 h1, .container4 h1{
  color: #1D1D1F;
  font-size: 42px;
  padding-bottom: 17px;
}

.container2 h2{
  font-size: 3rem;
}

.container2 p{
  font-size: 18px;
}

#hero {
  position: relative;
  width: 100%;
  height: 101vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
  text-align: center;
  justify-content: center;
  border: none;
}

.background-blur-video {
  position: absolute;
  top: 0;
  width: 110%;
  height: 100%;
  object-fit: cover;
  filter: blur(5.7px);
  -webkit-filter: blur(5.7px);
  z-index: -1;
}

#about,
#contact {
  padding: 50px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  margin-top: 20px;
}

.service {
  color: white;
  margin-top: 20px;
  text-align: center;
  width: 100%;
  height: 500px;
  position: relative;
  transition: transform 0.4s ease;
}

.service:hover{
  transform: scale(1.005);
  transition: transform 0.4s ease;
}

.service-image {
  width: 100%;
  height: 480px; /* Ajusta según sea necesario */
  object-fit: cover;
  border-radius: 20px;
}

.service .btn{
  margin: 0 5px;
}

.service .btn-container {
  display: flex;
  justify-content: center;
  gap: 10px; /* Espacio entre botones */
  margin-top: -70px; /* Empuja los botones al final del contenedor */
}

.slider-item{
  flex: 0 0 auto;
  width: 300px; /* ajusta el ancho según tus necesidades */
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  background-color: transparent;
}

.slider-item:hover {
transform: scale(1.03); /* Efecto de zoom al pasar el ratón */
}

.service p{
  margin-top: 17px;
}

.container-form p{
  padding-top: 25px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}

#contact {
  padding-bottom: 80px;
  padding-top: 0;
  text-align: center;
}

#contact h2 {
  margin-bottom: 20px;
  font-size: 36px;
  color: #333333;
}

#contact p {
  margin-bottom: 40px;
  font-size: 18px;
  color: #666666;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #dddddd;
  background-color: transparent;
  font-size: 16px;
  font-family: Arial, sans-serif;
  color: #333;
  transition: border-bottom-color 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #007bff; /* Cambia el color del borde inferior al enfocar */
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -20px;
  font-size: 12px;
  color: #ff7a59; /* Cambia el color de la etiqueta al enfocar o cuando el campo está lleno */
}

.form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 16px;
  color: #999999;
  transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

button {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  background-color: #007bff;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

button:hover {
  background-color: #0056b3; /* Cambia el color de fondo al pasar el ratón */
}

/* Oculta inicialmente los elementos que se animarán */
.scroll-animation {
  opacity: 0;
  transform: translateY(100%); /* Posicionar fuera de la vista */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Cuando el elemento se desplaza a la vista, cambia su opacidad a 1 */
.scroll-animation.show {
  animation: slideUpFadeIn 0.6s ease-out forwards; /* Ejecuta la animación */
}

.typewriter-container p{
  font-size: 18px;
}

.typewriter-container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.typewriter-text{
  white-space: nowrap;
  overflow: hidden;
  border-right: .15em solid #ffffff;
}

.cursor {
  font-weight: bold;
  animation: blink 0.7s step-end infinite;
}

.btn-circular {
  width: 40px; /* Ancho del botón */
  height: 40px; /* Altura del botón */
  border-radius: 50%; /* Hace que el botón sea circular */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333336; /* Color de fondo */
  color: rgb(222, 222, 222); /* Color del símbolo "+" */
  font-size: 28px; /* Tamaño del símbolo "+" */
  border: none; /* Sin borde */
  cursor: pointer; /* Cambia el cursor a un puntero */
  transition: background-color 0.3s ease; /* Transición para el hover */
}

.btn-circular:hover {
  color: #ffffff; /* Color de fondo al hacer hover */
}

.plus-symbol {
  display: block;
  line-height: 1;
  font-weight: bold;
}

/* Estilos para el modal */
#modal-overlay {
  display: none; /* Ocultado por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(27px);
  -webkit-backdrop-filter: blur(27px);
}

#modal-content {
  width: 100%;
  height: 90vh;
  position: relative;
  background: #fff;
  border-radius: 25px;
  padding: 70px;
  max-width: 90%;
  overflow: hidden;
  margin: auto 90px;
}

#modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#close-modal {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #333336; /* Color de fondo */
  color: rgb(222, 222, 222); /* Color del símbolo "+" */
  border: none;
  cursor: pointer;
  font-size: 24px;
  text-align: center;
  border-radius: 50%;
  margin-top: 16px;
  margin-right: 16px;
  padding: 0;
}

.call-to-actions{
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 15px 70px;
  width: 100%;
  text-align: center;
}

.call-to-actions a{
  width: 49%;
  display: inline-block;
}

.call-to-actions span{
  margin-left: 8px;
}

.call-to-actions #paquetes{
  margin-left: 8px;
}

.modal-overlay.visible {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

#close-modal:hover {
  color: #ffffff; /* Cambia el color del icono al pasar el ratón */
}

.container4{
  text-align: center;
  background-color: #ffffff;
  margin: auto 170px;
  padding: 60px;
  border-radius: 25px;
}

.container4 .btn{
  margin-top: 17px;
  padding: 15px 30px;
}

.btn span{
  margin-left: 8px;
  font-size: 18px;
}

#more-info{
  margin-left: 8px;
}

/* Definir la animación */
@keyframes slideUpFadeIn {
  0% {
      transform: translateY(40%);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Estilos para vista movil */
@media (max-width: 768px) {
  .container4, .container3, .container-form{
    padding-left: 22px;
    padding-right: 22px;
  }

  .container3{
    padding-bottom: 90px;
  }

  #services{
    padding: 50px 0px;
  }

  #modal-content {
    top: 40px;
    width: 100%;
    height: 100vh;
    position: fixed;
    background: #fff;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 100px;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
  }

  .container4{
    text-align: center;
    background-color: #ffffff;
    margin: auto 22px;
    padding: 60px 22px;
    border-radius: 25px;
  }

  .call-to-actions{
    /* top: 87%; */
    font-size: 15px;
    bottom: 39px;
    padding: 10px 20px;
  }

  .call-to-actions a{
    width: 48%;
  }
}