/* =========================================================================
   National Enforcement Agency — stylesheet
   Government institutional theme (blue / white / gold accent)
   ========================================================================= */

:root {
  --navy:        #0d2b52;
  --navy-2:      #123a6b;
  --blue:        #1a4d8f;
  --blue-light:  #2f6fbf;
  --gold:        #d4af37;
  --gold-dark:   #b8941f;
  --bg:          #f5f7fa;
  --white:       #ffffff;
  --ink:         #1f2733;
  --muted:       #5b6675;
  --line:        #e2e8f0;
  --red:         #c0392b;
  --green:       #1e8449;
  --shadow-sm:   0 1px 3px rgba(13,43,82,.10);
  --shadow-md:   0 6px 18px rgba(13,43,82,.12);
  --radius:      10px;
  --maxw:        1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.25; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }
.section--alt { background: var(--white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: 2rem; margin: 0 0 10px; }
.section-head .kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .78rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 8px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Top emergency bar ---------- */
.topbar { background: var(--navy); color: #cfe0f5; font-size: .84rem; }
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; justify-content: center; padding-top: 8px; padding-bottom: 8px;
}
.topbar .hl { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .hl strong { color: var(--gold); font-size: .95rem; }
.topbar .hl .label { color: #cfe0f5; }

/* ---------- Header ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; }
.brand .brand-text h1 { font-size: 1.28rem; margin: 0; letter-spacing: .3px; }
.brand .brand-text span { font-size: .8rem; color: var(--gold-dark); font-weight: 600; letter-spacing: 1px; }

.nav-toggle {
  margin-left: auto; display: none; background: var(--navy); color: #fff;
  border: 0; border-radius: 6px; padding: 10px 12px; font-size: 1rem; cursor: pointer;
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px; color: var(--navy); font-weight: 600;
  font-size: .95rem; border-radius: 6px; transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--bg); text-decoration: none; }
.main-nav a.active { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(120deg, rgba(13,43,82,.92), rgba(26,77,143,.86)),
              radial-gradient(circle at 80% 20%, rgba(47,111,191,.5), transparent 55%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding: 96px 20px; }
.hero .kicker { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-weight: 700; font-size: .85rem; }
.hero h2 { color: #fff; font-size: 2.9rem; margin: 14px 0 12px; }
.hero p { font-size: 1.15rem; max-width: 680px; margin: 0 auto 28px; color: #e4edf8; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 700;
  font-size: .98rem; cursor: pointer; border: 2px solid transparent; transition: all .18s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-2); color: #fff; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .stat .num { font-size: 2.4rem; font-weight: 800; color: var(--gold); font-family: Georgia, serif; }
.stats .stat .lbl { font-size: .95rem; color: #cfe0f5; margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid-cards { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: var(--gold);
  font-size: 1.4rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: .93rem; }

/* Service list (compact) */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-item {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px;
  padding: 14px 16px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.service-item:hover { transform: translateX(4px); border-left-color: var(--blue); text-decoration: none; }
.service-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }

/* News */
.news-card { overflow: hidden; padding: 0; }
.news-card .thumb { height: 150px; background: linear-gradient(135deg, var(--blue-light), var(--navy)); position: relative; }
.news-card .thumb .tag {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase;
}
.news-card .body { padding: 18px 20px 22px; }
.news-card .date { font-size: .8rem; color: var(--muted); }
.news-card h3 { font-size: 1.05rem; margin: 6px 0 8px; }

/* Apps */
.app-card { text-align: center; }
.app-card .badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 8px; font-size: .85rem;
}

/* Divisions */
.divisions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.division {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: all .18s;
}
.division:hover { border-color: var(--gold); transform: translateY(-3px); }
.division .icon { font-size: 1.8rem; margin-bottom: 8px; }
.division h4 { margin: 0; font-size: 1rem; }

/* Initiatives banner strip */
.strip { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; }
.strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.strip .item .icon { font-size: 2rem; color: var(--gold); }
.strip .item h4 { color: #fff; margin: 10px 0 6px; font-size: 1.05rem; }
.strip .item p { color: #cfe0f5; font-size: .9rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cdd9ea; padding: 56px 0 0; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin: 0 0 16px; }
.site-footer p { font-size: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #cdd9ea; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 46px; height: 46px; }
.foot-brand strong { color: #fff; font-size: 1.1rem; font-family: Georgia, serif; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.social a:hover { background: var(--gold); color: var(--navy); text-decoration: none; }
.helpline-list li { display: flex; justify-content: space-between; }
.helpline-list li strong { color: var(--gold); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 20px 0; text-align: center; font-size: .85rem; }

/* WhatsApp / chat float */
.chat-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: var(--green); color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--shadow-md);
}
.chat-float:hover { text-decoration: none; transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4, .divisions-grid, .strip .grid, .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .hero h2 { font-size: 2.2rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    box-shadow: var(--shadow-md); padding: 10px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .grid-3, .grid-4, .grid-2, .services-grid, .divisions-grid, .strip .grid,
  .stats .grid, .site-footer .cols { grid-template-columns: 1fr; }
  .site-header { position: relative; }
}
