html, body {
    overflow-x: hidden;
    width: 100%;
  }

/* inter-300 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(''),
       url('./fonts/inter-v12-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('./fonts/inter-v12-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''),
       url('./fonts/inter-v12-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('./fonts/inter-v12-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''),
       url('./fonts/inter-v12-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('./fonts/inter-v12-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* Estilos predeterminados: Texto blanco antes de hacer scroll */
.navbar-nav .nav-link {
  color: #ffffff !important; /* Blanco antes del scroll */
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease-in-out;
}

/* Cuando el navbar tiene la clase 'scrolled', el texto se vuelve azul */
.navbar.scrolled .nav-link {
  color: #2a70c7 !important; /* Azul después del scroll */
}

/* Cambiar el color del botón de navegación (toggler) */
.navbar-toggler {
  background-color: transparent !important; /* Sin fondo */
  border: none !important; /* Sin borde */
  outline: none !important; /* Evitar borde al hacer clic */
  padding: 10px; /* Espaciado interno */
}

/* Icono del toggler (tres líneas) */
.navbar-toggler-icon {
  filter: brightness(0) invert(1); /* Blanco antes del scroll */
  transition: filter 0.3s ease-in-out;
}

/* Cambiar el color del toggler después del scroll */
.navbar.scrolled .navbar-toggler-icon {
  filter: brightness(0); /* Negro después del scroll */
}

/* Mantener el toggler transparente cuando se despliega */
.navbar-collapse {
  background-color: transparent !important;
  transition: background-color 0.3s ease-in-out;
}

/* Cuando el toggler está abierto y NO se ha hecho scroll, el fondo sigue transparente */
.navbar-collapse.show {
  background-color: #000000aa !important;
}

/* Cuando el toggler está abierto y se ha hecho scroll, el fondo es gris transparente */
.navbar.scrolled .navbar-collapse.show {
  background-color:transparent!important; /* Gris transparente */
}

/* Línea decorativa que aparece al pasar el mouse */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  width: 0;
  height: 2px;
  background-color: #2b9b2f;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

/* Cambio de color al pasar el mouse */
.navbar-nav .nav-link:hover {
  color: #2b9b2f !important;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Asegurar que los elementos del navbar estén centrados en pantallas más pequeñas */
@media (max-width: 992px) {
  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}



.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10rem;
  transition: all 0.02s;
  font-weight: bold;
  cursor: pointer;
  color: #2054cd;
  z-index: 0;
  box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}

.button:hover {
  background: rgba(0, 0, 0, 0.181);
  color: rgb(118, 118, 118);
}

.button:active {
  transform: scale(0.97);
}

.hoverEffect {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hoverEffect div {
  background: #2b9b2f;
  background: linear-gradient(
    90deg,
    #296cffd4 50%,
    #2b9b2f 50%,
    #296cffd4 100%
  );
  border-radius: 40rem;
  width: 10rem;
  height: 10rem;
  transition: 0.4s;
  filter: blur(20px);
  animation: effect infinite 2s linear;
  opacity: 0.5;
}

.button:hover .hoverEffect div {
  width: 8rem;
  height: 8rem;

}

@keyframes effect {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/* Imagen de fondo - Asegurar que esté en el fondo total */
.bg-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.bg-cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000078; /* Ajusta la opacidad aquí */
}


/* Contenedor de burbujas - Asegurar que esté sobre la imagen, pero debajo del texto */
.bubbles-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  z-index: 2; /* Burbujas encima de la imagen, pero detrás del texto */
}

/* Estilos de las burbujas */
.bubble {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.25);
  animation: animate_4010 8s ease-in-out infinite;
  opacity: 0.8;
}

/* Posicionamiento de cada burbuja */
.bubble:nth-child(1) { 
  right: -60px; 
  top: 400px; 
  zoom: 0.6; 
  animation-delay: -3s; 
}

.bubble:nth-child(2) { 
  right: 25px; 
  top: 200px; 
  zoom: 0.5; 
  animation-delay: -5s; 
}

.bubble:nth-child(3) { 
  right: 15px; 
  top: 800px; 
  zoom: 0.4; 
  animation-delay: -7s; 
}

.bubble:nth-child(4) { 
  right: 40px; 
  top: 500px; 
  zoom: 0.35; 
  animation-delay: -2.5s; 
}


@keyframes animate_4010 {
  0%, 100% { transform: translateY(-20px); }
  50% { transform: translateY(20px); }
}

/* Asegurar que el contenido de texto esté en la capa superior */
.container {
  max-width: 100%;  /* Evita bordes blancos laterales */
  padding-left: 15px;
  padding-right: 15px;
}



/* Efectos visuales */
.bubble::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 45px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  z-index: 10;
  filter: blur(2px);
}

