/* Estilos generales */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif  !important;
  height: 100%;
  width: 100%;
}

footer {
  background-color: #212529;
}

html {
  margin: 0;
  padding: 0;  
}

@keyframes saltar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* Salto leve hacia arriba */
  }
}

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

/* Aplicación de la animación al H1 */
h1 {
  animation: saltoTitulo 2s ease-out;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 3rem;
  letter-spacing: 1px;
}

a, button {
  font-family: 'Poppins', sans-serif !important;
}


/* Estilos para dispositivos Android */
body.android .container-category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  align-items: center;
  padding: 10px;
}

body.android .container-img-category {
  height: auto;
}

body.android .container-img-category img{
  width: 200px;
  height: 150px;
}

body.android .text-category{
  font-size: 1em;
}
body.android .btn-category-all{
  font-size: 1em;
}

body.android .border-img-detail{
  border-bottom: 1px solid #dee2e6!important;
  margin-bottom: 5px !important;
}

body.android .w-detail{
  width: 85% !important;
}

body.android .button-re{
  margin-bottom: 10px !important;
}

.text-justify{
  text-align: justify !important;
}


/* Estilos para dispositivos Android en orientación apaisada */
body.android.landscape .hero {
  height: 150vh !important; /* Ajusta la altura según sea necesario */
}

body.android.landscape .container-home {
  max-width: 450px !important;
}

body.android.landscape .container-category {
  grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) ) !important;
}


/* Estilos para dispositivos iOS */
body.ios .container-category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  align-items: center; 
  padding: 10px;
}

body.ios .container-img-category img{
  width: 200px;
  height: 150px;
}

body.ios .container-img-category {
  height: auto;
}

body.ios .text-category{
  font-size: 1em;
}

body.ios .btn-category-all{
  font-size: 1em;
}

body.ios .border-img-detail{
  border-bottom: 1px solid #dee2e6!important;
  margin-bottom: 5px !important;
}

body.ios .button-re{
  margin-bottom: 10px !important;
}

body.ios .w-detail{
  width: 85% !important;
}

/* Estilos para dispositivos iOS en orientación apaisada */
body.ios.landscape .hero {
  height: 150vh !important; /* Ajusta la altura según sea necesario */
}

body.ios.landscape .container-home {
  max-width: 450px !important;
}

body.ios.landscape .container-category {
  grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) )!important;
}

/* Escritorio */
@media screen and (min-width: 846px) {
  .container-category {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
    gap: 20px;
    padding-left: 75px;
    padding-right: 75px;
  }

  .box-product {
    padding: 10px !important;
  }

  .box-category {
    padding: 20px !important;
  }  

  .carousel-container {
    width: 300px !important; 
  }
}


/* Home */
.navbar{
  padding-top: initial;
  padding-bottom: initial;
}

.text-nav{
  font-size: 1rem;
}

.container-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  max-width: 700px;
}

.image-home {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.image-home img {
  width: 100%;
  display: block;
}

.center-image {
  z-index: 1;
}

.side-images-left {
  z-index: 0;
  transform: translateX(-15px);
}
.side-images-righ {
  z-index: 0;
  transform: translateX(15px);
}

.borderService{
  border-radius: 10px;
}

.hg {
  height: 100%;
}

.img-services { 
  background-size: cover; 
  background-position: center;
  opacity: 0.9; 
}

.img-services:hover{
  transition: transform 0.3s ease-in-out;
  transform: scale(1.05);
  opacity: 1;
  filter: contrast(130%);
}

.img-home { 
  background-size: cover; 
  background-position: center;
  opacity: 0.8; 
}

.img-home:hover{
  transition: transform 0.3s ease-in-out;
  transform: scale(1.05);
  opacity: 1;
  filter: contrast(130%);
}

.hero {
  position: relative;
  height: 100vh; /* Ajusta la altura según sea necesario */
  overflow: hidden;
  flex-direction: row;
}

.hero-bottom {
  flex-direction: column !important;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: inherit; /* Asegura que la imagen cubra el contenedor */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* Asegura que el contenido esté sobre la imagen */
  color: white; /* Ajusta el color del texto según sea necesario */
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centra el contenido */
  margin-top: 20px;
}

.encabezado-home{
  color: #ffffff;
  padding-bottom: 5px !important;
}

.boton-home {
  color: #fff;
  background: #212529;
}

.carousel-container {
  width: 200px; /* Ajusta el ancho deseado */
  margin: auto;
}

.carousel-item {
    align-items: center;
}

.carousel-img {
    width: 200px; /* o el tamaño que desees */
    height: 200px; /* o auto, si quieres mantener proporción */
    object-fit: contain; /* mantiene la proporción y ajusta dentro del tamaño */
    margin: 0 auto; /* centra horizontalmente */
    display: block;
}

.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffffff; /* Color de fondo de WhatsApp */
  padding: 3px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  width: 60px;
  height: auto;
  animation: saltar 2s infinite backwards;
  z-index: 999;
}

