* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
/* ===== Animated Gradient Waves Background ===== */

.wave-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.wave-bg span {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(184, 140, 255, 0.25),
    rgba(106, 27, 177, 0.15),
    transparent 60%
  );
  animation: waveMove 18s infinite linear;
  border-radius: 45%;
}

.wave-bg span:nth-child(1) {
  top: -60%;
  left: -50%;
  animation-duration: 22s;
}

.wave-bg span:nth-child(2) {
  top: -50%;
  left: -40%;
  animation-duration: 30s;
  background: radial-gradient(
    circle at center,
    rgba(74, 222, 128, 0.18),
    rgba(34, 197, 94, 0.12),
    transparent 60%
  );
}

.wave-bg span:nth-child(3) {
  top: -70%;
  left: -60%;
  animation-duration: 40s;
}

@keyframes waveMove {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  50% {
    transform: rotate(180deg) translate(80px, 60px);
  }
  100% {
    transform: rotate(360deg) translate(0, 0);
  }
}


body {
  background: radial-gradient(circle at top, #6a1bb1, #1b0b3d);
  color: #fff;
  overflow-x: hidden;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 40px 7%;
  align-items: center;
  /* border: solid; */
}

.hero h1 {
  font-size: 3rem;
}

.hero h1 span {
  color: #b88cff;
}

.hero p {
  margin: 20px 0;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.primary {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  color: #002b14;
  margin-top: 25px;
}

.secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  /* width: 750px; */
  
}
/* UI Decorative Divider */
.ui-divider {
  width: 100%;
  height: 1px;
  margin: 60px auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  position: relative;
}

.ui-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #4cff9f, #5b8cff);
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(76,255,159,0.6);
}

section {
  padding: 50px 8%;
}

section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
}

.feature-grid,
.learn-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 50px;
}
.learn-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card,
.learn-item,
.project-card {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 25px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.3s ease;
}
.project-card {
  text-align: center;
}

.feature-card:hover,
.learn-item:hover,
.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.ctax {
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tags span {
  background: rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.big {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* footer {
  padding: 30px;
  text-align: center;
  opacity: 0.6;
  font-size: 0.85rem;
} */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}



.curriculum-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 30, 0.75);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.curriculum-modal {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  width: min(92%, 900px);
  max-height: 85vh;
  padding: 35px;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  animation: popupIn 0.4s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.curriculum-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
}

.curriculum-close:hover {
  opacity: 1;
}

.curriculum-title {
  text-align: center;
  font-size: 2rem;
}

.curriculum-subtitle {
  text-align: center;
  opacity: 0.75;
  margin-bottom: 25px;
}

.curriculum-body {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 10px;
}

.curriculum-section {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.15);
}

.curriculum-section h3 {
  color: #9effc5;
  margin-bottom: 10px;
}

.curriculum-section li {
  margin-bottom: 8px;
  opacity: 0.9;
}
