/* BODY */

* {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.nav-logo {
  width: 50px;
}

/* CARD 1 */ 

.card1 {
  background-color: #dcdcdc;
  height: 100px;
  width: 100px;
  flex: 1;
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card1:hover {
  flex: 2;
}

/* BOTONES SOLO PARA .container1 */
.container1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Asegura que solo estos botones sean afectados */
.container1 .custom-btn {
  position: relative;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  background: transparent;
  color: #000000;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* Añadido para quitar el subrayado del enlace */
}

/* Estilos al hacer hover */
.container1 .custom-btn:hover {
  background: #e6af21;
  box-shadow: 
    5px 5px 10px 2px #8e630b,
    -5px -5px 10px 2px #b28013,
    5px -5px 10px 2px #6b4708,
    -5px 5px 10px 2px #f9e32a,
    0 0 20px 5px #e6af21;
  transition: all 0.2s ease-out;
  flex: 1.5;
  color: #fff;
}

/* RESPONSIVE: SOLO PARA .container1 */
@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
    align-items: center;
  }

  .container1 .custom-btn {
    width: 100%;
    max-width: 300px; /* Opcional para que no sean demasiado anchos */
  }
}


/* CARDS */ 

.card-container1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Espacio entre cards */
  margin-top: 5%;
  margin-bottom: 5%;
}

/* Cards responsivas */
@media (max-width: 768px) {
  .card-container1 {
    flex-direction: column; /* Apila las cards en móviles */
    align-items: center; /* Centra las cards */
  }
  
  .card {
    width: 90%; /* Ocupa casi todo el ancho */
    max-width: 300px; /* Máximo ancho para no ser demasiado grande */
  }
}


.card {
  width: 190px;
  height: 254px;
  border-radius: 20px;
  background: #f5f5f5;
  position: relative;
  padding: 1.8rem;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  overflow: visible;
  margin: 1%;
  z-index: 2;
 }
 
 .card-details {
  color: black;
  height: 100%;
  gap: .5em;
  display: grid;
  place-content: center;
 }
 
 .card-button {
  transform: translate(-50%, 125%);
  width: 60%;
  border-radius: 1rem;
  border: none;
  background-color: #e6af21;
  color: #fff;
  font-size: 1rem;
  padding: .5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.3s ease-out;
 }
 
 .text-body {
  color: rgb(134, 134, 134);
  text-align: center;
  width: 180px;
 }
 
 /*Text*/
 .text-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #000;
 }
 
 /*Hover*/
 .card:hover {
  border-color: #e6af21;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
 }
 
 .card:hover .card-button {
  transform: translate(-50%, 50%);
  opacity: 1;
 }

/* SLIDER */

.slider {
  width: 75vw;
  height: auto;
  margin: auto;
  overflow: hidden;
}

.slider .slide-track {
  display: flex;
  animation: scroll 40s linear infinite;
  -webkit-animation: scroll 40s linear infinite;
  width: calc(200px * 14);
}

.slider .slide {
  width: 200px;
}

.slider .slide img {
  width: 100%;
}

@keyframes scroll {
  0% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
  }
  100% {
      -webkit-transform: translateX(calc(-200px * 7));
      transform: translateX(calc(-200px * 7));
  }
}

.card5 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 1);
  padding: 20px;
  max-width: 320px;
}

.stars {
  display: flex;
  grid-gap: 0.125rem;
  gap: 0.125rem;
  color: rgb(238, 203, 8);
}

.star {
  height: 1.25rem;
  width: 1.25rem;
}

.infos {
  margin-top: 1rem;
}

.date-time {
  color: rgba(7, 63, 216, 1);
  font-size: 12px;
  font-weight: 600;
}

.description {
  margin-top: 0.4rem;
  line-height: 1.625;
  color: rgba(107, 114, 128, 1);
}

.author {
  margin-top: 1.3rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(107, 114, 128, 1);
}


/* LAPTOP */ 

.container-fluid1 {
  display: flex;
  justify-content: center;
  align-items: center; /* Centrar verticalmente si es necesario */
  width: 100%; /* Ocupar el ancho disponible */
  margin: 20px 0; /* Espacio arriba y abajo para separar de otros elementos */
}