.page-item.active .page-link {
  background-color: #212529 ;
  border-color: #212529;
}
.page-link{
  color: #212529 !important;
}
.page-item.active > .page-link{
  color: #fff !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: #212529;
  border-color: #212529;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > thead > tr > th {
background-color: #212529;
}


/* Estilos de modulo producto */
.title {
  text-align: center;
  padding: 30px 0;
}

.container-products {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(140px, max-content) );
  gap: 25px;
  justify-content: center;
}

.card-product {
  flex: 25%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.box-product {
  background-color: #ffffffd3;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  height: 300px;
}

.container-img {
  transition: transform 0.3s ease-in-out;
}

.container-img:hover{
  transform: scale(1.1);
}

.box-category {
  background-color: #ffffffd3;
  border-radius: 8px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.card-category {
  flex: 25%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.container-img img {
  width: 200px;
  height: 150px;
  object-fit: contain;
}

.container-img-category {
  height: 250px;
  transition: transform 0.3s ease-in-out;
}

.container-img-category img {
  width: auto;
  height: 230px;
  object-fit: contain;
  max-height: 250px;  
}

.container-img-category:hover{
  transform: scale(1.1);
}

.text-category{
  font-size: 1.3em;
  color: #000000; 
  text-align: center;
  padding: 10px 20px;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 10px;
  background-color: #dee2e6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.btn-category-all{
  font-size: 1.3em; 
  color: white; 
  text-align: center;
  padding: 18px 24px;
  margin: 30px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #212529, #343a40);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  cursor: pointer;
}

.btn-category-all:hover {
  background: linear-gradient(135deg, #343a40, #212529);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.btn-product-all{
  font-size: 1.3em; 
  color: white; 
  text-align: center;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #212529, #343a40);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  cursor: pointer;
}

.btn-product-all:hover {
  background: linear-gradient(135deg, #343a40, #212529);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  color: white;
}

.info-product {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 10px;
}

.detail-product{
  height: 65px;
  color: #777;
  text-align: center;
}

.info-product h3 {
  color: #777;
}

.info-product button {
  color: #fff;
  border: none;
  display: block;
  width: 100%;
  padding: 10px 0;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 8px;
}

.pagination-link.is-current {
  background-color: #212529 !important;
  border-color: #212529 !important;
}

.pagination-next, .pagination-previous {
  border: 1px solid !important;
  color: #212529 !important;
}

.img-detail-product {
  max-height: 400px;
  object-fit: contain;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.shadow-lg {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.w-detail{
  width: 75% !important;
}

.encabezado{
  color: #212529;
  padding-bottom: 5px !important;
}

.hrp{
  border: 2px solid;
  margin: 1.5rem;
  color: #212529 !important;
  opacity: 1 !important;
}

.equal {
  display: flex;
  padding: 5px;
}

.equal .content {
  flex-grow: 1;
  display: grid;
  align-content: center;
  border-radius: 20px;
  height: 50px;
}

.img-categorias { 
  background-size: cover; 
  background-position: center;
  opacity: 0.8; 
}

.img-categorias:hover{
  transition: transform 0.3s ease-in-out;
  transform: scale(1.05);
  opacity: 1;
  filter: contrast(130%);
}

.btn-what {
  background-color: #25D366;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-what:hover {
  background-color: #5fd58b;
}

.curved-text svg {
  width: auto;
  height: auto;
}
.curved-text path {
  fill: none;
  stroke: none;
}
.curved-text text {
  font-size: 20px;
  fill: black;
}

.container-map {
    max-width: 500px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container-map:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.responsive-iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}



/* Estilos de Nosotros */
.bg-mision { 
  background-color: #e6f9f0 !important; 
}

.bg-vision { 
  background-color: #fff5e6 !important; 
}

.bg-valores { 
  background-color: #e6f0ff !important; 
}

.icono-check {
  color: #198754; /* Bootstrap success */
}

.text-regular{
  font-size: 1.3em;
}


.encabezado-nosotros{
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #343a40;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-no {
  background-color: #ffffffd3;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 30px; 
  cursor: crosshair;
  transition: transform 0.3s ease-in-out;
}

.box-nosotros {
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 30px;
  transition: transform 0.3s ease-in-out;
}

.box-video {
  border: 2px solid #dc3545;
  border-radius: 15px;
  padding: 10px;
  margin: 30px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.box-no:hover{
  transform: scale(1.1);
}

.video-p{
  border-radius: 10px;
}


/* Estilos Login */
.gradient-custom {
  background: #bd3c3c;
  background: -webkit-linear-gradient(to right, rgb(203, 119, 119), rgb(255, 255, 255));
  background: linear-gradient(to right, rgb(107, 104, 104), rgb(255, 255, 255))
}
.bi-p{
font-size: 2em !important;
}

.logo_img{
width: 150px !important;
height: 120px !important;
}


/* Estilos p tablas */
.divBoton {
  cursor: pointer !important;
}





