/* ── CSS VARIABLES ── */
:root {
  --navy: #0a2342;
  --blue: #1a4a7a;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --sea: #2980b9;
  --seafoam: #e8f4f8;
  --white: #ffffff;
  --offwhite: #f7f4ef;
  --text: #1a1a2e;
  --text-muted: #5a6a7a;
  --border: #d4c9b0;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--offwhite);
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.03em;
}
.topbar a { color: var(--gold-light); text-decoration: none; margin-left: 16px; }
.topbar a:hover { color: var(--white); }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(10,35,66,0.1);
}

.logo-seal {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text p {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── NAV ── */
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  position: relative;
}
nav a:hover { background: var(--seafoam); color: var(--blue); }
nav a.active { color: var(--gold); }

.nav-btn {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  margin-left: 8px;
}
.nav-btn:hover { background: var(--blue) !important; color: var(--white) !important; }

.nav-btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy) !important;
  padding: 6px 16px !important;
  border-radius: 4px;
  margin-left: 4px;
}
.nav-btn-outline:hover { background: var(--navy); color: var(--white) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
 
  background: linear-gradient(rgba(6, 15, 28, 0.7), rgba(6, 15, 28, 0.6)), 
              url('sualhomepage.JPG') center/cover no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(41,128,185,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.15) 0%, transparent 50%);
}
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.hero-waves svg { display: block; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 80px;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero h2 span { color: var(--gold-light); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 3px solid var(--gold);
}
.stat-item {
  padding: 22px 30px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── SECTIONS ── */
.section { padding: 70px 80px; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-navy .section-title { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-navy .section-subtitle { color: rgba(255,255,255,0.65); }

.divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(10,35,66,0.12);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--seafoam);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.service-card:hover .service-icon { background: rgba(201,168,76,0.15); }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.service-link:hover { color: var(--gold); }

/* ── NEWS ── */
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  background: var(--offwhite);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(10,35,66,0.1); transform: translateY(-2px); }

.news-card-img {
  height: 180px;
  
  background-size: cover;      
  background-position: center;   
  background-repeat: no-repeat;
  
  position: relative;
  overflow: hidden;
}

.news-card:first-child .news-card-img { 
  height: 240px; 

}
.news-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-body { padding: 20px; }
.news-date {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── OFFICIALS ── */
.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px;
}
.official-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  transition: all 0.25s;
}
.official-card:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.official-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}
.official-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.official-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 600;
}
.official-card p {
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--gold);
  padding: 50px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}
