.courses-main {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #000814, #001d3d);
  color: #fff;
  padding-bottom: 100px;
}

.courses-hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.courses-hero h1 {
  font-size: 3rem;
  background: linear-gradient(to right, #00f0ff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-in-out;
}

.courses-hero p {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 700px;
  margin: 10px auto 0;
}

.course-category {
  background: #001d3d;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: 0.4s ease;
  border: 1px solid #00f0ff;
}

.course-category h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
}

.course-category:hover {
  background: #003566;
}

.sub-courses {
  display: none;
  margin-top: 15px;
  animation: fadeIn 0.6s ease-in;
}

.sub-courses div {
  margin: 8px 0;
  background: #002855;
  padding: 12px 18px;
  border-radius: 8px;
  transition: 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-courses div:hover {
  background: #00509d;
}

.course-detail-section {
  display: none;
  max-width: 800px;
  margin: 50px auto 0;
  background: #001d3d;
  border: 1px solid #0077ff;
  border-radius: 12px;
  padding: 30px;
  animation: fadeInUp 0.7s ease;
}

.course-detail-section h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #00f0ff;
}

.course-detail-section p {
  font-size: 1.1rem;
  color: #ccc;
}

.contact-btn {
  display: inline-block;
  margin-top: 20px;
  background: #00f0ff;
  color: #000814;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #0077ff;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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