/* ==========================================================
   Home — Welcome / About + Notice board (.ax, .nb)
   Light layout: intro copy with chips and a CBSE callout on
   the left; white noticeboard card with blue header on the
   right. The ticker (main.js liScroll on #ticker01) wraps the
   list in .tickercontainer > .mask and animates its `top`.
   Logo palette: royal blue + orange.
   ========================================================== */
.ax {
  --ax-blue: #0d4f9c;
  --ax-blue-deep: #083a75;
  --ax-orange: #f08a1c;
  --ax-orange-deep: #d9740a;
  --ax-sky: #eef4fb;
  --ax-ink: #142033;
  --ax-muted: #4d5a6c;
  --ax-line: #e5ebf3;
  position: relative;
  padding: 60px 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(240, 138, 28, .08), transparent 35%),
    #f7f9fc;
}
.ax-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}
.ax-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ---------- copy ---------- */
.ax-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ax-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ax-line);
  color: var(--ax-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ax-eyebrow .fa { color: var(--ax-orange); }
.ax-title {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ax-blue-deep);
}
.ax-title span { color: var(--ax-orange); }

.ax-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ax-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--ax-line);
  color: var(--ax-ink);
  font-size: 14px;
  font-weight: 600;
}
.ax-chips .fa {
  width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ax-sky); color: var(--ax-blue); font-size: 13px;
}

.ax-text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ax-muted);
  text-align: justify;
}
.ax-text strong, .ax-callout strong { color: var(--ax-blue-deep); font-weight: 700; }

.ax-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-left: 4px solid var(--ax-orange);
}
.ax-callout p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ax-muted); }
.ax-callout-ico {
  flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ax-orange); color: #fff; font-size: 18px;
}

.ax-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--ax-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.ax-btn:hover { background: var(--ax-blue-deep); color: #fff; transform: translateY(-2px); }
.ax-btn .fa { transition: transform .2s ease; }
.ax-btn:hover .fa { transform: translateX(4px); }

/* ---------- notice board ---------- */
.nb {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ax-line, #e5ebf3);
  box-shadow: 0 30px 60px -35px rgba(8, 58, 117, .35);
}
.nb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--ax-blue, #0d4f9c);
  color: #fff;
}
.nb-head h2 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.nb-head-ico {
  flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ax-orange, #f08a1c); color: #fff; font-size: 17px;
}
.nb-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nb-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: nb-blink 1.4s ease-in-out infinite; }
@keyframes nb-blink { 50% { opacity: .3; } }

.nb-body { position: relative; height: 430px; padding: 0 18px; background: #f7f9fc; }
.nb-body::before,
.nb-body::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  z-index: 2;
  pointer-events: none;
}
.nb-body::before { top: 0; background: linear-gradient(#f7f9fc, rgba(247, 249, 252, 0)); }
.nb-body::after { bottom: 0; background: linear-gradient(rgba(247, 249, 252, 0), #f7f9fc); }
.nb-body .tickercontainer,
.nb-body .mask { position: relative; height: 100%; overflow: hidden; }
.nb-body ul#ticker01 { position: relative; list-style: none; margin: 0; padding: 14px 0 0; width: 100%; }
.nb-body ul#ticker01 li { padding: 0 0 12px; }

.nb-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ax-line, #e5ebf3);
  border-left: 4px solid var(--ax-orange, #f08a1c);
}
.nb-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.nb-item h5 { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 700; color: var(--ax-blue-deep, #083a75); }
.nb-date {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--ax-sky, #eef4fb);
  color: var(--ax-blue, #0d4f9c);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.nb-item p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ax-muted, #4d5a6c); }
.nb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ax-orange-deep, #d9740a);
  text-decoration: none;
}
.nb-link:hover { color: var(--ax-blue, #0d4f9c); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .ax-grid { grid-template-columns: 1fr; gap: 40px; }
  .ax-notice { max-width: 640px; width: 100%; margin: 0 auto; }
}
@media (max-width: 991px) { .ax { padding: 48px 0; } }
@media (max-width: 640px) {
  .ax { padding: 40px 0; }
  .ax-wrap { padding: 0 16px; }
  .ax-title { font-size: 32px; }
  .ax-text { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .ax-btn { width: 100%; justify-content: center; }
  .nb-body { height: 400px; padding: 0 12px; }
  .nb-head h2 { font-size: 14px; }
  .nb-item-top { flex-direction: column; gap: 6px; }
}
