/* Estilos Generales */
:root {
  --primary-color: #0A4D68; /* Cambiado de #0d6efd */
  --secondary-color: #6c757d;
  --accent-color: #ffc107;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --success-color: #198754;
  --danger-color: #dc3545;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  color: #444444;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #3291e6;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
}

section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f7f8fa;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--dark-color);
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 18px;
  color: #919191;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  display: none !important; /* Añade esta línea temporalmente */
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Header */
#header {
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 28px; /* O el tamaño que tenías */
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#header .logo a {
  display: inline-block; /* Para que el enlace tome el tamaño de la imagen */
}

#header .logo img {
  max-height: 50px; /* Ajusta esta altura máxima según necesites */
  width: auto;      /* El ancho se ajustará automáticamente para mantener la proporción */
  max-width: 100%;  /* Asegura que no exceda el contenedor del logo */
  vertical-align: middle; /* Ayuda a alinear si hay texto junto al logo, aunque aquí es solo imagen */
}

/* Si el logo sigue siendo muy ancho y quieres forzar un ancho máximo específico: */
/*
#header .logo img {
  max-width: 150px;  // Por ejemplo, 150px. Ajusta este valor.
  height: auto;      // La altura se ajustará para mantener la proporción.
  max-height: 50px; // Puedes mantener una altura máxima también.
}
*/

#header .logo a span {
  color: var(--primary-color);
}

/* Navigation Menu */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #555555;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--primary-color);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: var(--primary-color);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--dark-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.fa-times {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 8px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #222222;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: var(--primary-color);
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #f9f9f9;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: var(--primary-color);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Hero Section Styles */
#hero {
  width: 100%;
  height: 100vh; /* O la altura que desees para tu hero section */
  position: relative; /* Necesario para posicionar el video absolutamente dentro */
  overflow: hidden; /* Para asegurar que el video no se desborde */
  /* Tus otros estilos para #hero, como el d-flex, align-items-center, etc., se mantienen */
}

#heroVideoBg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100; /* Coloca el video detrás de todo el contenido del hero */
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  object-fit: cover; /* Asegura que el video cubra el área sin distorsionarse */
}

#hero .container {
  position: relative; /* Asegura que el contenido del contenedor esté por encima del video */
  z-index: 2; /* Un z-index mayor que el del video */
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 30px 0;
  font-size: 24px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#hero .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 5px;
  transition: 0.5s;
  margin-right: 10px;
  color: #fff;
  background: var(--primary-color);
}

#hero .btn-get-started:hover {
  background: var(--primary-color-dark);
}

#hero .btn-get-quote {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 5px;
  transition: 0.5s;
  border: 2px solid #fff;
  color: #fff;
}

#hero .btn-get-quote:hover {
  background: #fff;
  color: var(--primary-color);
}

@media (max-width: 991px) {
  #hero {
    height: calc(100vh - 80px);
  }
  #hero .container {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  #hero {
    text-align: center;
  }
  #hero h1 {
    font-size: 32px;
    line-height: 40px;
  }
  #hero h2 {
    font-size: 20px;
    line-height: 24px;
  }
}

/* Hero Slider */
.hero-slider .slide {
  display: none;
}

.hero-slider .slide.active {
  display: block;
}

.hero-slider img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content p { /* Añadido para justificar el texto */
  text-align: justify;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: var(--primary-color);
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .btn-learn-more {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  color: var(--primary-color);
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid var(--primary-color);
}

.about .btn-learn-more:hover {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}

/* Services Section */
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  border-radius: 8px;
  height: 100%;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #f0f3f5;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: ease-in-out 0.3s;
}

.services .icon-box .icon i {
  color: var(--primary-color);
  font-size: 28px;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: var(--dark-color);
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  transform: translateY(-10px);
}

.services .icon-box:hover h4 a {
  color: var(--primary-color);
}

/* Products Section */
.products .product-item {
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Añadido para efecto hover */
}

.products .product-item:hover {
  transform: translateY(-5px); /* Efecto hover: levantar ligeramente */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Efecto hover: sombra más pronunciada */
}

.products .product-img {
  position: relative;
  overflow: hidden;
}

.products .product-img img {
  transition: 0.3s;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.products .product-item:hover img {
  transform: scale(1.1);
}

.products .product-info {
  padding: 25px 15px;
}

.products .product-info h4 {
  font-size: 18px;
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.products .product-info p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #777777;
}

.products .product-info .details-link {
  display: inline-block;
  color: var(--primary-color);
  transition: 0.3s;
}

.products .product-info .details-link:hover {
  color: #3291e6;
}

.products .product-info .details-link i {
  margin-right: 5px;
  font-size: 16px;
  line-height: 0;
}

/* Industries Section */
.industries .industry-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
  display: flex; /* Permite que el contenido se estire */
  flex-direction: column; /* Apila imagen e info verticalmente */
}

.industries .industry-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.industries .industry-img {
  position: relative; /* Necesario para posicionar el icono */
  overflow: hidden;
  height: 220px; /* Altura fija para la imagen */
}

.industries .industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra el área */
  transition: transform 0.4s ease;
}

.industries .industry-item:hover .industry-img img {
  transform: scale(1.08); /* Efecto zoom suave al pasar el mouse */
}

