/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: #E8F5E9;
  color: #2d3748;
}

/* ===== NAVBAR SPACE ===== */
.page-content {
  margin-top: 90px;
  padding: 20px;
}

/* ===== CONTAINER ===== */
.courses-container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  position: relative;
}

/* ===== WATERMARK ===== */
.page-content::before {
  content: "";
  position: fixed;

  top: 60%; /* 🔥 50% → 60% (neeche shift) */
  left: 50%;
  transform: translate(-50%, -50%);

  width: 280px;
  height: 280px;

  background: url('images/logo.png') no-repeat center;
  background-size: contain;

  opacity: 0.06;
  pointer-events: none;

  z-index: -1;
}
/* ===== TITLE ===== */
.courses-title {
  font-family: 'Cinzel', serif;
  margin-bottom: 15px;
  animation: slideDown 0.8s ease forwards;
}

/* ===== NOTE ===== */
.course-note {
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #333;
  animation: fadeIn 1s ease forwards;
}

/* ===== CARD ===== */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  position: relative;
  transition: 0.3s;
  margin-bottom: 20px;
}

/* Hover */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* ===== ANIMATION CLASS ===== */
.card.animate {
  opacity: 0;
  animation: slideRight 0.8s ease forwards;
}

/* ===== CONTENT ===== */
.card-content h2 {
  font-family: 'Cinzel', serif;
}

/* ===== OVERLAY (NO BLUR ON TEXT) ===== */
.overlay {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 60px;
  background: rgba(24, 122, 111, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1.5px;
  z-index: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
  from { opacity:0; transform:translateY(-30px); }
  to { opacity:1; transform:translateY(0); }
}

@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}

@keyframes slideRight {
  from { opacity:0; transform:translateX(-60px); }
  to { opacity:1; transform:translateX(0); }
}