.macbook {
  width: 150px; /* Tamaño fijo */
  height: 96px; /* Tamaño fijo */
  position: relative; /* Cambiamos a relative para que respete el flujo del documento */
  perspective: 500px;
  z-index: 0;
  margin: 0 auto; /* Centrar horizontalmente */
}

.shadow {
  position: absolute;
  width: 60px;
  height: 0px;
  left: 40px;
  top: 160px;
  transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
  box-shadow: 0 0 60px 40px rgba(0, 0, 0, 0.3);
  animation: shadow infinite 7s ease;
}

.inner {
  z-index: 20;
  position: absolute;
  width: 150px;
  height: 96px;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  animation: rotate infinite 7s ease;
}
  
  .screen {
    width: 150px;
    height: 96px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 7px;
    background: #ddd;
    transform-style: preserve-3d;
    transform-origin: 50% 93px;
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    animation: lid-screen infinite 7s ease;
    background-image: linear-gradient(45deg, rgba(0,0,0,0.34) 0%,rgba(0,0,0,0) 100%);
    background-position: left bottom;
    background-size: 300px 300px;
    box-shadow: inset 0 3px 7px rgba(255,255,255,0.5);
  }
  
  .screen .logo {
    position: absolute;
    width: 30px;
    height: 34px;
    left: 45%;
    top: 50%;
    margin: -12px 0 0 -10px;
    transform: rotateY(180deg) translateZ(0.1px);
  }
  
  .screen .face-one {
    width: 150px;
    height: 96px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 7px;
    background: #d3d3d3;
    transform: translateZ(2px);
    background-image: linear-gradient(45deg,rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  }
  
  .screen .face-one .camera {
    width: 3px;
    height: 3px;
    border-radius: 100%;
    background: #000;
    position: absolute;
    left: 50%;
    top: 4px;
    margin-left: -1.5px;
  }
  
  .screen .face-one .display {
    width: 130px;
    height: 74px;
    margin: 10px;
    background-color: #000;
    background-size: 100% 100%;
    border-radius: 1px;
    position: relative;
    box-shadow: inset 0 0 2px rgba(0,0,0,1);
  }
  
  .screen .face-one .display .shade {
    position: absolute;
    left: 0;
    top: 0;
    width: 130px;
    height: 74px;
    background: linear-gradient(-135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.1) 47%,rgba(255,255,255,0) 48%);
    animation: screen-shade infinite 7s ease;
    background-size: 300px 200px;
    background-position: 0px 0px;
  }
  
  .screen .face-one span {
    position: absolute;
    top: 85px;
    left: 57px;
    font-size: 6px;
    color: #666
  }
  
  .macbody {
    width: 150px;
    height: 96px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 7px;
    background: #cbcbcb;
    transform-style: preserve-3d;
    transform-origin: 50% bottom;
    transform: rotateX(-90deg);
    animation: lid-macbody infinite 7s ease;
    background-image: linear-gradient(45deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  }
  
  .macbody .face-one {
    width: 150px;
    height: 96px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 7px;
    transform-style: preserve-3d;
    background: #dfdfdf;
    animation: lid-keyboard-area infinite 7s ease;
    transform: translateZ(-2px);
    background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  }
  
  .macbody .touchpad {
    width: 40px;
    height: 31px;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 4px;
    margin: -44px 0 0 -18px;
    background: #cdcdcd;
    background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
    box-shadow: inset 0 0 3px #888;
  }
  
  .macbody .keyboard {
    width: 130px;
    height: 45px;
    position: absolute;
    left: 7px;
    top: 41px;
    border-radius: 4px;
    transform-style: preserve-3d;
    background: #cdcdcd;
    background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
    box-shadow: inset 0 0 3px #777;
    padding: 0 0 0 2px;
  }
  
  .keyboard .key {
    width: 6px;
    height: 6px;
    background: #444;
    float: left;
    margin: 1px;
    transform: translateZ(-2px);
    border-radius: 2px;
    box-shadow: 0 -2px 0 #222;
    animation: keys infinite 7s ease;
  }
  
  .key.space {
    width: 45px;
  }
  
  .key.f {
    height: 3px;
  }
  
  .macbody .pad {
    width: 5px;
    height: 5px;
    background: #333;
    border-radius: 100%;
    position: absolute;
  }
  
  .pad.one {
    left: 20px;
    top: 20px;
  }
  
  .pad.two {
    right: 20px;
    top: 20px;
  }
  
  .pad.three {
    right: 20px;
    bottom: 20px;
  }
  
  .pad.four {
    left: 20px;
    bottom: 20px;
  }
  
  @keyframes rotate {
    0% {
      transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
    }
  
    5% {
      transform: rotateX(-20deg) rotateY(-20deg) rotateZ(0deg);
    }
  
    20% {
      transform: rotateX(30deg) rotateY(200deg) rotateZ(0deg);
    }
  
    25% {
      transform: rotateX(-60deg) rotateY(150deg) rotateZ(0deg);
    }
  
    60% {
      transform: rotateX(-20deg) rotateY(130deg) rotateZ(0deg);
    }
  
    65% {
      transform: rotateX(-20deg) rotateY(120deg) rotateZ(0deg);
    }
  
    80% {
      transform: rotateX(-20deg) rotateY(375deg) rotateZ(0deg);
    }
  
    85% {
      transform: rotateX(-20deg) rotateY(357deg) rotateZ(0deg);
    }
  
    87% {
      transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
    }
  
    100% {
      transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
    }
  }
  
  @keyframes lid-screen {
    0% {
      transform: rotateX(0deg);
      background-position: left bottom;
    }
  
    5% {
      transform: rotateX(50deg);
      background-position: left bottom;
    }
  
    20% {
      transform: rotateX(-90deg);
      background-position: -150px top;
    }
  
    25% {
      transform: rotateX(15deg);
      background-position: left bottom;
    }
  
    30% {
      transform: rotateX(-5deg);
      background-position: right top;
    }
  
    38% {
      transform: rotateX(5deg);
      background-position: right top;
    }
  
    48% {
      transform: rotateX(0deg);
      background-position: right top;
    }
  
    90% {
      transform: rotateX(0deg);
      background-position: right top;
    }
  
    100% {
      transform: rotateX(0deg);
      background-position: right center;
    }
  }
  
  @keyframes lid-macbody {
    0% {
      transform: rotateX(-90deg);
    }
  
    50% {
      transform: rotateX(-90deg);
    }
  
    100% {
      transform: rotateX(-90deg);
    }
  }
  
  @keyframes lid-keyboard-area {
    0% {
      background-color: #dfdfdf;
    }
  
    50% {
      background-color: #bbb;
    }
  
    100% {
      background-color: #dfdfdf;
    }
  }
  
  @keyframes screen-shade {
    0% {
      background-position: -20px 0px;
    }
  
    5% {
      background-position: -40px 0px;
    }
  
    20% {
      background-position: 200px 0;
    }
  
    50% {
      background-position: -200px 0;
    }
  
    80% {
      background-position: 0px 0px;
    }
  
    85% {
      background-position: -30px 0;
    }
  
    90% {
      background-position: -20px 0;
    }
  
    100% {
      background-position: -20px 0px;
    }
  }
  
  @keyframes keys {
    0% {
      box-shadow: 0 -2px 0 #222;
    }
  
    5% {
      box-shadow: 1 -1px 0 #222;
    }
  
    20% {
      box-shadow: -1px 1px 0 #222;
    }
  
    25% {
      box-shadow: -1px 1px 0 #222;
    }
  
    60% {
      box-shadow: -1px 1px 0 #222;
    }
  
    80% {
      box-shadow: 0 -2px 0 #222;
    }
  
    85% {
      box-shadow: 0 -2px 0 #222;
    }
  
    87% {
      box-shadow: 0 -2px 0 #222;
    }
  
    100% {
      box-shadow: 0 -2px 0 #222;
    }
  }
  
  @keyframes shadow {
    0% {
      transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
      box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
    }
  
    5% {
      transform: rotateX(80deg) rotateY(10deg) rotateZ(0deg);
      box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
    }
  
    20% {
      transform: rotateX(30deg) rotateY(-20deg) rotateZ(-20deg);
      box-shadow: 0 0 50px 30px rgba(0,0,0,0.3);
    }
  
    25% {
      transform: rotateX(80deg) rotateY(-20deg) rotateZ(50deg);
      box-shadow: 0 0 35px 15px rgba(0,0,0,0.1);
    }
  
    60% {
      transform: rotateX(80deg) rotateY(0deg) rotateZ(-50deg) translateX(30px);
      box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
    }
  
    100% {
      box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
    }
  }
 

/* FOOTER */

.footer {
  margin-top: 50px;
  display: flex; /* Activa el modelo de flexbox */
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: end; /* Asegura que el contenido esté alineado al final (opcional si el footer ya está al final) */
  height: 100px; /* Define el alto del footer */
  z-index: 1;
}

.tarjetas1 {
  display: flex; /* Flexbox interno para centrar el contenido si es necesario */
  flex-direction: column; /* Asegura un diseño en columna */
  align-items: flex-end; /* Centra horizontalmente cualquier contenido interno */
  justify-content: flex-end; /* Centra verticalmente el contenido interno */
}

.card1 {
  width: fit-content;
  height: fit-content;
  background-color: #cacacaaa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: #060517;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
}
/* instagram*/
.containerOne:hover {
  background: linear-gradient(130deg, #4f5bd5, #962fbf, #d62976, #fa7e1e, #feda75);
  transition-duration: 0.3s;
  transform: scale(1.5);
  border-radius: 15px;
}
/* mail */
.containerTwo:hover {
  background-color: #E14D48;
  transition-duration: 0.3s;
  transform: scale(1.5);
  border-radius: 15px;
}

/* Whatsapp*/
.containerFour:hover {
  background-color: #0EC043;
  transition-duration: 0.3s;
  transform: scale(1.5);
  border-radius: 15px;
}

/* portafolio */
.containerThree:hover {
  background: linear-gradient(130deg, #ffd700, #daa520, #b8860b, #8b7500, #ffdf00);
  transition-duration: 0.3s;
  transform: scale(1.5);
  border-radius: 15px;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 25px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


/* LOADER */

.loader {
  backdrop-filter: blur(100px);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  clip-path: circle(150% at 100% 0);
  transition: clip-path 3s ease-in-out;
}

.loader2 {
  clip-path: circle(0% at 100% 100%);
}


.logo1 path {
  fill: none;

  stroke: #00e5ff; /* Azul neón */
  filter: drop-shadow(0 0 10px #00e5ff) /* Azul brillante */
          drop-shadow(0 0 50px #00bcd4) /* Azul más oscuro y vibrante */
          drop-shadow(0 0 100px #0097a7) /* Azul profundo */
          drop-shadow(0 0 150px #007c8d) /* Azul más oscuro */
          drop-shadow(0 0 200px #00e5ff); /* Azul brillante y resplandeciente */
  
  stroke-width: 150; /* Ajusta este número para cambiar el grosor del trazo */
  stroke-dasharray: 48000; /* Longitud del trazo, ajusta según la longitud de la ruta en tu SVG */
  stroke-dashoffset: 50000; /* Al principio, el trazo está completamente oculto */
  animation: draw 3s infinite linear; /* Animación de 10 segundos, infinita y lineal */
}


@keyframes draw {
  to {
      stroke-dashoffset: 0; /* Modificar este valor, cuanto menor sea, más rápido será el trazo */
  }
}


/* PAGINA INFO */

.titulo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  text-align: center;
}

.card6 {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  height: 350px;
  width: 190px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.341);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.card6:hover {
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.999);
 }
 
 
.card6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card6-header {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  color: rgb(0, 0, 0);
  position: absolute;
  bottom: 100;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.381);
  backdrop-filter: blur(2px);
  padding: 16px;
  font-size: 13px;
}

.card6-header .text-tiny {
  font-size: 11px;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  font-weight: bold;
}

.card6-header h4 {
  font-size: 16px;
  margin: 8px 0 0;
}

.card6.footer-blurred .card6-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card6-footer .text-tiny {
  font-size: 10px;
  color: black;
}

.card6-footer .btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
}

.card6-footer .btn:hover {
  background-color: #0056b3;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-content img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: black;
}

.imagen-card-info {
  max-width: 190px;
  max-height: 350px;
}



.card7 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 200px;
  height: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card7-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card7-footer {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-button {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.footer-button:hover {
  background-color: rgba(0, 0, 0, 0.3);
}


/* PAGINA INFO SECTION*/


.service-section {
  margin: 2rem auto; /* centrado y espacio arriba/abajo */
  padding: 1rem;
  background-color: #000000a1;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.36);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  max-width: 800px; /* o cualquier valor menor, ej: 600px */
  width: 100%; /* asegura que se adapte al contenedor */
}



p, li {
  line-height: 1.6;
}

ul {
  list-style-type: disc;
  margin-left: 2rem;
}


.boton {
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
  color: #e8e8e8;
  z-index: 1;
  background: #212121;
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms;
  overflow: hidden;
}

.boton::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: #e8e8e8;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(255, 255, 255, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(255, 255, 255, 0.27);
  transition: all 250ms
}

.boton:hover {
  color: #212121;
}

.boton:hover::before {
  width: 100%;
}

.fw-lighter {
  color: #000000;
}

.copyright {
  color: #fff;
}



/* VIDEO */

/* Estilos para el contenedor del video */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

/* Estilos para el iframe del video */
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




/* PAGINA INFO UTIL SECTION*/


.titulo-info-util {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  text-align: center;
}


.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin: 0 auto;
}

.card8 {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  height: 500px;
  width: 300px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.341);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.card8:hover {
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.999);
 }
 
 
.card6 img {
  width: 100vh;
  height: 100vh;
}

.card8-header {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  color: rgb(0, 0, 0);
  position: absolute;
  bottom: 100;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.381);
  backdrop-filter: blur(2px);
  padding: 16px;
  font-size: 13px;
}

.card8-header .text-tiny {
  font-size: 11px;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  font-weight: bold;
}

.card8-header h4 {
  font-size: 16px;
  margin: 8px 0 0;
}

.card8.footer-blurred .card6-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card8-footer .text-tiny {
  font-size: 10px;
  color: black;
}

.card8-footer .btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
}

.card8-footer .btn:hover {
  background-color: #0056b3;
}


/* Estilos para el contenedor de tips */
.tips {
  position: relative;
  width: 100%;
  height: 300px; /* Ajusta la altura según necesites */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Contenedor de tips */
.tips {
  position: relative;
  width: 100%;
  height: 300px; /* Ajusta la altura según necesites */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para la imagen de fondo */
.tips .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra todo el contenedor */
  z-index: 1; /* Coloca la imagen detrás del contenido */
}

/* Div con efecto blur */
.tips .blur-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(57, 57, 57, 0.38); /* Fondo semi-transparente */
  backdrop-filter: blur(10px); /* Efecto blur */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2; /* Asegura que esté por encima de la imagen */
}

/* Estilo del subtítulo */
.tips .blur-box h2 {
  margin: 0;
  font-size: 24px;
  color: #ffffff;
}









/* BOTON DE ACCION */
.btn-conteiner {
  display: flex;
  justify-content: end;
  align-items: end;
  margin: 10px;
  --color-text: #ffffff;
  --color-background: #3BC24D;
  --color-outline: #3BC24D;
  --color-shadow: #ffffff80;

  /* Hacer el botón fijo */
  position: fixed;
  bottom: 10px; /* Distancia desde la parte inferior */
  right: 10px;  /* Distancia desde la derecha */
  z-index: 1000; /* Asegura que el botón esté por encima de otros elementos */
}

.btn-content {
  display: flex;
  align-items: center;
  padding: 5px 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--color-text);
  background: var(--color-background);
  transition: 1s;
  border-radius: 100px;
  box-shadow: 0 0 0.2em 0 var(--color-background);

  /* Animación siempre activa */
  animation: btn-content 1s infinite;
}

.btn-content .icon-arrow {
  transition: 0.5s;
  margin-right: 0px;
  transform: scale(0.6);

  /* Animación siempre activa */
  animation: arrow-move 1s infinite;
}

.icon-arrow {
  width: 20px;
  margin-left: 15px;
  position: relative;
  top: 6%;
}
    
/* SVG */
#arrow-icon-one {
  transition: 0.4s;
  transform: translateX(-60%);
}

