

/* Estilo general para el modo claro */
body {
  background-color: white;
  color: black;
  font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
  transition: background-color 0.3s, color 0.3s; /* Transición suave */
}




/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    z-index: 1000;
    font-size: 1.5rem;
}

.bg-light {
  --bs-bg-opacity: 1;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

/* Hero Section */
.hero-section {
    background: url('') no-repeat center center/cover;
    height: 100vh;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 60, 114, 0.2);
}

/* Service Boxes */
.service-box {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #ffffff;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

/* Portfolio Filter Buttons */
.filter-btn {
    transition: background-color 0.3s, color 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Portfolio Items */
.portfolio-item img {
    height: 250px;
    object-fit: cover;
}

/* Testimonials */
.owl-carousel .item {
    padding: 15px;
}

.owl-carousel .card {
    background-color: #f8f9fa;
    border: none;
    border-radius: 10px;
}
.navbar-nav .dropdown-menu {
  margin-top: 24px;
  position: static;
}
.owl-carousel .card img {
    border: 3px solid #007bff;
}

.dark-mode .owl-carousel .card {
    background-color: #1f1f1f;
}

/* Contact Form */
#contactForm {
    transition: transform 0.3s, box-shadow 0.3s;
}

#contactForm:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.img-fluid {
    max-width: 80%;
    height: auto;
    margin-left: 43px;
    border-radius: 30px;
}
.navbar-toggler {
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: var(--bs-navbar-color);
  background-color: transparent;
  border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
  border-radius: var(--bs-navbar-toggler-border-radius);
  transition: var(--bs-navbar-toggler-transition);

  /* Posicionamiento para moverlo hacia arriba y a la derecha */
  position: absolute; /* Posicionamos el toggle de manera absoluta */
  top: 17px; /* Ajustamos el toggle hacia arriba */
  right: 15px; /* Ajustamos el toggle hacia la derecha */
}

/* Asegura que los botones se comporten de manera estándar */
[type=button], [type=reset], [type=submit], button {
  -webkit-appearance: button;
  appearance: button; /* Establece un estilo consistente para los botones */
  border: none; /* Elimina bordes si es necesario */
  background: transparent; /* Elimina fondo si es necesario */
}

/* Responsive Map */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Footer Links */
.footer a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ffc107;
}

/* Dark Mode Specific Styles */
.dark-mode .card {
    background-color: #1f1f1f;
    color: #ffffff;
}

.dark-mode .list-group-item {
    background-color: #1f1f1f;
    border-color: #333333;
}

.dark-mode .portfolio-item .card {
    background-color: #1f1f1f;
    color: #ffffff;
}

.dark-mode .owl-carousel .card {
    background-color: #1f1f1f;
    color: #ffffff;
}

.dark-mode .hero-section::after {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Floating Navbar */
.floating-navbar {
    height: auto;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    padding: 10px 100px;
    border-radius: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff; /* color de fondo inicial */
    transition: all 0.8s ease; /* Transición suave para todos los cambios */
}

/* Efecto cuando el cursor pasa por encima */
.floating-navbar:hover {
    background-color: #f0f0f0; /* Cambiar el color de fondo */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Aumentar el tamaño de la sombra */
    transform: translateX(-50%) scale(1.05); /* Agrandar ligeramente y mantener centrado */
}



.navbar {
    margin: 0; /* Elimina márgenes predeterminados */
}

/* Navbar Styling */
.navbar-nav {
    flex: 1;
    justify-content: center;  /* Centra los elementos dentro del navbar */
}

.navbar-nav.language-select {
    margin-left: 30px;  /* Empuja el selector de idioma a la derecha */
}

.navbar-nav .nav-item.dropdown {
    margin-left: 20px;  /* Espacio entre el selector de idioma y los enlaces */
}

.navbar-light .navbar-nav .nav-link {
    color: #333; /* Asegura que el texto de los enlaces sea visible */
    margin-left: 20px;
}

.navbar-brand {
    margin-right: -70px; /* Ajusta el espacio entre el logo y los enlaces */
}
/* Logo Styling */
.navbar-brand img {
  max-height: 90px;
  width: auto;
  margin-left: -70px;
}
/* Dark Mode for Navbar */
.dark-mode .navbar {
    background-color: #1f1f1f !important;
}

.dark-mode .navbar-nav .nav-link {
    color: #6e5c5c;
}

.dark-mode .navbar-nav .nav-link:hover {
    color: #ffc107;
}

/* Hero Section with Background */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slideShow 40s infinite;
}


