/*===================== Web-fonts =======================*/
@font-face {
  font-family: 'Chap-Regular';
  src: url(../webfonts/Chap-Regular.ttf);
}

@font-face {
  font-family: 'Chap-Semibold';
  src: url(../webfonts/Chap-Semibold.ttf);
}

@font-face {
  font-family: 'Poppins-light';
  src: url(../webfonts/Poppins-Light.ttf);
}

@font-face {
  font-family: 'Poppins-Medium';
  src: url(../webfonts/Poppins-Medium.ttf);
}

/* body */
body {
  font-family: 'Chap-Regular';
  font-size: 16px;
  font-weight: 400;
  background: #FFFFFF;
  /* letter-spacing: 0.2px; */
}

a {
  display: inline-block;
  text-decoration: none;
  transition: 0.2s all ease;
  -webkit-transition: 0.2s all ease;
  -moz-transition: 0.2s all ease;
}

a:visited,
a:hover,
a:active {
  text-decoration: none;
}

ul,
ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

input,
textarea,
select,
button {
  outline: none;
}

img {
  max-width: 100%;
}


/*scrollto-top*/
.scrollto-top {
  width: 40px;
  height: 40px;
  border-radius: 20px 20px 0 0;
  background: rgba(0, 0, 0, .5);
  text-align: center;
  padding-top: 8px;
  font-size: 22px;
  color: #ffffff;
  position: fixed;
  right: 5px;
  bottom: 5px;
  display: none;
  transition: 0.2s all ease;
  -webkit-transition: 0.2s all ease;
  -moz-transition: 0.2s all ease;
  z-index: 99;
}

.scrollto-top:hover {
  background: #000;
  color: #fff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
}

/*==================== utlis =====================*/
.h-screen {
  height: 100vh;
}

.justify-center {
  display: flex;
  justify-content: center;
}

/*==================== header_area start =====================*/
.header_area {
  width: 100%;
  display: block;
  padding: 16px 0;
  position: absolute;
  top: 0;
  z-index: 9999;
  transition: 0.3s all ease;
  padding-top: 28px;
  padding-bottom: 28px;
}

.header_area_gradient {
  background: linear-gradient(180deg, rgb(120 120 120) 0%, rgb(140 140 140 / 70%) 5%, rgba(255, 255, 255, 0) 30%);
}

@media (min-width: 768px) {

  .header_area .container {
    justify-content: center;
    /* padding-left: 5rem;
    padding-right: 5rem; */
  }
}

.header_fixed {
  /* background: rgba(0, 0, 0, 0.3); */
  width: 100%;
  display: block;
  position: fixed;
  top: 0;
  transition: 0.3s all ease;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  z-index: 999;
  /* Este valor es alto para asegurarse de que se sitúe por encima de otros elementos */

}

.header_main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  /* padding: 0 10px; */
}

.header_left img {
  max-width: 100px;
}

.header_left .logo {
  display: none;
}

.header_fixed .logo {
  display: inline-block;
}

.glove {
  margin-left: 15px;
  cursor: pointer;
}

.lng-selector {
  display: none;
}

.lng-hide {
  display: none;
}

.lng-show {
  display: flex;
  column-gap: 5px;
}

.language-selector {
  display: inline-block;
}

.header-text.logo {
  font-size: 16px;
  /* line-height: 1.75rem; */
  /* color: #818486; */
  color: #000;
  @media (max-width: 768px) {
    font-size: 10px !important;
    line-height: 1.25rem !important;
  }
}

.header-text.language-selector {
  text-decoration: none;
  color: #818486;
}

@media screen and (max-width: 768px) {
  .header-text.logo {
    font-size: 12px !important;
    line-height: 1.25rem !important;
  }

  .header-text.text-dark {
    font-size: 0.75rem;
    line-height: 1.25rem;
  }

  .header-text.text-light {
    font-size: 0.75rem;
    line-height: 1.25rem;
  }
}

.header_fixed .glove {
  display: none;
}

.header_right ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header_right ul li {
  font-size: 18px;
  font-weight: 500;
  color: #818486;
  padding-left: 14px;
}

