:root {
  --primary-color: #a435f0;
  --secondary-color: #7c3aed;
  --accent-color: #e0e7ff;
  --text-dark: #1a1a1a;
  --text-light: #333333;
  --text-black: #000000;
  --background-light: #f8fafc;
  --background-white: #FFFFFF;
  --border-color: #e5e7eb;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), #f1f5f9);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #333333);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: var(--gradient-dark);
  box-shadow: 0 2px 20px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  margin-top: -10px;
  height: 45px;
  width: auto;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-black);
  text-decoration: none;
  display: none;
}

.nav-search {
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
}

.search-container {
  position: relative;
  display: flex;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background: var(--background-white);
}

.search-input:focus {
  border-color: var(--text-black);
  box-shadow: 0 0 0 3px var(--shadow-light);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-primary);
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: white !important;
}

.nav-link.active::after {
  width: 100%;
  background: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}

.social-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mobile-controls {
  display: none;
  align-items: center;
  gap: 1rem;
}

.mobile-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.1rem;
}

.mobile-search-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--text-dark);
  box-shadow: 0 4px 20px var(--shadow-light);
  padding: 1rem 0;
  z-index: 10000;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

/* Mobile Search Overlay */
.mobile-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mobile-search-container {
  background: var(--background-white);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px var(--shadow-heavy);
  animation: slideInUp 0.3s ease-out;
}

.mobile-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mobile-search-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-black);
  margin: 0;
}

.close-search {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-search:hover {
  background: var(--accent-color);
  color: var(--text-black);
}

.mobile-search-input-container {
  position: relative;
  display: flex;
  gap: 10px;
}

.mobile-search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-search-input:focus {
  border-color: var(--text-black);
  box-shadow: 0 0 0 3px var(--shadow-light);
}

.mobile-search-btn {
  padding: 15px 20px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 60px;
}

.mobile-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 20px;
  margin-bottom: 1rem;
}

.mobile-nav-link {
  text-decoration: none;
  color: white !important;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #444;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.mobile-nav-link:hover {
  color: white;
}

.mobile-nav-link:hover::after {
  width: 100%;
}

.mobile-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 20px;
}

.mobile-social-links a {
  color: var(--accent-color);
  font-size: 1.5rem;
  padding: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #c7d2fe 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23FFFFFF" fill-opacity="0.03" points="0,1000 1000,0 1000,1000"/></svg>');
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-text-card {
  background: transparent;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero-stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-black);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-visual {
  animation: slideInRight 1s ease-out;
  position: relative;
}

.hero-image-card {
  background: transparent;
  border-radius: 25px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.image-container {
  text-align: center;
  margin-bottom: 2rem;
}

.udemy-logo {
  width: 100%;
  max-width: 350px;
  height: auto;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(139, 69, 19, 0.2));
}

.floating-elements {
  position: relative;
  height: 200px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  animation: float 4s ease-in-out infinite;
}

.floating-card i {
  color: var(--primary-color);
  font-size: 1rem;
}

.card-1 {
  top: 20px;
  left: -20px;
  animation-delay: 0s;
}

.card-2 {
  top: 80px;
  right: -30px;
  animation-delay: 1s;
}

.card-3 {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

/* Categories Section */
.categories {
  padding: 4rem 0;
  background: var(--background-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.view-all-categories {
  text-align: center;
  margin-top: 2rem;
}

.view-all-categories .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  text-decoration: none;
}

.category-card {
  background: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.05;
  transition: left 0.5s ease;
}

.category-card:hover::before {
  left: 0;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
  border-color: var(--primary-color);
}

.category-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.category-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.category-count {
  font-size: 0.9rem;
  color: var(--text-light);
}

.view-more-container {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1rem;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  background: var(--gradient-primary);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-heavy);
}

/* Courses Section */
.courses {
  padding: 4rem 0;
  background: var(--background-light);
}

.courses-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

.courses-filter select {
  padding: 10px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--background-white);
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.courses-filter select:focus {
  border-color: var(--primary-color);
}

.loading {
  text-align: center;
  padding: 3rem 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card {
  background: var(--background-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow-light);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out;
  border: 1px solid rgba(164, 53, 240, 0.1);
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px var(--shadow-heavy);
  border-color: rgba(164, 53, 240, 0.2);
}

.course-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
}

.course-card:hover .course-image {
  transform: scale(1.08);
}

.course-content {
  padding: 1.5rem;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  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-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.course-date {
  font-size: 0.8rem;
}

.course-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-action {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(164, 53, 240, 0.1);
}

.view-details-btn {
  width: 100%;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.view-details-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: 1;
}

.view-details-btn span,
.view-details-btn i {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.view-details-btn:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.view-details-btn:hover::before {
  left: 0;
}

.view-details-btn:hover i {
  transform: translateX(4px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination button {
  padding: 10px 15px;
  border: 2px solid var(--border-color);
  background: var(--background-white);
  color: var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pagination button:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination button.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  margin: 0 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Course Detail Styles */
.course-detail {
  padding: 2rem 0;
  background: var(--background-light);
  min-height: 80vh;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.course-header {
  background: var(--background-white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  box-shadow: 0 5px 20px var(--shadow-light);
}

.course-header-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.course-summary {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.course-meta span {
  background: var(--accent-color);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.course-meta span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.course-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: 12px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.course-image-container {
  position: relative;
}

.course-image-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.course-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.course-details {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.course-content {
  background: var(--background-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px var(--shadow-light);
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.learning-objectives,
.requirements-list {
  list-style: none;
  padding: 0;
}

.learning-objectives li,
.requirements-list li {
  padding: 8px 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-dark);
  line-height: 1.6;
}

.learning-objectives li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.requirements-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.course-description {
  color: var(--text-dark);
  line-height: 1.8;
}

.course-description p {
  margin-bottom: 1rem;
}

.course-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-info-card,
.enroll-card {
  background: var(--background-white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px var(--shadow-light);
}

.course-info-card h3,
.enroll-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.info-item i {
  color: var(--primary-color);
  width: 20px;
}

.free-price {
  color: var(--primary-color);
  font-weight: 600;
}

.enroll-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-brand p {
  color: #ccc;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(1.2);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: #ccc;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}

.footer-social a:hover {
  color: var(--accent-color);
  background: rgba(245, 222, 179, 0.1);
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #ccc;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-search,
  .nav-links {
    display: none;
  }

  .mobile-controls {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 4rem;
    font-weight: 800;
  }

  .hero-text-card {
    padding: 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .stat-card {
    padding: 0.75rem;
  }

  .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .hero-image-card {
    padding: 2rem;
  }

  .floating-elements {
    height: 150px;
  }

  .floating-card {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .courses-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .course-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .course-header-content h1 {
    font-size: 1.5rem;
  }

  .course-meta {
    justify-content: center;
    gap: 0.5rem;
  }

  .course-meta span {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .course-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .course-details {
    grid-template-columns: 1fr;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .pagination-info {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-section {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .categories,
  .courses {
    padding: 3rem 0;
  }

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

  .course-card {
    margin-bottom: 1rem;
  }

  .course-content {
    padding: 1rem;
  }

  .course-header,
  .course-content {
    padding: 1.5rem;
  }

  .hero-visual{
    display: none;
  }

  .logo{

    margin-top: -5px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 1rem;
}

.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Loading states */
.loading-card {
  background: var(--background-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow-light);
}

.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}