:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #ccfbf1;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --navy: #0f172a;
  --danger: #dc2626;
  --success: #059669;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.14);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.25;
  margin-top: 0;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.topbar-links a, .topbar-links span {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar-actions a {
  color: #fbbf24;
  font-weight: 600;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}
.brand img {
  height: 54px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-title { font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.nav-menu a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cta .btn {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: #b45309;
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover {
  background: #f1f5f9;
  color: var(--navy);
}
.btn-sm { padding: 7px 14px; font-size: 0.84rem; }

/* Interactive Hero Slider */
.hero-slider {
  position: relative;
  min-height: 560px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
.hero-slide.active {
  position: relative;
  min-height: 560px;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.30) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 64px 0 84px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #99f6e4;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-slider h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-slider p {
  color: #e2e8f0;
  font-size: 1.08rem;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slider-controls {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 5;
}
.slider-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.slider-dot.active { width: 46px; background: #2dd4bf; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* Notice Ticker */
.notice-bar {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 12px 0;
}
.notice-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.notice-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* Sections & Grids */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-header {
  max-width: 680px;
  margin-bottom: 42px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-muted); margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-alt);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-media img { transform: scale(1.04); }
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
}
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.card-text { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Stats Strip */
.stats-strip {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.stat-box {
  text-align: center;
  padding: 14px;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #2dd4bf;
  line-height: 1.1;
}
.stat-label { font-size: 0.9rem; color: #cbd5e1; margin-top: 6px; }

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-pill.active, .filter-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Forms & Alerts */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}
textarea.form-control { min-height: 115px; resize: vertical; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.94rem;
  border: 1px solid transparent;
}
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* Tag chips */
.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
}
.lightbox-inner img {
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 12px;
}
.lightbox-caption { color: #e2e8f0; margin-top: 12px; font-weight: 500; }
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1rem;
  cursor: pointer;
}

/* Digital ID Card */
.id-card-wrap {
  max-width: 540px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid #14b8a6;
}
.id-card-head {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.id-card-logo {
  height: 60px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.id-card-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 124px;
  gap: 18px;
  align-items: center;
}
.id-card-photo {
  width: 120px;
  height: 144px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #2dd4bf;
  background: #fff;
}
.id-meta-row { font-size: 0.88rem; margin-bottom: 6px; color: #e2e8f0; }
.id-meta-row strong { color: #fff; display: inline-block; min-width: 105px; }

/* Page Header */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #134e4a 100%);
  color: #fff;
  padding: 52px 0;
}
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.page-banner p { color: #cbd5e1; margin: 0; max-width: 640px; }

/* Footer */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 60px 0 24px;
  margin-top: 40px;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; font-size: 0.9rem; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #2dd4bf; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.list-check { padding-left: 18px; }
.list-check li { margin-bottom: 8px; }
.hp-field { display: none !important; }

@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .topbar, .navbar, .footer, .no-print { display: none !important; }
  body { background: #fff; margin: 0; }
  .section { padding: 16px 0; }
  .id-card-wrap { box-shadow: none; max-width: 540px; page-break-inside: avoid; }
}

@media (max-width: 1120px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .id-card-body { grid-template-columns: 1fr; text-align: center; }
  .id-card-photo { margin: 0 auto; }
}
