/* =========================================================
   GLOBAL STYLES
========================================================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #111;
  text-align: center;
}

a {
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #ff9900;
}

/* =========================================================
   HERO / PAGE HEADER
========================================================= */
.courses-hero h2 {
  font-size: 28px;
  font-weight: 500;
  color: #222;
  margin-bottom: 10px;
}

.courses-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 25px;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 8px;
  background: #ff9900;
  border-radius: 5px;
  transform: skewX(-20deg);
  z-index: -1;
}

/* =========================================================
   CATEGORY MENU
========================================================= */
.category-menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0 auto 20px;
  padding: 12px 20px;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.category-menu a {
  padding: 8px 15px;
  border-radius: 20px;
  background: #f5f5f5;
  color: #333;
  font-weight: 500;
}

.category-menu a:hover,
.category-menu a.active {
  background: #ff9900;
  color: #fff;
  font-weight: bold;
}

/* =========================================================
   CATEGORY CARDS
========================================================= */
.categories-section {
  padding: 60px 20px;
  background: #fff;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.section-subtitle {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
}

.section-subtitle .underline {
  display: block;
  width: 60px;
  height: 4px;
  background: #f7b500;
  margin: 8px auto 0;
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.category-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.category-card .icon {
  font-size: 30px;
  color: #ff9900;
  margin-bottom: 10px;
}

.category-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 14px;
  color: #555;
}

/* Hide unwanted categories if needed */
.category-card[data-category="DOC"] {
  display: none !important;
}

/* =========================================================
   COURSE CARDS / GRID
========================================================= */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-content: center;
  margin-top: 20px;
}

.course-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.course-banner {
  position: relative;
  padding: 25px;
  color: #fff;
  min-height: 160px;
}

.course-banner img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.course-banner .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f59e0b;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.banner-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #fff;
}

.banner-text h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

/* Banner colors */
.course-banner.blue { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.course-banner.green { background: linear-gradient(135deg, #059669, #10b981); }
.course-banner.red { background: linear-gradient(135deg, #dc2626, #ef4444); }
.course-banner.orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.course-banner.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.course-content {
  padding: 20px;
}

.course-price .current {
  font-weight: 700;
  color: #111;
  margin-right: 10px;
}

.course-price .old {
  color: #aaa;
  text-decoration: line-through;
  font-size: 14px;
}

.course-footer {
  border-top: 1px solid #eee;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  font-size: 13px;
}

.course-footer a {
  color: #2563eb;
  font-weight: 600;
}

/* =========================================================
   COURSE DETAIL PAGE
========================================================= */
.course-header {
  position: relative;
  background: url("../images/s8.png") no-repeat center/cover;
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.course-header .overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  color: #fff;
  padding: 20px 60px 20px 20px;
}

.course-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}

.course-container {
  display: flex;
  width: 90%;
  margin: -100px auto 50px;
  gap: 30px;
}

.course-detail-card {
  flex: 3;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-sidebar {
  flex: 1;
  position: sticky;
  top: 20px;
}

/* Buttons */
.btn, .btn-outline {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

.btn {
  background: #007bff;
  color: #fff;
  border: none;
}

.btn-outline {
  background: #fff;
  border: 1px solid #007bff;
  color: #007bff;
}

.btn-enroll {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1em;
}

.btn-enroll:hover {
  background-color: #0056b3;
}

/* =========================================================
   LEARN / CURRICULUM SECTIONS
========================================================= */
.what-youll-learn {
  background: #f9f9fb;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 720px;
}

.what-youll-learn h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

.learn-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learn-list li {
  background: #fff;
  margin: 12px 0;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.learn-list li:hover {
  transform: translateX(5px);
}

.learn-list .tab {
  background: #2c6fbb;
  color: #fff;
  font-weight: bold;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: #111;
  color: #bbb;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bbb;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  background: #222;
  color: #bbb;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #2563eb;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
}

.footer-bottom a {
  color: #2563eb;
}

/* Base setup */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #0f1320;
  color: #f5f5f5;
}

/* Navbar */
.navbar {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  padding: 18px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: #d4af37;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d4af37;
}

/* Hero */
/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Video Container */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
}

/* Overlay (darkens video) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #ddd;
}

/* Gold Button */
.btn-gold {
  display: inline-block;
  background: linear-gradient(180deg, #d4af37, #b8901e);
  color: #000;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #e0b84d, #c49a24);
  transform: translateY(-2px);
}

/* Features */
.features {
  padding: 100px 20px;
  text-align: center;
  background-color: #15192b;
}

.features h2 {
  color: #fff;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background-color: #1e2338;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.feature-card i {
  font-size: 2em;
  color: #d4af37;
  margin-bottom: 15px;
}

/* Programs */
.programs {
  padding: 100px 20px;
  text-align: center;
  background-color: #0f1320;
}

.programs h2 {
  color: #fff;
  margin-bottom: 40px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.program-card {
  background-color: #1a1f2e;
  padding: 30px;
  border-radius: 12px;
  color: #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #d4af37;
  color: #000;
}

/* Mission */
.mission {
  background-color: #15192b;
  padding: 100px 20px;
  text-align: center;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
}

.mission h2 {
  color: #fff;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: #0b0d16;
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.footer a {
  color: #d4af37;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* =========================================================
   COURSES PAGE BACKGROUND
========================================================= */
.courses-bg {
  background: url('Images/S6.png') center/cover no-repeat fixed;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}

.courses-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.75); /* subtle dark overlay */
  z-index: 0;
}

.courses-hero {
  position: relative;
  z-index: 1; /* keeps text above overlay */
}

.courses-hero h1,
.courses-hero h2 {
  color: #fff;
}

.category-menu {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
body {
  font-family: Arial, sans-serif;
  background: 
    linear-gradient(rgba(10, 10, 20, 0.8), rgba(10, 10, 20, 0.8)),
    url('../images/S6.png') center/cover no-repeat fixed;
  color: #fff;
  margin: 0;
  padding: 0;
}
