/* Estilos generales para la sección Nosotros */
.nosotros-section {
  background-color: #000000;
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.custom-nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Estilos para el título */
.custom-nosotros-titulo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-nosotros-titulo .highlight {
  color: #ff0000;
}

/* Estilos para el contenedor del video - AHORA MÁS GRANDE */
.custom-video-container {
  position: relative;
  width: 100%;
  max-width: 600px; /* Aumentado de 500px a 600px */
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
  margin: 0 auto;
}

.custom-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.custom-video-container:hover .custom-video-thumbnail {
  transform: scale(1.05);
}

/* Estilos para el botón de play */
.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  z-index: 2;
}

.custom-play-button i {
  color: white;
  font-size: 1.5rem;
  margin-left: 5px;
}

.custom-play-button:hover {
  background-color: #cc0000;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Firma del instructor - AHORA EN CURSIVA */
.custom-instructor-signature {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: white;
  text-align: left;
  font-family: "Dancing Script", cursive, "Arial", sans-serif; /* Fuente cursiva agregada */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-style: italic; /* Estilo cursivo */
}

.custom-signature-text {
  font-size: 2.5rem; /* Aumentado ligeramente */
  font-weight: bold;
  letter-spacing: 2px;
}

/* Contenido de texto */
.custom-nosotros-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-descripcion {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Estilos para las características */
.custom-caracteristicas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-caracteristica {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.custom-caracteristica-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.custom-caracteristica-texto h4 {
  font-size: 1.2rem;
  color: #ff0000;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.custom-caracteristica-texto p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Efecto de hover para las características */
.custom-caracteristica:hover .custom-caracteristica-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .custom-nosotros-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .custom-video-container {
    max-width: 500px; /* Ajustado proporcionalmente */
  }

  .custom-nosotros-content {
    text-align: center;
  }

  .custom-caracteristica {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nosotros-section {
    padding: 4rem 1.5rem;
  }

  .custom-nosotros-titulo h2 {
    font-size: 2rem;
  }

  .custom-play-button {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .custom-signature-text {
    font-size: 2rem; /* Ajustado proporcionalmente */
  }
}

@media (max-width: 480px) {
  .nosotros-section {
    padding: 3rem 1rem;
  }

  .custom-nosotros-titulo h2 {
    font-size: 1.8rem;
  }

  .custom-descripcion,
  .custom-caracteristica-texto p {
    font-size: 0.95rem;
  }

  .custom-caracteristica {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-caracteristica-texto h4 {
    font-size: 1.1rem;
  }

  .custom-play-button {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .custom-signature-text {
    font-size: 1.8rem; /* Ajustado proporcionalmente */
  }
}

/* Animación individual por elemento */
.fade-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Retrasos para efecto de aparición escalonada */
.fade-stagger.fade-animate .fade-element:nth-child(1) {
  transition-delay: 0.3s;
}
.fade-stagger.fade-animate .fade-element:nth-child(2) {
  transition-delay: 0.5s;
}
.fade-stagger.fade-animate .fade-element:nth-child(3) {
  transition-delay: 0.7s;
}
.fade-stagger.fade-animate .fade-element:nth-child(4) {
  transition-delay: 0.9s;
}

/* Hero animación suave (mantenerla activa) */
.fade-in-hero {
  animation: fadeSlideIn 1.5s ease-out forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.fade-element.visible {
  opacity: 1;
  transform: translateY(0);
}
