/* =========================================================
   s15.css — S15 Pendidikan
   Nuansa: indigo/sky • kursus • pendaftaran
========================================================= */

:root{
  --accent:#3f51b5;      /* indigo */
  --accent-2:#283593;
  --accent-soft: rgba(63,81,181,.11);
}

/* Hero education */
.hero-edu{
  background:linear-gradient(135deg,#fff,var(--accent-soft));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px;
  position:relative;
  overflow:hidden;
}

.hero-edu::after{
  content:"";
  position:absolute;
  width:440px;height:440px;
  right:-280px; top:-300px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%, rgba(63,81,181,.22), transparent 60%);
  pointer-events:none;
}

.hero-edu h1{
  margin:0 0 10px;
  font-weight:900;
  letter-spacing:-.6px;
  font-size:clamp(22px,3vw,40px);
  line-height:1.15;
}
.hero-edu p{margin:0;color:var(--muted)}

/* Highlights */
.edu-badges{
  display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;
}
.edu-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  background:var(--card);
  border:1px solid var(--line);
  color:rgba(20,24,31,.85);
}
.edu-badge i{
  width:9px;height:9px;border-radius:999px;
  background:var(--accent);
  display:inline-block;
}

/* Programs */
.programs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.program{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 10px 24px rgba(20,24,31,.06);
  padding:16px;
  position:relative;
  overflow:hidden;
}

.program::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:var(--accent);
}

.program h3{margin:0 0 6px;font-size:15px}
.program p{margin:0;color:var(--muted);font-size:13px}

.program .meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.program .tag{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  background:var(--accent-soft);
  border:1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color:#1f2937;
}

/* Schedule + pricing */
.edu-two{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:12px;
}

.box{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px;
}
.box h3{margin:0 0 8px;font-size:15px}
.box p{margin:0;color:var(--muted);font-size:13px}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin-top:12px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.table th, .table td{
  text-align:left;
  padding:10px 12px;
  font-size:12.5px;
  border-bottom:1px solid var(--line);
}
.table th{
  background:rgba(63,81,181,.06);
  color:#0f172a;
  font-weight:900;
}
.table tr:last-child td{border-bottom:0}

/* Enrollment */
.enroll{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.enroll label{
  font-size:12px;
  color:rgba(20,24,31,.7);
  font-weight:850;
}
.enroll input, .enroll select, .enroll textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  padding:10px 12px;
  font-size:14px;
  outline:none;
}
.enroll textarea{min-height:92px;resize:vertical}

/* Buttons */
.btn-primary{background:var(--accent)}
.btn-primary:hover{background:var(--accent-2)}

/* Responsive */
@media(max-width:980px){
  .programs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .edu-two{grid-template-columns:1fr}
}
@media(max-width:560px){
  .programs{grid-template-columns:1fr}
}
