h1 {
  font-family: "Oswald", sans-serif; /* Aplicar la fuente Oswald */
  font-weight: 900; /* Ajusta el grosor del texto */
  font-size: 6rem; /* Ajusta el tamaño del texto */
  margin: 0; /* Ajusta el margen si es necesario */
}
/* nav */
/* Efecto hover para los enlaces del menú */
.hover-effect {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s, background-color 0.3s;
}

.hover-effect::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0033a0; /* Color azul para el borde */
  transition: width 0.3s;
}

.hover-effect:hover {
  color: #0033a0; /* Cambia el color del texto */
  background-color: #f0f8ff; /* Cambia el color de fondo */
}

.hover-effect:hover::after {
  width: 100%;
}

.fond_web {
  position: absolute;
  inset: 0;
  z-index: -10;
  height: 100%;
  width: 100%;
  background: radial-gradient(125% 125% at 50% 10%, #fff 40%, #82c6f7 100%);
  opacity: 0.6;
}

.custom-spacing-top {
  margin-top: 4rem; /* Ajusta el valor según necesites */
}

.custom-gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #278bf4, #278bf4);
}

.custom-gradient-text2 {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(
    to right,
    #4076c2,
    #0e3864
  ); /* Ajusta el color del gradiente según necesites */
}

h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 800;
  font-size: 6rem; /* Ajusta el tamaño del texto según necesites */
  margin: 0;
  line-height: 1; /* Ajusta el interlineado */
  white-space: nowrap; /* Evita saltos de línea automáticos */
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 3rem; /* Tamaño de fuente más pequeño para pantallas móviles */
  }

  .custom-gradient-text {
    font-size: 3rem; /* Ajusta el tamaño del texto del primer span */
  }

  .custom-gradient-text2 {
    font-size: 3rem; /* Tamaño de fuente más pequeño para pantallas móviles */
  }
}

.custom-pattern {
  position: absolute;
  top: -10px;
  width: 100%;
  height: 100%;
  z-index: -10;
  opacity: 0.2;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><rect width="100%" height="100%" fill="white"/><path d="M6.5 20h27M20 6.5v27" stroke="rgb(102, 61, 153)" stroke-width="1"/></svg>')
    repeat;
}

/* zona de titulo de servicios */
.custom-section .text-center {
  text-align: center;
  margin-bottom: 3rem; /* Espacio inferior para separar del contenido */
}

.custom-section .display-3 {
  font-size: 3.5rem;
  font-weight: 700;
}

.custom-section .lead {
  font-size: 1.25rem;
  color: #6c757d; /* Color del subtítulo */
}

/* zona de productos */
.custom-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}
.fond {
  background-color: #dddddd23;
  padding-bottom: 25px;
  border-radius: 10px;
}
.custom-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  margin: auto;
  max-width: 450px;
  height: 500px; /* Ajusta la altura según sea necesario */
  display: flex;
  flex-direction: column;
}

.custom-card-body {
  padding: 1.5rem;
  flex: 1; /* Permite que el contenido ocupe el espacio restante */
}

.custom-button {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  text-align: center;
  transition: opacity 0.3s;
  display: block;
  margin: 3rem auto 0 auto;
  max-width: 300px;
}

.custom-button:hover {
  opacity: 0.8;
  color: #ffffff;
}

.custom-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-list li {
  margin-bottom: 1rem;
}

.feature-list svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #28a745;
}

.star-rating svg {
  width: 2rem;
  height: 2rem;
  color: #ffc107;
}

