body { font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; background: #fff; color: #333; }
a { text-decoration: none; }

/* Watermark */
.watermark{
  position: fixed; inset: 0;
  background: url('assets/logo-watermark.png') no-repeat center center / 400px auto;
  opacity: 0.05; z-index: -1; pointer-events: none;
}

/* Hero */
.hero { position: relative; text-align: center; }
.hero img { width: 100%; height: 300px; object-fit: cover; filter: brightness(70%); display:block; }
.hero-text { position: absolute; inset: 0; display:grid; place-content:center; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }

/* Filter Section */
.filter-section { text-align: center; padding: 1.5rem; background: #f5f5f5; }
#courseSearch { width: min(720px, 90%); padding: 0.5rem 1rem; font-size: 1rem; border: 1px solid #ccc; border-radius: 6px; }

/* Categories */
.categories { padding: 3rem 2rem; text-align: center; background: #f8f8f8; }
.categories h2 { color: #004aad; margin-bottom: 2rem; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.category-card { background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); padding: 1.5rem; opacity: 0; transform: translateY(40px); transition: all 0.7s ease-out; }
.category-card.visible { opacity: 1; transform: translateY(0); }
.category-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.category-card h3 { color: #004aad; margin-bottom: 1rem; }
.category-card table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.category-card table th, .category-card table td { border: 1px solid #ddd; padding: 8px; font-size: 0.9rem; }
.enroll-btn { display: inline-block; padding: 0.6rem 1rem; background: #004aad; color: #fff; border-radius: 6px; transition: 0.25s; }
.enroll-btn:hover { background: #002f6c; }

/* Motivational Section */
.motivational { padding: 2rem; background: #eef5ff; text-align: center; }
.motivational h2 { color: #004aad; margin-bottom: 1rem; }
.motivational ul { list-style: none; padding: 0; }
.motivational li { padding: 0.5rem 0; }

/* Footer */
.footer { background: #004aad; color: #fff; padding: 2rem 1rem; margin-top: 3rem; text-align: center; font-size: 0.9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; padding-bottom: 2rem; }
.footer-cols h4 { margin-bottom: 0.5rem; }
.footer-cols ul { list-style: none; padding: 0; }
.footer-cols li a { color: #ccc; }
.social-icons a img { width: 24px; margin-right: 8px; filter: brightness(0) invert(1); }
