@import url('https://fonts.googleapis.com/css2?family=Inclusive+Sans:wght@400;600;700&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #0c2b4e;          /* primary background/footer, headings */
  --deep-blue: #2c4484;      /* buttons, gradients */
  --royal-blue: #143474;     /* gradients/accents */
  --light-blue: #ACCCE4;     /* surfaces, chips */
  --neutral-gray: #d4d4dc;   /* dividers, meta */
  --gold: #fccc1c;           /* optional accent */
  --magenta: #e44c9c;        /* optional accent */
  --bg: #ffffff;
  --text: #0b1a33;
  --max-w: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 35, 75, 0.18);
  --focus: 0 0 0 3px rgba(172, 204, 228, 0.8), 0 0 0 5px rgba(36, 60, 100, 0.45);
  /* Shared blob clip paths (percentage-based, scales with box) */
  --blob-clip: path(
    "M 40% 10% C 50% 0% 50% 0% 60% 10% C 70% 20% 80% 30% 90% 40% C 100% 50% 100% 50% 90% 60% C 80% 70% 70% 80% 60% 90% C 50% 100% 50% 100% 40% 90% C 30% 80% 20% 70% 10% 60% C 0% 50% 0% 50% 10% 40% Z"
  );
  --blob-clip-hover: path(
    "M 0 0 C 50% 0 50% 0 100% 0 C 100% 25% 100% 25% 100% 40% C 100% 50% 100% 50% 100% 60% C 100% 75% 100% 75% 100% 100% C 50% 100% 50% 100% 0 100% C 0 75% 0 75% 0 60% C 0 50% 0 50% 0 40% Z"
  );
  /* Speaker-only blob path (percentage-based; scales with container) */
  --speaker-blob: path(
    "M 40% 10% C 50% 0% 50% 0% 60% 10% C 70% 20% 80% 30% 90% 40% C 100% 50% 100% 50% 90% 60% C 80% 70% 70% 80% 60% 90% C 50% 100% 50% 100% 40% 90% C 30% 80% 20% 70% 10% 60% C 0% 50% 0% 50% 10% 40% Z"
  );
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.headline {
  margin: 0;
  color: inherit;
  font-family: "Inclusive Sans", Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.body-text {
  font-family: "Public Sans", Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-size: 1rem;
  color: rgba(11, 26, 51, 0.88);
  line-height: 1.7;
  margin: 0 0 1rem;
}

/* Utilities */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
a { color: var(--deep-blue); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
/* Prevent browser scroll-anchoring from causing a small jump on load */
html, body, .hero { overflow-anchor: none; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 54px;
  display: flex; align-items: center;
  z-index: 1000;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
  background: none;
  background-color: transparent;
  backdrop-filter: none;
}
.header--solid {
  background: #0c2b4e !important;
  background-color: #0c2b4e !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
}
.has-scrolled .header {
  background: #0c2b4e !important;
  background-color: #0c2b4e !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header__brand { display: flex; align-items: center; gap: 0; color: #fff; font-weight: 700; letter-spacing: .3px; }
.header__brand span[aria-label="Muslim Professionals Network"] { margin-left: -5px; }
.header__logo { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; display: block; }
.header__nav { display: none; align-items: center; gap: 18px; }
.header__nav a { color: #f4f4f4; opacity: .95; font-weight: 500; }
.header__nav a { position: relative; padding-bottom: 6px; }
/* Navbar hover/active underline pulse (scaleY reveal) */
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: #f4f4f4;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .25s ease;
  border-radius: 2px;
}
.header__nav a:hover::after,
.header__nav a.-active::after { transform: scaleY(1); }
.header__right { display: flex; align-items: center; gap: 10px; }
.lang-toggle-wrap { display: none !important; }
.b-lang { display: none !important; }
.lang-label { display:none; }
/* Toggle (skewed) minimal, transparent background */
.tgl { display: none; }
.tgl + .tgl-btn {
  outline: 0;
  display: inline-block;
  width: 4.2em; height: 2em;
  position: relative; cursor: pointer; user-select: none;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; background: transparent;
  transition: all .25s ease; color: #fff;
}
.tgl + .tgl-btn:before, .tgl + .tgl-btn:after {
  position: absolute; top: 0; width: 50%; height: 100%; line-height: 2em;
  text-align: center; font-weight: 700; font-size: .75em; letter-spacing: .5px;
  content: ""; transition: all .25s ease;
}
.tgl + .tgl-btn:before { content: attr(data-tg-off); left: 0; }
.tgl + .tgl-btn:after  { content: attr(data-tg-on); left: 100%; }
.tgl:checked + .tgl-btn:before { left: -100%; }
.tgl:checked + .tgl-btn:after  { left: 0; }
.tgl-skewed + .tgl-btn { transform: skew(-10deg); overflow: hidden; }
.tgl-skewed + .tgl-btn:before, .tgl-skewed + .tgl-btn:after { transform: skew(10deg); }
.tgl + .tgl-btn:focus-visible { box-shadow: 0 0 0 3px rgba(172,204,228,.85), 0 0 0 6px rgba(36,60,100,.45); }

/* iOS style toggle (transparent track), knob slides left/right */
.tgl-ios + .tgl-btn {
  padding: 2px; border-radius: 2em; background: transparent;
}
/* Remove text labels for iOS look */
.tgl-ios + .tgl-btn:before { content: none; }
.tgl-ios + .tgl-btn:after { content: ""; left: 0; width: 50%; height: 100%;
  background: linear-gradient(135deg, var(--deep-blue), var(--royal-blue)); border-radius: 2em;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.15);
  transition: left .3s cubic-bezier(0.175, 0.885, 0.320, 1.275);
  z-index: 1;
}
.tgl-ios:checked + .tgl-btn { background: transparent; }
.tgl-ios:checked + .tgl-btn:after { left: 50%; }

/* Text inside the toggle */
.tgl-ios + .tgl-btn .txt {
  position: absolute; top: 0; height: 100%; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; opacity: .55; letter-spacing: .3px;
  pointer-events: none; width: 50%;
  z-index: 2; /* keep above the sliding knob */
}
.tgl-ios + .tgl-btn .txt-off { left: 0; }
.tgl-ios + .tgl-btn .txt-on { right: 0; }
.tgl-ios:checked + .tgl-btn .txt-on { opacity: 1; }
.tgl-ios:not(:checked) + .tgl-btn .txt-off { opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 999px; padding: 10px 16px; font-weight: 600; cursor: pointer; text-decoration: none; margin: 0; }
.btn--primary { background: linear-gradient(135deg, var(--deep-blue), var(--royal-blue)); color: #fff; position: relative; box-shadow: 0 6px 18px rgba(20, 52, 116, 0.28); transition: box-shadow .2s ease; }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.btn--primary:hover::before { animation: hero-pulse 2s infinite; }
.btn--primary:focus-visible::before { animation: hero-pulse 2s infinite; }
.btn--primary:focus-visible { box-shadow: 0 0 0 3px rgba(172, 204, 228, 0.85), 0 0 0 6px rgba(36, 60, 100, 0.45); }

.btn--outline { background: #fff; color: var(--navy); border: 1px solid var(--neutral-gray); }

/* Burger navigation */
.b-container { display: none; }
.b-nav { display: none; }

@media (max-width: 900px) {
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  z-index: 1100;
  pointer-events: none;
}

body.open::after {
  opacity: 0;
  visibility: hidden;
}

  body.open { overflow: hidden; }

  .header__nav { display: none; }

  .b-container {
    position: fixed;
    top: clamp(18px, 4vw, 26px);
    right: clamp(18px, 5vw, 30px);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1400;
    cursor: pointer;
  }


  

  .b-brand {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .b-brand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
  }


  .b-menu {
    width: 40px;
    height: 32px;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 0;
    cursor: pointer;
  }

  .b-menu:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
  }

  .b-bun {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 999px;
    transition: transform .35s ease, opacity .35s ease;
  }

  .b-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: clamp(240px, 70%, 280px);
    background: #fff;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.18);
    transform: translateX(-110%);
    transition: transform .4s ease;
    z-index: 1350;
    pointer-events: none;
    overflow-y: auto;
  }

  .b-container.open .b-bun:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .b-container.open .b-bun:nth-child(2) { opacity: 0; }
  .b-container.open .b-bun:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .b-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .b-nav ul {
    list-style: none;
    margin: 0;
    padding: 110px 28px 28px;
    display: grid;
    gap: 18px;
  }

  .b-lang {
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(36, 60, 100, 0.1);
  }

  .b-lang .lang-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .b-lang .tgl + .tgl-btn {
    border-color: #878787;
    background: rgba(135, 135, 135, 0.18);
  }

  .b-lang .tgl + .tgl-btn .txt {
    color: #fff;
  }

  .b-link {
    display: block;
    color: var(--navy);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    padding-left: 12px;
    border-left: 3px solid transparent;
    transition: padding .3s ease, border-color .3s ease, color .3s ease;
  }

  .b-link:hover,
  .b-link--active {
    border-left-color: var(--royal-blue);
    padding-left: 20px;
    color: var(--royal-blue);
  }
}

/* Floating social links */
.floating-social {
  position: fixed;
  top: 50%;
  right: clamp(12px, 2vw, 32px);
  transform: translateX(120%) translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s ease, opacity .4s ease;
  z-index: 1200;
}

.floating-social.-visible {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
  pointer-events: auto;
}

.floating-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.floating-social li a {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, #ddd, #fff);
  border-radius: 50%;
  box-shadow: 0 8px 12px rgba(0,0,0,0.28);
  transition: box-shadow .35s ease, transform .3s ease;
}

.floating-social li a:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.floating-social li img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 720px) {
  .floating-social {
    display: none;
  }
}

