@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

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

:root {
  --navy:      #1f3656;
  --navy-dark: #152540;
  --navy-mid:  #2d4a73;
  --gold:      #f5a623;
  --gold-lt:   #fdf3e3;
  --white:     #ffffff;
  --off-white: #f4f6f9;
  --text:      #1a2332;
  --text-mid:  #3d5270;
  --text-muted:#6b7f99;
  --border:    #d0dae8;
  --green:     #2e7d4f;
  --red:       #c0392b;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 2px 12px rgba(31,54,86,0.10);
  --shadow-lg: 0 6px 28px rgba(31,54,86,0.15);
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--off-white);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TOP UTILITY BAR ── */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.top-bar a:hover { color: var(--gold); }
.top-bar .links { display: flex; gap: 20px; }

/* ── HEADER ── */
header {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-logo {
  width: 68px;
  height: 68px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.header-logo svg { width: 48px; height: 48px; }
.header-title { flex: 1; }
.header-title h1 {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.header-title p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
  font-weight: 300;
}
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  font-family: 'Source Sans 3', sans-serif;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover { background: #e6941a; border-color: #e6941a; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); }

/* ── NAV ── */
nav {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 2px;
}
nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  display: block;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
nav a:hover, nav a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.07);
}

/* ── PAGE HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 52px 24px;
  text-align: center;
}
.hero h2 {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── MAIN CONTENT ── */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px;
  width: 100%;
}
.section-title {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.link-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: all 0.18s ease;
  border-top: 4px solid var(--navy);
}
.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
.link-card .icon {
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.link-card strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.link-card span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ── NEWS ── */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.news-item .news-date {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 8px 12px;
  text-align: center;
  flex-shrink: 0;
  min-width: 52px;
}
.news-item .news-date .month { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.7); }
.news-item .news-date .day { font-size: 22px; font-weight: 700; line-height: 1; }
.news-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.news-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-event { background: #e8f4fd; color: #1565c0; }
.tag-alert { background: #fdecea; color: var(--red); }
.tag-news  { background: #e9f7ef; color: var(--green); }

/* ── EVENTS ── */
.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.event-item .event-info h4 { font-size: 14px; font-weight: 700; color: var(--navy); }
.event-item .event-info p  { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.event-item .event-date-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-lt);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── LOGIN FORM ── */
.login-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31,54,86,0.10);
}
.form-submit { width: 100%; padding: 12px; font-size: 16px; margin-top: 4px; }
.form-footer {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-footer a { color: var(--navy); text-decoration: none; font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }
.portal-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.portal-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
}
.portal-list li a:hover { background: var(--navy); color: var(--white); }
.portal-list li a .portal-icon { font-size: 20px; width: 28px; text-align: center; }

/* ── ALERT BANNER ── */
.alert-banner {
  background: #fff8e6;
  border: 1px solid #f5a623;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 14px;
  color: #7a5100;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 40px 24px 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
footer h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 14px;
}
footer a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; display: block; margin-bottom: 7px; }
footer a:hover { color: var(--gold); }
footer p { font-size: 13px; line-height: 1.6; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: center; }
  .login-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  nav { overflow-x: auto; }
  .nav-inner { width: max-content; }
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-block h3 {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--off-white);
  font-size: 14px;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .c-label { color: var(--text-muted); min-width: 80px; font-size: 13px; }
.contact-row .c-value { color: var(--text); font-weight: 600; }
.contact-row .c-value a { color: var(--navy); text-decoration: none; }
.contact-row .c-value a:hover { text-decoration: underline; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
