:root {
  --navy: #052a5f;
  --navy-2: #071a3d;
  --green: #087a39;
  --green-2: #0fa35a;
  --gold: #d59a13;
  --gold-2: #f0b429;
  --ink: #102033;
  --muted: #667085;
  --white: #ffffff;
  --paper: #f6f8fb;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(5, 42, 95, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html,
body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(5, 42, 95, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 34px rgba(5, 42, 95, 0.1);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-color: rgba(5, 42, 95, 0.1);
  box-shadow: 0 12px 40px rgba(5, 42, 95, 0.12);
}
.nav {
  width: min(1200px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(5, 42, 95, 0.16);
}
.brand strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}
.brand small {
  display: block;
  max-width: 220px;
  margin-top: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}
.nav-links a {
  position: relative;
  padding: 9px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--green);
  transform: translateY(-1px);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(5, 42, 95, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 104px 0; }
.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 61, 0.98), rgba(5, 42, 95, 0.95)),
    radial-gradient(circle at 85% 20%, rgba(213, 154, 19, 0.28), transparent 34%);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 64px;
  align-items: center;
}
.reverse { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}
.section-head h2,
.section-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}
.dark .section-head h2,
.dark .section-copy h2 { color: var(--white); }
.section-head p:not(.eyebrow),
.section-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.dark .section-head p:not(.eyebrow),
.dark .section-copy p { color: rgba(255, 255, 255, 0.74); }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 130px 0 72px;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 44%, rgba(255,255,255,0.3) 100%),
    url("../img/image2.jpeg") center/cover;
  transform: scale(1.03);
}
.hero-shade {
  background:
    radial-gradient(circle at 18% 22%, rgba(15, 163, 90, 0.16), transparent 32%),
    radial-gradient(circle at 76% 74%, rgba(213, 154, 19, 0.16), transparent 28%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}
.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6.6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}
.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #344054;
  font-size: clamp(17px, 2vw, 22px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--navy));
  box-shadow: 0 18px 42px rgba(8, 122, 57, 0.24);
}
.btn-light {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(5, 42, 95, 0.18);
}
.btn-outline-dark {
  color: var(--navy);
  border-color: rgba(5, 42, 95, 0.22);
  background: var(--white);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}
.hero-stats span {
  padding: 16px;
  border: 1px solid rgba(5, 42, 95, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-weight: 800;
}
.hero-stats strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}
.hero-stats b {
  font: inherit;
}
.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-panel img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.intro-band {
  padding: 34px 0;
  background: var(--navy);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.intro-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}
