@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy: #071c24;
  --navy-2: #0d2a34;
  --navy-deep: #04151c;
  --green: #087c57;
  --green-2: #0c9a6d;
  --gold: #d6a52b;
  --gold-soft: #e8c56a;
  --cream: #f3f0e7;
  --mist: #eaf2ef;
  --ink: #10272f;
  --muted: #5f7279;
  --line: #d7e1dd;
  --white: #fff;
  --surface: #fbfaf7;
  --shadow: 0 18px 48px rgba(7, 28, 36, 0.08);
  --shadow-sm: 0 8px 22px rgba(7, 28, 36, 0.05);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 82px;
  --container: 1240px;
  --space-section: clamp(4.5rem, 8vw, 6.25rem);
  --focus: 0 0 0 3px rgba(8, 124, 87, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(8, 124, 87, 0.06), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(214, 165, 43, 0.07), transparent 50%),
    var(--surface);
  overflow-x: clip;
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
a:focus-visible,
button:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

img { max-width: 100%; height: auto; display: block; }

.display-font,
h1, h2, h3, h4, h5, h6,
.brand-title {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.03em;
}

.container {
  max-width: var(--container);
}

/* ---------- Utility bar ---------- */
.utility {
  background: var(--navy-deep);
  color: #b9cbcf;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility a { color: #fff; }
.utility a:hover { color: var(--gold-soft); }

.utility-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  flex-wrap: wrap;
}

.utility i { color: var(--gold); }

.utility-login {
  opacity: 0.9;
  font-weight: 700;
  margin-left: 2px;
  white-space: nowrap;
}

.utility-login:hover { opacity: 1; color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  /* Below Bootstrap offcanvas (1045) so the mobile menu is never covered */
  z-index: 1030;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 39, 47, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 32px rgba(7, 28, 36, 0.08);
}

.nav-main {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  flex-shrink: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.05;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 5px;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.desktop-nav .nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #365057;
  padding: 28px 9px;
  position: relative;
  white-space: nowrap;
}

.desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 18px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active { color: var(--green); }

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.menu-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-left: auto;
  flex-shrink: 0;
}

.offcanvas {
  background: var(--navy);
  color: #fff;
  z-index: 1060;
}
.offcanvas-backdrop { z-index: 1055; }
.offcanvas-header { padding: 24px; }
.offcanvas .btn-close { filter: invert(1); opacity: 0.8; }

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-brand img {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  object-fit: contain;
}

.mobile-brand strong {
  font-family: 'Manrope', sans-serif;
  line-height: 1;
}

.mobile-nav { padding: 10px 24px 30px; }

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  color: #e8f1f1;
  min-height: 48px;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav .mobile-cta {
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 14px 18px;
  margin-top: 20px;
  border: 0;
  justify-content: center;
}

/* ---------- Buttons / shared ---------- */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 24px rgba(8, 124, 87, 0.16);
  min-height: 48px;
}

.btn-main:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark { background: var(--navy); box-shadow: 0 10px 24px rgba(7, 28, 36, 0.14); }

.btn-light-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 12px 20px;
  color: #fff;
  font-weight: 800;
  min-height: 48px;
}

.btn-light-outline:hover { background: #fff; color: var(--navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--green);
}

.eyebrow::before {
  content: '';
  width: 27px;
  height: 1px;
  background: currentColor;
}

.eyebrow.gold { color: var(--gold); }

.section { padding: var(--space-section) 0; }
.section-sm { padding: clamp(3.5rem, 6vw, 4.5rem) 0; }
.section-cream { background: var(--cream); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy); color: #fff; }

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 12px 0;
  color: inherit;
}

.section-dark .section-title { color: #fff; }

.lead {
  font-size: clamp(0.98rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  color: var(--muted);
}

.dark-copy { color: #b9cccf; line-height: 1.9; }

.kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--muted);
}

.rule { height: 1px; background: var(--line); }

/* ---------- Heroes ---------- */
.home-hero {
  min-height: min(86vh, 760px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 18, 24, 0.97) 0%, rgba(4, 18, 24, 0.84) 40%, rgba(4, 18, 24, 0.42) 72%, rgba(4, 18, 24, 0.28) 100%),
    url('../images/conference-group.jpg') center / cover;
}

.home-hero::after {
  content: '';
  position: absolute;
  width: min(620px, 80vw);
  height: min(620px, 80vw);
  border-radius: 50%;
  right: -20%;
  top: -28%;
  background: rgba(214, 165, 43, 0.12);
  pointer-events: none;
}

.hero-grid { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 6vw, 4rem); }