.contact-strip p {
  color: rgba(10,35,66,0.75);
  margin-top: 6px;
  font-size: 1rem;
}
.contact-items {
  display: flex;
   flex: 1;
    justify-content: flex-end;
  gap: 40px;
}
a.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
a.contact-item .contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  color: rgba(10,35,66,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a.contact-item .contact-item-text span {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
}
.contact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(10,35,66,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  color: rgba(10,35,66,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-item-text span {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── FOOTER ── */
footer {
  background: #060f1c;
  color: rgba(255,255,255,0.6);
  padding: 50px 80px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,15,28,0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: 12px;
  width: 420px;
  max-width: 95vw;
  padding: 40px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s;
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}
.modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.modal p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }

.modal-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 9px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.modal-tab.active {
  background: var(--navy);
  color: var(--white);
}

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--offwhite);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
}
.btn-full {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}
.btn-full:hover { background: var(--blue); }

.form-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form-footer a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--seafoam); }
.faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── TICKER ── */
.ticker {
  background: var(--blue);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.ticker::before {
  content: '📢 ANNOUNCEMENTS';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0 20px;
  display: flex;
  align-items: center;
  z-index: 2;
}
.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  padding-left: 220px;
  white-space: nowrap;
  font-size: 0.85rem;
}
.ticker-item { padding: 0 60px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HAMBURGER ── */
.hamburger { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .section { padding: 50px 24px; }
  header { padding: 14px 20px; }
  nav a:not(.nav-btn):not(.nav-btn-outline) { display: none; }
  .hamburger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    background: none;
    border: none;
  }
  .hero-content { padding: 0 24px; }
  .hero h2 { font-size: 2.2rem; }
  .services-grid,
  .news-grid,
  .officials-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { flex-direction: column; padding: 40px 24px; }
  .contact-items { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
}

/* ── EVENTS & CULTURE ── */
.events-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.events-tab {
  padding: 9px 22px;
  border: 2px solid var(--border);
  border-radius: 30px;
  background: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.events-tab:hover { border-color: var(--gold); color: var(--navy); }
.events-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

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

.event-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s;
}
.event-card:hover {
  box-shadow: 0 10px 32px rgba(10,35,66,0.14);
  transform: translateY(-4px);
}

.event-img {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.event-img-placeholder { font-size: 3.5rem; }
.event-img-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-body { padding: 18px 20px; }
.event-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 8px 0 6px;
}
.event-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.event-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.event-cat.festival { background: #fde8e8; color: #c0392b; }
.event-cat.food     { background: #fef3e2; color: #e67e22; }
.event-cat.landmark { background: #e8eef5; color: #2c3e50; }
.event-cat.nature   { background: #e8f8f0; color: #27ae60; }

/* Event Detail Modal */
.event-modal { width: 500px; padding: 0; overflow: hidden; }
.event-modal-img {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-modal .modal-close {
  position: absolute;
  top: 12px; right: 16px;
  color: white;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.event-modal-body { padding: 24px 28px 28px; }
.event-modal-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 10px 0 12px;
}
.event-modal-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.event-modal-note {
  margin-top: 14px !important;
  font-size: 0.8rem !important;
  color: var(--gold) !important;
  background: rgba(201,168,76,0.08);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}

/* ── ABOUT US ── */

.about-hero {
  position: relative;
  height: 550px;
  background: url('sualmunicipalhall.jpg') center center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 35, 66, 0.7) 0%, rgba(10, 35, 66, 0.1) 30%, transparent 100%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px 5px;
}

.back-home-btn {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  
  padding: 11px 26px;
  border-radius: 4px; 
  
  transition: all 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.back-home-btn:hover {
  background: rgba(145, 128, 33, 0.452);
  border-color: rgba(130, 112, 32, 0.5);
  transform: translateY(-1px); 
}

.about-container {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.about-body-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333333;
  margin-bottom: 24px;
  text-align: justify;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #0a2342;
  margin-top: 6px;
  margin-bottom: 14px;
}

.about-body-text blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #0275d8;
  border-left: 4px solid #d4af37;
  padding-left: 20px;
  margin: 30px 0;
  line-height: 1.6;
}

/* Mobile responsive scaling */
@media (max-width: 768px) {
  .about-hero { 
    height: 320px;
  }
  .about-hero-content {
    padding: 0 20px 24px 20px;
  }
  .back-home-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .about-container { 
    padding: 40px 20px; 
  }
  .about-body-text p { 
    text-align: left; 
  }
}

.event-img {
  height: 200px;              
  background-size: cover;    
  background-position: center; 
  background-repeat: no-repeat;
  position: relative;   
  overflow: hidden; 
}

<!--COMMUNITY REPORT MODAL-->
.report-modal {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 90%;
  max-width: 500px;
  animation: modalFadeIn 0.3s ease-out;
}

label[for="reportFileInput"]:hover {
  border-color: #0a2342 !important;
  background-color: #fffaf0 !important;
  transform: translateY(-1px);
}

/* REPORT GUIDELINES MODAL */
.guidelines-modal {
  max-width: 520px;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
}
.guidelines-header {
  text-align: center;
  margin-bottom: 20px;
}
.guidelines-header h3 {
  color: #0a2342;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 5px 0;
}
.guidelines-header p {
  color: #c9a84c;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.guidelines-list {
  background: #f8fafc;
  border-left: 4px solid #1a4a7a;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 25px;
}
.guidelines-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}
.guidelines-item:last-child {
  margin-bottom: 0;
}
.guidelines-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}
.guidelines-text strong {
  display: block;
  color: #1e293b;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.guidelines-text p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}
.guidelines-warning {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 12px 15px;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 25px;
}
.guidelines-warning span {
  font-size: 1.1rem;
}
.guidelines-warning p {
  color: #991b1b;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}
.modal-actions-row {
  display: flex;
  gap: 12px;
}
.btn-secondary-outline {
  flex: 1;
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary-outline:hover {
  background: #f1f5f9;
  color: #334155;
  border-color: #94a3b8;
}

<!--SERVICES NEXT PAGE-->
html {
  scroll-behavior: smooth;
}

.services-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.service-detailed-section {
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
  scroll-margin-top: 100px;
}

.service-detailed-section:last-child {
  border-bottom: none;
}

.service-detailed-section h2 {
  color: #0a2342;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 5px;
}

.service-detailed-section h4 {
  color: #c9a84c;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-detailed-section ol {
  padding-left: 20px;
}

.service-detailed-section ol li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #334155;
}

/* ── ERROR MESSAGE ── */
.field-error {
  display: block;
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 4px;
  padding-left: 2px;
  animation: fadeInDown 0.15s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── INPUT ── */
.form-group input.input-error,
.form-group select.input-error {
  border-color: #e74c3c !important;
  background: rgba(231,76,60,0.04);
}

.form-group input.input-ok,
.form-group select.input-ok {
  border-color: #27ae60 !important;
  background: rgba(39,174,96,0.04);
}

.form-group {
  position: relative;
}

.pw-toggle {
  position: absolute;
  right: 10px;
  top: calc(24px + 50%);
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  opacity: 0.5;
  transition: opacity 0.15s;
  padding: 0;
  line-height: 1;
}
.pw-toggle:hover { opacity: 1; }
input[type="password"],
input[type="text"].pw-visible {
  padding-right: 36px;
}

.strength-meter {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.strength-track {
  flex: 1;
  height: 5px;
  background: var(--border, #d4c9b0);
  border-radius: 20px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  transition: width 0.3s ease, background 0.3s ease;
}

.strength-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 44px;
  text-align: right;
}

/* ── REQUIRED LABEL ASTERISK ── */
label.required::after {
  content: ' *';
  color: #e74c3c;
  font-weight: 700;
}