.intro-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.intro-icon {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.intro-card:hover .intro-icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}
.intro-card span {
  color: var(--gold-2);
  font-weight: 950;
  text-transform: uppercase;
}
.intro-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.who-card,
.partner-panel,
.benefit-card,
.media-card,
.contact-form {
  padding: 30px;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.section-image,
.wide-section-image,
.dark-strip-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(5, 42, 95, 0.12);
}
.inline-visual {
  margin: 24px 0 6px;
}
.wide-section-image,
.dark-strip-image {
  margin-bottom: 28px;
}
.section-image img,
.wide-section-image img,
.dark-strip-image img,
.card-image,
.list-image,
.portal-image {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: initial;
  background: transparent;
  transition: filter 0.35s ease;
}
.wide-section-image img,
.dark-strip-image img {
  height: 430px;
  max-height: none;
  object-fit: contain;
  background: linear-gradient(135deg, #eef4fb, #ffffff);
}
.wide-section-image img[src*="values-icons"],
.wide-section-image img[src*="additional-themes"],
.dark-strip-image img[src*="mission-vision"],
.dark-strip-image img[src*="chapters-map"] {
  height: auto;
  max-height: none;
  object-fit: initial;
  background: transparent;
}
.card-image {
  max-height: 330px;
  margin: -30px -30px 24px;
  width: calc(100% + 60px);
}
.list-image {
  max-height: 360px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(5, 42, 95, 0.1);
}
.portal-image {
  grid-column: 1 / -1;
  max-height: 340px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}
.section-image:hover img,
.wide-section-image:hover img,
.dark-strip-image:hover img,
.who-card:hover .card-image,
.partner-panel:hover .card-image,
.media-card:hover .card-image,
.event-list:hover .list-image,
.portal-grid:hover .portal-image {
  filter: saturate(1.08) contrast(1.04);
}
.wide-section-image,
.dark-strip-image,
.who-card,
.partner-panel,
.media-card,
.event-list,
.portal-grid,
.impact-card,
.value-card,
.chapter-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.wide-section-image:hover,
.dark-strip-image:hover,
.who-card:hover,
.partner-panel:hover,
.media-card:hover,
.event-list:hover,
.portal-grid:hover {
  transform: translateY(-5px);
}
.dark-strip-image {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.dark-strip-image img {
  opacity: 0.92;
}
.who-card h3,
.partner-panel h3,
.benefit-card h3,
.media-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
}
.who-card p,
.media-card p {
  margin: 12px 0 0;
  color: var(--muted);
}
.media-card .card-image {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: auto;
  max-height: none;
  margin: -30px -30px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.pill-grid,
.partner-list,
.event-list,
.category-list,
.portal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill-grid span,
.partner-list span,
.event-list span,
.category-list span,
.portal-grid span {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid #dce3ee;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.values-section,
.events,
.visual-gallery,
.contact {
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.gallery-card {
  margin: 0;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(5, 42, 95, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(5, 42, 95, 0.14);
}
.gallery-card img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: initial;
  background: transparent;
  transition: filter 0.35s ease;
}
.gallery-card:hover img {
  filter: saturate(1.08) contrast(1.04);
}
.gallery-card figcaption {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 900;
}
.impact-section {
  background:
    linear-gradient(180deg, #ffffff, #f6f8fb),
    var(--white);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.impact-card {
  min-height: 292px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(5, 42, 95, 0.08);
}
.impact-card strong {
  display: block;
  color: var(--green);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
}
.impact-card h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}
.impact-card p {
  margin: 0;
  color: var(--muted);
}
.faq-section {
  background: var(--white);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(5, 42, 95, 0.06);
  overflow: hidden;
}
.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 20px 52px 20px 20px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 950;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-list details[open] summary::after {
  content: "-";
  background: var(--gold);
  transform: translateY(-50%) rotate(180deg);
}
.faq-list p {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--muted);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.value-card,
.objective,
.chapter-card {
  border-radius: var(--radius);
}
.value-card {
  min-height: 226px;
  padding: 26px;
  border: 1px solid #e1e7f0;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(5, 42, 95, 0.08);
}
.value-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.value-icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(5, 42, 95, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.value-card:hover .value-icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 30px rgba(5, 42, 95, 0.22);
}
.value-card span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
}
.value-card h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 22px;
}
.value-card p {
  margin: 0;
  color: var(--muted);
}

.objective-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.objective {
  min-height: 132px;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
}
.chapter-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}
.chapter-card h3 {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-size: 22px;
}
.chapter-card ul,
.benefit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.chapter-card li,
.benefit-card li {
  position: relative;
  padding-left: 22px;
}
.chapter-card li::before,
.benefit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.chapter-card li { color: rgba(255, 255, 255, 0.78); }
.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}
.event-list {
  margin-top: 0;
  padding: 18px;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(5, 42, 95, 0.08);
}
.event-list span {
  border-color: rgba(8, 122, 57, 0.18);
  background: #effaf4;
  color: var(--green);
}
.media-card .btn { margin-top: 20px; }
.membership {
  background:
    linear-gradient(135deg, rgba(5, 42, 95, 0.06), rgba(8, 122, 57, 0.08)),
    var(--white);
}
.benefit-card li {
  color: var(--muted);
  font-weight: 750;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}
.portal-grid span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}
.contact-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.contact-boxes > a,
.contact-boxes > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: var(--white);
}
.contact-boxes .wide {
  grid-column: 1 / -1;
}
.contact-boxes strong { color: var(--navy); }
.contact-boxes span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}
.email-list {
  display: grid;
  gap: 4px;
}
.email-list a {
  color: var(--green);
  font-weight: 850;
}
.contact-inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: #263142;
  font-size: 14px;
  font-weight: 850;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #101828;
  border: 1px solid #d7deea;
  border-radius: var(--radius);
  background: #fbfcfe;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(8, 122, 57, 0.16);
  border-color: var(--green);
}
.form-success {
  padding: 14px;
  border-radius: var(--radius);
  color: #116138;
  background: #eef9f2;
  font-weight: 850;
}

.footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy-2);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer p { margin: 0; }
.footer a { color: var(--white); font-weight: 850; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(54px);
  transition: opacity 1.15s ease, transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portal-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(5, 42, 95, 0.05), rgba(8, 122, 57, 0.08)),
    #f7f9fc;
}
.portal-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 850;
}
.portal-nav-links a {
  position: relative;
  color: var(--navy);
  transition: color 0.22s ease, transform 0.22s ease;
}
.portal-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.portal-nav-links a:hover,
.portal-nav-links a:focus-visible {
  color: var(--green);
  transform: translateY(-2px);
}
.portal-nav-links a:hover::after,
.portal-nav-links a:focus-visible::after,
.portal-nav-links a.is-active::after,
.portal-nav-links a:visited::after {
  transform: scaleX(1);
}
.portal-nav-links a:visited {
  color: #5c3f99;
}
.portal-nav-links a.is-active {
  color: var(--green);
}
.portal-main { padding: 142px 0 72px; }
.portal-shell { max-width: 1060px; margin: 0 auto; }
.portal-shell.narrow { max-width: 620px; }
.portal-card {
  padding: 32px;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(5, 42, 95, 0.09);
}
.portal-card h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.portal-card p { color: var(--muted); }
.portal-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}
.portal-alert.success { color: #066335; background: #e9f9f0; border: 1px solid #bcebcf; }
.portal-alert.error { color: #9b1c1c; background: #fff0f0; border: 1px solid #ffc9c9; }
.portal-alert.info { color: var(--navy); background: #eef6ff; border: 1px solid #cfe6ff; }
.portal-form {
  display: grid;
  gap: 16px;
}
.profile-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-form label {
  display: grid;
  gap: 7px;
  color: #263142;
  font-size: 14px;
  font-weight: 850;
}
.portal-form .full,
.provider-row,
.portal-form button,
.portal-secondary-btn { grid-column: 1 / -1; }
.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #101828;
  border: 1px solid #d7deea;
  border-radius: var(--radius);
  background: #fbfcfe;
}
.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  outline: 3px solid rgba(8, 122, 57, 0.16);
  border-color: var(--green);
}
.provider-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.provider-option { cursor: pointer; }
.provider-option input { position: absolute; opacity: 0; }
.provider-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid #d7deea;
  border-radius: var(--radius);
  color: var(--navy);
  background: #fbfcfe;
  font-weight: 950;
}
.provider-option input:checked + span {
  color: var(--white);
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green), var(--navy));
}
.provider-logo {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--white);
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(5, 42, 95, 0.12);
}
.provider-email::before {
  content: "@";
  color: var(--green);
}
.provider-google::before {
  content: "G";
  color: #4285f4;
}
.provider-facebook::before {
  content: "f";
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}
.oauth-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #bcebcf;
  border-radius: var(--radius);
  color: #066335;
  background: #e9f9f0;
  font-weight: 850;
}
.oauth-preview img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
}
.portal-note { margin-top: 16px; font-weight: 750; }
.portal-note a,
.portal-alert a { color: var(--green); font-weight: 950; }
.profile-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.avatar-wrap,
.member-mini img,
.member-mini > span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: var(--white);
  font-size: 34px;
  font-weight: 950;
}
.avatar-wrap img,
.member-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}
.status-pending { color: #7c4d00; background: #fff5d7; }
.status-inprocess { color: #073f8c; background: #e4f0ff; }
.status-approve { color: #066335; background: #e4f8ed; }
.status-reject { color: #9b1c1c; background: #ffe5e5; }
.remarks-box {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #ffc9c9;
  border-radius: var(--radius);
  background: #fff5f5;
}
.remarks-box strong { color: #9b1c1c; }
.remarks-box p { margin: 8px 0 0; }
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.profile-field {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: #fbfcfe;
}
.profile-field strong { color: var(--navy); }
.profile-field span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}
.member-table-wrap { overflow-x: auto; margin-top: 22px; }
.member-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}
.member-table th,
.member-table td {
  vertical-align: top;
  padding: 16px;
  border-bottom: 1px solid #e1e7f0;
  text-align: left;
}
.member-table th {
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
}
.member-table td {
  color: var(--muted);
  font-weight: 750;
}
.member-table td > strong,
.member-table td span,
.member-table td small { display: block; }
.member-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.member-mini img,
.member-mini > span {
  width: 54px;
  height: 54px;
  font-size: 20px;
  flex: 0 0 54px;
}
.member-mini strong { color: var(--navy); }
.admin-action-form {
  display: grid;
  gap: 10px;
  min-width: 230px;
}
.admin-action-form select,
.admin-action-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7deea;
  border-radius: var(--radius);
  background: #fbfcfe;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(5, 42, 95, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-grid,
  .split,
  .reverse,
  .events-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .value-grid,
  .impact-grid,
  .gallery-grid,
  .objective-grid,
  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav { min-height: 74px; }
  .brand img { width: 48px; height: 48px; }
  .brand small { max-width: 170px; font-size: 10px; }
  .hero { padding-top: 108px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats,
  .intro-grid,
  .value-grid,
  .impact-grid,
  .gallery-grid,
  .objective-grid,
  .chapter-grid,
  .partner-list,
  .portal-grid,
  .contact-boxes {
    grid-template-columns: 1fr;
  }
  .section { padding: 72px 0; }
  .hero-panel img { height: 300px; }
  .wide-section-image img,
  .dark-strip-image img,
  .wide-section-image img[src*="values-icons"],
  .wide-section-image img[src*="additional-themes"],
  .dark-strip-image img[src*="mission-vision"],
  .dark-strip-image img[src*="chapters-map"] {
    height: 260px;
  }
  .wide-section-image img[src*="values-icons"],
  .wide-section-image img[src*="additional-themes"],
  .dark-strip-image img[src*="mission-vision"],
  .dark-strip-image img[src*="chapters-map"] {
    height: auto;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-main { padding: 104px 0 54px; }
  .portal-card { padding: 22px; }
  .portal-nav-links { gap: 12px; font-size: 13px; }
  .profile-form,
  .profile-grid,
  .provider-row {
    grid-template-columns: 1fr;
  }
  .profile-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .member-table { min-width: 860px; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .hero-copy h1 { font-size: 36px; }
  .section-head h2,
  .section-copy h2 { font-size: 31px; }
  .who-card,
  .partner-panel,
  .benefit-card,
  .media-card,
  .contact-form { padding: 22px; }
  .card-image {
    margin: -22px -22px 20px;
    width: calc(100% + 44px);
  }
  .media-card .card-image {
    width: calc(100% + 44px);
    margin: -22px -22px 20px;
  }
}
