/* ================= IFWPH Base (UNO Style) ================= */
:root{
  --brand-deep:#03045e;
  --brand-900:#023e8a;
  --brand-800:#0077b6;
  --brand-700:#0096c7;
  --brand-600:#00b4d8;
  --brand-500:#48cae4;
  --brand-100:#caf0f8;

  --font:"Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --radius:16px;
  --shadow-1:0 8px 22px rgba(0,0,0,.12);
  --shadow-2:0 14px 32px rgba(0,0,0,.18);
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font);line-height:1.65;color:#061d3b;background:#fff}
img{max-width:100%;display:block}
a{text-decoration:none}
.container{width:100%;max-width:none;margin:0;padding-inline:clamp(16px,4vw,48px)}

/* ================= Header ================= */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #dce6f0;box-shadow:0 2px 4px rgba(0,0,0,.04)}
.nav{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:14px 0}
.brand{display:flex;align-items:center;gap:.6rem}
.brand__logo{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.1))}
.brand__text{font-weight:800;color:var(--brand-900)}
.main-nav ul{display:flex;gap:1.2rem;list-style:none}
.main-nav a{color:#1a2d4a;font-weight:700;position:relative}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--brand-700);
  transition:.25s;
}
.main-nav a:hover::after{width:100%}
.nav-cta{display:flex;gap:.6rem}
.burger{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
  z-index:130;              /* overlay ke upar rahe */
}
.burger span{
  display:block;
  width:22px;
  height:2px;
  background:#1a2d4a;
  margin:4px 0;
  border-radius:999px;
  transition:transform .25s ease, opacity .25s ease, background .25s ease;
  transform-origin:center;
}
/* Open: 3 dots -> X */
.burger.is-open span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}
.burger.is-open span:nth-child(2){
  opacity:0;
}
.burger.is-open span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

/* Mobile-only header title in overlay */
.main-nav__mobile-head{
  display:none;
}

