* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }

  body {
    background: linear-gradient(135deg, #1e1e2f, #2b2b4b);
    color: white;
    overflow-x: hidden;
  }

  header {
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideDown 0.8s ease;
  }

  header h1 {
    color: #ffcc70;
  }

  nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #ddd;
    transition: 0.3s;
  }

  nav a:hover {
    color: #ffcc70;
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    flex-wrap: wrap;
  }

  .hero-text {
    max-width: 500px;
    animation: fadeIn 1s ease forwards;
  }

  .hero-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffcc70;
  }

  .hero-text p {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ccc;
  }

  .btn {
    padding: 12px 25px;
    background: #ffcc70;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }

  .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #ffcc70;
  }

  .hero img {
    width: 350px;
    animation: float 4s ease-in-out infinite;
  }

  .courses {
    padding: 60px 10%;
    text-align: center;
  }

  .courses h3 {
    margin-bottom: 40px;
    font-size: 28px;
    color: #ffcc70;
  }

  .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }

  .card {
    background: #2f2f52;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 204, 112, 0.4);
  }

  .progress {
    background: #444;
    border-radius: 10px;
    height: 8px;
    margin-top: 10px;
  }

  .progress-bar {
    height: 8px;
    background: #ffcc70;
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease;
  }

  footer {
    text-align: center;
    padding: 20px;
    color: #aaa;
    margin-top: 40px;
  }

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

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

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }