/* ══════════════════════════════════════════════════════
   PIONEER FOUNDATION — style.css
   Blue #045494 · Green #0cab4f
   All 12 pages share this single stylesheet
══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --blue:        #045494;
  --blue-dark:   #033d6e;
  --blue-deeper: #022a4d;
  --blue-light:  #0669b8;
  --blue-pale:   #e8f2fb;
  --green:       #0cab4f;
  --green-dark:  #098a3e;
  --green-light: #12d462;
  --green-pale:  #e6f8ee;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --text:        #0f172a;
  --nav-h:       66px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; color:var(--text); background:var(--white); -webkit-font-smoothing:antialiased; }
img  { max-width:100%; display:block; }
a    { color:inherit; }

/* ── TOP BAR ───────────────────────────────────── */
.topbar { background:var(--blue-deeper); padding:7px 0; }
.tbi    { max-width:1240px; margin:auto; padding:0 28px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:6px; }
.tbi>span { font-size:.73rem; color:rgba(255,255,255,.4); }
.tb-links { display:flex; gap:16px; }
.tb-links a { font-size:.73rem; color:rgba(255,255,255,.45); text-decoration:none; transition:color .2s; }
.tb-links a:hover { color:var(--green-light); }

/* ── HEADER ────────────────────────────────────── */
header { background:var(--white); border-bottom:1px solid var(--gray-200); position:sticky; top:0; z-index:900; box-shadow:0 1px 12px rgba(4,84,148,.06); }
.navw  { max-width:1240px; margin:auto; padding:0 28px; height:var(--nav-h); display:flex; align-items:center; justify-content:space-between; }
.logo  { display:flex; align-items:center; gap:13px; text-decoration:none; }
.lm    { width:44px; height:44px; background:var(--blue); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-size:22px; font-weight:900; color:var(--white); flex-shrink:0; position:relative; }
.lm::after { content:''; position:absolute; bottom:-3px; right:-3px; width:14px; height:14px; background:var(--green); border-radius:50%; border:2px solid var(--white); }
.lw h1  { font-family:'Playfair Display',serif; font-size:1.08rem; font-weight:700; color:var(--blue); line-height:1.15; }
.lw span { font-size:.63rem; color:var(--gray-400); text-transform:uppercase; letter-spacing:.1em; }
.mnav  { display:flex; align-items:center; gap:2px; }
.mnav a { font-size:.83rem; font-weight:500; color:var(--gray-500); padding:8px 13px; border-radius:7px; text-decoration:none; transition:all .18s; }
.mnav a:hover { color:var(--blue); background:var(--blue-pale); }
.mnav a.act  { color:var(--blue); font-weight:700; }
.btn-join { background:var(--green)!important; color:var(--white)!important; padding:9px 20px!important; border-radius:8px!important; font-weight:700!important; margin-left:6px; box-shadow:0 3px 14px rgba(12,171,79,.3); transition:all .2s!important; }
.btn-join:hover { background:var(--green-dark)!important; transform:translateY(-1px)!important; }

/* Mobile hamburger */
.ham-btn { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.ham-btn span { display:block; width:22px; height:2px; background:var(--blue); border-radius:2px; transition:all .3s; }
.mobile-nav { display:none; position:fixed; inset:0; background:rgba(2,42,77,.96); z-index:999; flex-direction:column; align-items:center; justify-content:center; gap:16px; }
.mobile-nav.open { display:flex; }
.mobile-nav a { font-size:1.2rem; font-weight:700; color:rgba(255,255,255,.85); text-decoration:none; padding:12px 32px; border-radius:10px; transition:all .2s; }
.mobile-nav a:hover, .mobile-nav a.act { color:var(--green-light); }
.mobile-close { position:absolute; top:24px; right:24px; background:none; border:none; color:rgba(255,255,255,.6); font-size:1.8rem; cursor:pointer; }

/* ── TICKER ─────────────────────────────────────── */
.ticker   { background:var(--green); padding:9px 0; overflow:hidden; }
.ticker-w { display:flex; align-items:center; }
.t-tag    { background:var(--blue); color:var(--white); font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; padding:4px 14px; white-space:nowrap; flex-shrink:0; margin-right:16px; }
.t-track  { display:flex; gap:48px; animation:tscroll 32s linear infinite; white-space:nowrap; }
.t-track span { white-space:nowrap; font-size:.82rem; font-weight:600; color:var(--white); }
.t-track span::before { content:'◆ '; font-size:.55rem; opacity:.7; }
@keyframes tscroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTION UTILS ──────────────────────────────── */
section, .section { padding:72px 28px; }
.wrap   { max-width:1240px; margin:auto; }
.sh     { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:40px; flex-wrap:wrap; gap:16px; }
.stag   { font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--green); margin-bottom:8px; }
.stitle { font-family:'Playfair Display',serif; font-size:clamp(1.5rem,2.8vw,2.2rem); font-weight:900; color:var(--blue); }
.ssub   { color:var(--gray-500); font-size:.92rem; line-height:1.65; max-width:520px; margin-top:8px; }
.see-all { font-size:.82rem; font-weight:600; color:var(--blue); text-decoration:none; border-bottom:2px solid var(--green); padding-bottom:2px; white-space:nowrap; }
hr.dv   { border:none; border-top:1px solid var(--gray-100); margin:0; }

