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

:root {
  --navy: #0d2a5e;
  --navy-dark: #091d45;
  --green: #249f45;
  --green-light: #249f45;
  --green-btn: #249f45;
  --blue-btn: #1565c0;
  --orange-btn: #e69126;
  --orange-icon: #e69126;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #666;
  --border: #e0e0e0;
  --bg-light: #f0f0f0;
  --white: #ffffff;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
}

/* TOP BAR */
.topbar {
  background: var(--navy-dark);
  color: #cfd8dc;
  font-size: 13px;
  padding: 7px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #cfd8dc; text-decoration: none; margin-right: 18px; }
.topbar a:hover { color: #fff; }
.topbar .left { display: flex; align-items: center; gap: 6px; }
.topbar .left span { margin-right: 20px; }
.topbar .right { display: flex; align-items: center; gap: 16px; }
.font-controls { display: flex; align-items: center; gap: 4px; }
.font-controls button {
  background: none;
  border: none;
  color: #cfd8dc;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 5px;
}
.font-controls button:hover { color: #fff; }
.topbar-divider { color: #555; }

/* HEADER */
.header {
  background: var(--white);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--green);
  flex-shrink: 0;
}
.logo-text h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.logo-text h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text p {
  font-size: 12px;
  color: var(--green-light);
  font-weight: 600;
  margin-top: 2px;
}

/* NAV */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}
nav a:hover, nav a.active { background: #e8eaf6; color: var(--navy); }
nav a.active {
  background: var(--navy);
  color: #fff;
}
nav a.active:hover { background: var(--navy-dark); }
.nav-services { display: flex; align-items: center; gap: 4px; }
.officer-btn {
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 5px !important;
  padding: 9px 16px !important;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
}
.officer-btn:hover { background: var(--navy-dark) !important; }

/* HERO */
.hero {
  background: #1a3163;
  min-height: 340px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}
.hero-left {
  flex: 0 0 55%;
  padding: 56px 48px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1a3163;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 2;
}
.hero-left .welcome { color: #b0bec5; font-size: 16px; margin-bottom: 6px; }
.hero-left h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-left h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.hero-underline {
  width: 52px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 10px 0 18px;
}
.hero-left p {
  color: #cfd8dc;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-green {
  background: var(--green-btn);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-green:hover { background: #1a7a32; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 5px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,49,99,0.72) 30%, rgba(26,49,99,0.18) 65%, transparent 80%);
  z-index: 1;
}
.building-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b0bec5 0%, #eceff1 50%, #cfd8dc 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.building-svg { width: 90%; max-width: 520px; }

/* CARDS SECTION */
.cards-section {
  background: var(--bg-light);
  padding: 36px 32px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}
.card.card-green  { background: #f1f8f1; border: 1px solid #d6ead6; }
.card.card-blue   { background: #eff4fb; border: 1px solid #cddcf0; }
.card.card-orange { background: #fdf5ec; border: 1px solid #f2dfc4; }
.card-top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 12px; }
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}
.card-icon.green { background: var(--green-btn); }
.card-icon.blue  { background: var(--blue-btn); }
.card-icon.orange { background: var(--orange-icon); }
.card-title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.card-desc  { font-size: 13.5px; color: var(--text-light); line-height: 1.5; }
.card-btn { margin-top: auto; padding-top: 18px; }
.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-card:hover { opacity: 0.88; }
.btn-card.green  { background: var(--green-btn); color: #fff; }
.btn-card.blue   { background: var(--blue-btn); color: #fff; }
.btn-card.orange { background: var(--orange-btn); color: #fff; }

/* BOTTOM SECTION */
.bottom-section {
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* About box */
.about-box h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-underline {
  width: 42px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 18px;
}
.about-box p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Notices box */
.notices-box h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.notices-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-btn);
  text-decoration: none;
}
.view-all:hover { text-decoration: underline; }
.notice-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.notice-item:last-child { border-bottom: none; }
.notice-bell {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #249f45;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice-text p {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.5;
}
.notice-date {
  font-size: 12px;
  color: var(--green-light);
  font-weight: 600;
  margin-top: 3px;
}

/* FOOTER */
.site-footer {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    linear-gradient(180deg, var(--navy) 0%, #102551 100%);
  color: rgba(255,255,255,0.86);
  margin-top: 24px;
}
.footer-main {
  padding: 48px 32px 34px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
}
.footer-brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.footer-brand h3,
.footer-title {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}
.footer-district {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #b8d4ff;
}
.footer-copy {
  font-size: 14px;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 14px;
}
.footer-tag {
  color: #7fe3a1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-links i {
  color: #7fe3a1;
  font-size: 12px;
}
.footer-contact-list {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.footer-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(36,159,69,0.18);
  color: #7fe3a1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #b8d4ff;
  margin-bottom: 4px;
}
.footer-contact-item a,
.footer-contact-item p {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(6,17,43,0.35);
}
.footer-bottom-inner {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-inner p {
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr; }
  .bottom-section { grid-template-columns: 1fr; }
  .hero { flex-direction: column; }
  .hero-left { flex: none; padding: 36px 24px; clip-path: none; }
  .hero-right { min-height: 200px; }
  .footer-main,
  .footer-bottom-inner { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 720px) {
  .header { flex-direction: column; gap: 12px; padding: 12px 16px; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero-left h2 { font-size: 30px; }
  .cards-section,
  .bottom-section { padding: 20px 16px; }
  .topbar {
    font-size: 11px;
    padding: 6px 16px;
  }
  .topbar,
  .topbar .left,
  .topbar .right {
    flex-wrap: wrap;
  }
  .footer-main {
    padding: 34px 16px 26px;
  }
  .footer-bottom-inner {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand {
    align-items: flex-start;
  }
}