#arrow-icon-two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.btn-content #arrow-icon-three {
  animation: color_anim 1s infinite 0.2s;
}

.btn-content #arrow-icon-one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.btn-content #arrow-icon-two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */
@keyframes color_anim {
  0% {
    fill: white;
  }

  50% {
    fill: var(--color-background);
  }

  100% {
    fill: white;
  }
}

/* Button animations */
@keyframes btn-content {
  0% {
    outline: 0.2em solid var(--color-background);
    outline-offset: 0;
  }
  50% {
    outline: 0.2em solid transparent;
    outline-offset: 0.2em;
  }
  100% {
    outline: 0.2em solid var(--color-background);
    outline-offset: 0;
  }
}

/* Animación para mover la flecha */
@keyframes arrow-move {
  0% {
    margin-right: 0px;
  }
  50% {
    margin-right: 25px;
  }
  100% {
    margin-right: 0px;
  }
}

.light {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none; /* Para que no interfiera con clics */
  width: 100vw;
  height: 100vh;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(60, 53, 233, 0.8) 0%,
    rgba(60, 53, 233, 0) 100%
  );
  mix-blend-mode: screen;
  transition: background-position 0.05s ease;
  z-index: -9999;
}






.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  padding: 2rem;

}

/* Áreas */
.div1 { grid-area: 1 / 1 / 2 / 3; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 2 / 2 / 3 / 3; }
.div4 { grid-area: 3 / 1 / 4 / 3; }