.home-hero h1 {
  font-size: clamp(1.95rem, 5.2vw, 3.85rem);
  line-height: 1.02;
  max-width: 18ch;
  margin: 16px 0;
}

.home-hero h1 span { color: var(--gold); }

.home-hero .hero-copy {
  max-width: 62ch;
  color: #d2dfe1;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-panel {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  flex-wrap: wrap;
}

.hero-panel .seal {
  width: 66px;
  height: 66px;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  object-fit: contain;
}

.hero-stat { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 18px; }
.hero-stat strong { font-family: 'Manrope', sans-serif; font-size: 1.25rem; }
.hero-stat span { display: block; color: #a8bec2; font-size: 0.73rem; margin-top: 2px; }

.hero-side-card {
  position: absolute;
  z-index: 3;
  right: max(1.25rem, 4vw);
  bottom: 8%;
  width: min(350px, calc(100% - 2.5rem));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 28, 36, 0.45);
  backdrop-filter: blur(18px);
  border-radius: 22px;
}

.hero-side-card .mini-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #afc1c5;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0e3b46 62%, #0a6550 100%);
  color: #fff;
  padding: clamp(3.25rem, 7vw, 4.75rem) 0 clamp(2.75rem, 6vw, 4.25rem);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -12%;
  top: -30%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: rgba(214, 165, 43, 0.1);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.08;
  margin: 12px 0;
  max-width: 22ch;
}

.page-hero p {
  max-width: 68ch;
  color: #c6d7d9;
  line-height: 1.75;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.breadcrumb {
  --bs-breadcrumb-divider: '›';
  margin: 22px 0 0;
  flex-wrap: wrap;
}

.breadcrumb-item,
.breadcrumb-item a { color: #a9c0c4; }
.breadcrumb-item.active { color: #fff; }

/* ---------- Cards / content ---------- */
.stat-strip { margin-top: -40px; position: relative; z-index: 5; }

.stat-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.stat-box strong {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.stat-box .accent { color: var(--green); }

.image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-card .overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
}

.image-card .overlay .tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d6a52b;
  font-weight: 800;
}

.image-card .overlay h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  margin: 7px 0 0;
}

.image-card.tall { min-height: clamp(320px, 55vw, 560px); }
.image-card.tall img { min-height: inherit; height: 100%; }
.image-card.short { height: 260px; }
.image-card.short img { height: 260px; }

.info-card {
  height: 100%;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #e8f6f0;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.info-card p { color: var(--muted); line-height: 1.75; margin: 0; }

.dark-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dark-card p { color: #b8cccf; }
.dark-card .icon-circle {
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold);
}

.program-card {
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 22px;
  background: linear-gradient(160deg, #fff 0%, #f3f7f5 100%);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.program-index {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.program-card h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.program-card p { color: var(--muted); line-height: 1.75; }
.program-icon { font-size: 1.7rem; color: var(--green); }

.role-list { counter-reset: role; }

.role-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid var(--line);
}

.role-item:last-child { border-bottom: 0; }

.role-no {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}

.role-item h3 { font-size: 1.1rem; margin: 0 0 7px; }
.role-item p { color: var(--muted); line-height: 1.75; margin: 0; }

.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 5px;
  width: 1px;
  background: #ccd8d7;
}

.timeline-item { position: relative; padding-bottom: 36px; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid #d9f0e7;
}

.timeline-item .year {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  font-weight: 800;
}

.timeline-item h3 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); margin: 8px 0; }
.timeline-item p { color: var(--muted); line-height: 1.8; margin: 0; }

