/* General Reset y Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Estilos para el body */
body {
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: gray;
  background-color: #fff;
  background-image: url(assets/img/hero-carousel/hero-carousel-2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  z-index: 0;
}
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0.3;
  z-index: -1;
}

/* Utilidades de altura y flexbox */
.h-100 {
  height: 100%;
}
.vh-100 {
  height: 100vh;
}
.d-flex {
  display: flex !important;
}
.justify-content-center {
  justify-content: center !important;
}
.align-items-center {
  align-items: center !important;
}

/* Espaciados y alineación de texto */
.text-center {
  text-align: center !important;
}
.text-white {
  color: #fff !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.p-5 {
  padding: 3rem !important;
}
.pb-5 {
  padding-bottom: 3rem !important;
}

/* Estilos para el formulario y los controles */
.form-control {
  display: block;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  border-radius: 40px;
  padding: 0 20px;
  color: white;
  transition: border-color 0.3s;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.8);
}
.form-control:hover,
.form-control:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  outline: none;
}

/* Estilos para el botón */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.3s ease-in-out;
}
.btn:hover,
.btn:focus {
  outline: none;
}
.btn-outline-light {
  color: #f8f9fa; /* Color del texto */
  background-color: transparent; /* Fondo transparente */
  border: 1px solid #f8f9fa; /* Borde blanco */
  border-radius: 40px; /* Bordes redondeados */
  transition: all 0.3s ease-in-out;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #343a40; /* Cambia el color del texto al pasar el cursor */
  background-color: #f8f9fa; /* Fondo blanco al hacer hover */
  border-color: #f8f9fa; /* Mantener el borde blanco */
  outline: none; /* Sin contorno al hacer clic */
}

/* Estilos para el fondo oscuro */
.bg-dark {
  background-color: #343a4060 !important;
}

/* Media Queries */
@media (min-width: 768px) {
  .mt-md-4 {
    margin-top: 1.5rem !important;
  }
  .mb-md-5 {
    margin-bottom: 3rem !important;
  }
}
