/* Courses Page - Dark Elegant Theme */

/* Floating Back Button */
.floating-back-btn {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  animation: slideInRight 0.6s ease-out;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.back-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  color: white;
  text-decoration: none;
}

.back-icon,
.back-text {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.back-icon {
  font-size: 1.2rem;
  font-weight: 700;
}

.back-btn:hover .back-icon {
  transform: translateX(-3px);
}

/* Hero Section */
.courses-hero {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
}

.courses-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(59, 130, 246, 0.4);
  padding: 1rem 2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  color: #60a5fa;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes glow {
  0% { 
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(59, 130, 246, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 0 20px rgba(59, 130, 246, 0.3);
  }
  100% { 
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(59, 130, 246, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 40px rgba(59, 130, 246, 0.5);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Professional Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.3) 20%, 
    rgba(59, 130, 246, 0.6) 50%, 
    rgba(59, 130, 246, 0.3) 80%, 
    transparent 100%);
  position: relative;
  animation: lineGlow 3s ease-in-out infinite;
}

.divider-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.2) 20%, 
    rgba(59, 130, 246, 0.4) 50%, 
    rgba(59, 130, 246, 0.2) 80%, 
    transparent 100%);
  filter: blur(2px);
  animation: lineGlow 3s ease-in-out infinite reverse;
}

.divider-icon {
  margin: 0 2rem;
  font-size: 2rem;
  color: #60a5fa;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  animation: iconFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
}

.divider-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transform: rotate(45deg);
  animation: iconShimmer 4s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% { 
    opacity: 0.6;
    transform: scaleX(1);
  }
  50% { 
    opacity: 1;
    transform: scaleX(1.1);
  }
}

@keyframes iconFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  50% { 
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes iconShimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.badge-icon {
  font-size: 1.8rem;
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
}

.hero-title {
  margin-bottom: 1rem;
  line-height: 1.1;
}

.title-gradient {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  animation: fadeInUp 1s ease-out;
}

.title-sub {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Filter Section */
.filter-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Search Container */
.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.search-input-wrapper {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1.25rem;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.search-clear:hover {
  background: #f3f4f6;
  color: #374151;
}

.search-input:not(:placeholder-shown) + .search-clear {
  opacity: 1;
  visibility: visible;
}

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

.filter-btn:hover::before {
  left: 0;
}

.filter-btn:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.filter-btn.active::before {
  display: none;
}

.filter-icon,
.filter-text,
.filter-count {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.filter-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Dropdown Filters */
.faculty-filter,
.instructor-filter {
  display: flex;
  justify-content: center;
  animation: slideDown 0.3s ease-out;
}

.faculty-select,
.instructor-select {
  padding: 1rem 1.5rem;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  font-size: 1rem;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faculty-select:focus,
.instructor-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Sort Container */
.sort-container {
  display: flex;
  justify-content: center;
}

.sort-select {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sort-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Courses Section */
.courses-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  min-height: 40vh;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.no-results p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.reset-filters-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.reset-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Course Card */
.course-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.course-image-container {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.course-card:hover .course-image {
  transform: scale(1.1);
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
  opacity: 1;
}

.course-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.course-play-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.course-play-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-icon {
  font-size: 1.2rem;
  margin-left: 2px;
}

/* Course Content */
.course-content {
  padding: 1.25rem;
}

.course-header {
  margin-bottom: 0.75rem;
}

.course-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.4;
  margin: 0;
  text-align: right;
  letter-spacing: -0.01em;
}

.course-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.course-instructor,
.course-college {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.instructor-avatar,
.college-icon {
  font-size: 1rem;
}

.instructor-name,
.college-name {
  font-weight: 600;
  color: white;
}

/* Course Actions */
.course-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-enroll {
  flex: 1;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-size: 0.9rem;
}

.btn-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-enroll:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-favorite {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-favorite:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.1);
}

.favorite-icon {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.btn-favorite:hover .favorite-icon {
  color: #ef4444;
}

/* Load More */
.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

.load-more-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  font-size: 0.9rem;
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.load-more-btn:hover .btn-icon {
  transform: translateY(2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-back-btn {
    top: 1rem;
    right: 1rem;
  }
  
  .back-btn {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  
  .back-text {
    display: none;
  }
  
  .courses-hero {
    padding: 3rem 0 1.5rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .title-gradient {
    font-size: 2rem;
  }
  
  .title-sub {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .filter-container {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .category-filters {
    gap: 0.75rem;
  }
  
  .filter-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .course-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .course-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-enroll {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .courses-hero {
    padding: 2.5rem 0 1rem;
  }
  
  .title-gradient {
    font-size: 1.75rem;
  }
  
  .title-sub {
    font-size: 1.1rem;
  }
  
  .filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .filter-icon {
    font-size: 0.9rem;
  }
  
  .filter-text {
    display: none;
  }
  
  .course-content {
    padding: 0.75rem;
  }
  
  .course-title {
    font-size: 1.1rem;
  }
}
