:root{
  --brand-900:#0b2a52;
  --brand-800:#0f3b73;
  --brand-600:#1b66c9;
  --brand-100:#e8f1ff;
  --shadow: 0 10px 28px rgba(0,0,0,.16);
  --radius: 18px;
}

body{
  font-family: "Noto Sans Thai", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  background-image: radial-gradient(
    1200px 600px at 20% 0%,
    #dff0ff 0%,
    #f7fbff 40%,
    #ffffff 100%
  );

  background-repeat: no-repeat;    /* ✅ ไม่ repeat */
  background-size: cover;          /* ✅ ครอบเต็มหน้าจอ */
  background-position: top center; /* ✅ เหมือน index */
  background-attachment: fixed;    /* (เลือกได้) */

  color:#123;
  min-height: 100vh;
}

  a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
/* Navbar */
.navbar-blur{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 59, 115, .10);
}
.brand-badge{
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  box-shadow: 0 10px 20px rgba(27,102,201,.25);
  overflow:hidden;
}
.brand-badge img{ width:100%; height:100%; object-fit:cover; }

/* Sections */
.section-title{
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: .2px;
}

/* Hero */
.hero{
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 45%, var(--brand-600) 100%);
  color:#fff;
  border-radius: calc(var(--radius) + 6px);
  position: relative;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero::before{
  content:"";
  position:absolute; inset:-60px -60px auto auto;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%);
  transform: rotate(20deg);
}
.hero::after{
  content:"";
  position:absolute; inset:auto auto -120px -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.35rem .8rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size:.9rem;
}

/* Cards */
.soft-card{
  border: 1px solid rgba(15,59,115,.10);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow:hidden;
}
.news-card{
  border: 1px solid rgba(15,59,115,.10);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.news-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(0,0,0,.10);
  border-color: rgba(27,102,201,.22);
}
.badge-status{ font-weight: 700; }

/* Important box */
.important{
  border-radius: var(--radius);
  border: 1px solid rgba(255,193,7,.35);
  background: linear-gradient(180deg, rgba(255,193,7,.18), rgba(255,193,7,.10));
  box-shadow: 0 10px 24px rgba(255,193,7,.10);
}

/* Important box */
.importants {
  border-radius: var(--radius);
  border: 1px solid rgba(0,123,255,.35); /* ฟ้า */
  background: linear-gradient(180deg, rgba(0,123,255,.18), rgba(0,123,255,.10)); 
  box-shadow: 0 10px 24px rgba(0,123,255,.10); /* เงาฟ้า */
}


/* Footer */
.site-footer{
  border-top: 1px solid rgba(15,59,115,.10);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
}
/* ===== Step Cards ===== */
.step-card{
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

/* Step 1 */
.step-1{
  border-left: 5px solid var(--brand-600);
}
.step-1 .step-badge{
  background: var(--brand-600);
}

/* Step 2 */
.step-2{
  border-left: 5px solid #0dcaf0;
}
.step-2 .step-badge{
  background: #0dcaf0;
}

/* Step 3 */
.step-3{
  border-left: 5px solid #ffc107;
}
.step-3 .step-badge{
  background: #ffc107;
  color:#000;
}

/* Step 4 */
.step-4{
  border-left: 5px solid #198754;
}
.step-4 .step-badge{
  background: #198754;
}

/* ===== Step icon ===== */
.step-icon{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(15,59,115,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-800);
  flex-shrink: 0;
}

/* ให้สีไอคอนตาม step */
.step-1 .step-icon{ color: var(--brand-600); }
.step-2 .step-icon{ color: #0dcaf0; }
.step-3 .step-icon{ color: #ffc107; }
.step-4 .step-icon{ color: #198754; }

