/* Custom styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  direction: rtl;
}

/* Video container with rounded corners */
.video-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Workshop video container - same primary color */
.workshop-video-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  padding: 3px;
}

.workshop-video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem 1.25rem 0 0;
}

/* Card hover effect - Class Style */
.class-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #e0e7ff;
}

.class-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
}

/* Workshop Card Style - Same primary color as Class */
.workshop-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #c7d2fe;
  position: relative;
}

.workshop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #818cf8, #6366f1, #4f46e5);
}

.workshop-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
}

/* Badge styles - Single primary color */
.badge-class {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.badge-workshop {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

/* Info section styling */
.info-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  border-bottom: none;
}

/* Responsive font sizes */
@media (max-width: 640px) {
  .title-text {
    font-size: 1.25rem;
  }
  
  .info-text {
    font-size: 0.813rem;
  }
  
  .badge-text {
    font-size: 0.75rem;
  }
  
  .header-text {
    font-size: 1.5rem;
  }
}

@media (min-width: 641px) {
  .title-text {
    font-size: 1.5rem;
  }
  
  .info-text {
    font-size: 1rem;
  }
  
  .badge-text {
    font-size: 0.875rem;
  }
  
  .header-text {
    font-size: 2.5rem;
  }
}

/* Smooth animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Stagger animation for cards */
.class-card:nth-child(1) { animation-delay: 0.1s; }
.class-card:nth-child(2) { animation-delay: 0.2s; }
.class-card:nth-child(3) { animation-delay: 0.3s; }
.class-card:nth-child(4) { animation-delay: 0.4s; }
.class-card:nth-child(5) { animation-delay: 0.5s; }
.class-card:nth-child(6) { animation-delay: 0.6s; }