/* Tarjetas estilo Bento con tu fondo blur */
.bento-box {
  background-color: #12101d00; /* color semitransparente */
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-box:hover {
  transform: scale(1.015);
}

/* Título principal */
.box-header h3 {
  font-size: 2rem;
  color: #3C35E9;
  text-align: center;
  margin: 0;
}

/* Subtítulos */
.box-preventivo h2,
.box-correctivo h2 {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

/* Texto final */
.box-final {
  text-align: center;
  color: #ccc;
}


.bento-box.box-header {
  position: relative;
  overflow: hidden;
}

/* Footer decorativo */
.bento-box.box-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px; /* ajustá el alto como gustes */
  width: 100%;
  background-color: #3C35E9; /* color del h3 */
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 0;
}

.bento-box > * {
  position: relative;
  z-index: 1;
}

.box-preventivo,
.box-correctivo {
  position: relative;
  overflow: hidden; /* Esto es clave para que el glow no se escape */
}

/* Efecto azul borroso arriba */
.box-preventivo::before,
.box-correctivo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(59, 53, 233, 0.786) 0%,
    rgba(60, 53, 233, 0.15) 70%,
    rgba(60, 53, 233, 0) 100%
  );
  filter: blur(3px);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* Efecto blanco borroso abajo */
.box-preventivo::after,
.box-correctivo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.786) 0%,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(254, 254, 254, 0) 100%
  );
  filter: blur(3px);
  z-index: 0;
  pointer-events: none;
}

