/* HERO */
.page-hero{
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 18px;
}
/* COURSE TITLE COLOR */
.card-body h3{
  margin: 10px 0;
  color: #D8E3EA;
  font-weight: 800;
}

.hero-box{
  background: rgba(255,255,255,0.05);
  /* border: 1px solid rgba(255,255,255,0.08); */
  border-radius: 18px;
  padding: 28px;
}

.hero-title{
  margin: 0 0 10px;
  font-size: 34px;
}

.hero-title .accent{
  color: var(--neon);
}

.hero-sub{
  color: var(--muted);
  line-height: 1.6;
}

/* TAGS */
.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* PILL HOVER → ORANGE */
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pill:hover{
  background: rgba(255,165,0,0.18);     /* orange glow */
  border-color: rgba(255,165,0,0.45);
  color: #FFA500;                        /* orange text */
}


/* GRID */
.courses-wrap{
  max-width: 1100px;
  margin: 30px auto 70px;
  padding: 0 18px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.card{
  background: rgba(255,255,255,0.05);
  /* border: 1px solid rgba(255,255,255,0.09); */
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.card-top{
  padding: 16px;
  display: flex;
  gap: 8px;
}

.badge{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.green{
  color: var(--neon);
  border: 1px solid rgba(124,255,0,0.35);
}

.badge.blue{
  color: var(--ocean);
  border: 1px solid rgba(46,123,217,0.35);
}

.badge.gray{
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.12);
}

/* BODY */
.card-body{
  padding: 0 16px 16px;
  flex: 1;
}

.card-body h3{
  margin: 10px 0;
}

.card-body p{
  color: var(--muted);
  line-height: 1.6;
}

/* META */
.meta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.meta div{
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
}

.meta span{
  display: block;
  color: var(--muted);
  font-size: 12px;
}

/* ACTIONS */
.card-actions{
  padding: 14px 16px 18px;
}

.btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary{
  background: rgba(124,255,0,0.12);
  color: var(--neon);
  border: 1px solid rgba(124,255,0,0.35);
}

/* NOTE */
.note{
  margin-top: 20px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 28px; }
}


/* MAIN COURSE BUTTON */
.btn-view{
  display: block;
  width: 100%;
  text-align: center;

  padding: 14px 18px;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;

  color: #FFA500;
  background: rgba(255,165,0,0.14);
  border: 1px solid rgba(255,165,0,0.45);

  transition: all 0.25s ease;
}

.btn-view:hover{
  background: rgba(255,165,0,0.25);
  box-shadow: 0 10px 26px rgba(255,165,0,0.25);
  transform: translateY(-2px);
}
/* Footer */
.footer{
  margin-top: 50px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}


.modal-overlay[hidden]{ display:none; }
.modal-overlay{
  position:fixed; inset:0;
  background: rgb(78 100 26);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  z-index:9999;
}
.modal{
  width:min(980px, 100%);
  max-height: min(86vh, 900px);
  overflow:auto;
  background: rgba(14,26,36,.98);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  position:relative;
}
.modal-head{
  padding:22px 22px 14px 22px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex; gap:14px; align-items:flex-start; justify-content:space-between;
}
.modal-title{
  margin:0;
  font-size:22px;
  line-height:1.25;
}
.modal-sub{
  margin:6px 0 0 0;
  color: rgba(216,227,234,.85);
  font-size:14px;
  line-height:1.55;
  max-width: 72ch;
}
.modal-close{
  border:0;
  background:rgba(255,255,255,.08);
  color:#fff;
  border-radius:10px;
  padding:10px 12px;
  cursor:pointer;
  font-size:14px;
}
.modal-body{ padding: 18px 22px 24px 22px; }

.detail-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
@media (max-width: 860px){
  .detail-grid{ grid-template-columns: 1fr; }
}

.panel{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
}
.panel h4{
  margin:0 0 10px 0;
  font-size:14px;
  text-transform: uppercase;
  letter-spacing:.08em;
  color: rgba(216,227,234,.85);
}
.kv{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap:10px 12px;
  font-size:14px;
}
@media (max-width: 520px){
  .kv{ grid-template-columns: 1fr; }
}
.kv b{ color: rgba(216,227,234,.9); font-weight:600; }
.kv span{ color: rgba(216,227,234,.82); }

.chips{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:10px;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size:13px;
  color: rgba(216,227,234,.9);
  white-space:nowrap;
}
.chip .ico{ width:18px; height:18px; display:inline-grid; place-items:center; }
.list{
  margin:10px 0 0 0;
  padding-left:18px;
  color: rgba(216,227,234,.85);
  line-height:1.7;
  font-size:14px;
}

.cta-row{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:14px;
}
.btn-primary{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(124,255,0,.14);
  color: rgba(216,227,234,.95);
  text-decoration:none;
  font-weight:600;
}
.btn-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(216,227,234,.95);
  text-decoration:none;
  font-weight:600;
}