.bubble::after {
  content: '';
  position: absolute;
  top: 80px;
  left: 80px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  z-index: 10;
  filter: blur(2px);
}

/* Colores y reflejos */
.bubble span {
  position: absolute;
  border-radius: 50%;
}

.bubble span:nth-child(1) {
  inset: 10px;
  border-left: 15px solid #296cffd4;
  filter: blur(8px);
}

.bubble span:nth-child(2) {
  inset: 10px;
  border-right: 15px solid #ffeb3b;
  filter: blur(8px);
}

.bubble span:nth-child(3) {
  inset: 10px;
  border-top: 15px solid #30A61D;
  filter: blur(8px);
}

.bubble span:nth-child(4) {
  inset: 30px;
  border-left: 15px solid #ff4484;
  filter: blur(12px);
}

.bubble span:nth-child(5) {
  inset: 10px;
  border-bottom: 10px solid #fff;
  filter: blur(8px);
  transform: rotate(330deg);
}
/* 🌟 CARDS DE SERVICIOS */
/* ======================== */
.service-card {
  background: linear-gradient(135deg, #30A61D, #296cffd4);
  color: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 🛜 Íconos de las cards de servicios */
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

/* ✅ Títulos y textos */
.card-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* ✅ Aseguramos que no se vean afectadas por `.card` */
.service-card .card-body {
  text-align: center;
}
/*Color para titulos */
.text-dark-blue {
  color: #2a70c7; /* Azul oscuro */
}
.text-green {
    color: #2b9b2f ; /* Verde brillante */
}

/* Contenedor del carrusel */
.gallery-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #f8f9fa;
  padding: 50px 0;
  display: flex;
  justify-content: center;
}

/* Track de imágenes en movimiento */
.gallery-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  will-change: transform;
  animation: scrollGallery 60s linear infinite; /* Ajuste en duración para 16+ imágenes */
}

/* Imágenes del carrusel */
.gallery-track img {
  max-height: 250px; /* Tamaño uniforme */
  width: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Animación de desplazamiento infinito */
@keyframes scrollGallery {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* La mitad del track se desliza, porque está duplicado */
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 60px 20px;
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Redes Sociales - Estilos Mejorados */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.example-2 .icon-content {
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #000000;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.75);
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -55px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #000000;
  background-color: #eaeaea;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

.example-2 .icon-content a:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease-in-out;
}

.example-2 .icon-content a:hover svg {
  transform: scale(1.2);
}

.example-2 .icon-content a .filled {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

/* Estilos específicos por red social */
.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background-color: #25d366;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
  background-color: #1877f2;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}
/* ======================== */
/* 🌟 CARD EMERGENTE */
/* ======================== */
.quote-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 350px;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1001;

  /* 🎨 Fondo con efecto neón */
  background: radial-gradient(circle at top left, #25d366, #296cffd4);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3), 0 0 40px rgba(0, 0, 255, 0.3);
}

/* ✨ Activar la card emergente */
.quote-card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

/* ❌ Botón de cerrar */
.quote-card .close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* 🔵 Color azul al botón de cerrar */
.quote-card .close-btn svg {
  stroke: #296cff; /* Azul principal */
}

/* ✨ Sin hover verde */
.quote-card .close-btn:hover {
  color: white;
}

/* ✅ Texto blanco en la card emergente */
.quote-card p,
.quote-card span,
.quote-card .title {
  color: white !important;
  font-weight: bold;
}

/* 🛜 Íconos de redes sociales */
.sci {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.sci li {
  list-style: none;
}

.sci li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.sci li a:hover {
  background: rgba(255, 255, 255, 0.4);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Styling for 'See Details' button */
.service-button {
  --bg: #000;
  --hover-bg: #2b9b2f;
  --hover-text: #000;
  color: #fff;
  cursor: pointer;
  border: 1px solid var(--bg);
  border-radius: 4px;
  padding: 0.8em 2em;
  background: var(--bg);
  transition: 0.2s;
  text-decoration: none;
}

.service-button:hover {
  color: var(--hover-text);
  transform: translate(-0.25rem, -0.25rem);
  background: var(--hover-bg);
  box-shadow: 0.25rem 0.25rem var(--bg);
}

.service-button:active {
  transform: translate(0);
  box-shadow: none;
}

.service-list {
  list-style-type: none; /* Eliminamos la viñeta por defecto */
  padding-left: 0;
}

.service-list li {
  position: relative;
  padding-left: 25px; /* Espacio para la viñeta */
  margin-bottom: 8px;
  font-size: 1rem;
}

.service-list li::before {
  content: "●"; /* Viñeta circular */
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1rem;
  color: #2b9b2f; /* Verde brillante */
}
