/* === GLOBAL === */
html {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #f3f4f6, #ffffff, #f3f4f6);
}

body {
  overflow-x: hidden;
}

.no-scroll {
  overflow: hidden;
}


/* === EQUIPO (TEAM) SECTION === */
.image-container {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: auto;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: auto;
  border-radius: 50% / 50%;
  object-fit: cover;
  z-index: 1;
  position: relative;
}


/* === SHAPE DECORATIONS === */
.shape.left {
  position: absolute;
  background: url(../img/shape-team-left.svg) no-repeat center;
  background-size: contain;
  width: 500px;
  height: 100px;
  bottom: 0;
  left: 10%;
  z-index:2;
}

.shape.right {
  position: absolute;
  background: url(../img/shape-team-right.svg) no-repeat center;
  background-size: contain;
  width: 200px;
  height: 200px;
  bottom: 60%;
  right: 10%;
  z-index:3;
}


/* === NAVIGATION === */
nav a {
  border-bottom: 2px solid transparent;
}
nav a:hover {
  border-bottom: 2px solid #3B82F6; /* Tailwind blue-500 */
}


/* === LANGUAGE SWITCHER === */
/* Idioma: Efecto hover para los botones de idioma */
.lang-button {
  font-size: 20px;
  padding: 8px;
  border: none;
  background: white;
  transition: box-shadow 0.2s ease;
}
.lang-button:hover {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


/* === VIDEO THUMBNAIL === */
/* Limitar la altura máxima de la imagen de la miniatura del video y mantener proporción */
.video-thumbnail img {
  max-height: 360px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}


/* === CONTACT FORM === */
/* Asegura que todos los elementos del formulario usen Poppins y no sobrescriban la fuente */
#contact-form input,
#contact-form textarea,
#contact-form button,
#contact-form label {
  font-family: 'Poppins', sans-serif !important;
}
/* === TABS === */
.tab-button {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  background-color: #f3f4f6; /* gris claro */
  color: #374151; /* gris oscuro */
  transition: all 0.3s ease;
}

.tab-button:hover {
  background-color: #d1fae5; /* verde lima suave */
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
  background-color: #84e400;
  color: #000 !important;
  border-color: transparent;
}

/* === TAB CONTENT LAYOUT === */
.tab-content-layout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.tab-content-layout .text {
  flex: 1 1 50%;
}

.tab-content-layout .image {
  flex: 1 1 40%;
  max-width: 400px;
}

.underline-animated {
  position: relative;
  display: inline-block;
}

.underline-animated::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 0%;
  height: 6px;
  background: linear-gradient(90deg, #30cfd0 0%, #2bbecf 100%);
  border-radius: 3px;
  transition: width 0.6s ease-in-out;
  z-index: -1;
}

.underline-animated.visible::after {
  width: 100%;
  text-decoration: underline;
}