.blockquote {
  padding-left: 1rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.blockquote p {
  margin-bottom: 0;
}

.text-muted {
  color: #6c757d;
}

.custom-section .row {
  --bs-gutter-x: 0.5rem; /* Ajusta el espacio entre columnas */
}

.custom-section .col-lg-6 {
  padding: 0 1rem; /* Ajusta el padding de las columnas */
  flex: 0 0 50%; /* Reducir ancho de las columnas a 50% */
  max-width: 50%; /* Asegura que no se expanda más del 50% */
}

.custom-section .col-lg-6 h2 {
  font-size: 2.5rem; /* Ajusta el tamaño del texto según sea necesario */
  line-height: 1.2; /* Ajusta la altura de línea para el espacio entre líneas */
  text-align: left; /* Alineación del texto a la izquierda */
  margin-bottom: 2rem; /* Espacio inferior para separar del contenido */
}

@media (max-width: 992px) {
  /* Pantallas medianas y grandes (tablets y up) */
  .custom-section .col-lg-6 {
    flex: 0 0 100%; /* Hacer las columnas de 100% en pantallas más pequeñas */
    max-width: 100%; /* Asegurar que las columnas no excedan el 100% */
  }
}

@media (max-width: 768px) {
  /* Pantallas pequeñas (móviles) */
  .custom-card {
    height: auto; /* Permitir que la carta se ajuste a su contenido */
  }
}

/* Estilos generales */
.image-gallery-section {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.gallery-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 50px;
}


.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  width: 100%;
  max-width: 300px;
  height: auto;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Estilos del modal */
/* Estilos del modal */
.modal {
  display: none; /* Asegúrate de que el modal esté oculto al inicio */
  position: fixed;
  z-index: 999;
  left: 50%; /* Cambiado para centrar horizontalmente */
  top: 35px; /* Espaciado desde el top, ajusta según sea necesario */
  width: 100%; /* Asegúrate de que el ancho sea 100% */
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  transform: translate(-50%, 0); /* Centrar horizontalmente */
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease-in-out;
  object-fit: cover;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  padding: 10px;
  user-select: none;
}

.prev {
  left: 250px;
}

.next {
  right: 250px;
}

.caption {
  text-align: center;
  color: white;
  padding: 10px;
  font-size: 18px;
  margin-top: 15px;
}

/* Responsividad */
@media (max-width: 768px) {
  .gallery-item {
    max-width: 45%;
  }

  .modal-content {
    max-width: 90vw;
    max-height: 90vh;
  }

  .prev,
  .next {
    display: none; /* Ocultar flechas en mobile */
  }
}

@media (max-width: 480px) {
  .gallery-item {
    max-width: 90%;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .prev,
  .next {
    display: none; /* Ocultar flechas en mobile */
  }
}

/* NOSOTROS */
/* Contenedor de cada círculo */
.circle-container {
  width: 80px; /* Ajusta el tamaño según lo que necesites */
  height: 80px; /* Ajusta el tamaño según lo que necesites */
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen dentro del círculo */
.circle-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen se ajuste correctamente al círculo */
  border-radius: 50%; /* Hace que la imagen tenga bordes redondeados como el contenedor */
}

/* Estilo para el botón "Volver al Inicio" */
.btn-scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000; /* Asegura que el botón esté encima de otros elementos */
  animation: float 3s ease-in-out infinite;
}

.btn-scroll-top:hover {
  background-color: #0056b3;
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* Animación de flotación */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* estilos de la barra */
/* Personalización de la scrollbar en navegadores basados en WebKit */
::-webkit-scrollbar {
  width: 8px; /* Ancho de la scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: #007bff; /* Color de la barra de desplazamiento */
  border-radius: 10px; /* Bordes redondeados */
  border: 2px solid #0056b3; /* Color del borde alrededor del thumb */
}

::-webkit-scrollbar-track {
  background: #f0f0f0; /* Color del fondo de la pista de la scrollbar */
  border-radius: 10px; /* Bordes redondeados */
}

::-webkit-scrollbar-corner {
  background: #f0f0f0; /* Color de la esquina de la scrollbar */
}
/* CONTACTOS */
.contacto-img {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width: 768px) {
  .contacto-img {
    max-width: 300px; /* Ajusta el tamaño máximo de la imagen en pantallas móviles */
    margin: 0 auto; /* Centra la imagen en pantallas pequeñas */
  }
}

@media only screen and (min-width: 769px) {
  .contacto-img {
    max-width: 500px; /* Tamaño máximo de la imagen en pantallas más grandes */
  }
}

/* MOVIMIENTO DE IMAGEN */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}
