/* Tutorial Videos Section - Premium Design */

.tutorial-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #fafbfc 50%, #f0f2f5 100%);
  padding: 60px 0 !important;
  position: relative;
  overflow: hidden;
}

.tutorial-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 139, 115, 0.3), transparent);
}

.tutorial-section .section-heading {
  margin-bottom: 50px;
}

.tutorial-card {
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(200, 200, 200, 0.4);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.tutorial-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
  border-color: rgba(47, 139, 115, 0.5);
}

.video-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  aspect-ratio: 16/9;
  flex-shrink: 0;
}

.video-thumbnail-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tutorial-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2f8b73 0%, #1e5a4a 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: 3;
  padding: 0;
  box-shadow: 0 8px 25px rgba(47, 139, 115, 0.3);
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: linear-gradient(135deg, #3da580 0%, #2f8b73 100%);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 12px 35px rgba(47, 139, 115, 0.5);
}

.play-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.tutorial-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

.tutorial-card .h5 {
  color: #0b2731;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.tutorial-card .text-muted {
  color: #5d6a72 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  font-weight: 500;
}

/* Badge/Tag Styling */
.eyebrow-pill {
  background: rgba(11, 124, 102, 0.329) !important;
  color: #13684e !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.8px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tutorial-section {
    padding: 50px 0 !important;
  }

  .tutorial-section .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .tutorial-section {
    padding: 40px 0 !important;
  }

  .tutorial-section .section-heading {
    margin-bottom: 35px;
  }

  .tutorial-section .section-title {
    font-size: 1.5rem;
  }

  .tutorial-section .section-subtitle {
    font-size: 0.95rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button::after {
    border-left: 15px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 3px;
  }

  .tutorial-card .card-body {
    padding: 20px;
  }

  .tutorial-card .h5 {
    font-size: 1rem;
  }

  .tutorial-card .text-muted {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .tutorial-section {
    padding: 30px 0 !important;
  }

  .tutorial-section .section-title {
    font-size: 1.35rem;
  }

  .tutorial-section .section-subtitle {
    font-size: 0.9rem;
  }

  .play-button {
    width: 55px;
    height: 55px;
  }

  .play-button::after {
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }

  .tutorial-card .card-body {
    padding: 18px;
  }

  .tutorial-card .h5 {
    font-size: 0.95rem;
  }
}

/* Animación de entrada suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tutorial-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.tutorial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.tutorial-card:nth-child(2) {
  animation-delay: 0.2s;
}