/* Estilo del icono sobre la imagen */
.industries .industry-img .icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(13, 110, 253, 0.85); /* Azul primario con transparencia */
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.3s;
  z-index: 2; /* Asegura que esté sobre la imagen */
}

.industries .industry-item:hover .industry-img .icon {
  background-color: rgba(11, 94, 215, 1); /* Azul más oscuro al pasar el mouse */
}

.industries .industry-info {
  padding: 25px 20px;
  flex-grow: 1; /* Permite que esta parte crezca para llenar el espacio */
  display: flex;
  flex-direction: column;
}

.industries .industry-info h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--dark-color);
}

.industries .industry-info p {
  color: #6c757d; /* Color secundario */
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1; /* Empuja el contenido hacia abajo si es necesario */
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: url("../img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.testimonials .section-title {
  position: relative;
  color: #fff;
}

.testimonials .section-title h2 {
  color: #fff;
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, 0.9);
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: rgba(255, 255, 255, 0.8);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
  opacity: 1;
}

.testimonials .quote-icon-left, .testimonials .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
  line-height: 0;
  display: inline-block;
}

.testimonials .quote-icon-left {
  margin-right: 5px;
}

.testimonials .quote-icon-right {
  margin-left: 5px;
}

@media (min-width: 1024px) {
  .testimonials {
    background-attachment: fixed;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/* Contact Section */
.contact .info {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .info i {
  font-size: 20px;
  color: var(--primary-color);
  float: left;
  width: 44px;
  height: 44px;
  background: #f0f3f5;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #6c757d;
}

.contact .info .address,
.contact .info .email,
.contact .info .phone,
.contact .info .whatsapp-contact {
  margin-top: 30px;
  padding: 20px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i,
.contact .info .whatsapp-contact:hover i {
  background: var(--primary-color);
  color: #fff;
}

/* Estilo específico para el icono de WhatsApp en la info de contacto */
.contact .info .whatsapp-contact i {
  font-size: 20px;
  color: #25d366;
  float: left;
  width: 44px;
  height: 44px;
  background: #eaf6e9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info .whatsapp-contact:hover i {
  background: #25d366;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 5px;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 5px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 5px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: var(--primary-color);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--primary-color);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #0b5ed7;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Clients Section */
.clients {
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

.clients img:hover {
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* Footer */
#footer {
  background: #222222;
  color: #fff;
  font-size: 14px;
  text-align: left;
  padding: 0;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #333333;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 28px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Styles */
#footer .footer-contact img {
  max-height: 40px; /* Ajusta esta altura según necesites */
  margin-bottom: 15px; /* Espacio debajo del logo */
  /* Puedes añadir más estilos aquí, como width: auto; si es necesario */
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--primary-color);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #484848;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}

#footer .footer-bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
}

#footer .copyright {
  float: left;
}

#footer .credits {
  float: right;
  font-size: 13px;
}

#footer .credits a {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  #footer .copyright,
  #footer .credits {
    text-align: center;
    float: none;
  }
  
  #footer .credits {
    padding-top: 4px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed; /* Lo mantiene fijo en la pantalla */
  width: 60px;
  height: 60px;
  bottom: 25px; /* Distancia desde abajo */
  right: 25px; /* Distancia desde la derecha */
  background-color: #25d366; /* Color verde de WhatsApp */
  color: #FFF; /* Color del icono */
  border-radius: 50px; /* Lo hace circular */
  text-align: center;
  font-size: 30px; /* Tamaño del icono */
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Sombra sutil */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
  display: flex; /* Para centrar el icono fácilmente */
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease; /* Transición suave */
}

.whatsapp-float:hover {
  background-color: #128C7E; /* Color más oscuro al pasar el mouse */
  transform: scale(1.1); /* Efecto de zoom ligero */
}

/* Estilo adicional para el botón dentro de la sección de contacto */
.whatsapp-button {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.whatsapp-button i {
  margin-right: 8px;
}

/* Estilos para el Modal de Productos */
.modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 25px;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 25px;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.btn-close {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.btn-close:hover {
  opacity: 1;
}

/* Estilos para las tarjetas de productos en el modal */
.product-grid {
  margin-top: 10px;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 15px;
}

.product-details h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.product-details p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Botones del modal */
.modal-footer .btn {
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s;
}

.modal-footer .btn-secondary {
  background-color: #e9ecef;
  border: none;
  color: #495057;
}

.modal-footer .btn-secondary:hover {
  background-color: #dee2e6;
}

.modal-footer .btn-success {
  background-color: #25D366;
  border: none;
}

.modal-footer .btn-success:hover {
  background-color: #128C7E;
}

.products-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/products-hero-bg.jpg') center center;
  background-size: cover;
  padding: 80px 0;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}

.products-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.products-hero p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Animación sutil para las tarjetas de producto */
.products .product-item[data-aos="fade-up"] {
  transition-delay: calc(0.1s * var(--aos-delay-factor, 1)); /* Retraso escalonado */
}

/* Nuevos estilos */
.category-title {
  border-left: 4px solid #007bff;
  padding-left: 1rem;
}

.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
}

/* Ensure Back-to-Top and WhatsApp buttons don't overlap */
.back-to-top {
bottom: 20px; /* Adjust as needed */
right: 20px;
z-index: 99;
}
.whatsapp-float {
bottom: 70px; /* Position above back-to-top button + spacing */
right: 20px;
z-index: 98;
}