.container {
  flex: 1 0 auto;
}

footer {
  padding: 60px 32px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  background-color: var(--background-light);
}

.footer-logo {
  flex: 1;
  max-width: 200px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-logo p {
  margin-top: 16px;
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  align-content: center;
  padding-left: 10%;
}

.footer-column h4 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary-text);
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  display: flex;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.5rem;
}

/* Featured Course Detailed Styles */
.featured-course-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.featured-course-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.featured-course-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem 2rem;
  text-align: center;
}

.course-badge-large {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.featured-course-image {
  max-width: 300px;
  margin: 0 auto;
}

.featured-course-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.featured-course-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.course-meta-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.level-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.level-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary-course {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.btn-primary-course:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.btn-secondary-course {
  background: white;
  color: #667eea;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid #667eea;
  transition: all 0.3s ease;
}

.btn-secondary-course:hover {
  background: #667eea;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (min-width: 1700px) and (max-width: 2560px) {
  .footer-column h4 {
    font-size: 2rem;
  }

  .footer-column ul li a {
    font-size: 1.6rem;
  }

  .footer-bottom {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .footer-column ul {
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
  }

  .featured-course-title {
    font-size: 2rem;
  }

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

  .course-meta-row {
    flex-direction: column;
    gap: 1rem;
  }

  .featured-course-content {
    padding: 2rem 1.5rem;
  }

  .btn-primary-course,
  .btn-secondary-course {
    width: 100%;
    justify-content: center;
  }

  .practice-item {
    flex-direction: column;
    text-align: center;
  }

  .practice-icon {
    margin: 0 auto;
  }

  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}