/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .header-container {
    justify-content: space-between;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--darker-bg);
    padding: 4rem 0 0 3rem;
    transition: right var(--transition-medium);
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-menu.show-menu {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .nav-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  /* Responsive branding */
  .highlight-brand {
    font-size: 1.5rem;
  }
  
  /* Responsive form layouts */
  .register-content, 
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .register-form-container, 
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 1rem;
  }
  
  .btn-block {
    padding: 1rem;
  }
  
  /* Responsive section headers */
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  /* Responsive course cards */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .course-card {
    padding: 1.5rem;
  }
  
  /* Responsive hero section */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-badge {
    max-width: 100%;
  }
}

/* Small devices */
@media screen and (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
  
  /* Further reduce font sizes */
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  /* Stack buttons */
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    justify-content: center;
  }
  
  /* Adjust form elements */
  .register-form-container, 
  .contact-form-container {
    padding: 1.25rem;
  }
  
  .register-card,
  .contact-card {
    padding: 1.5rem;
  }
  
  .register-card-icon,
  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .register-card h3,
  .contact-card h3 {
    font-size: 1.25rem;
  }
  
  /* Adjust countdown timer */
  .countdown {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    flex: 0 0 calc(50% - 0.5rem);
    margin-bottom: 0.5rem;
  }
  
  /* Center align form elements on mobile */
  .form-group label {
    text-align: center;
  }
  
  .form-checkbox {
    justify-content: center;
  }
}

/* Extra small devices */
@media screen and (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-feature {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .register-form-container, 
  .contact-form-container {
    padding: 1rem;
  }
}