/* ── PAGE HERO (inner pages) ────────────────────── */
.page-hero { background:var(--blue); padding:60px 28px; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 80% 40%,rgba(12,171,79,.18) 0%,transparent 55%); }
.ph-grid  { position:absolute; inset:0; opacity:.055; background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px); background-size:48px 48px; }
.ph-in    { max-width:1240px; margin:auto; position:relative; z-index:1; }
.ph-bc    { display:flex; gap:8px; align-items:center; margin-bottom:14px; flex-wrap:wrap; }
.ph-bc a  { font-size:.76rem; color:rgba(255,255,255,.45); text-decoration:none; }
.ph-bc a:hover { color:var(--green-light); }
.ph-bc .sep { color:rgba(255,255,255,.22); font-size:.72rem; }
.ph-bc .cur { font-size:.76rem; color:rgba(255,255,255,.65); }
.ph-tag   { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#5eeaa0; margin-bottom:10px; }
.ph-title { font-family:'Playfair Display',serif; font-size:clamp(1.9rem,4vw,2.8rem); font-weight:900; color:var(--white); line-height:1.2; margin-bottom:10px; }
.ph-sub   { font-size:.95rem; color:rgba(255,255,255,.6); line-height:1.65; max-width:560px; }

/* ── COURSE CARDS ───────────────────────────────── */
.pgrid  { display:grid; grid-template-columns:repeat(auto-fill,minmax(274px,1fr)); gap:22px; }
.pcard  { background:var(--white); border:1.5px solid var(--gray-200); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; transition:all .25s; }
.pcard:hover { border-color:var(--blue); box-shadow:0 10px 32px rgba(4,84,148,.12); transform:translateY(-5px); }
.pthumb { height:152px; display:flex; align-items:center; justify-content:center; font-size:3rem; position:relative; }
.plevel { position:absolute; top:12px; left:12px; background:var(--green); color:var(--white); font-size:.63rem; font-weight:700; padding:3px 10px; border-radius:20px; text-transform:uppercase; letter-spacing:.06em; }
.pbody  { padding:20px; flex:1; display:flex; flex-direction:column; }
.pdept  { font-size:.67rem; font-weight:700; color:var(--green); text-transform:uppercase; letter-spacing:.08em; margin-bottom:7px; }
.pname  { font-family:'Playfair Display',serif; font-size:1.02rem; font-weight:700; color:var(--blue); margin-bottom:8px; line-height:1.35; }
.pdesc  { font-size:.81rem; color:var(--gray-500); line-height:1.6; flex:1; }
.pfoot  { display:flex; align-items:center; justify-content:space-between; margin-top:16px; padding-top:14px; border-top:1px solid var(--gray-100); }
.pmeta  { font-size:.74rem; color:var(--gray-400); display:flex; gap:10px; }
.plink  { font-size:.79rem; font-weight:700; color:var(--blue); background:var(--blue-pale); padding:5px 13px; border-radius:6px; text-decoration:none; transition:all .2s; }
.plink:hover { background:var(--blue); color:var(--white); }

/* ── NOTICE TAGS ────────────────────────────────── */
.ntag   { font-size:.63rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; padding:2px 8px; border-radius:20px; display:inline-block; margin-bottom:5px; }
.t-ev   { background:rgba(12,171,79,.2);  color:#0cab4f; }
.t-no   { background:rgba(4,84,148,.12);  color:#045494; }
.t-re   { background:rgba(255,193,7,.18); color:#b45309; }
.t-ug   { background:rgba(239,68,68,.15); color:#dc2626; }
.t-ws   { background:rgba(99,102,241,.15);color:#4f46e5; }

/* ── NEWS CARDS ─────────────────────────────────── */
.nc       { background:var(--white); border-radius:11px; display:flex; overflow:hidden; box-shadow:0 1px 10px rgba(4,84,148,.07); transition:transform .2s; min-height:100px; }
.nc:hover { transform:translateX(4px); }
.nc-thumb { width:86px; flex-shrink:0; background:linear-gradient(135deg,var(--blue-dark),var(--blue)); display:flex; align-items:center; justify-content:center; font-size:1.9rem; }
.nc-body  { padding:13px; flex:1; }
.nc-cat   { font-size:.64rem; font-weight:700; color:var(--green); text-transform:uppercase; letter-spacing:.08em; margin-bottom:5px; }
.nc-title { font-family:'Playfair Display',serif; font-size:.86rem; font-weight:700; color:var(--blue); line-height:1.35; margin-bottom:4px; }
.nc-date  { font-size:.71rem; color:var(--gray-400); }

/* ── EVENT CARDS ────────────────────────────────── */
.egrid  { display:grid; grid-template-columns:repeat(auto-fill,minmax(295px,1fr)); gap:20px; }
.ecard  { background:var(--white); border:1.5px solid var(--gray-200); border-radius:14px; padding:24px; transition:all .25s; }
.ecard:hover  { border-color:var(--green); box-shadow:0 8px 28px rgba(12,171,79,.12); transform:translateY(-4px); }
.edchip { display:inline-flex; align-items:center; gap:7px; background:var(--green-pale); color:var(--green-dark); font-size:.74rem; font-weight:700; padding:5px 12px; border-radius:20px; margin-bottom:13px; }
.etitle { font-family:'Playfair Display',serif; font-size:1.02rem; font-weight:700; color:var(--blue); margin-bottom:8px; line-height:1.35; }
.edesc  { font-size:.81rem; color:var(--gray-500); line-height:1.6; margin-bottom:13px; }
.emeta  { display:flex; gap:12px; font-size:.73rem; color:var(--gray-400); flex-wrap:wrap; align-items:center; }
.etag   { font-size:.67rem; font-weight:700; background:var(--blue-pale); color:var(--blue); padding:3px 10px; border-radius:20px; }

/* ── TESTIMONIAL CARDS ──────────────────────────── */
.tgrid  { display:grid; grid-template-columns:repeat(auto-fill,minmax(295px,1fr)); gap:18px; }
.tcard  { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:24px; transition:background .2s; }
.tcard:hover { background:rgba(255,255,255,.1); }
.tq     { font-size:2.4rem; color:var(--green); line-height:1; margin-bottom:10px; font-family:Georgia,serif; }
.ttext  { font-size:.87rem; color:rgba(255,255,255,.68); line-height:1.7; margin-bottom:18px; font-style:italic; }
.tauthor { display:flex; align-items:center; gap:12px; }
.tav    { width:40px; height:40px; border-radius:50%; background:var(--green); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--white); font-size:.92rem; flex-shrink:0; }
.tname  { font-size:.84rem; font-weight:700; color:var(--white); }
.trole  { font-size:.72rem; color:rgba(255,255,255,.38); }

/* ── GALLERY ────────────────────────────────────── */
.gal-filter { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px; }
.gf-btn     { padding:8px 18px; border-radius:30px; border:1.5px solid var(--gray-200); font-size:.82rem; font-weight:600; cursor:pointer; background:var(--white); color:var(--gray-500); transition:all .2s; font-family:'DM Sans',sans-serif; }
.gf-btn:hover   { border-color:var(--blue); color:var(--blue); }
.gf-btn.active  { background:var(--blue); color:var(--white); border-color:var(--blue); }
.gal-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.gal-item { border-radius:12px; overflow:hidden; position:relative; cursor:pointer; background:var(--gray-100); aspect-ratio:4/3; transition:transform .25s,box-shadow .25s; }
.gal-item:hover { transform:scale(1.03); box-shadow:0 12px 36px rgba(4,84,148,.18); }
.gal-img  { width:100%; height:100%; object-fit:cover; display:block; }
.gal-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:linear-gradient(135deg,var(--blue-pale),#c5ddf5); }
.gal-placeholder .ge { font-size:3rem; }
.gal-placeholder .gt { font-size:.8rem; font-weight:600; color:var(--blue); text-align:center; padding:0 12px; }
.gal-overlay  { position:absolute; inset:0; background:linear-gradient(to top,rgba(4,84,148,.85),transparent); opacity:0; transition:opacity .25s; display:flex; align-items:flex-end; padding:16px; }
.gal-item:hover .gal-overlay { opacity:1; }
.gal-overlay span { font-size:.85rem; font-weight:600; color:var(--white); }
.gal-cat-badge { position:absolute; top:10px; right:10px; background:var(--green); color:var(--white); font-size:.63rem; font-weight:700; padding:3px 8px; border-radius:20px; text-transform:uppercase; }

/* ── LIGHTBOX ───────────────────────────────────── */
.lightbox { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999; display:none; align-items:center; justify-content:center; padding:20px; }
.lightbox.open { display:flex; }
.lb-inner { max-width:900px; width:100%; position:relative; }
.lb-inner img { width:100%; border-radius:12px; max-height:80vh; object-fit:contain; }
.lb-placeholder { width:100%; height:400px; background:var(--blue-pale); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; }
.lb-placeholder .ge { font-size:6rem; }
.lb-placeholder .gt { font-size:1.1rem; font-weight:700; color:var(--blue); }
.lb-close  { position:absolute; top:-44px; right:0; background:none; border:none; color:var(--white); font-size:2rem; cursor:pointer; line-height:1; }
.lb-nav    { display:flex; gap:12px; justify-content:center; margin-top:14px; }
.lb-nav button { background:rgba(255,255,255,.15); border:none; color:var(--white); padding:8px 20px; border-radius:8px; cursor:pointer; font-size:.9rem; transition:background .2s; }
.lb-nav button:hover { background:var(--green); }
.lb-caption { text-align:center; color:rgba(255,255,255,.7); font-size:.85rem; margin-top:10px; }

/* ── BUTTONS ────────────────────────────────────── */
.btn-blue    { background:var(--blue); color:var(--white); font-weight:700; padding:12px 26px; border-radius:8px; text-decoration:none; font-size:.88rem; display:inline-block; transition:all .2s; border:none; cursor:pointer; font-family:'DM Sans',sans-serif; }
.btn-blue:hover { background:var(--blue-light); transform:translateY(-1px); }
.btn-green   { background:var(--green); color:var(--white); font-weight:700; padding:12px 26px; border-radius:8px; text-decoration:none; font-size:.88rem; display:inline-block; transition:all .2s; border:none; cursor:pointer; box-shadow:0 4px 16px rgba(12,171,79,.35); font-family:'DM Sans',sans-serif; }
.btn-green:hover { background:var(--green-dark); transform:translateY(-2px); }
.btn-outline { border:1.5px solid rgba(255,255,255,.28); color:var(--white); padding:12px 26px; border-radius:8px; text-decoration:none; font-size:.88rem; font-weight:500; display:inline-block; transition:all .2s; }
.btn-outline:hover { background:rgba(255,255,255,.09); }

/* ── CONTACT FORM ───────────────────────────────── */
.cform        { background:var(--white); border:1.5px solid var(--gray-200); border-radius:16px; padding:36px; }
.cform label  { display:block; font-size:.8rem; font-weight:700; color:var(--blue); margin-bottom:6px; text-transform:uppercase; letter-spacing:.06em; }
.cform input,.cform textarea,.cform select { width:100%; border:1.5px solid var(--gray-200); border-radius:8px; padding:11px 14px; font-size:.9rem; font-family:'DM Sans',sans-serif; color:var(--text); transition:border-color .2s; outline:none; margin-bottom:18px; background:var(--white); }
.cform input:focus,.cform textarea:focus,.cform select:focus { border-color:var(--blue); }
.cform textarea { resize:vertical; min-height:130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ── FOOTER ─────────────────────────────────────── */
footer  { background:var(--blue-deeper); }
.fttop  { max-width:1240px; margin:auto; padding:54px 28px 34px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.ftbrand p { font-size:.81rem; color:rgba(255,255,255,.38); line-height:1.7; margin-top:14px; margin-bottom:17px; }
.ftsoc  { display:flex; gap:9px; }
.soc    { width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,.07); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.4); font-size:.79rem; font-weight:700; text-decoration:none; transition:all .2s; }
.soc:hover { background:var(--green); color:var(--white); }
.fcol h5 { font-size:.71rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.6); margin-bottom:13px; }
.fcol a  { display:block; font-size:.81rem; color:rgba(255,255,255,.32); text-decoration:none; margin-bottom:8px; transition:color .2s; }
.fcol a:hover { color:var(--green-light); }
.ftbot  { border-top:1px solid rgba(255,255,255,.07); max-width:1240px; margin:0 auto; padding:17px 28px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-size:.72rem; color:rgba(255,255,255,.2); }

/* ── TOAST ──────────────────────────────────────── */
.toast { position:fixed; bottom:24px; right:24px; background:var(--green); color:var(--white); padding:13px 22px; border-radius:10px; font-size:.88rem; font-weight:600; z-index:9999; opacity:0; transform:translateY(16px); transition:all .3s; pointer-events:none; }
.toast.show { opacity:1; transform:translateY(0); }

/* ── REVEAL ANIMATION ───────────────────────────── */
.reveal { opacity:0; transform:translateY(22px); transition:opacity .5s ease,transform .5s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media(max-width:900px) {
  .fttop { grid-template-columns:1fr 1fr; }
  .form-row { grid-template-columns:1fr; }
}
@media(max-width:640px) {
  section, .section { padding:48px 18px; }
  .mnav a:not(.btn-join) { display:none; }
  .ham-btn { display:flex; }
  .gal-grid { grid-template-columns:1fr 1fr; }
  .fttop { grid-template-columns:1fr; }
}
