/* ==== TOKEN & RESET ==== */
* { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --primary: #007BFF;
  --primary-light: #00C6FF;
  --text: #1E293B;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-2: #F8FAFC;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(0,0,0,0.05);
  --radius: 12px;
  --max: 1200px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* ==== HEADER ==== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  height: 42px;
  width: auto;
}
.brand-name {
  font-weight: 800;
  color: var(--text);
  font-size: 20px;
}



/* ==== BUTTON ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}

/* ==== FOOTER ==== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 40px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--primary);
}

/* ==== MISC ==== */
.section {
  padding: 80px 0;
}
.accent {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ==== FOOTER HỖ TRỢ CỦA TRƯỜNG/PHÒNG ==== */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  font-size: 15px;
  color: #475569;
}

.support-simple {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 40px 0 28px;
}

.support-block {
  max-width: 520px;
  padding-left: 14px;              /* viền nhấn màu theo đơn vị */
  border-left: 4px solid #e5e7eb;
}
/* Nút xanh cho 2 phần hỗ trợ */
.support-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(90deg, #00dfb3, #ffd2cc);
  color: #fff;
  box-shadow: 0 4px 10px rgba(141, 9, 31, 0.25);
  transition: all 0.25s ease;
}
.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

/* Căn chỉnh nhẹ cho layout */
.support-block.is-school,
.support-block.is-dept {
  position: relative;
  padding-bottom: 12px;
}


/* màu nhấn riêng cho từng khối */
.support-block.is-school { border-left-color: #3b82f6; }  /* xanh trường */
.support-block.is-dept   { border-left-color: #7c3aed; }  /* tím phòng */

@media (max-width: 720px){
  .support-simple { gap: 28px; padding: 28px 0 20px; }
}

/* pháp lý dưới cùng */
.foot-legal {
  border-top: 1px solid var(--border);
  background: #f8fafc;
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; flex-wrap: wrap; font-size: 14px; color: #64748b;
}
.foot-inner nav a { color: #64748b; text-decoration: none; margin-left: 14px; }
.foot-inner nav a:hover { color: var(--primary); }
.nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #64748b;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav a:hover {
  color: #2563eb;
}

.nav a.active {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(90deg, #0ea5e9, #3b82f6);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}