.bento-box.box-final::after {
  content: "";
  position: absolute;
  top: 0;               
  left: 0;
  height: 30px;        
  width: 100%;
  background: linear-gradient(
    to bottom,
  white               
  );
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .parent {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-column-gap: 0;
    grid-row-gap: 20px;
    padding: 1rem;
  }

  .div1 { grid-area: unset; }
  .div2 { grid-area: unset; }
  .div3 { grid-area: unset; }
  .div4 { grid-area: unset; }

  .bento-box {
    width: 100%;
  }
}










/* Contenedor principal */
.service-section1 {
  margin: 2rem auto;
  padding: 1rem;
  background-color: #000000a1;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  max-width: 800px;
  width: 100%;
}

/* Grid base */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 1rem;
  padding: 2rem;
}

/* Áreas del grid */
.grid-header  { grid-column: 1 / -1; }
.grid-intro   { grid-column: 1 / -1; }
.grid-left    { grid-column: 1 / 4; }
.grid-right   { grid-column: 4 / 7; }
.grid-footer  { grid-column: 1 / -1; }

/* Caja base */
.grid-box {
  background-color: #000000a1;
  border-radius: 8px;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.36);
  color: #fff;
}

/* Tipografía */
h2, h3 {
  margin-top: 0;
}

ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

li {
  margin-bottom: 0.5rem;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .grid-intro,
  .grid-left,
  .grid-right,
  .grid-footer {
    grid-column: auto;
  }

  .grid-left,
  .grid-right {
    grid-column: auto;
  }
}

.hardware-box {
  margin-bottom: 1.5rem;
  background-color: #000000a1;
  border-radius: 8px;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  color: #fff;
}