.header_right ul li a {
  font-size: 14px;
  font-weight: 400;
  /* color: #818486; */
  color: #000;
  display: inline-block;
  transition: 0.2s all ease;
  letter-spacing: 2.5px;
  @media (max-width: 768px) {
    font-size: 10px;
  }
}

.header_right ul li a:hover {
  opacity: 0.85;
}

/*=================== cover-area start ====================*/
.video_item {
  width: 100%;
  height: 100%;
  position: relative;
}

.video_item video {
  width: 100%;
}

.video_cnt {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(0, 0, 0, 0.3); */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
}

.video_inner {
  /* max-width: 700px; */
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.video_inner p {
  font-size: 22px;
  /* font-family: 'Chap-Semibold'; */
  /* font-weight: 400; */
  color: #FFF;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.65;
  @media (max-width: 768px) {
    font-size: 11px;
  }
}

.video_inner img {
  /* max-width: 100px; */
}

.cover_logo {
  width: 95px;
}

/*=== slick-fade slider ===*/
.flex-slider {
  width: 100%;
  position: relative
}

.flex-slider .slides {
  list-style: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
}

.flex-slider .slides>li {
  float: left;
  margin-right: -100%;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.flex-slider .flex-direction-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.flex-slider .flex-direction-nav .flex-prev,
.flex-slider .flex-direction-nav .flex-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #FFF;
  text-decoration: none;
  margin: 0 auto;
  z-index: 8;
  text-align: center;
  color: #D07364;
  font-size: 16px;
  position: absolute;
  top: 45%;
  bottom: 0;
  transition: 0.2s all ease;
}

.flex-slider .flex-direction-nav .flex-prev:hover,
.flex-slider .flex-direction-nav .flex-next:hover {
  background: #D07364;
  color: #FFF;
}

.flex-slider .flex-direction-nav .flex-prev {
  left: 20px;
}

.flex-slider .flex-direction-nav .flex-next {
  right: 20px;
}

.slide-image {
  background-size: cover;
  background-position: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.flex-active-slide .slide-image {
  /* animation: zoomout 5s; */
}

.zoom-animation {
  animation: zoomout 5s;
  animation-iteration-count: 1;
}

@keyframes zoomout {
  0% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/*.flex-slider .slides>li {
    height: 100vh;
}
*/

/*================== section2-area start ====================*/
.section2_area {
  background: #FFFFFF;
  min-height: 100vh !important;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative !important;
}

.sec2_main {
  max-width: 700px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  min-height: 700px;
}

.sec2_cnt img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.sec2_cnt p {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  letter-spacing: 1px;
  margin-top: 12px;
  margin-bottom: 0;
}

.sec2_cnt {
  transition: transform 0.5s ease-in-out;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.95s;
}

.sec2_cnt.active {
  display: block;
  opacity: 1;
  position: absolute;
}


/*================ section5_area start ==================*/
.sec5_main {
  display: flex;
  flex-wrap: wrap;
}

.sec5_main>div {
  width: 20%;
  @media (max-width: 768px) {
    width: 50%;
  }
}

.sec5_item.mob-order-9 {
  order: 9;
}

.sec5_item.mob-order-10 {
  order: 10;
}

.sec5_item.mob-order-11 {
  order: 11;
}

.sec5_item.mob-order-12 {
  order: 12;
}

.sec5_item.mob-order-13 {
  order: 13;
}

.sec5_item.mob-order-14 {
  order: 14;
}


.sec5_item img {
  width: 100%;
  height: calc(100vh / 4);
  object-fit: cover;
  @media (max-width: 768px) {
    height: calc(100vh / 7);
  }
}

.section7_area .video_inner,
.section8_area .video_inner {
  max-width: 780px;
}

.cover-area {
  position: relative;
  overflow: hidden;
  /* bottom: 40px; */
}

.flex-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides {
  list-style: none;
  margin: 0;
  padding: 0;
}

.slide-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.video_item {
  position: relative;
  width: 100%;
  height: 100%;
}

.video_item video {
  width: 100%;
  height: auto;
}

/* Estilo para la cuadrícula */
.video_mask {
  backdrop-filter: grayscale(1) brightness(0.25);
  /* Aplica un filtro de escala de grises y reduce el brillo */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  grid-template-rows: repeat(auto-fit, minmax(30px, 1fr));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

/* Estilos para los cuadrados de la cuadrícula */
.grid_square {
  position: absolute;
  width: calc(100% / 5);
  /* Ajusta para 5 cuadrados por fila */
  height: calc(100% / 4);
  /* Ajusta para el número de filas deseado */
  background: rgba(0, 0, 0, 0.6);
  /* Inicia con una opacidad predeterminada */
  transition: opacity 2s ease;
  /* Suaviza la transición de la opacidad */
}


@keyframes fadeInSquare {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Agregar animación para el contenido del video */
@keyframes fadeInContent {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Modificar la animación de los cuadrados para cambiar la opacidad */
@keyframes fadeInSquare {
  to {
    background-color: rgba(0, 0, 0, 0);
    /* Se vuelven completamente transparentes */
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* Esto crea un grid con 6 columnas */
  grid-gap: 10px;
  /* Esto añade un espacio de 10px entre cada cuadrado */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid-item {
  background: rgba(0, 0, 0, 0.7);
  /* Esto crea un fondo negro con una opacidad del 70% */
  /* Puedes ajustar la opacidad para cada cuadrado como quieras */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
}

.square {
  width: 100px;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.5);
}

@keyframes opacity-change {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.4;
  }

  75% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.8;
  }
}

.square {
  animation: opacity-change 2s linear infinite;
}


main {
  width: 100%;
  height: 100%;
  background: gray;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  /* padding-bottom: 56.25%; */
  position: relative;
  /* O absolute */
  /* bottom: 20px; */
  /* 16:9 aspect ratio */
}

.video-container video {
  width: 100%;
}

.container {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100% !important;
  height: 100%;
}

.container-tiles {
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  gap: 0;
  margin: 0;
  height: 100%;
  pointer-events: none;
}

.rel-container {
  position: relative;
  width: 100%;
}

.box {
  height: calc(100%/4);
  flex: 1 1 calc(100%/5);
  margin: 0;
  padding: 0;
  /* background: rgba(255, 255, 255, 1); */
  /* opacity: 1; */
  /* otransition-duration: 1000s;
  transition-timing-function: ease-in-out;
  transition-property: opacity; */
  @media (max-width: 768px) {
    flex: 0 0 calc(100%/3);
    height: calc(100%/9);
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
  }
}

/* Desktop: hide mobile-only tiles (21–27). Preserve original 20-tile grid on large screens */
.container-tiles .n21,
.container-tiles .n22,
.container-tiles .n23,
.container-tiles .n24,
.container-tiles .n25,
.container-tiles .n26,
.container-tiles .n27,
.container-tiles .x21,
.container-tiles .x22,
.container-tiles .x23,
.container-tiles .x24,
.container-tiles .x25,
.container-tiles .x26,
.container-tiles .x27 {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile: show extra tiles to form 3x9 grid */
  .container-tiles .n21,
  .container-tiles .n22,
  .container-tiles .n23,
  .container-tiles .n24,
  .container-tiles .n25,
  .container-tiles .n26,
  .container-tiles .n27,
  .container-tiles .x21,
  .container-tiles .x22,
  .container-tiles .x23,
  .container-tiles .x24,
  .container-tiles .x25,
  .container-tiles .x26,
  .container-tiles .x27 {
    display: block;
  }
}

/* Estilos para el div que solo será visible en móviles */
.mobile-space {
  display: none;
  /* Oculto por defecto */
  height: 0;
  /* Altura por defecto */
}

/* Media query para dispositivos móviles */
/* @media (max-width: 768px) {
    .video_inner {
    opacity: 0;
    }
   @media (max-width: 768px) { 
  .mobile-space {
    display: block;
    height: 40px; 
  }
} */

  /* Mobile: force white header text when header has light theme */
  .header_area.header--light .header-text,
  .header_area.header--light .header-text.logo,
  .header_area.header--light .header_right ul li,
  .header_area.header--light .language-selector.header-text {
    color: #fff !important;
  }