/* Index page specific styles - extracted from templates/index.html */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  padding: 40px 30px 60px;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(139, 77, 199, 0.2);
  margin-top: 10px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: 4.5rem;
  margin-bottom: 30px;
  color: #fff;
  text-shadow:
    0 0 20px rgba(139, 77, 199, 0.8),
    0 0 40px rgba(139, 77, 199, 0.5),
    0 0 60px rgba(139, 77, 199, 0.3);
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff, var(--secondary-purple), #ff99ac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow:
      0 0 20px rgba(139, 77, 199, 0.8),
      0 0 40px rgba(139, 77, 199, 0.5),
      0 0 60px rgba(139, 77, 199, 0.3);
  }
  50% {
    text-shadow:
      0 0 30px rgba(139, 77, 199, 1),
      0 0 60px rgba(139, 77, 199, 0.7),
      0 0 90px rgba(139, 77, 199, 0.4);
  }
}

.hero-title-image {
  margin-bottom: 15px;
  max-width: 90%;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-image {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  display: block;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin: 0 auto 25px auto;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 0;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button {
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-button.primary {
  background: var(--secondary-purple);
  color: #000;
}

.cta-button.secondary {
  background: transparent;
  color: var(--secondary-purple);
  border: 2px solid var(--secondary-purple);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
  background: #ff99ac;
}

.cta-button.secondary:hover {
  background: rgba(139, 77, 199, 0.1);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 25px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 77, 199, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(139, 77, 199, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(139, 77, 199, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--secondary-purple);
  text-shadow: 0 0 15px rgba(139, 77, 199, 0.6);
  display: block;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 0.5px;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

.categories-section {
  margin-bottom: 50px;
}

.category-heading {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--secondary-purple);
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
}

.category-card-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.category-button {
  display: inline-block;
  background: rgba(139, 77, 199, 0.3);
  color: #fff;
  font-size: 0.85rem;
  padding: 5px 15px;
  border-radius: 20px;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.category-card:hover .category-button {
  background: rgba(139, 77, 199, 0.8);
  color: #000;
}

.category-card:hover .category-card-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.instructors-section {
  margin-bottom: 50px;
}

.instructors-heading {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--secondary-purple);
}

.instructor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.instructors-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  margin: 0;
}

.instructor-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 77, 199, 0.2);
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 77, 199, 0.5);
}

.instructor-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--secondary-purple);
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-image .no-image {
  width: 100%;
  height: 100%;
  background: rgba(139, 77, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 3rem;
}

.instructor-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.instructor-title {
  color: var(--secondary-purple);
  margin-bottom: 15px;
}

.instructor-bio {
  color: #ddd;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  color: var(--secondary-purple);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 150px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--secondary-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ff99ac;
}

.footer-copyright {
  color: #aaa;
  font-size: 0.9rem;
}

/* Enhanced Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 30px 20px 40px;
    margin-top: 10px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    padding: 0 10px;
  }

  .hero-feature-card {
    padding: 25px 20px;
  }

  .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .feature-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .feature-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero-features {
    margin-top: 25px;
    padding: 0 5px;
  }

  .hero-feature-card {
    padding: 15px;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-desc {
    font-size: 0.85rem;
  }
}
