/* Aumentar la especificidad para resaltar la palabra "Inicio" */
/*nav .nav-item.active .nav-link {
    font-weight: bold; /* Negrita */
    /*color: #08a50a; /* Verde */
    /*text-decoration: underline; /* Subrayado */
/*}*/

/* Adjust the size of images in the 'Por qué Elegirnos?' section */
.icon {
    width: 100px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
}

/* Reducir el tamaño de las imágenes en la sección 'Por qué Elegirnos?' */
.icon img {
    max-width: 70px; /* Ajustar el ancho máximo */
    height: auto; /* Mantener la proporción */
}

/* Styling for the bcop.webp image */
img[src="images/bcop.webp"] {
    width: 90%;
    height: auto;
    filter: brightness(1.2) contrast(1.1);
    margin: 20px auto; /* Adds margin on all sides and centers the image horizontally */
    display: block; /* Ensures the image is treated as a block element for centering */
    border-radius: 15px; /* Rounds the corners of the image */
}

/* Styling for the v1.webp image */
img[src="images/v1.webp"] {
  width: 100%;
  height: auto;
  filter: brightness(1.2) contrast(1.1);
}

/* Styling for the ci.webp image */
img[src="images/ci.webp"] {
    width: 90%;
    height: auto;
    filter: brightness(1.2) contrast(1.1);
    margin: 20px auto; /* Adds margin on all sides and centers the image horizontally */
    display: block; /* Ensures the image is treated as a block element for centering */
    border-radius: 15px; /* Rounds the corners of the image */
}

/* Styling for the back section containing the ci.webp image */
.back .author {
    text-align: center; /* Center the content */
    padding: 20px; /* Add padding around the content */
}

.back .author .image {
    width: 90px; /* Increase the size of the image container */
    height: 90px; /* Ensure the container is square */
    margin: 0 auto; /* Center the image container */
    border-radius: 50%; /* Make the container circular */
    overflow: hidden; /* Ensure the image fits within the circular container */
}

.back .author .image img {
    width: 100%; /* Make the image fill the container */
    height: 100%; /* Ensure the image covers the container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
}

/* Styling for all images within the card */
.block-2 .image {
    width: 150px; /* Increase the size of the image container */
    height: 150px; /* Ensure the container is square */
    margin: 0 auto; /* Center the image container */
    border-radius: 50%; /* Make the container circular */
    overflow: hidden; /* Ensure the image fits within the circular container */
}

.block-2 .image img {
    width: 100%; /* Make the image fill the container */
    height: 100%; /* Ensure the image covers the container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
}

/* Styling for the video within the card */
.ase-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
}

/* Styling for the flipper element */
.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.front {
  z-index: 2;
  transform: rotateY(0deg);
}

.back {
  transform: rotateY(180deg);
}

/* Adjust .block-2 to prevent overflow and ensure responsiveness */
.block-2 {
  max-height: 100%; /* Limita la altura máxima de la tarjeta */
  overflow: hidden; /* Evita que el contenido se desborde */
  display: flex; /* Asegura que el contenido interno se alinee correctamente */
  flex-direction: column; /* Organiza el contenido en columna */
  justify-content: center; /* Centra el contenido verticalmente */
  align-items: center; /* Centra el contenido horizontalmente */
}

/* Styling for the video card adjustment */
.video-card-adjust {
  width: 100%; /* Reduce el ancho del video al 90% del contenedor */
  height: 90%; /* Mantiene la altura ajustada al contenedor */
  object-fit: cover; /* Asegura que el video cubra completamente el contenedor sin distorsión */
  margin-right: 0px; /* Agrega un margen inferior de 20px */
  position: relative; /* Asegura que el video esté al frente */
  z-index: 10; /* Trae el video al frente */
}

/* Footer Tierra Alta: control total y responsivo */
.footertal {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #23272b;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footertal > .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footertal .row.mb-5 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}
.footertal .col-md {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.footertal .ftco-footer-widget {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footertal .logo,
.footertal .ftco-heading-2,
.footertal .block-23,
.footertal .opening-hours {
  text-align: center;
  width: 100%;
}
.footertal .logo a {
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
  text-decoration: none;
}
.footertal .logo span h6 {
  color: #08a50a;
  font-size: 1rem;
  margin: 0;
  font-weight: normal;
}
.footertal ul.ftco-footer-social {
  margin-top: 20px;
  padding-left: 0;
}
.footertal ul.ftco-footer-social li {
  display: inline-block;
  margin-right: 10px;
}
.footertal ul.ftco-footer-social li a {
  color: #fff;
  background: #08a50a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s;
}
.footertal ul.ftco-footer-social li a:hover {
  background: #fff;
  color: #08a50a;
  text-decoration: none;
}
.footertal .ftco-footer-widget h2,
.footertal .ftco-heading-2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.footertal .block-23 ul {
  padding-left: 0;
  list-style: none;
}
.footertal .block-23 ul li {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1rem;
}
.footertal .block-23 ul li a {
  color: #fff;
  text-decoration: none;
}
.footertal .block-23 ul li a:hover {
  color: #08a50a;
  text-decoration: underline;
}
.footertal .opening-hours span {
  color: #fff;
  font-size: 1rem;
}
.footertal .text-center {
  color: #bbb;
  font-size: 0.95rem;
  margin-top: 20px;
  text-align: center;
}
@media (max-width: 991.98px) {
  .footertal .row.mb-5 {
    flex-direction: column;
    align-items: center;
  }
  .footertal .col-md {
    min-width: 100%;
    align-items: center;
  }
}