
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
  color: #2d2d2d;
  overflow-x: hidden;
}
header {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom-left-radius: 50% 10%;
  border-bottom-right-radius: 50% 10%;
}

header h1 {
  font-size: 2.8rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}
section {
  padding: 3rem 8%;
  animation: fadeIn 1.2s ease-in-out;
}

h2 {
  text-align: center;
  color: #4f46e5;
  margin-bottom: 2.2rem;
  font-weight: 600;
  font-size: 1.8rem;
}

.courses-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fdf2f8, #ede9fe);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
}

.courses-layout li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff, #f3e8ff);
  border: 1.5px solid #d4d4d8;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses-layout li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.courses-layout h3 {
  color: #5b21b6;
  margin-bottom: 0.5rem;
}

.courses-layout p {
  color: #4b5563;
}
@media (max-width: 768px) {
  .courses-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .courses-layout li {
    flex: 1 1 300px;
  }
}

footer {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  text-align: center;
  padding: 1.3rem;
  font-size: 30px;
  margin-top: 4rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 40% 8%;
  border-top-right-radius: 40% 8%;
  
}
a {
  display: block;
  text-align: center;
  margin: 2rem auto;
  text-decoration: none;
  color: #4f46e5;
  font-weight: 600;
  background: linear-gradient(90deg, #ede9fe, #f5d0fe);
  width: fit-content;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  border: 3px solid black;
  font-size: 30px;
}

a:hover {
  background: linear-gradient(90deg, #c7d2fe, #f0abfc);
  color: #312e81;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

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

@media (max-width: 500px) {
  header h1 {
    font-size: 2rem;
  }
  footer {
    font-size: 18px;
  }
  a {
    font-size: 18px;
    padding: 0.6rem 1.2rem;
  }
}