/* Estilo general del botón flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-decoration: none;
  font-size: 30px;
}

/* Animación al pasar el cursor */
.whatsapp-float:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

/* Animación inicial */
.whatsapp-float.animate {
  animation: fadeInUp 1s ease-in-out;
  animation: FadeIn 1s ease-in-out;
}

/* Keyframes para la animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fad {
  
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 60, 114, 0.2);
}

/* Dark Mode Button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ffc107;
}

.dark-mode-toggle:hover {
    color: #ff9800;
}
 /* Animación para el movimiento de izquierda a derecha */
 @keyframes moveLeftRight {
    0% {
      transform: translateX(-200px); /* Empieza desde la izquierda */
      opacity: 0; /* Desaparece */
    }
    50% {
      transform: translateX(0); /* Llega al centro */
      opacity: 1;
    }
    100% {
      transform: translateX(200px); /* Se mueve hacia la derecha */
      opacity: 0; /* Desaparece */
    }
  }

  .client-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    position: relative;
    animation: moveLeftRight 4s ease-in-out infinite; /* Aplica la animación */
  }

  .client-name {
    font-size: 1.1rem;
    color: #333;
    margin-top: 10px;
    font-weight: 600;
  }
  

  /* Fondo Parallax Azul Claro */
  #suministros {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #19343f, #262a2e); /* Tono azul claro */
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #suministros::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6ec1e4, #a1c6ea); /* Mismo azul claro */
    z-index: -1;
    transform: translateY(50%);
    filter: blur(30px);
  }

  /* Círculos Flotantes */
  .service-outer-circle {
    position: relative;
    text-align: -webkit-match-parent;
    margin-bottom: 30px;
    padding: 50px;
    transition: all 0.3s ease;
  }

  .service-outer-circle:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }

  .service-inner-circle {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
/* Responsive Styles */
@media (max-width: 768px) {
  .navbar ul {
      flex-direction: column; /* Cambiar de horizontal a vertical */
      align-items: center;
  }

  .navbar li {
      margin: 10px 0; /* Espaciado entre los enlaces */
  }

  .navbar a {
      font-size: 1.2rem; /* Agrandar texto para pantallas pequeñas */
  }
}

@media (max-width: 480px) {
  body {
      font-size: 0.9rem; /* Reducir el tamaño general */
  }

  header {
      padding: 15px;
  }

  .navbar a {
      font-size: 1rem; /* Ajustar tamaño del texto en móviles */
  }

  footer {
      font-size: 0.8rem;
  }
}
  .service-outer-circle:hover .service-inner-circle {
    transform: rotate(360deg);
  }

  .service-outer-circle i {
    color: #005b8e; /* Azul más oscuro para el icono */
    font-size: 3rem;
  }

  .service-outer-circle h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
  }

  .service-outer-circle p {
    color: #ffffff;
    font-size: 1rem;
    text-align: -webkit-match-parent;
    line-height: 1.6;
  }

  /* Animaciones de Fade */
  [data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
  }

  [data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
  }

  /* Estilo para dispositivos móviles */
  @media (max-width: 767px) {
    .service-inner-circle {
      width: 120px;
      height: 120px;
    }

    .service-outer-circle {
      padding: 30px;
    }

    .service-outer-circle h4 {
      font-size: 1.1rem;
    }

    .service-outer-circle p {
      font-size: 0.9rem;
    }
  }

  #services {
    background-color: #e8f4f8;
  }

  #services h2 {
    color: #004e89;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
  }

  .custom-card {
    height: 380px; /* Establece una altura fija para todas las tarjetas */
    transition: transform 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
  }

  .custom-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .custom-card .card-body {
    padding: 40px;
    color: white;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%; /* Asegura que el contenido ocupe toda la tarjeta */
  }

  .custom-card:hover .card-body {
    background-color: #ffffff;
  }

  .custom-card i {
    transition: transform 0.3s ease;
  }

  .custom-card:hover i {
    transform: scale(1.2);
  }

  .card-text {
    font-size: 1.1rem;
    color: white;
  }

  

  /* Animación del efecto de parpadeo */
  @keyframes ripple-animation {
    0% {
      transform: scale(0);
      opacity: 0.8;
    }
    100% {
      transform: scale(4);
      opacity: 0;
    }
  }

  .mt-3 {
    margin-top: 1rem !important;
    border-radius: 20px;
}


/* Estilo del cursor personalizado */
#custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 30px;
  height: 30px;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/2048px-Visual_Studio_Code_1.35_icon.svg.png');
  background-size: cover;
  border-radius: 50%;
  opacity: 0.8;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, opacity 0.1s ease;
}