/* ================= Buttons ================= */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.7rem 1rem;border-radius:999px;font-weight:800;border:2px solid transparent;transition:.25s}
.btn--primary{background:var(--brand-700);color:#fff}
.btn--primary:hover{background:var(--brand-600);transform:translateY(-2px);box-shadow:0 10px 20px rgba(0,150,199,.18)}
.btn--alt{background:var(--brand-900);color:#fff}
.btn--alt:hover{background:#041e56;transform:translateY(-2px)}
.btn--ghost{background:#fff;color:var(--brand-900);border:2px solid var(--brand-500)}
.btn--ghost:hover{background:var(--brand-500);color:#fff}
.btn--ghost-on-image{background:rgba(255,255,255,.92);border-color:rgba(173,232,244,.9);color:#023e8a}
.btn--ghost-on-image:hover{background:#fff;border-color:#48cae4}

/* ================= Top Notices (Tabs) ================= */
.notices{
  background: linear-gradient(180deg, var(--brand-100) 0%, #eaf6ff 100%);
  padding: clamp(36px, 5vw, 64px) clamp(16px, 4vw, 48px);
}
.notices--compact{ padding: clamp(20px,3.4vw,32px) clamp(12px,3vw,24px); }
.notices__wrap{
  max-width: 980px; margin-inline:auto; background:#fff; border:1px solid #e1f0fb; border-radius:12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05); overflow:hidden;
}
.notices__head{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding: 10px clamp(12px, 2.4vw, 18px);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800)); color:#fff;
}
.notices__title{ margin:0; font-weight:800; font-size: clamp(1.05rem, 2vw, 1.35rem); display:flex; align-items:center; gap:.6rem }
.notices__tools{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap }
.notices__search{
  display:flex; align-items:center; gap:.5rem; background:#f2fbff; border:1px solid #cfefff; border-radius:999px; padding:.42rem .7rem;
}
.notices__search input{ border:none; outline:none; background:transparent; width:180px; color:#0f2d57; font:inherit }
.badge{ background:#e8f6ff; border:1px solid #c6eafd; color:#045c8c; padding:.28rem .5rem; border-radius:999px; font-weight:800; font-size:.8rem }
.notices__tabs{ display:flex; gap:.4rem; padding:.4rem; border-bottom:1px solid #e8f1f9; background:#f8fbff }
.tab-btn{ border:1px solid #cfefff; background:#fff; color:#023e8a; cursor:pointer; padding:.42rem .7rem; border-radius:999px; font-weight:800; transition:.2s; font-size:.92rem }
.tab-btn.is-active{ background:var(--brand-700); color:#fff; border-color:var(--brand-700) }
.notices__table{ padding: 8px clamp(12px,2.6vw,18px) 14px }
.table-head,.table-row{ display:grid; grid-template-columns: 1.2fr .5fr .6fr .3fr; gap:.8rem; align-items:center }
.table-head{ font-weight:800; color:#0c2c5b; opacity:.85; padding:6px 0; font-size:.95rem }
.table-body{ border-top:1px solid #f0f6fb }
.table-row{ padding:10px 0; border-bottom:1px solid #f2f6fb; color:#1b335b; gap:.6rem; font-size:.96rem }
.table-row a{ color:#0b4d87; font-weight:800 }
.table-row a:hover{ color:#0077b6 }
.table-row .tag{ display:inline-flex; align-items:center; gap:.35rem; padding:.22rem .48rem; border-radius:999px; font-size:.78rem; background:#e9f8ff; border:1px solid #cdefff; color:#045d8f; font-weight:800 }
.table-empty{ padding: 24px; text-align:center; color:#6e88a6 }

@media (max-width: 780px){
  .table-head{ display:none }
  .table-row{ grid-template-columns: 1fr; gap:.35rem; padding:10px 0 }
  .table-row > span:nth-child(2),
  .table-row > span:nth-child(3){ color:#45648a; font-size:.92rem }
  .notices__search input{ width:140px }
}

/* ================= Hero (image) ================= */
.hero{position:relative;isolation:isolate}
.hero__grid{min-height:clamp(520px,72vh,760px);display:grid;grid-template-columns:1fr;align-items:center}
.hero__copy{position:relative;z-index:1;color:#0b2462;padding:clamp(1.6rem,4vw,3rem) 0}
.display{font-weight:800;font-size:clamp(2.1rem,6vw,4.4rem);line-height:1.12;margin:0 0 1rem;color:#0b2462;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.lede{background:rgba(202,240,248,.78);border:1px solid rgba(72,202,228,.55);border-radius:14px;color:#063466;max-width:72ch;padding:1rem;margin:0 0 1.2rem}
.hero__actions{display:flex;gap:.8rem;flex-wrap:wrap}
.hero__media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero__media::before{content:"";position:absolute;inset:-4%;background-image:var(--hero-img);background-size:cover;background-position:center;transform:scale(1.04)}
.hero__media::after{content:"";position:absolute;inset:0;background:
  radial-gradient(1200px 600px at 20% 56%, rgba(3,4,94,.22), transparent 58%),
  linear-gradient(0deg, rgba(0,0,0,.08), rgba(0,0,0,.08))}
.hero:first-of-type::after{content:"";display:block;height:60px;background:linear-gradient(to bottom,transparent,rgba(0,53,102,.2),rgba(0,53,102,.3))}

/* ================= SPA ================= */
.spa-hero{position:relative;min-height:60vh;display:flex;align-items:center;justify-content:center;overflow:hidden}
.spa-hero::before{content:"";position:absolute;inset:-6%;background-image:var(--bg);background-size:cover;background-position:center;transform:translateY(calc(var(--p,0)*14px)) scale(1.06);filter:brightness(.92)}
.spa-overlay{position:relative;background:rgba(3,4,94,.65);color:#fff;text-align:center;padding:4rem 2rem;max-width:900px;border-radius:14px;box-shadow:var(--shadow-2)}
.spa-title{font-size:2.1rem;font-weight:800;margin:0 0 1rem}
.spa-subtext{max-width:70ch;margin:0 auto 1.4rem}
.spa-about{padding:80px 0;background:var(--brand-100);padding-inline:clamp(16px,4vw,48px)}
.spa-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2.5rem;align-items:center}
.spa-heading{font-size:1.9rem;font-weight:800;color:var(--brand-900);margin:0 0 1rem}
.spa-heading.center{text-align:center}
.spa-text p{font-size:1.05rem;line-height:1.85;color:#1e2e4c}
.spa-image img{border-radius:14px;box-shadow:var(--shadow-1);transform:translateY(12px) scale(1.02);transition:transform .6s ease}
.spa-image:hover img{transform:translateY(0) scale(1.04)}

/* Mandate grid (aligned rows) */
.spa-powers{background:#fff;padding:80px 0}
.icon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.6rem;text-align:center;margin-top:2rem;justify-items:stretch}
.icon-grid div{background:#f8fbff;border:1px solid #e2f3fb;border-radius:14px;padding:1.4rem 1rem;transition:transform .3s, box-shadow .3s, background .3s;display:flex;flex-direction:column;align-items:center;justify-content:center}
.icon-grid div:hover{transform:translateY(-6px);box-shadow:0 16px 26px rgba(0,0,0,.08);background:#e7f7ff}
.icon-grid i{font-size:2rem;color:var(--brand-700);margin-bottom:.6rem;transition:transform .3s ease,color .3s ease}
.icon-grid div:hover i{transform:scale(1.12);color:var(--brand-600)}
.icon-grid p{font-weight:800;color:#012b5d;line-height:1.4;font-size:1.05rem}

.spa-quote{background:linear-gradient(180deg,#f1f4f9 0%,#e9edf7 100%);padding:60px 15px;text-align:center}
.spa-quote blockquote{max-width:860px;margin:auto;font-size:1.3rem;font-weight:800;line-height:1.6;color:#021a4a}
.spa-quote span{display:block;margin-top:.6rem;font-size:.95rem;color:#054f91;font-style:italic}

/* ================= Footer ================= */
.site-footer{background:var(--brand-100);text-align:center;padding:40px 0;border-top:1px solid #bcd9ea;color:#002244;font-weight:800}

/* ================= Reveal Animations ================= */
.reveal{opacity:0;transform:translateY(24px);filter:blur(2px)}
.reveal.in{opacity:1;transform:none;filter:none;transition:opacity .7s ease, transform .7s ease, filter .6s ease;transition-delay:var(--reveal-delay,60ms)}
.reveal-children > *{opacity:0;transform:translateY(18px)}
.reveal-children > *.in{opacity:1;transform:none;transition:opacity .6s ease, transform .6s ease;transition-delay:var(--reveal-delay,40ms)}
@media (prefers-reduced-motion: reduce){
  .reveal,.reveal-children > *{opacity:1 !important;transform:none !important;filter:none !important}
  .spa-hero::before,.hero__media::before{transform:none !important}
}

/* ================= Responsive ================= */
@media (max-width:1200px){
  .site-header .container{padding-inline:clamp(16px,4vw,32px)}
  .spa-overlay{padding:3.2rem 1.8rem}
  .spa-title{font-size:2rem}
}
@media (max-width:992px){
  .display{font-size:clamp(2rem,5.5vw,3.4rem)}
  .btn{padding:.72rem 1rem;font-size:.98rem}
  .spa-grid{gap:2rem}
  .icon-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
}
@media (max-width:920px){
  /* Burger visible on mobile */
  .burger{
    display:block;
  }

  /* Full-screen overlay menu */
  .main-nav{
    position:fixed;
    inset:0;
    background:rgba(3,4,94,0.06);
    backdrop-filter:blur(10px);
    transform:translateY(-100%);
    opacity:0;
    transition:transform .35s ease, opacity .35s ease;
    z-index:120;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:stretch;
  }
  .main-nav.is-open{
    transform:translateY(0);
    opacity:1;
  }

  /* Top bar inside overlay (logo + X) */
  .main-nav__mobile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 18px;
    background:#fff;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
  }
  .main-nav__mobile-brand{
    display:flex;
    align-items:center;
    gap:.5rem;
    font-weight:800;
    color:var(--brand-900);
  }
  .main-nav__mobile-brand img{
    width:32px;
    height:32px;
    object-fit:contain;
  }
  .main-nav__close{
    border:none;
    background:#e9f3ff;
    color:var(--brand-900);
    width:32px;
    height:32px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:1.4rem;
    cursor:pointer;
  }

  /* Menu list */
  .main-nav ul{
    list-style:none;
    margin:0;
    padding:8px 0 24px;
    background:#fff;
    flex:1;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
  }
  .main-nav li{
    border-bottom:1px solid #eef3fb;
  }
  .main-nav a{
    display:block;
    padding:14px 20px;
    font-weight:600;
    color:#1a2d4a;
  }
  .main-nav a::after{
    display:none; /* underline hover off in overlay */
  }

  /* Last item (Resources) highlight – ICSCW membership style */
  .main-nav li:last-child a{
    margin:12px 16px 4px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--brand-800),var(--brand-600));
    color:#fff;
    text-align:center;
  }

  /* Body lock jab menu open ho */
  .no-scroll{
    overflow:hidden;
    height:100dvh;
  }
}

@media (max-width:768px){
  .hero__media::after{background:
    radial-gradient(1000px 500px at 20% 56%, rgba(3,4,94,.28), transparent 58%),
    linear-gradient(0deg, rgba(0,0,0,.12), rgba(0,0,0,.12))}
  .spa-overlay{padding:2.2rem 1.2rem;border-radius:12px}
  .spa-title{font-size:1.7rem}
  .icon-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .brand__logo{width:40px;height:40px}
  .brand__text{font-size:1rem}
  .hero__grid{min-height:64vh}
}
@media (max-width:420px){
  .display{font-size:1.65rem}
  .btn{width:100%}
  .icon-grid{grid-template-columns:1fr}
}

/* no-scroll helper */
.no-scroll{overflow:hidden;height:100dvh}
/* ===== Ultra-Compact size for Notices ===== */
.notices--mini{ padding:16px 12px; }
.notices--mini .notices__wrap{
  max-width: 820px;           /* narrower card */
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}
.notices--mini .notices__head{
  padding: 8px 12px;
}
.notices--mini .notices__title{
  font-size: 1rem;
}
.notices--mini .notices__search{
  padding: .32rem .6rem;
}
.notices--mini .notices__search input{
  width: 140px;               /* smaller input */
  font-size: .92rem;
}
.notices--mini .badge{
  padding: .22rem .45rem;
  font-size: .75rem;
}

.notices--mini .notices__tabs{
  padding: .3rem;
}
.notices--mini .tab-btn{
  padding: .32rem .6rem;
  font-size: .88rem;
  border-radius: 999px;
}

.notices--mini .notices__table{
  padding: 6px 12px 10px;
}
.notices--mini .table-head{
  padding: 4px 0;
  font-size: .9rem;
}
.notices--mini .table-row{
  padding: 8px 0;             /* tighter rows */
  gap: .5rem;
  font-size: .93rem;
  border-bottom: 1px solid #eef4fa;
}
.notices--mini .table-row .tag{
  padding: .18rem .42rem;
  font-size: .74rem;
}

/* phones: extra tight */
@media (max-width: 780px){
  .notices--mini .notices__wrap{ max-width: 100%; }
  .notices--mini .notices__search input{ width: 120px; }
  .notices--mini .table-row{ padding: 7px 0; }
}
/* ===== ULTRA MINIMAL NOTICES STYLE ===== */
.notices--ultra {
  padding: 8px 10px;
}

.notices--ultra .notices__wrap {
  max-width: 680px;          /* NOW MUCH SMALLER */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.03);
}

/* Header */
.notices--ultra .notices__head {
  padding: 6px 10px;
}
.notices--ultra .notices__title {
  font-size: 0.9rem;
}

/* Search */
.notices--ultra .notices__tools {
  gap: .3rem;
}
.notices--ultra .notices__search {
  padding: .2rem .45rem;
}
.notices--ultra .notices__search input {
  width: 100px;
  font-size: .8rem;
}
.notices--ultra .badge {
  padding: .18rem .36rem;
  font-size: .7rem;
}

/* Tabs */
.notices--ultra .notices__tabs {
  padding: .2rem;
}
.notices--ultra .tab-btn {
  padding: .25rem .45rem;
  font-size: .82rem;
}

/* Table */
.notices--ultra .notices__table {
  padding: 4px 10px 6px;
}
.notices--ultra .table-head {
  padding: 3px 0;
  font-size: .85rem;
}
.notices--ultra .table-row {
  padding: 6px 0;
  font-size: .88rem;
  border-bottom: 1px solid #eef4fa;
}
.notices--ultra .table-row .tag {
  padding: .14rem .36rem;
  font-size: .7rem;
}

/* Phones */
@media (max-width: 780px) {
  .notices--ultra .notices__wrap {
    max-width: 100%;
  }
  .notices--ultra .table-row {
    padding: 5px 0;
  }
}
/* ================= CENTRAL COMMITTEE ================= */
.cc { background:#fff; }

/* Hero */
.cc-hero{ position:relative; min-height:58vh; display:flex; align-items:center; justify-content:center; overflow:hidden }
.cc-hero::before{ content:""; position:absolute; inset:-6%; background-image:var(--bg); background-size:cover; background-position:center; transform:translateY(calc(var(--p,0)*14px)) scale(1.06); filter:brightness(.9) }
.cc-hero__overlay{
  position:relative; z-index:1; text-align:center; color:#fff;
  background:linear-gradient(120deg, rgba(3,4,94,.70), rgba(0,119,182,.65));
  padding: clamp(1.4rem,3.8vw,2.4rem); max-width: 980px; margin: 0 16px; border-radius:14px; box-shadow: var(--shadow-2);
}
.cc-hero__title{ margin:0 0 .6rem; font-weight:800; font-size: clamp(1.4rem,3.6vw,2.1rem) }
.cc-hero__sub{ margin:0 0 1rem; opacity:.95 }
.cc-hero__actions{ display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap }

/* Blocks */
.cc-block{ padding: clamp(48px, 6vw, 80px) clamp(16px,4vw,48px) }
.cc-wrap{ max-width:1200px; margin-inline:auto }
.center{ text-align:center }

/* Mission */
.cc-two{ display:grid; grid-template-columns: 1.2fr .8fr; gap:2rem; align-items:start }
.cc-h2{ font-weight:800; color:var(--brand-900); font-size: clamp(1.3rem, 3.2vw, 1.9rem); margin:0 0 .6rem }
.cc-quote{
  background: #f2fbff; border:1px solid #cfefff; border-radius:14px; padding:1.1rem 1rem; box-shadow: var(--shadow-1);
}
.cc-quote i{ color:var(--brand-700); font-size:1.4rem }
.cc-quote p{ margin:.5rem 0; font-weight:700; color:#0c2a55 }
.cc-quote span{ color:#1f5085; font-style:italic; font-size:.95rem }

/* Structure */
.cc-structure{ background: var(--brand-100) }
.cc-structure__group{ margin: 1.2rem 0 }
.cc-structure__group h3{ margin:0 0 .5rem; color:#0d2f66; display:flex; align-items:center; gap:.5rem }
.cc-chips{ list-style:none; margin:0; padding:0; display:flex; gap:.5rem; flex-wrap:wrap }
.cc-chips li{
  background:#fff; border:1px solid #cdefff; color:#0b3d76; font-weight:800;
  padding:.45rem .7rem; border-radius:999px
}

/* Members */
.cc-members{ background:#fff }
.cc-card-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap:1.2rem }
.cc-card{
  background:#ffffff; border:1px solid #e6f1fb; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-1);
  transition:.28s transform ease, .28s box-shadow ease; display:flex; flex-direction:column
}
.cc-card:hover{ transform:translateY(-6px); box-shadow:0 18px 28px rgba(0,0,0,.10) }
.cc-card img{ width:100%; aspect-ratio:1 / 1; object-fit:cover }
.cc-card__body{ padding:.9rem .95rem }
.cc-card__body h3{ margin:.2rem 0 .2rem; color:#052d60; font-weight:800; font-size:1.05rem }
.cc-card .role{ margin:.1rem 0 .4rem; color:#0c467f; font-weight:700 }
.cc-card .meta{ color:#446a94; font-size:.95rem }
.cc-card .bio{ margin:.4rem 0 0; color:#0e2f58 }

/* Leadership highlight */
.cc-leadership{ background:linear-gradient(180deg,#f6fbff 0,#eaf4ff 100%) }
.cc-lead-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:1.2rem }
.cc-lead{
  background:#fff; border:1px solid #e1f0fb; border-radius:16px; text-align:center; padding:1rem; box-shadow:var(--shadow-1)
}
.cc-lead img{ width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; margin-bottom:.6rem }
.cc-lead h3{ margin:.2rem 0 .3rem; color:#0b2b5f; font-weight:800 }
.cc-lead p{ color:#183c6c }

/* Core functions */
.cc-functions{ background:#fff }
.cc-icon-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:1rem; margin-top:.6rem }
.cc-icon-grid > div{
  background:#f8fbff; border:1px solid #e1f0fb; border-radius:14px; padding:1rem; text-align:center; box-shadow:var(--shadow-1)
}
.cc-icon-grid i{ color:var(--brand-700); font-size:1.6rem; margin-bottom:.4rem }
.cc-icon-grid h4{ margin:0; color:#0f2f63 }

/* Governance cycle */
.cc-cycle{ background:linear-gradient(180deg,#fff 0,#f6fbff 100%) }
.cc-timeline{ display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:1rem }
.cc-timeline .step{
  background:#fff; border:1px solid #e1f0fb; border-radius:14px; padding:1rem; position:relative; box-shadow:var(--shadow-1)
}
.cc-timeline .dot{
  position:absolute; width:12px; height:12px; border-radius:50%; background:var(--brand-600); left:12px; top:12px;
  box-shadow:0 0 0 4px rgba(72,202,228,.25)
}
.cc-timeline h4{ margin:.2rem 0 .3rem; padding-left:20px; color:#0a2e60 }
.cc-timeline p{ margin:0; color:#203e6f }

/* Vision */
.cc-vision{ background:#fff }
.cc-priorities{ max-width:900px; margin: .4rem auto 0; display:grid; gap:.6rem; list-style:none; padding:0 }
.cc-priorities li{ background:#f5fbff; border:1px solid #d7ecfa; border-radius:12px; padding:.8rem 1rem; color:#0e2d58 }

/* Downloads */
.cc-downloads{ background:var(--brand-100) }
.cc-actions{ display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center; margin:.3rem 0 1rem }
.cc-footnote{ max-width:900px; margin:.4rem auto 0; color:#0c2b55; font-weight:700 }

@media (max-width: 960px){
  .cc-two{ grid-template-columns:1fr; }
}
/* ================= GENERAL ASSEMBLY OF MEMBERS (GAM) ================= */
.gam { background:#fff }

/* Hero */
.gam-hero{ position:relative; min-height:58vh; display:flex; align-items:center; justify-content:center; overflow:hidden }
.gam-hero::before{ content:""; position:absolute; inset:-6%; background-image:var(--bg); background-size:cover; background-position:center; transform:translateY(calc(var(--p,0)*14px)) scale(1.06); filter:brightness(.9) }
.gam-hero__overlay{
  position:relative; z-index:1; text-align:center; color:#fff;
  background:linear-gradient(120deg, rgba(3,4,94,.70), rgba(0,119,182,.65));
  padding: clamp(1.4rem,3.8vw,2.4rem); max-width:980px; margin:0 16px; border-radius:14px; box-shadow:var(--shadow-2);
}
.gam-title{ margin:0 0 .6rem; font-weight:800; font-size: clamp(1.4rem,3.6vw,2.1rem) }
.gam-sub{ margin:0 0 1rem; opacity:.95 }
.gam-cta{ display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap }

/* Blocks */
.gam-block{ padding: clamp(48px,6vw,80px) clamp(16px,4vw,48px) }
.gam-wrap{ max-width:1200px; margin-inline:auto }
.center{text-align:center}

/* About */
.gam-two{ display:grid; grid-template-columns:1.2fr .8fr; gap:2rem; align-items:start }
.gam-h2{ font-weight:800; color:var(--brand-900); font-size: clamp(1.3rem,3.2vw,1.9rem); margin:0 0 .6rem }
.gam-quote{ background:#f2fbff; border:1px solid #cfefff; border-radius:14px; padding:1.1rem 1rem; box-shadow:var(--shadow-1) }
.gam-quote i{ color:var(--brand-700); font-size:1.4rem }
.gam-quote p{ margin:.5rem 0; font-weight:700; color:#0c2a55 }
.gam-quote span{ color:#1f5085; font-style:italic; font-size:.95rem }

/* Structure & stats */
.gam-structure{ background:var(--brand-100) }
.gam-tiles{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1rem }
.tile{ background:#fff; border:1px solid #e1f0fb; border-radius:14px; padding:1rem; text-align:center; box-shadow:var(--shadow-1) }
.tile i{ color:var(--brand-700); font-size:1.7rem; margin-bottom:.5rem }
.tile h3{ margin:.1rem 0 .3rem; color:#0c2f63; font-weight:800 }
.gam-stats{ display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; margin-top:1rem }
.gam-stats > div{ background:#fff; border:1px solid #d8eefb; border-radius:12px; padding:.6rem 1rem; text-align:center; min-width:160px }
.gam-stats strong{ display:block; font-size:1.3rem; color:#023e8a }
.gam-stats span{ color:#0e2f58; font-weight:700 }

/* Powers grid (reuse icon-grid look) */
.gam-powers .icon-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin-top:.6rem }
.gam-powers .icon-grid > div{ background:#f8fbff; border:1px solid #e1f0fb; border-radius:14px; padding:1rem; text-align:center; box-shadow:var(--shadow-1) }
.gam-powers .icon-grid i{ color:var(--brand-700); font-size:1.6rem; margin-bottom:.4rem }
.gam-powers .icon-grid h4{ margin:0; color:#0f2f63 }
.grid-note{ text-align:center; color:#1a3f6e; margin-top:.6rem; font-weight:700 }

/* Sessions */
.gam-sessions{ background:linear-gradient(180deg,#fff 0,#f6fbff 100%) }
.session-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1rem }
.session{ background:#fff; border:1px solid #e1f0fb; border-radius:14px; padding:1rem; box-shadow:var(--shadow-1) }
.session h4{ margin:.1rem 0 .4rem; color:#0b2f60; display:flex; align-items:center; gap:.5rem; font-weight:800 }
.session ul{ margin:0; padding-left:1rem; color:#1b3b6e }

/* Flow */
.gam-flow{ background:#fff }
.flow{ display:grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap:.6rem; align-items:center }
.flow .step{ background:#f8fbff; border:1px solid #e1f0fb; border-radius:12px; padding:.8rem .9rem; position:relative; box-shadow:var(--shadow-1) }
.flow .dot{ position:absolute; width:10px; height:10px; border-radius:50%; background:var(--brand-600); left:10px; top:10px; box-shadow:0 0 0 4px rgba(72,202,228,.25) }
.flow h5{ margin:.1rem 0 .25rem; padding-left:16px; color:#0a2e60; font-weight:800 }
.flow p{ margin:0; color:#203e6f }
.flow .arrow{ color:#0a3c6d; font-weight:800; font-size:1.4rem }

/* Rights & duties */
.gam-rights{ background:#fff }
.two-col{ display:grid; grid-template-columns:repeat(2,1fr); gap:1rem }
.card{ background:#f8fbff; border:1px solid #e1f0fb; border-radius:12px; padding:1rem; box-shadow:var(--shadow-1) }
.card h4{ margin:0 0 .4rem; color:#0a2e60; font-weight:800; display:flex; align-items:center; gap:.5rem }
.card ul{ margin:0; padding-left:1.1rem; color:#1a3b6e }
.note{ text-align:center; color:#1a3f6e; margin-top:.6rem; font-weight:700 }

/* Voices */
.gam-voices{ background:linear-gradient(180deg,#f6fbff 0,#eaf4ff 100%) }
.quotes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1rem }
.quotes blockquote{ background:#fff; border:1px solid #e1f0fb; border-radius:14px; padding:1rem; color:#0d2f60; font-weight:700; box-shadow:var(--shadow-1) }
.quotes blockquote span{ display:block; margin-top:.4rem; color:#1e4f88; font-style:italic }

/* CTA banner */
.gam-cta-banner{ background:var(--brand-100) }
.cta-sub{ max-width:820px; margin:.2rem auto 1rem; color:#0a2e60 }
.cta-actions{ display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center }

/* Responsive */
@media (max-width: 980px){
  .gam-two{ grid-template-columns:1fr }
  .flow{ grid-template-columns: 1fr; }
  .flow .arrow{ display:none }
  .two-col{ grid-template-columns:1fr }
}
/* ========= Modal (Notices) ========= */
.ifwph-modal{
  position:fixed; inset:0; display:none;
  background:rgba(2,62,138,.6); backdrop-filter:saturate(130%) blur(4px);
  z-index:10000; align-items:center; justify-content:center; padding:16px;
}
.ifwph-modal.is-open{ display:flex; }
.ifwph-modal__dialog{
  width:min(960px, 96vw); background:#fff; border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,.35); overflow:hidden;
  animation:pop .28s ease-out;
}
@keyframes pop{ from{ transform:scale(.96); opacity:.7 } to{ transform:scale(1); opacity:1 } }
.ifwph-modal__close{
  position:absolute; right:14px; top:10px; border:0; background:transparent; font-size:32px; color:#023e8a; cursor:pointer;
}
.ifwph-modal__header{
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  padding:14px 16px; background:linear-gradient(90deg,#023e8a,#0077b6); color:#fff;
}
.ifwph-modal__header h3{ margin:0; font-weight:800; font-size:1.1rem }
.ifwph-modal__search{ display:flex; align-items:center; gap:8px; background:#ffffff22; padding:6px 10px; border-radius:999px }
.ifwph-modal__search input{ border:0; background:transparent; color:#fff; width:220px; outline:none }
.ifwph-table{ padding:10px 16px 16px }
.ifwph-table__head, .ifwph-table__row{
  display:grid; grid-template-columns: 1fr 140px 220px 120px; gap:10px; align-items:center;
}
.ifwph-table__head{ font-weight:800; color:#023e8a; padding:8px 0; border-bottom:1px solid #e6f3fb }
.ifwph-table__row{ padding:10px 0; border-bottom:1px dashed #eaf2fb }
.ifwph-table__row .title{ color:#0b2f63; font-weight:700 }
.ifwph-modal__footer{ background:#f7fbff; padding:10px 16px; color:#0f2f63 }

.btn{ display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; font-weight:700; text-decoration:none; }
.btn--alt{ background:#00b4d8; color:#fff }
.btn--ghost{ background:#f2faff; color:#023e8a; border:1px solid #d9effa }

/* ========= Footer Resources ========= */
.ifwph-resources{ padding:48px 16px 64px; background:linear-gradient(180deg,#ffffff 0,#f7fbff 100%); }
.res-wrap{ max-width:1000px; margin:0 auto }
.res-title{ margin:0 0 10px; color:#023e8a; font-weight:800 }
.res-tabs{ display:flex; gap:8px; margin:10px 0 12px; flex-wrap:wrap }
.res-tab{ border:1px solid #cfe9fb; background:#eaf6ff; color:#023e8a; padding:8px 12px; border-radius:999px; cursor:pointer; font-weight:700 }
.res-tab.is-active{ background:#023e8a; color:#fff; border-color:#023e8a }
.res-panels{ background:#fff; border:1px solid #e6f3fb; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.06); }
.res-panel{ padding:14px 16px }
.res-list{ list-style:none; margin:0; padding:0 }
.res-list li{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px dashed #eaf2fb }
.res-list li:last-child{ border-bottom:0 }
.res-list span{ color:#0b2f63; font-weight:700 }

@media (max-width: 820px){
  .ifwph-table__head, .ifwph-table__row{ grid-template-columns: 1fr 110px 1fr 90px }
  .ifwph-modal__search input{ width:160px }
}
@media (max-width: 560px){
  .ifwph-table__head{ display:none }
  .ifwph-table__row{ grid-template-columns: 1fr; gap:4px }
  .ifwph-table__row span{ display:block }
  .ifwph-modal__search input{ width:120px }
}
/* ===== Language modal ===== */
.ifwph-langmodal{
  position:fixed; inset:0; display:none; z-index:11000;
  background:rgba(0,0,0,.45); backdrop-filter:blur(2px);
  align-items:center; justify-content:center; padding:18px;
}
.ifwph-langmodal.is-open{ display:flex; }
.ifwph-langmodal__dialog{
  width:min(620px,96vw); background:#fff; border-radius:14px; padding:18px 18px 22px;
  box-shadow:0 22px 60px rgba(0,0,0,.25); position:relative; text-align:center;
}
.ifwph-langmodal__close{
  position:absolute; right:12px; top:8px; border:0; background:transparent; font-size:28px; color:#023e8a; cursor:pointer;
}
#langTitle{ margin:4px 0 2px; font-weight:800; color:#023e8a }
.lang-sub{ margin:0 0 12px; color:#0e2f58; font-weight:700 }
.lang-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px }
.lang-btn{
  border:1px solid #cfe9fb; background:#f6fbff; color:#023e8a; font-weight:800; padding:.7rem .8rem; border-radius:12px; cursor:pointer;
}
.lang-btn:hover{ background:#eaf6ff }
@media (max-width:520px){ .lang-btn{ padding:.6rem } }

/* Floating globe button */
.ifwph-langglobe{
  position:fixed; right:16px; bottom:18px; z-index:10900;
  width:46px; height:46px; border-radius:50%; border:0; cursor:pointer;
  background:#0077b6; color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.18);
  display:grid; place-items:center; font-size:18px;
}
.ifwph-langglobe:hover{ background:#0096c7 }
/* ===== Language Modal ===== */
.ifwph-langmodal{
  position: fixed; inset: 0; display: none;
  background: rgba(2,62,138,.6); backdrop-filter: blur(4px) saturate(130%);
  z-index: 10050; align-items: center; justify-content: center; padding: 16px;
}
.ifwph-langmodal.is-open{ display:flex; }
.ifwph-langmodal__dialog{
  width:min(640px, 96vw); background:#fff; border-radius:14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 18px;
  text-align:center; animation: pop .26s ease-out;
  border: 1px solid #e6f3fb;
}
.ifwph-langmodal h3{ margin: 4px 0 8px; color:#023e8a; font-weight:800; }
.langnote{ margin:0 0 12px; color:#0f2f63; font-weight:700; }
.lang-grid{
  display:grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap:10px; margin-top: 6px;
}
.lang-btn{
  background: #eaf6ff; color:#023e8a; border:1px solid #cfe9fb;
  border-radius: 999px; padding: 10px 14px; font-weight:800; cursor:pointer;
}
.lang-btn:hover{ background:#023e8a; color:#fff; border-color:#023e8a; }
@keyframes pop{ from{ transform:scale(.96); opacity:.7 } to{ transform:scale(1); opacity:1 } }
/* Membership button consistency (already similar to your .btn styles) */
.btn-membership { background: var(--brand-700); color:#fff; border-radius:999px; padding:.72rem 1.1rem; font-weight:800; border:2px solid transparent; }
.btn-membership:hover { background: var(--brand-600); }
#apply form{ background: transparent; border: 0; backdrop-filter:none; }
/* ==== Hairline gap killer (put LAST in styles.css) ==== */
html, body { margin:0; padding:0; }

/* Your top bars sometimes add a 1px line */
.brandbar,
.topbar {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Prevent the next block’s top-margin from collapsing into the header */
header, .brandbar, .topbar {
  padding-bottom: 0 !important;
}
.mf-hero, .hero, .banner, main > section:first-child {
  margin-top: 0 !important;
}

/* Safari/Chrome sub-pixel fix */
.brandbar, .topbar, .mf-hero, .hero, .banner {
  transform: translateZ(0);
}

/* If the login page uses a full-bleed photo, render it via ::before to avoid seams */
.login-body { background: none !important; }
.login-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('https://blog.lib.uiowa.edu/studio/files/2012/01/PeaceMarch.jpg') center/cover no-repeat;
}
/* === Join Newsletter Button Style Match Learn More === */

.nav-cta a[href="newsletter.html"] {
  background: #ffffff;
  color: #002B5B; /* var(--navy) */
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: .25s ease-in-out;
}

.nav-cta a[href="newsletter.html"]:hover {
  background: #eaf4ff; /* soft blue */
  border-color: rgba(0, 0, 0, 0.12);
  color: #002B5B;
  transform: translateY(-2px);
}
/* ✅ Perfect centering for last row items in Mandate / Powers sections */
#spa-powers .icon-grid,
.gam-powers .icon-grid,
.cc-functions .cc-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1080px;            /* ✅ width limit so leftover items center properly */
  margin-inline: auto;          /* ✅ full grid centered on page */
  justify-content: center;      /* ✅ final centering of last-row items */
  gap: 24px;
  align-items: start;
}

/* ✅ Equalized boxes - same as before */
#spa-powers .icon-grid > div,
.gam-powers .icon-grid > div,
.cc-functions .cc-icon-grid > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  text-align: center;
  background: #f8fbff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  padding: 24px;
}

/* ✅ Mobile tuning */
@media (max-width: 640px) {
  #spa-powers .icon-grid,
  .gam-powers .icon-grid,
  .cc-functions .cc-icon-grid {
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
}
/* ===== FIX: Center last row for SPA + CC mandate grids only ===== */

/* SPA — Mandate and Authority */
#spa-powers .icon-grid{
  display:grid;
  /* fixed track size => leftover items perfectly center with justify-content */
  grid-template-columns: repeat(auto-fit, 260px);
  justify-content:center;   /* centers the whole grid line */
  align-items:start;
  gap:24px;
  margin-inline:auto;
}

/* CC — Mandate & Responsibilities */
.cc-functions .cc-icon-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, 260px);
  justify-content:center;
  align-items:start;
  gap:24px;
  margin-inline:auto;
}

/* Equal card styling/height (only these two sections) */
#spa-powers .icon-grid > div,
.cc-functions .cc-icon-grid > div{
  width:260px;              /* match the track width */
  min-height:140px;         /* keep cards visually equal */
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  text-align:center;

  background:#f8fbff;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:16px;
  box-shadow:0 3px 12px rgba(0,0,0,0.06);
  padding:24px;
}

/* Icons (optional consistency) */
#spa-powers .icon-grid i,
.cc-functions .cc-icon-grid i{
  font-size:32px;
  margin-bottom:10px;
  line-height:1;
}

/* Mobile: narrower columns so wrap cleanly but stay centered */
@media (max-width:640px){
  #spa-powers .icon-grid,
  .cc-functions .cc-icon-grid{
    grid-template-columns: repeat(auto-fit, 200px);
    gap:16px;
  }
  #spa-powers .icon-grid > div,
  .cc-functions .cc-icon-grid > div{
    width:200px;
  }
}
/* ===== FINAL ALIGNMENT PATCH — ONLY THESE 3 SECTIONS ===== */
/* SPA: Mandate and Authority */
#spa-powers .icon-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 260px) !important; /* fixed tracks */
  justify-content: center !important;   /* center last row */
  align-items: start !important;
  gap: 24px !important;
  margin-inline: auto !important;
}
#spa-powers .icon-grid > div {
  box-sizing: border-box !important;
  width: 260px !important;              /* match track size */
  min-height: 140px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

/* GAM: Democratic Powers & Responsibilities */
.gam-powers .icon-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 260px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 24px !important;
  margin-inline: auto !important;
}
.gam-powers .icon-grid > div {
  box-sizing: border-box !important;
  width: 260px !important;
  min-height: 140px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

/* CC: Mandate & Responsibilities */
.cc-functions .cc-icon-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 260px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 24px !important;
  margin-inline: auto !important;
}
.cc-functions .cc-icon-grid > div {
  box-sizing: border-box !important;
  width: 260px !important;
  min-height: 140px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

/* Mobile wrap — still centered */
@media (max-width: 640px) {
  #spa-powers .icon-grid,
  .gam-powers .icon-grid,
  .cc-functions .cc-icon-grid {
    grid-template-columns: repeat(auto-fit, 200px) !important;
    gap: 16px !important;
  }
  #spa-powers .icon-grid > div,
  .gam-powers .icon-grid > div,
  .cc-functions .cc-icon-grid > div {
    width: 200px !important;
  }
}
/* ✅ FIX SPA Mandate — EXACT 4 CARDS PER ROW ON DESKTOP */
#spa-powers .icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 24px;
  justify-items: center;
  margin-inline: auto;
  max-width: 1200px;
}

/* ✅ Cards auto-adjust height and alignment */
#spa-powers .icon-grid > div {
  width: 100%;
  max-width: 260px;
  min-height: 140px;
  background: #f8fbff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

/* ✅ Tablet View */
@media (max-width: 991px) {
  #spa-powers .icon-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    gap: 20px;
  }
}

/* ✅ Mobile View */
@media (max-width: 600px) {
  #spa-powers .icon-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }
}
/* Language modal visibility + layering */
.ifwph-langmodal{display:none;position:fixed;inset:0;z-index:9999;
  align-items:center;justify-content:center;background:rgba(0,0,0,.45);}
.ifwph-langmodal.is-open{display:flex !important;}
.ifwph-langmodal__dialog{background:#fff;max-width:520px;width:92%;
  border-radius:14px;padding:20px;box-shadow:0 10px 30px rgba(0,0,0,.2);}
.ifwph-langmodal__close{position:absolute;top:10px;right:14px;font-size:22px;background:none;border:0;cursor:pointer}

/* Make globe reliably clickable & on top */
#ifwph-globe-fix{} /* no-op anchor to find later */
#ifwph-globe-fix + #langGlobe,
#langGlobe{position:fixed;right:18px;bottom:18px;z-index:10000;cursor:pointer}
<style>
/* REMOVE BACKGROUND IMAGE FROM HERO (SPA PAGE) */
.hero {
  background: #dff4ff !important; /* Same light-blue shade */
  background-size: cover !important;
  background-position: center !important;
}

/* REMOVE GRADIENT OVERLAY */
.hero::after {
  display: none !important;
}

/* KEEP BLUE CARD VISIBLE */
.story, .card, .hero-content{
  position: relative;
  z-index: 2;
}

/* OPTIONAL: Give hero section more padding for spacing */
.hero {
  padding-top: 160px !important;
  padding-bottom: 140px !important;
}
</style>
/* ========== IFWPH NAVBAR ========== */
.ifwph-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 70, 140, 0.15);
  box-shadow: 0 2px 8px rgba(0, 50, 100, 0.1);
}

.ifwph-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Logo --- */
.ifwph-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #004080;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.2s ease;
}
.ifwph-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}
.ifwph-logo:hover {
  color: #0077cc;
  transform: scale(1.02);
}

/* --- Nav Links --- */
.ifwph-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.ifwph-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: #003366;
  position: relative;
  transition: all 0.3s ease;
}
.ifwph-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #0077cc;
  transition: width 0.3s ease;
}
.ifwph-nav a:hover {
  color: #0077cc;
}
.ifwph-nav a:hover::after {
  width: 100%;
}

/* --- Right Buttons --- */
.ifwph-nav-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ifwph-btn-outline,
.ifwph-btn-primary {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ifwph-btn-outline {
  border: 2px solid #0077cc;
  color: #0077cc;
  background: transparent;
}
.ifwph-btn-outline:hover {
  background: #0077cc;
  color: white;
}

.ifwph-btn-primary {
  background: linear-gradient(135deg, #0077cc, #003366);
  color: white;
  border: none;
}
.ifwph-btn-primary:hover {
  background: linear-gradient(135deg, #005fa3, #002d5c);
  transform: translateY(-1px);
}

/* --- Smooth Scroll --- */
html {
  scroll-behavior: smooth;
}
/* ========== IFWPH GLASS NAVBAR (ENHANCED) ========== */

.ifwph-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left,
      rgba(0, 119, 204, 0.18),
      rgba(255, 255, 255, 0.9));
  border-bottom: 1px solid rgba(0, 70, 140, 0.14);
  box-shadow: 0 8px 24px rgba(0, 40, 90, 0.16);
  animation: ifwphNavDrop 0.55s ease-out forwards;
  transform-origin: top;
}

.ifwph-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.ifwph-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.28rem;
  color: #003a7a;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.ifwph-logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 54, 120, 0.25);
}
.ifwph-logo span {
  padding-top: 2px;
}
.ifwph-logo:hover {
  color: #0090ff;
  transform: translateY(-1px);
}

/* Nav Links */
.ifwph-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.ifwph-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  color: #0a365c;
  padding: 6px 0;
  transition: all 0.25s ease;
  text-transform: none;
}

/* Hover underline + glow */
.ifwph-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00b4ff, #0055ff);
  box-shadow: 0 0 8px rgba(0, 140, 255, 0.7);
  transition: width 0.3s ease;
}
.ifwph-nav a:hover {
  color: #007fe6;
  transform: translateY(-1px);
}
.ifwph-nav a:hover::after {
  width: 100%;
}

/* Active link (scroll spy) */
.ifwph-nav a.active {
  color: #007fe6;
}
.ifwph-nav a.active::after {
  width: 100%;
}

/* Right buttons */
.ifwph-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ifwph-btn-outline,
.ifwph-btn-primary {
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.28s ease;
  white-space: nowrap;
}

/* Outline button */
.ifwph-btn-outline {
  border: 1.8px solid rgba(0, 153, 255, 0.9);
  color: #007fe6;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.ifwph-btn-outline:hover {
  background: linear-gradient(135deg, #ffffff, #e6f5ff);
  color: #0055aa;
  box-shadow: 0 4px 14px rgba(0, 120, 220, 0.25);
  transform: translateY(-1px);
}

/* Primary button */
.ifwph-btn-primary {
  background: radial-gradient(circle at top left, #25c4ff, #0041aa);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 18px rgba(0, 80, 180, 0.45);
}
.ifwph-btn-primary:hover {
  background: radial-gradient(circle at top left, #52d4ff, #003080);
  box-shadow: 0 7px 22px rgba(0, 70, 160, 0.55);
  transform: translateY(-2px) scale(1.02);
}

/* Entrance animation */
@keyframes ifwphNavDrop {
  0% {
    opacity: 0;
    transform: translateY(-18px) scaleY(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scaleY(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

/* Smooth scroll for the whole page */
html {
  scroll-behavior: smooth;
}

/* Optional: small screens - stack neatly */
@media (max-width: 900px) {
  .ifwph-nav-container {
    padding: 8px 18px;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .ifwph-nav ul {
    flex-wrap: wrap;
    gap: 14px;
  }
}
/* ==== IFWPH PREMIUM GLASS NAV ==== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 80, 160, 0.16);
  box-shadow: 0 8px 24px rgba(0, 40, 90, 0.18);
  animation: ifwphNavDrop 0.5s ease-out forwards;
}

.site-header .nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 60, 130, 0.35);
}

.brand__text {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  color: #003a7a;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.brand:hover .brand__text {
  color: #0090ff;
  transform: translateY(-1px);
}

/* Nav links */

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a355a;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

/* Hover underline + glow */

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #27c4ff, #0055ff);
  box-shadow: 0 0 10px rgba(0, 140, 255, 0.8);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #007fe6;
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Active link from scroll spy */

.main-nav a.active {
  color: #007fe6;
}

.main-nav a.active::after {
  width: 100%;
}

/* Right-side buttons (existing) */

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn--outline {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1.6px solid rgba(0, 153, 255, 0.9);
  color: #007fe6;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.nav-cta .btn--outline:hover {
  background: linear-gradient(135deg, #ffffff, #e6f5ff);
  color: #0050aa;
  box-shadow: 0 4px 14px rgba(0, 120, 220, 0.25);
  transform: translateY(-1px);
}

.nav-cta .btn--primary {
  border-radius: 999px;
  padding: 6px 16px;
  background: radial-gradient(circle at top left, #26c5ff, #0041a8);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 18px rgba(0, 80, 180, 0.5);
  transition: all 0.28s ease;
}

.nav-cta .btn--primary:hover {
  background: radial-gradient(circle at top left, #4fd4ff, #003080);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 22px rgba(0, 70, 160, 0.6);
}

/* Navbar entrance */

@keyframes ifwphNavDrop {
  0% {
    opacity: 0;
    transform: translateY(-16px) scaleY(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scaleY(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

/* Smooth scroll globally */

html {
  scroll-behavior: smooth;
}

/* Basic responsive tweak */

@media (max-width: 900px) {
  .site-header .nav {
    padding: 8px 16px;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .main-nav ul {
    flex-wrap: wrap;
    gap: 14px;
  }
}
/* =========================================
   FINAL MOBILE NAV OVERLAY (IFWPH x ICSCW)
   ========================================= */

/* Burger button – glow + 3 lines -> X */
.burger{
  display:none;                 /* desktop pe hidden, mobile me niche show */
  background:rgba(255,255,255,0.85);
  border-radius:999px;
  border:1px solid rgba(0,150,255,0.25);
  padding:6px 7px;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.burger span{
  display:block;
  width:20px;
  height:2px;
  background:#023e8a;
  margin:3px 0;
  border-radius:999px;
  transition:transform .22s ease, opacity .22s ease, background .22s ease;
  transform-origin:center;
}
.burger:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
}
.burger.is-open{
  background:linear-gradient(135deg,#0077b6,#00b4d8);
}
.burger.is-open span{
  background:#fff;
}
.burger.is-open span:nth-child(1){
  transform:translateY(5px) rotate(45deg);
}
.burger.is-open span:nth-child(2){
  opacity:0;
}
.burger.is-open span:nth-child(3){
  transform:translateY(-5px) rotate(-45deg);
}

/* ===== Mobile overlay ===== */
@media (max-width: 900px){

  /* Header layout thoda tight */
  .site-header .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:8px 16px;
  }

  /* Burger dikhado */
  .burger{
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
  }

  /* Full-screen overlay nav */
  .main-nav{
    position:fixed;
    inset:0;
    background:radial-gradient(circle at 0% 0%,rgba(0,119,182,0.18),transparent 55%),
               radial-gradient(circle at 100% 0%,rgba(0,180,216,0.18),transparent 55%),
               rgba(3,4,94,0.82);
    backdrop-filter:blur(16px);
    z-index:120;
    transform:translateY(-100%);
    opacity:0;
    pointer-events:none;
    transition:transform .35s ease, opacity .35s ease;
    display:flex;
    align-items:flex-start;
    justify-content:center;
  }
  .main-nav.is-open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }

  /* Inner white panel with vertical links */
  .main-nav ul{
    margin-top:76px;
    width: min(340px, 88vw);
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 22px 50px rgba(0,0,0,0.28);
    padding:10px 0 14px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
  }

  .main-nav li{
    border-bottom:1px solid #eef3fb;
  }
  .main-nav li:last-child{
    border-bottom:none;
  }

  .main-nav a{
    display:block;
    padding:12px 18px;
    font-size:1.02rem;
    font-weight:700;
    letter-spacing:.01em;
    color:#12325a;
    position:relative;
    transform:none;
  }

  /* Desktop underline off */
  .main-nav a::after{
    display:none;
  }

  /* Hover effect – soft slide + glow line */
  .main-nav a:hover{
    background:linear-gradient(90deg,#f4f9ff,#e8f3ff);
    color:#0050aa;
  }

  /* Last item as big pill button (Resources) – ICSCW "Membership" style */
  .main-nav li:last-child a{
    margin:8px 14px 4px;
    border-radius:999px;
    background:linear-gradient(135deg,#0077b6,#00b4d8);
    color:#fff;
    text-align:center;
    box-shadow:0 16px 32px rgba(0,119,182,0.45);
  }
  .main-nav li:last-child a:hover{
    background:linear-gradient(135deg,#00b4d8,#48cae4);
    box-shadow:0 18px 38px rgba(0,119,182,0.55);
    transform:translateY(-1px);
  }

  /* Body lock jab menu open ho */
  .no-scroll{
    overflow:hidden;
    height:100dvh;
  }
}
/* MOBILE: hide nav tabs + burger, only buttons visible */
@media (max-width: 900px){
  .burger{
    display:none !important;
  }
  .main-nav{
    display:none !important;
  }
}
/* ===== Floating Social FAB ===== */
.social-fab{
  position:fixed;
  bottom:26px;
  right:22px;
  z-index:200;
}

.social-main{
  width:58px;
  height:58px;
  border-radius:50%;
  background:#0077b6;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
  transition:.25s ease;
}

.social-main:hover{
  transform:scale(1.08);
}

.social-menu{
  position:absolute;
  bottom:70px;
  right:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:.3s ease;
}

.social-menu.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.soc{
  width:46px;
  height:46px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  box-shadow:0 6px 14px rgba(0,0,0,.25);
}

/* Individual colors */
.facebook{ background:#1877f2; }
.x{ background:#000; }
.instagram{
  background:radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}
/* Make all reveal sections always visible on mobile */
@media (max-width: 920px) {
  .reveal,
  .reveal-children > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* ==== HARD FIX: disable reveal hiding ==== */
.reveal,
.reveal-children > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}


