html { scroll-behavior: smooth; }
body { margin: 0; }

.topbar { background: linear-gradient(90deg, #001f4d 0%, #003476 60%, #004aaa 100%); }

.hero-bg {
  background: linear-gradient(135deg, #001f4d 0%, #003476 55%, #0d4f9e 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-cut { position: absolute; bottom: 0; left: 0; right: 0; height: 64px; background: white; clip-path: polygon(0 100%, 100% 0, 100% 100%); }

#navbar { transition: box-shadow .3s; }
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, .12); }

.nav-item { position: relative; }

.nav-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;
  width: 224px;
  background: white;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
  z-index: 100;
}

.nav-item:hover .nav-dropdown { visibility: visible; opacity: 1; }
.nav-dropdown a { display: block; padding: 10px 16px; font-size: .8rem; color: #374151; text-decoration: none; transition: background .15s, color .15s; }
.nav-dropdown a:first-child { border-radius: 12px 12px 0 0; }
.nav-dropdown a:last-child { border-radius: 0 0 12px 12px; }
.nav-dropdown a:hover { background: #F4F6FA; color: #003476; }

#mobile-menu { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; }
#mobile-menu.open { max-height: 600px; opacity: 1; }

.stat-card { background: rgba(255, 255, 255, .10); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; padding: 24px; text-align: center; transition: background .2s; }
.stat-card:hover { background: rgba(255, 255, 255, .18); }

.service-card { transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 52, 118, .15); }

.news-card img { transition: transform .4s ease; }
.news-card:hover img { transform: scale(1.05); }

.section-title { position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 50px; height: 4px; border-radius: 2px; background: #E8A000; }

.badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 9999px; background: #E8A000; color: #fff; }

.qa-card { transition: transform .2s, box-shadow .2s; }
.qa-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.qa-icon { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; background: rgba(0, 52, 118, .08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.qa-card:hover .qa-icon { background: #003476; }
.qa-card:hover .qa-icon i { color: white !important; }

#backtop { transition: opacity .3s; }
#backtop.hide { opacity: 0; pointer-events: none; }

.content-body h2 { font-size: 1.5rem; font-weight: 700; color: #003476; margin: 1.5rem 0 .75rem; }
.content-body h3 { font-size: 1.2rem; font-weight: 700; color: #003476; margin: 1.25rem 0 .5rem; }
.content-body p { margin-bottom: 1rem; line-height: 1.75; color: #374151; }
.content-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-body a { color: #003476; text-decoration: underline; }
.content-body a.inline-flex,
.content-body a.no-underline,
.content-body a[class*="bg-"],
.content-body a[class*="border-"],
.content-body a[class*="rounded-"],
.content-body a[class*="shadow-"] {
  text-decoration: none !important;
}
.content-body img { max-width: 100%; border-radius: .5rem; margin: 1rem 0; }
.content-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.content-body table td,
.content-body table th { border: 1px solid #e5e7eb; padding: .5rem .75rem; }
.content-body .links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.content-body .links-card { border: 1px solid #f1f5f9; border-radius: 14px; padding: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.content-body .links-card:hover { border-color: #003476; box-shadow: 0 8px 20px rgba(0, 52, 118, .12); }
.content-body .links-row { display: flex; align-items: center; gap: 12px; }
.content-body .links-dot { width: 10px; height: 10px; border-radius: 9999px; background: #003476; flex-shrink: 0; }
.content-body .links-title { font-weight: 700; color: #374151; font-size: .95rem; }
