.decorative-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.sanskrit-symbol {
  position: absolute;
  opacity: 0.2;
  font-size: 4rem;
  z-index: 0;
  color: #f97316;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float.delay-150 {
  animation-delay: 1.5s;
}

.animate-float.delay-300 {
  animation-delay: 3s;
}

/* Pattern background */
.pattern-bg {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsPSIjZmI5MjNjIiBmaWxsLW9wYWNpdHk9IjAuMDUiPjxwYXRoIGQ9Ik0wIDIwIGMgMCwwIDEwLC0xMCAyMCwtMTAgcyAyMCwxMCAyMCwxMCBzIC0xMCwxMCAtMjAsMTAgcy0yMCwtMTAgLTIwLC0xMCBNIDAgMzAgYyAwLDAgMTAsLTEwIDIwLC0xMCBzIDIwLDEwIDIwLDEwIHMgLTEwLDEwIC0yMCwxMCBzLTIwLC0xMCAtMjAsLTEwIE0gMCAxMCBjIDAsMCAxMCwtMTAgMjAsLTEwIHMgMjAsMTAgMjAsMTAgcyAtMTAsMTAgLTIwLDEwIHMtMjAsLTEwIC0yMCwtMTAiLz48L2c+PC9zdmc+");
  background-repeat: repeat;
}

/* Course hero image overlay */
.course-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3)
  );
}

/* Feature icon styles */
.feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(249, 115, 22, 0.1);
  color: #ea580c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Add hover effect to feature icons */
.feature-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
  background-color: rgba(249, 115, 22, 0.2);
}

/* Course section hover styles */
.course-section {
  transition: all 0.3s ease;
}

.course-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Loading animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.loading-pulse {
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Enrollment modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* Language pill styles */
.language-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #4b5563;
}

/* Video embed responsive container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Enhanced course schedule section */
.bg-orange-50 {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bg-orange-50:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bg-orange-50::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(249, 115, 22, 0.1);
  z-index: 0;
}

.bg-orange-50::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(249, 115, 22, 0.05);
  z-index: 0;
}

/* Enhanced button styles */
#enroll-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#enroll-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

#enroll-button:hover::before {
  left: 100%;
}

/* Smooth transition for enrollment status */
#panditji-status {
  transition: all 0.3s ease;
}

/* Course features highlight */
#feature-list > div {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 10px;
}

#feature-list > div:hover {
  background-color: rgba(249, 115, 22, 0.05);
  transform: translateY(-2px);
}

/* Enhanced course days display */
#course-days {
  position: relative;
  display: inline-block;
  line-height: 1.5;
}

/* Leave course button styles */
#leave-course-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

#leave-course-button:hover {
  background-color: rgba(220, 38, 38, 0.1);
}

#leave-course-button:active {
  transform: scale(0.98);
}

/* Unenrollment modal styles */
#unenrollment-modal .modal-content {
  border-top: 4px solid #ef4444;
}

#confirm-unenrollment {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#confirm-unenrollment::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

#confirm-unenrollment:hover::before {
  left: 100%;
}

/* Notification animation */
@keyframes slide-in {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slide-out {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

#notification {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border-left: 4px solid currentColor;
}

#notification.translate-x-0 {
  animation: slide-in 0.3s ease forwards;
}

#notification.translate-x-full {
  animation: slide-out 0.3s ease forwards;
}

/* Join Class button styles */
#join-class-btn-container {
  transition: all 0.3s ease;
}

#join-zoom-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#join-zoom-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

#join-zoom-btn:hover::before {
  left: 100%;
}

#join-zoom-btn:active {
  transform: scale(0.98);
}