.quote-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 26px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.quote-panel::after {
  content: '“';
  position: absolute;
  right: 24px;
  top: -28px;
  font-family: Georgia, serif;
  font-size: clamp(90px, 16vw, 160px);
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.quote-text {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.quote-meta {
  color: #9eb4b8;
  font-size: 0.78rem;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

/* ---------- News / events ---------- */
.story-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.story-image {
  height: clamp(180px, 28vw, 235px);
  position: relative;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.story-card:hover .story-image img { transform: scale(1.04); }

.story-type {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--green);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.story-body { padding: clamp(1.15rem, 2.5vw, 1.55rem); }

.story-date {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 800;
}

.story-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.25;
  margin: 10px 0;
}

.story-body p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.read-more {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.detail-cover {
  height: clamp(220px, 48vw, 520px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  line-height: 1.9;
  color: #465b61;
}

.article-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--navy);
  margin-top: 32px;
}

.article-body p { margin-bottom: 20px; }
.article-body ul { padding-left: 20px; }

.article-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.article-meta i { color: var(--green); }

.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}

.sidebar-card h4 { font-size: 1.05rem; }

.sidebar-list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.86rem;
}

.sidebar-list a:last-child { border-bottom: 0; }
.sidebar-list a:hover { color: var(--green); }

.gallery-grid {
  columns: 3 240px;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- Org / contact / footer ---------- */
.org-wrap {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 26px;
  background: var(--cream);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.org-node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  height: 100%;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
}

.org-node.primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.org-node span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.org-node.primary span { color: #a9bec2; }

.contact-panel {
  background: var(--navy);
  border-radius: 24px;
  color: #fff;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}

.contact-panel a { color: #d4e4e5; }
.contact-panel a:hover { color: var(--gold-soft); }

.form-control,
.form-select {
  border: 1px solid #d7e0de;
  border-radius: 13px;
  padding: 13px 14px;
  min-height: 48px;
  font-size: 1rem;
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(8, 124, 87, 0.12);
}

textarea.form-control { min-height: 140px; }

.footer {
  background: var(--navy-deep);
  color: #9db3b8;
  padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 13px;
  padding: 5px;
}

.footer-brand strong {
  font-family: 'Manrope', sans-serif;
  color: #fff;
  line-height: 1.05;
}

.footer-copy {
  line-height: 1.85;
  font-size: 0.88rem;
  max-width: 380px;
  margin-top: 20px;
}

.footer h5 {
  color: #fff;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  padding: 7px 0;
  font-size: 0.84rem;
  min-height: 36px;
}

.footer-links a:hover { color: #fff; }

.footer-contact { font-size: 0.84rem; line-height: 1.9; }
.footer-contact i { width: 18px; color: var(--gold); }

.socials {
  display: flex;
  gap: 9px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 18px;
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.floating-top {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.floating-top.show {
  opacity: 1;
  visibility: visible;
}

.floating-top:hover { transform: translateY(-2px); background: var(--green); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e7f5ef;
  color: var(--green);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.marquee {
  background: var(--green);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}

.marquee span {
  margin: 0 28px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Dynamic utilities */
.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  box-shadow: var(--shadow-sm);
}

.empty-state {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px dashed #c9d6d1;
  border-radius: 18px;
}

.empty-state p {
  margin: 0;
  line-height: 1.8;
  font-size: 1.02rem;
}

.event-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.event-date {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date strong {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
}

.event-date span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  color: #b9cccf;
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .desktop-nav .nav-link {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 0.74rem;
  }

  .nav-cta { padding: 10px 13px; font-size: 0.72rem; }
  .brand-title { font-size: 0.84rem; }
}

@media (max-width: 1099.98px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-main { min-height: 72px; }
  :root { --header-h: 72px; }
}

@media (max-width: 991.98px) {
  .home-hero { min-height: min(78vh, 640px); }
  .hero-side-card { display: none !important; }
  .stat-strip { margin-top: 0; padding-top: 1.25rem; }
  .gallery-grid { columns: 2 180px; }
}

@media (max-width: 767.98px) {
  .utility-inner { justify-content: space-between; }
  .utility-left { font-size: 0.68rem; gap: 8px; }
  .utility-right span:not(.utility-login),
  .utility-right a:not(.utility-login) { display: none; }
  .utility-right { gap: 8px; }

  .brand-logo { width: 46px; height: 46px; }
  .brand-title { font-size: 0.76rem; }
  .brand-sub { font-size: 0.54rem; letter-spacing: 0.1em; }

  .home-hero { min-height: auto; padding-bottom: 3.5rem; }
  .hero-stat { border-left: 0; padding-left: 0; min-width: 40%; }
  .scroll-cue { display: none; }

  .gallery-grid { columns: 2 140px; column-gap: 12px; }

  .role-item { grid-template-columns: 54px 1fr; gap: 12px; }
  .role-no { width: 42px; height: 42px; font-size: 0.85rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .event-row { grid-template-columns: 1fr; }
  .event-date {
    min-height: auto;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: baseline;
  }
}

@media (max-width: 575.98px) {
  .container { width: min(100% - 1.5rem, var(--container)); }

  .utility-left span:first-child { max-width: 100%; }

  .btn-main,
  .btn-light-outline {
    width: 100%;
    justify-content: center;
  }

  .home-hero .d-flex.flex-wrap.gap-3 {
    width: 100%;
  }

  .gallery-grid { columns: 1; }
  .contact-panel { border-radius: 20px; }
  .org-wrap { padding: 1rem; }
  .image-card.short { height: 200px; }
  .image-card.short img { height: 200px; }
  .marquee span { margin: 0 18px; font-size: 0.66rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