/* Mobile nav (simple) */
.menu-toggle { display: inline-flex; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; }
.drawer { position: fixed; inset: 0 0 0 auto; width: 86%; max-width: 360px; transform: translateX(102%); transition: transform .25s ease; background: var(--navy); color: #fff; z-index: 1200; display: flex; flex-direction: column; padding: 16px; gap: 8px; }
.drawer.open { transform: translateX(0); }
.drawer a { color: #fff; padding: 12px 12px; border-radius: 10px; }
.drawer a:hover { background: rgba(255,255,255,.08); }
.drawer__header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }

/* Hero */
.hero { position: relative; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; color: #fff; background-image: url('images/w13.JPG'); background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.hero__bg { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: swirl 18s linear infinite; }
  @keyframes swirl { to { transform: rotate(1turn); } }
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-rows: 1fr auto; }

/* Keep header CTA size static regardless of text length */
.header .btn--primary {
  width: 132px;              /* fixed width */
  min-width: 132px;
  justify-content: center;   /* center the label */
  white-space: nowrap;       /* prevent wrapping */
  display: none !important;  /* hide without removing from DOM */
}
/* Decorative rotating shape inside hero */
.hero-shape { position: absolute; right: 0; top: 50%; height: 90%; width: auto; transform: translate(calc(50% - 50vw), -50%); transform-origin: 50% 50%; opacity: 0; pointer-events: none; animation: shape-fade .5s ease .5s forwards, shape-move 1s ease 1s forwards, shape-rotate 25s linear 2s infinite; z-index: 0; will-change: transform, opacity; contain: paint; }
@keyframes shape-fade { from { opacity: 0; } to { opacity: 0.2; } }
@keyframes shape-move { from { transform: translate(calc(50% - 50vw), -50%); } to { transform: translate(50%, -50%); } }
@keyframes shape-rotate { from { transform: translate(50%, -50%) rotate(0deg); } to { transform: translate(50%, -50%) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none !important; opacity: 0.2; transform: translate(50%, -50%); }
}
.hero--no-shape .hero-shape { display: none !important; }
.hero--about { background-image: url('images/about-hero.JPG') !important; background-size: cover; background-position: center; }
.hero__top { display: flex; justify-content: flex-end; padding-top: 90px; }
.hero__socials { display: flex; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.icon-btn:hover { background: rgba(255,255,255,.2); }
.hero__content { display: grid; gap: 18px; padding: 74px 0 40px; align-self: center; }
/* Staggered content fade-in after shape fade completes */
.hero__title--stack { opacity: 0; animation: hero-content-fade .6s ease 2s forwards; }
.hero__sub { opacity: 0; animation: hero-content-fade .6s ease 2.2s forwards; }
.hero__ctas .btn { opacity: 0; animation: hero-content-fade .6s ease 2.4s forwards; }
/* Hint browser for smoother transforms */
.hero__title--stack, .hero__sub, .hero__ctas .btn { will-change: opacity, transform; }
@keyframes hero-content-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero__title--stack, .hero__sub, .hero__ctas .btn { animation: none !important; opacity: 1; transform: none; }
}
.hero__title { font-size: clamp(28px, 6vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.3px; }
.hero__title--stack { display: inline-grid; grid-auto-rows: min-content; gap: 4px; text-align: left; font-size: clamp(48px, 10.5vw, 96px); margin-top: 0; margin-bottom: calc(18px * -0.2); }
.hero__title--stack span { display: block; }
.hero__sub { color: #e7eef8; max-width: 650px; font-size: clamp(16px, 2.6vw, 18px); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
      

/* Principles */
section { padding: 64px 0; }
.section__title { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0 0 20px; }
.section__sub { color: #3a4b6d; margin: 0 0 24px; }
.principles__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: #fff; border: 1px solid var(--neutral-gray); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover .principle__icon { transform: scale(1.08); }
.principle__icon { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--light-blue), #dfeaf5); color: var(--royal-blue); }
.card__title { font-size: 20px; color: var(--navy); margin: 10px 0 6px; font-weight: 700; }
.card__text { color: #3f4e6a; margin: 0 0 10px; }
.card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--royal-blue); font-weight: 600; }
.card__cta svg { transition: transform .15s ease; }
.card:hover .card__cta svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .card, .card * { transition: none !important; } }

/* Vision & Mission (angled two-column) */
.vm { background: none; border: none; }
.vm-angled { padding: 40px 0; position: relative; --vm-band: clamp(140px, 14vw, 260px); }
.vm-angled::before {
  content: "";
  position: absolute;
  inset: 0; /* cover the whole section */
  pointer-events: none;
  /* Central white diagonal band: top-right -> bottom-left */
  background: linear-gradient(
    to bottom left,
    transparent calc(50% - calc(var(--vm-band) / 2)),
    #ffffff calc(50% - calc(var(--vm-band) / 2)) calc(50% + calc(var(--vm-band) / 2)),
    transparent calc(50% + calc(var(--vm-band) / 2))
  );
  z-index: 1;
}
.vm-angled__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.vm-pane { position: relative; min-height: 420px; padding: 56px 42px; overflow: hidden; display: grid; align-content: center; justify-items: start; gap: 14px; color: #fff; z-index: 0; }
.vm-pane > * { position: relative; z-index: 2; }
.vm-pane .vm__title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; margin: 0 0 8px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: #fff; }
.vm-pane .vm__text { max-width: 560px; margin: 0; color: #fff; font-size: clamp(14px, 1.6vw, 18px); }

/* Left: Vision (dark) */
.vm-pane--vision { background: #003366; border-top-left-radius: 28px; border-bottom-left-radius: 80px; }
/* Remove previous per-pane wedge; central band now handled on container */
.vm-pane--vision::after { content: none; }
.vm-pane__icon { width: 72px; height: 72px; opacity: .95; }
.vm-pane__icon--eye { position: absolute; left: 28px; bottom: 22px; background: #ffffff; -webkit-mask: url('images/eye.png') center / contain no-repeat; mask: url('images/eye.png') center / contain no-repeat; }

/* Right: Mission (light) */
.vm-pane--mission { background: #E0E0E0; border-top-right-radius: 80px; border-bottom-right-radius: 28px; color: #fff; }
.vm-pane--mission::before { content: none; }
.vm-pane__icon--target { position: absolute; right: 28px; top: 22px; background: #003366; -webkit-mask: url('images/target.png') center / contain no-repeat; mask: url('images/target.png') center / contain no-repeat; }

/* Mission text should contrast with the light background */
.vm-pane--mission .vm__title,
.vm-pane--mission .vm__text { color: #003366; }

/* Accessibility note: If you prefer stronger contrast on the light panel,
   set .vm-pane--mission .vm__title, .vm-pane--mission .vm__text { color: #003366; } */

@media (max-width: 900px) {
  .vm-angled__grid { grid-template-columns: 1fr; gap: 20px; }
  .vm-pane { min-height: auto; padding: 32px 22px 68px; border-radius: 14px; }
  /* Simplify angles on small screens for readability */
  .vm-pane--vision::after, .vm-pane--mission::before { display: none; }
  .vm-angled::before { display: none; }
  .vm-pane__icon--eye { left: 18px; bottom: 14px; }
  .vm-pane__icon--target { right: 18px; top: 14px; }
}

/* Vision/Mission exact spec (clip-path overlap) */
.vision-mission-container {
  display: flex;
  flex-direction: column; /* match mobile layout across sizes */
  gap: 0; /* no visual gap between panels */
  width: 100%;
  min-height: unset;
  overflow: visible;
  align-items: stretch;
  background: none;
}
.vision-section,
.mission-section {
  flex: 1 1 auto;
  position: relative;
  /* Responsive internal spacing */
  padding: clamp(32px, 6vw, 80px) clamp(20px, 6vw, 72px);
  display: flex;
  align-items: center; /* vertical centering of content */
}

/* Left panel — Vision background gradient */
.vision-section {
  background: #0c2b4e;
  color: #f4f4f4;
}
.vision-section .headline,
.vision-section .body-text {
  color: #f4f4f4;
}

/* Right panel — solid light grey, diagonal on the left */
.mission-section {
  background: #E8EBEF;
  clip-path: none;
  margin-left: 0;
  color: #002D62;
  border-radius: 0;
}
.mission-section .content-wrapper h2,
.mission-section .content-wrapper p { color: #002D62; }

.vision-mission-container .content-wrapper {
  position: relative;
  z-index: 2; /* sit above shapes */
  width: 100%;
  max-width: min(1100px, 100%); /* center block width for balance */
  margin-inline: auto;
  display: grid; /* base spacing on mobile */
  gap: clamp(10px, 1.5vw, 16px);
  place-items: center;           /* center items within their cells */
  text-align: center;            /* center text lines */
}

.vision-mission-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0; /* rely on grid gaps */
  letter-spacing: .3px;
}
.vision-mission-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0; /* rely on grid gaps */
  max-width: calc(42ch + 10px);
}

/* Title/text placement inside each panel */
@media (min-width: 700px) {
  /* --- REPLACEMENT CODE --- */

  /* 1. Make the wrapper a flex container */
  .vision-mission-container .content-wrapper {
    display: flex;
    gap: clamp(24px, 4vw, 56px);
    align-items: center; /* This is the key for vertical centering */
  }

  /* 2. Make children share the space equally */
  .vision-mission-container .content-wrapper > * {
    flex: 1;
  }

  /* 3. Keep your original visual order */
  .vision-section .content-wrapper p { order: 1; justify-self: center; }
  .vision-section .content-wrapper h2 { order: 2; justify-self: center; }
  .mission-section .content-wrapper h2 { order: 1; justify-self: center; }
  .mission-section .content-wrapper p { order: 2; justify-self: center; }

  /* Ensure both panels share the exact same height */
  .vision-section, .mission-section {
    min-height: clamp(252px, 33.6vh, 392px); /* reduced by ~30% */
    height: clamp(252px, 33.6vh, 392px);
  }
}

/* Icons */
.icon { position: absolute; z-index: 1; width: 80px; height: auto; }
.mission-icon { top: 3.5rem; right: 6rem; }

/* Responsive */
@media (max-width: 991.98px) {
  .vision-section, .mission-section { padding: 2.25rem 1.5rem; }
  .vision-mission-container .content-wrapper { max-width: none; }
  /* Reposition Mission icon for stacked layout */
  .mission-icon {
    position: relative; float: right; top: 0; right: 0; margin-bottom: 1rem;
  }
}

/* Our Story (2-column layout + gallery) */
.story { padding-bottom: 0; }
.story__grid, .event__grid { display: grid; gap: 20px; align-items: start; }
/* Reduce gap between Our Story and VM to 30px */
.story + .vm { padding-top: 30px; }
@media (min-width: 900px) { .story__grid, .event__grid { grid-template-columns: 1fr 1.25fr; gap: 38px; } }
.story__intro .section__sub { max-width: 620px; }
/* Speakers block under Our Story */
.story__speakers { margin-top: 16px; width: 100%; }
.story__speakers-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  position: relative;
  display: inline-block;
}
.story__speakers-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #143474, #1c698c);
  border-radius: 999px;
}
.story-speakers__grid {
  --gap: 8px; /* reduced spacing between items */
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: var(--gap);
  align-items: start;
  width: 100%;
  justify-content: stretch;
}
@media (max-width: 640px) { .story-speakers__grid { grid-template-columns: repeat(2, minmax(110px, 1fr)); } }
.story-speaker { display: grid; gap: 4px; justify-items: start; }
.story-speaker__img { display: none; width: 100%; aspect-ratio: 1; object-fit: cover; }
.story-speaker__name { font-weight: 800; color: var(--navy); font-size: 16px; line-height: 1.25; width: 100%; }
.story-speaker__role { color: #42577e; font-size: 14px; width: 100%; }
.event__intro .section__sub { max-width: 620px; }
.event__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #0a1630;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Scoped gallery styles */
.gallery_wrapper {
  --gap: 0.5rem;
  --cols: 6;
  /* Ensure it fits container width while respecting a max cell size */
  --img-size: min(100px, calc((100% - (var(--gap) * (var(--cols) - 1))) / var(--cols)));
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(var(--cols), var(--img-size));
  grid-auto-rows: var(--img-size);
  grid-auto-flow: dense;
  align-content: start;
}
.gallery_wrapper img {
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  grid-column: span 2;
  border-radius: 0.5rem;
  clip-path: path(
    "M 80 20 C 100 0 100 0 120 20 C 140 40 160 60 180 80 C 200 100 200 100 180 120 C 160 140 140 160 120 180 C 100 200 100 200 80 180 C 60 160 40 140 20 120 C 0 100 0 100 20 80 Z"
  );
  transition: filter 500ms, clip-path 500ms;
}
/* Explicit layout helpers for events */
@media (min-width: 900px) {
  .event--wide-left .event__grid { grid-template-columns: 1.25fr 1fr; }
  .event.event--fixed .event__grid { grid-template-columns: 1fr 1.25fr !important; }
}
.gallery_wrapper img:nth-of-type(4),
.gallery_wrapper img:nth-of-type(9) { grid-column: 2 / span 2; }
.gallery_wrapper img:hover {
  z-index: 100;
  clip-path: path(
    "M 0 0 C 100 0 100 0 200 0 C 200 50 200 50 200 80 C 200 100 200 100 200 120 C 200 150 200 150 200 200 C 100 200 100 200 0 200 C 0 150 0 150 0 120 C 0 100 0 100 0 80 Z"
  );
}
.gallery_wrapper img:not(:hover) { animation: zIndexFix 500ms; }
.gallery_wrapper:hover > img { filter: brightness(0.5) saturate(0.5); }
.gallery_wrapper > img:hover { filter: brightness(1) saturate(1.5); }
@keyframes zIndexFix { 0%, 100% { z-index: 10; } }

/* Events */
.events__featured { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: grid; }
.featured__img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05); }
.featured__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 20, 40, .5), rgba(9, 20, 40, .85)); }
.featured__badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #0a1630; padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.featured__content { position: relative; z-index: 1; color: #fff; align-self: end; padding: 16px; display: grid; gap: 6px; }
.featured__title { font-size: 22px; font-weight: 800; }
.featured__meta { color: #dbe7f7; font-size: 14px; }

/* Removed legacy .carousel__* styles (custom slider now used) */

/* Swiper styles removed in favor of custom slider */
/* Events Slider (custom, transparent background) */
.events-head { display:flex; align-items:center; justify-content:flex-end; gap:.5rem; margin-top: 6px; }
.events-controls { display:flex; gap:.5rem; }
.events-slider { --gap: 1.25rem; --speed: .55s cubic-bezier(0.25,0.46,0.45,0.94); --closed: 5rem; --open: 30rem; --accent: var(--deep-blue); position: relative; width: 100%; background: transparent; }
.events-slider .slider { max-width: 100%; margin: 0 auto; overflow: hidden; }
.events-slider .track { display:flex; gap: var(--gap); align-items:flex-start; justify-content:center; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding-bottom: 20px; }
.events-slider .track::-webkit-scrollbar { display:none; }
.events-slider .event-card { position: relative; flex: 0 0 var(--closed); height: 26rem; border-radius: 1rem; overflow: hidden; cursor: pointer; transition: flex-basis var(--speed), transform var(--speed); background: transparent; }
.events-slider .event-card[active] { flex-basis: var(--open); transform: translateY(-6px); box-shadow: 0 9px 25px rgba(0,0,0,.35); }
.events-slider .event-card__bg { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; filter: brightness(.8) saturate(85%); transition: filter .3s, transform var(--speed); }
.events-slider .event-card:hover .event-card__bg { filter: brightness(.95) saturate(100%); transform: scale(1.06); }
.events-slider .event-card__content { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:.7rem; padding:0; background: linear-gradient(transparent 20%, rgba(0,0,0,.85) 100%); z-index:2; }
.events-slider .event-card__title { color:#fff; font-weight:800; font-size:1.35rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.events-slider .event-card__meta, .events-slider .event-card__btn { display:none; }
.events-slider .event-card[active] .event-card__content { flex-direction: row; align-items: center; padding: 1.2rem 2rem; gap: 1.1rem; }
.events-slider .event-card[active] .event-card__title { writing-mode: horizontal-tb; transform:none; font-size: 2.1rem; }
.events-slider .event-card[active] .event-card__meta, .events-slider .event-card[active] .event-card__btn { display:block; }
.events-slider .event-card__meta { color:#f1f5fb; font-size: .95rem; line-height:1.4; max-width: 16rem; }
.events-slider .event-card__btn { padding:.55rem 1.1rem; border:none; border-radius:9999px; background: var(--accent); color:#fff; font-size:.85rem; font-weight:700; cursor:pointer; }
.events-slider .event-card__btn:hover { filter: brightness(1.1); }
.events-slider .event-card__tag {
  position: absolute;
  top: 1rem;
  background: #fcbd47;
  color: #fff;
  text-transform: uppercase;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .2rem .65rem;
  border-radius: 999px;
}
.events-slider .event-card:not([active]) .event-card__tag {
  left: 50%;
  transform: translateX(-50%);
}
.events-slider .event-card[active] .event-card__tag {
  left: 1rem;
  transform: none;
}
.events-slider .dots { display:flex; gap:.5rem; justify-content:center; padding: 6px 0 10px; }
.events-slider .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(0,0,0,.18); cursor: pointer; transition: .3s; }
.events-slider .dot.active { background: var(--accent); transform: scale(1.15); }
.events-slider .nav-btn { width: 2.4rem; height: 2.4rem; border:none; border-radius:50%; background: rgba(36,60,100,.12); color: var(--navy); font-size:1.4rem; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:.3s; }
.events-slider .nav-btn:hover { background: var(--light-blue); }
.events-slider .nav-btn:disabled { opacity: .35; cursor: default; }

/* Hide arrows (prev/next) per request */
#events-prev, #events-next { display: none !important; }

@media (max-width: 767px) {
  .events-slider { --closed: 100%; --open: 100%; --gap: .8rem; }
  .events-head { justify-content: space-between; }
  .events-slider .slider { padding: 0 2px; }
  .events-slider .track { flex-direction: column; scroll-snap-type: y mandatory; gap:.8rem; padding-bottom: 8px; }
  .events-slider .event-card { height: auto; min-height: 80px; flex: 0 0 auto; width: 100%; scroll-snap-align: start; }
  .events-slider .event-card[active] { min-height: 200px; transform: none; box-shadow: 0 4px 25px rgba(0,0,0,.3); }
  .events-slider .event-card__content { flex-direction: row; justify-content:flex-start; padding: 1rem; align-items:center; gap:1rem; }
  .events-slider .event-card__title { writing-mode: horizontal-tb; transform:none; font-size:1.2rem; margin-right:auto; }
  .events-slider .event-card__meta, .events-slider .event-card__btn { display:none; }
  /* When active on mobile, show meta and button */
  .events-slider .event-card[active] .event-card__meta,
  .events-slider .event-card[active] .event-card__btn { display:block; }
  .events-slider .event-card[active] .event-card__content { align-items:flex-start; padding: 1.3rem; }
  .events-slider .event-card[active] .event-card__title { font-size: 1.6rem; margin-bottom:.5rem; margin-top: .8rem; }
  .events-slider .dots { display:none; }
}

@media (max-width: 767px) {
  .event__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .event__grid .event__intro {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .event__grid .event__intro .section__title { order: 1; }
  .event__grid .event__intro .section__sub { order: 2; }
  .event__grid .event__intro .story__speakers { order: 3; }
  .event__grid .gallery_wrapper {
    order: 4;
    width: 100%;
  }
}

/* Feedback */
.feedback { background: transparent; }
.notes { display: grid; grid-template-columns: 1fr; gap: 16px; }
.note { position: relative; padding: 0; background: transparent; border: none; border-radius: 16px; box-shadow: none; transform: rotate(var(--r, 0deg)) translateY(14px); opacity: 0; transition: opacity 1.2s ease var(--delay, 0s), transform 1.2s ease var(--delay, 0s); display: grid; place-items: center; text-align: center; min-height: 220px; aspect-ratio: 560 / 430; background-size: 100% 100%; background-repeat: no-repeat; background-position: center; }
.note__text { font-size: 16px; color: #0e1a33; padding: 18% 14% 16%; }
.note.revealed { opacity: 1; transform: rotate(var(--r, 0deg)) translateY(0); }

@media (min-width: 760px) { .notes { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .note { transition: none !important; transform: none !important; } }

/* Feedback more button inside grid */
.feedback__btn { justify-self: center; margin-top: 8px; }

/* ================= Contact Page ================= */
.contact-page #contact { background: var(--bg); display:flex; justify-content:center; align-items:center; }
.contact-page .contact-box { width: clamp(100px, 90%, 1000px); margin: 80px 50px; display:flex; flex-wrap: wrap; border-radius: var(--radius); overflow: hidden; }
.contact-page .contact-links, .contact-page .contact-form-wrapper { width: 50%; padding: clamp(40px, 7vw, 72px) 5%; display: block; }
.contact-page .contact-links { background-color: #1f2e43; background: radial-gradient(circle at 55% 92%, #426691 0 12%, transparent 12.2%), radial-gradient(circle at 94% 72%, #426691 0 10%, transparent 10.2%), radial-gradient(circle at 20% max(78%, 350px), #263a53 0 7%, transparent 7.2%), radial-gradient(circle at 0% 0%, #263a53 0 40%, transparent 40.2%), #1f2e43; border-radius: var(--radius) 0 0 var(--radius); }
.contact-page .contact-form-wrapper { background-color: #c0d4e4; border-radius: 0 var(--radius) var(--radius) 0; }
.contact-page .contact-links h2 { font-family: 'Arimo', Inter, system-ui, sans-serif; color: #fff; font-size: clamp(30px, 6vw, 60px); letter-spacing: 2px; text-align: center; transform: scale(.95, 1); margin:0; }
.contact-page .links { display:flex; flex-wrap:wrap; justify-content:center; padding-top: 50px; }
.contact-page .contact-lead { color: #eaf2fb; text-align: center; margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.contact-page .link { margin: 10px; cursor: pointer; }
.contact-page .link img, .contact-page .link svg { width:45px; height:45px; filter: hue-rotate(220deg) drop-shadow(2px 4px 4px #0006); transition: .2s; user-select: none; }
.contact-page .link img:hover, .contact-page .link svg:hover { transform: scale(1.1); }
.contact-page .link img:active, .contact-page .link svg:active { transform: scale(1.1); filter: hue-rotate(220deg) drop-shadow(2px 4px 4px #222) sepia(.3); }
/*
.contact-page .form-item { position: relative; }
.contact-page .contact-form-wrapper label,
.contact-page .contact-form-wrapper input,
.contact-page .contact-form-wrapper textarea,
.contact-page .contact-form-wrapper select { font-family: 'Poppins', Inter, system-ui, sans-serif; }
.contact-page .contact-form-wrapper label { position: absolute; top: 10px; left: 2%; color: #555; font-size: clamp(14px, 1.5vw, 18px); pointer-events: none; user-select: none; }
.contact-page .contact-form-wrapper input,
.contact-page .contact-form-wrapper textarea,
.contact-page .contact-form-wrapper select { width: 100%; outline: 0; border: 1px solid #ccc; border-radius: 8px; margin-bottom: 20px; padding: 12px; font-size: clamp(15px, 1.5vw, 18px); background:#fff; color: var(--text); box-shadow: var(--shadow-sm); }
.contact-page .contact-form-wrapper select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2342577e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; padding-right: 40px; }
.contact-page .contact-form-wrapper input:focus + label,
.contact-page .contact-form-wrapper input:valid + label,
.contact-page .contact-form-wrapper textarea:focus + label,
.contact-page .contact-form-wrapper textarea:valid + label,
.contact-page .contact-form-wrapper select:focus + label,
.contact-page .contact-form-wrapper select:valid + label { font-size: clamp(13px, 1.3vw, 16px); color: #333; top: -20px; transition: all .225s ease; }
.contact-page .submit-btn {
  display: block;
  width: 264px;               /* double the header CTA width */
  min-width: 264px;
  height: 60px;               /* match hero height */
  font-size: 1.5rem;          /* match hero text size */
  border-radius: 999px;       /* pill shape */
  margin: 8px auto;           /* center horizontally */
  position: relative;         /* enable ::before pulse */
  box-shadow: 0 6px 18px rgba(20, 52, 116, 0.28);
  transition: box-shadow .2s ease, transform .2s ease;
}
*/
.contact-page .contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 20px);
  width: 70%;
  max-width: 420px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px) 0;
  justify-items: stretch;
}

.contact-page .contact-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: calc(0.9rem + 5px);
  font-weight: 700;
  width: 100%;
  box-shadow: 0 6px 18px rgba(20, 52, 116, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-page .contact-option--disabled {
  background: #0c2b4e !important;
  color: #fff !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.contact-option--membership {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border: 1.5px solid transparent !important;
  border-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.9)) 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  text-align: right;
  padding: 14px 20px;
  gap: 4px;
  background-clip: padding-box;
}
.contact-option--membership .contact-option__label {
  display: block;
  font-size: calc(0.9rem + 5px);
  letter-spacing: 0.12em;
  font-weight: 700;
}
.contact-option--membership .contact-option__sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.contact-page .contact-option:not(:last-child) {
  margin-bottom: clamp(16px, 3vw, 20px);
}

.contact-page .contact-option:hover,
.contact-page .contact-option:focus-visible {
  box-shadow: 0 10px 24px rgba(20, 52, 116, 0.35);
}
.contact-page .btn--primary {
  background: #0c2b4e;
}

@media (max-width: 800px) {
  .contact-page .contact-links, .contact-page .contact-form-wrapper { width: 100%; }
  .contact-page .contact-links { border-radius: var(--radius) var(--radius) 0 0; }
  .contact-page .contact-form-wrapper { border-radius: 0 0 var(--radius) var(--radius); }
}
@media (max-width: 400px) {
  .contact-page .contact-box { width: 95%; margin: 8% 5%; }
  .contact-page .links { padding-top: 30px; }
  .contact-page .link img { width:38px; height:38px; }
}

/* Speakers */
.speakers__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.speaker { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--neutral-gray); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.speaker:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.speaker__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: none; }
.speaker__name { margin: 0; font-weight: 800; color: var(--navy); }
.speaker__title { margin: 2px 0 0; color: #42577e; font-size: 14px; }
.speakers__more { margin-top: 12px; }

/* Footer */
footer { background: #0c2b4e; color: #fff; margin-top: 40px; }
.footer__top { display: grid; gap: 14px; grid-template-columns: 1fr; padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer__brand { display: flex; align-items: center; gap: 0px; font-weight: 700; }
.footer__logo { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; display: block; background: none; }
.footer__brand > span { margin-left: -5px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer__nav a { color: #eaf2fb; }
.footer__icons { display: flex; gap: 8px; justify-content: flex-start; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 13px; color: #d9e6fb; }

@media (max-width: 600px) {
  .footer__top { padding: 32px 20px; }
  .footer__bottom { padding: 20px 20px; }
}

/* Layout adjustments */
@media (min-width: 760px) {
  .header__nav { display: flex; }
  .menu-toggle { display: none; }
  .principles__grid { grid-template-columns: repeat(3, 1fr); }
  .speakers__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer__icons { justify-content: flex-end; }
}

/* removed swiper pagination styles */

/* Overrides/utilities */
.pad-contact { padding: 10px 0 44px; }
#contact { padding: 10px 0 44px; }
/* Hero primary CTA: match header style (pill) */
.hero .btn--primary {
  padding: 0 24px;                        /* roomier horizontally */
  height: 60px;                           /* 1.5x taller */
  min-height: 60px;
  font-size: 1.5rem;                      /* 1.5x text size */
  border-radius: 999px;                    /* pill like header */
  clip-path: none;                         /* remove chamfer */
  position: relative;
  box-shadow: 0 6px 18px rgba(20, 52, 116, 0.28);
  transition: box-shadow .2s ease, transform .2s ease;  /* faster shadow appearance */
  will-change: transform, box-shadow;
}
.hero .btn--primary::after { content: none; }
/* Use a separate pseudo element for the pulse so the button never loses its base styles */
.hero .btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.hero .btn--primary:hover::before { animation: hero-pulse 2s infinite; }
.hero .btn--primary:hover { transform: translateY(-4px); }
.hero .btn--primary:focus-visible { animation: none; }
@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(44, 68, 132, .45); }
  70%  { box-shadow: 0 0 0 24px rgba(44, 68, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 68, 132, 0); }
}
.hero .btn--primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(172, 204, 228, 0.85), 0 0 0 6px rgba(36, 60, 100, 0.45), inset 0 0 18px rgba(255,255,255,.12);
}

/* Forms */
.contact-form label { display: grid; gap: 6px; color: #42577e; font-weight: 600; font-size: 14px; }
.contact-form label span { color: var(--navy); font-weight: 700; font-size: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-gray);
  background: #fff;
  color: var(--text);
  font: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #7a8da9; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--royal-blue); box-shadow: var(--focus); }
.contact-form input:disabled,
.contact-form textarea:disabled { background: #f3f6fb; color: #7a8da9; cursor: not-allowed; }


/* ============ About/Team section ============ */
.team { padding: 40px 0 80px; background: linear-gradient(180deg, #ffffff, #f6f8fc); }
.team-header { text-align: center; margin-bottom: 10px; }
.team-header h2 { margin: 0 0 4px; font-size: 32px; font-weight: 800; color: var(--navy); }
.team-header p { margin: 0; color: #516386; }

.contact-card-container {
  position: relative;
  max-width: 960px;
  margin: clamp(32px, 6vw, 56px) auto;
  padding: clamp(24px, 3.6vw, 32px);
  display: grid;
  gap: clamp(18px, 3vw, 24px);
}

.contact-card-links {
  position: absolute;
  top: clamp(18px, 3vw, 26px);
  right: clamp(18px, 3vw, 26px);
  z-index: 3;
}

.contact-card-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 52, 116, 0.28);
}

.contact-card-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  animation: none;
}

.contact-card-links a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--deep-blue), var(--royal-blue));
  -webkit-mask: url('images/linkedin-icon.png') center / contain no-repeat;
          mask: url('images/linkedin-icon.png') center / contain no-repeat;
}

.contact-card-links a:hover::before,
.contact-card-links a:focus-visible::before {
  animation: hero-pulse 2s infinite;
}

.contact-card-links img {
  display: none;
}

.contact-card-body {
  display: grid;
  gap: clamp(12px, 2.8vw, 20px);
}

.contact-card-meta {
  color: rgba(19, 44, 76, 0.72);
}

.contact-card-meta span:last-child {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card-subheading {
  letter-spacing: 0.14em;
}

.contact-card-headline {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #13294b;
}
.contact-card-headline--large {
  font-size: 32px;
  line-height: 1.2;
}

.contact-card-description {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(19, 41, 75, 0.8);
}

.team .contact-card-container.blog-card {
  transition: none;
  gap: clamp(31.6px, calc(3.6vw + 10px), 38.8px);
}
.team .contact-card-container.blog-card:hover,
.team .contact-card-container.blog-card:focus-visible {
  transform: none;
  box-shadow: inset -2px 2px rgba(255, 255, 255, 0.88), -22px 22px 40px rgba(15, 35, 75, 0.16);
}

@media (max-width: 640px) {
  .contact-card-container {
    margin: clamp(24px, 6vw, 36px) 20px;
  }
}

@media (min-width: 768px) {
  .team .contact-card-container.blog-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    column-gap: clamp(40px, 6vw, 72px);
    row-gap: clamp(18px, 3vw, 24px);
  }
  .team .contact-card-container.blog-card .blog-card__image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }

.team .contact-card-container.blog-card .blog-card__image img {
  height: 100%;
}
}

@media (max-width: 767px) {
  .team .contact-card-container.blog-card .blog-card__image {
    height: 115%;
  }
  .team .contact-card-container.blog-card .blog-card__image img {
    height: 115%;
  }
}

.people { max-width: 1050px; margin: 0 auto; padding-top: 30px; display: grid; gap: 24px; }
.person { position: relative; min-height: 380px; background: #0b1a33; color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(15, 35, 75, .2); will-change: transform; transition: transform .12s linear; }
.person .links { position: absolute; right: 16px; top: 14px; z-index: 3; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.person .links a { color: rgba(255,255,255,.7); text-decoration: none; }
.person .links a:hover { color: #fff; }
.person .meta { position: absolute; left: 3%; right: 45.5%; top: 10%; bottom: 8%; z-index: 2; display: grid; will-change: transform, opacity; transition: transform .12s linear, opacity .2s ease; }
.person .meta h4 { margin: 0 0 10px; font-size: 36px; font-weight: 800; color: #f0f4fb; }
.person .meta p { margin: 0; font-size: 15px; line-height: 1.5; color: #d7e3f7; max-width: 100%; overflow-wrap: anywhere; }
.person .image { position: absolute; right: 0; top: 0; width: 42%; height: 100%; background-size: cover; background-position: center; mix-blend-mode: lighten; will-change: transform; transition: transform .12s linear; }

/* starting position; JS will control transforms */
.people .person { transform: translate3d(0,0,0); }

/* team images via placeholder seeds */
.person.hrvoje .image { background-image: url('https://picsum.photos/seed/zaki/900/700'); }
.person.sime   .image { background-image: url('https://picsum.photos/seed/maab/900/700'); }
.person.maki   .image { background-image: url('https://picsum.photos/seed/mustafa/900/700'); }
.person.marko  .image { background-image: url('https://picsum.photos/seed/mehwish/900/700'); }
.person.zembo  .image { background-image: url('https://picsum.photos/seed/saara/900/700'); }

@media (max-width: 860px) {
  .person { min-height: 520px; }
  .person .meta { left: 6%; right: 6%; bottom: 40%; }
  .person .image { width: 100%; height: 56%; top: auto; bottom: 0; }
  .people .person:nth-child(odd),
  .people .person:nth-child(even) { transform: none; }
}


.principle-grid {
  width: min(75rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: clamp(24px, 4vw, 32px);
}

.principle-card {
  --grad: #143474, #1c698c;
  --accent: #143474;
  padding: calc(2.5rem - 10px) 2.5rem 2.5rem;
  background-image: linear-gradient(to bottom left, #e0e4e5, #f2f6f9);
  border-radius: 2rem;
  display: grid;
  grid-template:
    "title icon" auto
    "content content" auto
    "bar bar" auto / 1fr auto;
  gap: 1.5rem;
  font-family: "Inter", sans-serif;
  color: #444447;
  box-shadow: inset -2px 2px rgba(255,255,255,1), -20px 20px 40px rgba(0,0,0,0.25);
  position: relative;
}

.principle-grid .principle-card:nth-child(2),
.principle-grid .principle-card:nth-child(3) {
  padding-right: calc(2.5rem - 10px);
  column-gap: calc(1.5rem - 10px);
}

.principle-grid .principle-card:nth-child(2) .icon img {
  width: 3.7rem;
}

.vm-card-section .container {
  width: min(75rem, 100%);
}

.vm-card-stack {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
}

.vm-card {
  width: 100%;
  grid-template:
    "title" auto
    "content" 1fr
    "bar" auto / 1fr;
  column-gap: 0;
  padding-right: 2.5rem;
}

.vm-card .title {
  letter-spacing: 0.015em;
}

.principle-card .title {
  font-size: calc(1.2rem + 4px);
  grid-area: title;
  align-self: start;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(0);
}

.principle-card .icon {
  grid-area: icon;
  font-size: 3rem;
  color: var(--accent, #143474);
  display: grid;
  place-items: center;
  align-self: start;
  justify-self: end;
  position: relative;
  top: -10px;
  right: -10px;
}

.principle-card .icon svg {
  width: 3rem;
  height: 3rem;
  stroke: currentColor;
}

.principle-card .icon img {
  width: 4.1rem;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.principle-card .content {
  grid-area: content;
  line-height: 1.65;
  text-align: center;
}

.principle-card .content > *:first-child { margin-top: 0; }
.principle-card .content > *:last-child { margin-bottom: 0; }

.principle-card::after {
  content: "";
  grid-area: bar;
  height: 2px;
  background-image: linear-gradient(90deg, var(--grad));
  border-radius: 999px;
}

.what-we-achieved { padding: clamp(48px, 7vw, 92px) 0; background: #ffffff; }
.statistics-container { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 60px); margin-top: clamp(24px, 4vw, 40px); }
.statistics-card {
  width: min(240px, 100%);
  background: transparent;
  border: none;
  padding: clamp(24px, 4vw, 32px);
  text-align: center;
  color: #143474;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 240px;
}
.statistics-card img { display: none; }
.statistics-card--progress { gap: 16px; }

.progress-circle { position: relative; width: 160px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.progress-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-circle__track { fill: none; stroke: rgba(16, 40, 82, 0.12); stroke-width: 12; }
.progress-circle__value { fill: none; stroke: #143474; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 427; stroke-dashoffset: 427; }
.progress-circle__percent { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; color: #102855; }
.statistics-card p { margin: 0; margin-top: 20px; font-size: 0.95rem; color: rgba(20, 52, 116, 0.8); }
.statistics-card--progress p { margin-top: 0; }
.statistics-card h3 { margin: 0; font-size: clamp(58px, 6.8vw, 74px); font-weight: 700; color: #143474; }
.who-we-are__cta { margin-top: clamp(28px, 4.5vw, 42px); text-align: left; }
.who-we-are__cta .btn--primary {
  position: relative;
  padding: 0 24px;
  min-height: 56px;
  line-height: 1;
  background: #0c2b4e;
  font-size: 1.2rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20, 52, 116, 0.28);
  transition: box-shadow .2s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.who-we-are__cta .btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.who-we-are__cta .btn--primary:hover::before { animation: hero-pulse 2s infinite; }
.who-we-are__cta .btn--primary:hover { transform: none; }
.who-we-are__cta .btn--primary:focus-visible { animation: none; box-shadow: 0 0 0 3px rgba(172, 204, 228, 0.85), 0 0 0 6px rgba(36, 60, 100, 0.45), inset 0 0 18px rgba(255,255,255,.12); }


/* Event filters */
.event-filter__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(12px, 2vw, 18px);
  margin-bottom: clamp(24px, 4vw, 36px);
}

.event-filter__btn {
  border: 1px solid rgba(36, 60, 100, 0.18);
  background: rgba(36, 60, 100, 0.06);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.event-filter__btn:hover,
.event-filter__btn:focus-visible {
  outline: none;
  background: rgba(36, 60, 100, 0.14);
  border-color: rgba(36, 60, 100, 0.35);
  transform: translateY(-2px);
}

.event-filter__btn.is-active {
  background: linear-gradient(135deg, var(--deep-blue), var(--royal-blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(36, 60, 100, 0.2);
}

.event-filter__btn[aria-pressed="true"] {
  outline: none;
}

section.event {
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

section.event.event--hiding {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}

section.event[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .event-filter__controls {
    gap: 10px;
  }

  .event-filter__btn {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
}

/* Blogs page */
.hero--blogs {
  background-image: url('images/about-hero.JPG');
  background-size: cover;
  background-position: center;
}

.blogs-overview {
  padding: clamp(48px, 7vw, 96px) 0;
  background: #f7f9fc;
}

.blog-grid {
  margin-top: clamp(28px, 5vw, 44px);
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


.blog-card {
  position: relative;
  --blog-card-grad: #0f476a, #1f74a3;
  background: linear-gradient(145deg, rgba(232, 238, 245, 0.98), rgba(248, 252, 255, 0.92));
  border-radius: 28px;
  padding: clamp(24px, 3.6vw, 32px);
  box-shadow: inset -2px 2px rgba(255, 255, 255, 0.88), -22px 22px 40px rgba(15, 35, 75, 0.16);
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  align-content: start;
  text-decoration: none;
  color: #13294b;
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-grid .blog-card:nth-of-type(4n + 2) { --blog-card-grad: #10375c, #1c698c; }
.blog-grid .blog-card:nth-of-type(4n + 3) { --blog-card-grad: #143474, #1c698c; }
.blog-grid .blog-card:nth-of-type(4n) { --blog-card-grad: #1b4a74, #2d76aa; }


.blog-card::after {
  content: "";
  position: absolute;
  left: clamp(24px, 3.6vw, 32px);
  right: clamp(24px, 3.6vw, 32px);
  bottom: clamp(20px, 3vw, 26px);
  height: 3px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--blog-card-grad));
  opacity: .85;
  pointer-events: none;
  transition: opacity .25s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: -16px 18px 44px rgba(15, 35, 75, 0.22);
}

.blog-card:hover::after,
.blog-card:focus-visible::after {
  opacity: 1;
}

.blog-card:focus-visible {
  outline: none;
  box-shadow: -16px 18px 44px rgba(15, 35, 75, 0.24), 0 0 0 3px rgba(172, 204, 228, 0.68), 0 0 0 6px rgba(20, 52, 116, 0.35);
}

.blog-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20, 52, 116, 0.08);
  box-shadow: 0 14px 28px rgba(15, 35, 75, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(19, 44, 76, 0.7);
}

.blog-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #0f476a;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.blog-card time {
  font-weight: 600;
}


.blog-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #0f2f58;
  line-height: 1.4;
}

.contact-card-container.blog-card .contact-card-headline--large {
  font-size: 32px;
  line-height: 1.2;
  color: #13294b;
  margin-top: 20px;
}
.contact-card-body .contact-card-headline--large {
  margin-bottom: 5px;
}
.contact-card-body .contact-card-role {
  margin: 0;
}
.contact-card-titleblock {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.contact-card-titleblock .contact-card-headline--large {
  margin: 0;
}
.contact-card-titleblock .contact-card-role {
  margin: 0;
}

.blog-card p {
  margin: 0;
  color: rgba(13, 34, 58, 0.78);
}


.blog-card__highlights {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: rgba(13, 34, 58, 0.72);
}

.blog-card__highlights li {
  line-height: 1.5;
}

.blogs-subscribe {
  padding: clamp(48px, 7vw, 92px) 0;
}

.blogs-subscribe__grid {
  display: grid;
  gap: clamp(28px, 6vw, 60px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blogs-subscribe__list {
  margin: 18px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: rgba(11, 26, 51, 0.78);
}

.blogs-subscribe__cta {
  background: linear-gradient(135deg, rgba(36, 60, 100, 0.92), rgba(20, 52, 116, 0.92));
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
  color: #fff;
}

.blogs-subscribe__cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.blogs-subscribe__cta .btn--primary {
  box-shadow: none;
  justify-self: start;
}

.blogs-subscribe__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 720px) {
  .blog-card {
    padding: 22px;
  }
}

/* Impact page */
.impact-stories {
  padding: clamp(48px, 7vw, 96px) 0;
  background: #f7f9fc;
}

.impact-stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 4vw, 32px);
}

.impact-card {
  position: relative;
  --impact-card-grad: #0f476a, #1f74a3;
  background: linear-gradient(145deg, rgba(232, 238, 245, 0.98), rgba(248, 252, 255, 0.92));
  border-radius: 28px;
  padding: clamp(24px, 3.6vw, 32px);
  box-shadow: inset -2px 2px rgba(255, 255, 255, 0.88), -22px 22px 40px rgba(15, 35, 75, 0.16);
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  color: #13294b;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}

.impact-stories__grid .impact-card:nth-of-type(3n + 2) { --impact-card-grad: #10375c, #1c698c; }
.impact-stories__grid .impact-card:nth-of-type(3n) { --impact-card-grad: #143474, #1c698c; }

.impact-card::after {
  content: "";
  position: absolute;
  left: clamp(24px, 3.6vw, 32px);
  right: clamp(24px, 3.6vw, 32px);
  bottom: clamp(20px, 3vw, 28px);
  height: 3px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--impact-card-grad));
  opacity: .85;
  transition: opacity .25s ease;
  pointer-events: none;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: -16px 18px 44px rgba(15, 35, 75, 0.22);
}

.impact-card:hover::after {
  opacity: 1;
}

.impact-card h3 {
  margin: 0;
  font-size: 1.28rem;
  color: #0f2f58;
}

.impact-card p {
  margin: 0;
  color: rgba(13, 34, 58, 0.78);
  line-height: 1.65;
  text-align: center;
}

.impact-cta {
  padding: clamp(48px, 7vw, 96px) 0;
}

.impact-cta__content {
  background: linear-gradient(135deg, rgba(36, 60, 100, 0.92), rgba(20, 52, 116, 0.92));
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  color: #fff;
  display: grid;
  gap: 18px;
}

.impact-cta__content .section__title {
  color: #fff;
}

.impact-cta__content .section__sub {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.impact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.impact-cta__actions .btn {
  min-width: 200px;
}

@media (max-width: 720px) {
  .hero-shape { display: none !important; }
}
.team .contact-card-container.blog-card::after {
  left: calc(50% + clamp(20px, 3vw, 28px) - 10px);
  right: clamp(24px, 4vw, 32px);
  width: auto;
  margin-left: 0;
}

@media (max-width: 720px) {
  .team .contact-card-container.blog-card::after {
    content: none;
  }
}
