/* =====================================================
   SAART – Animated Modern South African Theme
   Fonts: Bebas Neue (display) + Outfit (body)
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600;700;800;900&display=swap');

:root {
  --g:#00B050; --gd:#007A4D; --gl:#d0f5e8;
  --y:#FFD100; --yd:#cc9d00; --yl:#fff9d6;
  --r:#FF3B30; --rd:#cc2a21; --rl:#ffe5e3;
  --b:#0047AB; --bd:#002d6b; --bl:#dce8ff;
  --blk:#0a0a0a; --dark:#111820;
  --w:#ffffff;
  --fd:'Bebas Neue',sans-serif;
  --fb:'Outfit',sans-serif;
}

/* ─── KEYFRAMES ─── */
@keyframes float{0%,100%{transform:translateY(0) rotate(0deg);}50%{transform:translateY(-14px) rotate(4deg);}}
@keyframes pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.06);}}
@keyframes fadeUp{from{opacity:0;transform:translateY(28px);}to{opacity:1;transform:translateY(0);}}
@keyframes shimmer{0%{background-position:200% center;}100%{background-position:-200% center;}}
@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
@keyframes bgMove{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}
@keyframes noteFloat{0%{transform:translateY(0) translateX(0) rotate(0deg);opacity:.5;}100%{transform:translateY(-140px) translateX(40px) rotate(25deg);opacity:0;}}
@keyframes glow{0%,100%{box-shadow:0 4px 20px rgba(0,176,80,.4);}50%{box-shadow:0 4px 40px rgba(0,176,80,.8),0 0 60px rgba(255,209,0,.3);}}
@keyframes bounce{0%,100%{transform:translateY(0);}40%{transform:translateY(-8px);}60%{transform:translateY(-4px);}}
@keyframes pageIn{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);}}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--dark);
  color: var(--w);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── FLOATING NOTES ─── */
.notes-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.note {
  position: absolute; font-size: 1.5rem; opacity: .12;
  animation: noteFloat linear infinite;
}
.note:nth-child(1){left:5%;top:20%;animation-duration:8s;}
.note:nth-child(2){left:15%;top:60%;font-size:1.8rem;animation-duration:11s;animation-delay:2s;}
.note:nth-child(3){left:85%;top:30%;font-size:1rem;animation-duration:9s;animation-delay:1s;}
.note:nth-child(4){left:75%;top:70%;font-size:1.4rem;animation-duration:12s;animation-delay:3s;}
.note:nth-child(5){left:45%;top:85%;animation-duration:10s;animation-delay:4s;}
.note:nth-child(6){left:92%;top:55%;font-size:.9rem;animation-duration:7s;animation-delay:1.5s;}

/* ─── NAVBAR ─── */
.saart-nav {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg,var(--g),var(--y),var(--r),var(--b)) 1;
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-ring {
  position: relative; width: 52px; height: 52px; flex-shrink: 0;
}
.logo-ring img {
  width: 52px; height: 52px; object-fit: contain; border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0,176,80,.6));
  position: relative; z-index: 1;
}
.logo-ring::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--g);
  border-right-color: var(--y);
  border-bottom-color: var(--r);
  border-left-color: var(--b);
  animation: spin 5s linear infinite;
}
.brand-name {
  font-family: var(--fd); font-size: 1.8rem; letter-spacing: 4px;
  background: linear-gradient(90deg,var(--g),var(--y),var(--r),var(--b),var(--g));
  background-size: 400% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
.brand-sub {
  font-size: .58rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.45); display: block;
}
.nav-pills { display: flex; gap: 3px; list-style: none; }
.nav-pills a {
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .5px;
  padding: .45rem .9rem; border-radius: 25px; cursor: pointer;
  transition: all .25s; border: 1px solid transparent;
  display: block; position: relative; overflow: hidden;
}
.nav-pills a::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,var(--g),var(--y));
  opacity: 0; transition: opacity .25s; border-radius: 25px;
}
.nav-pills a span { position: relative; z-index: 1; }
.nav-pills a:hover::before, .nav-pills a.active::before { opacity: 1; }
.nav-pills a:hover, .nav-pills a.active { color: var(--blk); }
.hamburger {
  display: none; background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: white; padding: .35rem .65rem; border-radius: 8px; cursor: pointer; font-size: 1.1rem;
}

/* ─── PAGE WRAPPER ─── */
.page-outer { min-height: 100vh; display: flex; flex-direction: column; position: relative; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  position: relative; z-index: 1;
  animation: pageIn .5s ease both;
}

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  min-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.hero-bg-grad {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#001a0d 0%,#002a0a 25%,#0a0020 50%,#1a0005 75%,#000d1a 100%);
  background-size: 400% 400%;
  animation: bgMove 12s ease infinite;
}
.hero-bg-radials {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,176,80,.18) 0%,transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,71,171,.18) 0%,transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,59,48,.12) 0%,transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255,209,0,.12) 0%,transparent 40%);
}
.hero-flag-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg,var(--g) 0% 20%,var(--blk) 20% 24%,var(--y) 24% 44%,var(--blk) 44% 48%,var(--r) 48% 68%,var(--blk) 68% 72%,var(--b) 72% 100%);
}
.hero-logo-wrap {
  position: relative; z-index: 2;
  margin-bottom: 1.5rem;
  animation: float 4s ease-in-out infinite;
}
.hero-logo-wrap img {
  width: 160px; height: 160px; object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0,176,80,.5)) drop-shadow(0 0 60px rgba(255,209,0,.3));
  border-radius: 50%;
}
.hero-eyebrow {
  position: relative; z-index: 2;
  font-size: .72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--y);
  background: rgba(255,209,0,.1); border: 1px solid rgba(255,209,0,.3);
  border-radius: 25px; padding: 6px 18px; display: inline-block;
  margin-bottom: 1.5rem; animation: fadeUp .8s .2s both;
}
.hero-title {
  position: relative; z-index: 2;
  font-family: var(--fd);
  font-size: clamp(2.5rem,7vw,5rem);
  letter-spacing: 3px; line-height: 1.05;
  margin-bottom: .75rem; animation: fadeUp .8s .4s both;
}
.hero-title .ht1 { color: white; display: block; }
.hero-title .ht2 {
  background: linear-gradient(90deg,var(--g),var(--y),var(--r),var(--b),var(--g));
  background-size: 300% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite; display: block;
}
.hero-motto {
  position: relative; z-index: 2;
  font-size: 1.1rem; color: rgba(255,255,255,.7);
  font-style: italic; font-weight: 300;
  margin-bottom: 2.5rem; animation: fadeUp .8s .6s both;
}
.hero-motto em { color: var(--y); font-style: normal; font-weight: 700; }
.hero-actions {
  position: relative; z-index: 2;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem; animation: fadeUp .8s .8s both;
}
.btn-glow {
  background: linear-gradient(135deg,var(--g),var(--gd));
  color: white; font-weight: 800; font-size: .88rem;
  padding: .8rem 2rem; border-radius: 30px; border: none; cursor: pointer;
  letter-spacing: .5px; transition: all .3s; position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,176,80,.4);
  animation: glow 3s ease-in-out infinite;
  text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center;
  vertical-align: middle; line-height: 1;
  font-family: var(--fb);
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,176,80,.6); color: white; }
.btn-outline2 {
  background: transparent; color: var(--y); font-weight: 800; font-size: .88rem;
  padding: .8rem 2rem; border-radius: 30px; border: 2px solid var(--y);
  cursor: pointer; letter-spacing: .5px; transition: all .3s;
  text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center;
  vertical-align: middle; line-height: 1;
  font-family: var(--fb);
}
.btn-outline2:hover { background: var(--y); color: var(--blk); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,209,0,.4); }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; animation: fadeUp .8s 1s both;
}
.hstat { text-align: center; }
.hstat-num { font-family: var(--fd); font-size: 2.8rem; letter-spacing: 2px; display: block; }
.hstat-lbl { font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hstat-sep { width: 1px; background: rgba(255,255,255,.12); align-self: stretch; margin: 4px 0; }
.hstat:nth-child(1) .hstat-num { color: var(--g); }
.hstat:nth-child(3) .hstat-num { color: var(--y); }
.hstat:nth-child(5) .hstat-num { color: var(--r); }
.hstat:nth-child(7) .hstat-num { color: #6c8ebf; }

/* ─── SECTION HEADER ─── */
.sec-eye {
  font-size: .68rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--g); display: flex; align-items: center; gap: 8px; margin-bottom: .35rem;
}
.sec-eye::before { content: ''; width: 20px; height: 3px; background: linear-gradient(90deg,var(--g),var(--y)); border-radius: 2px; }
.sec-title { font-family: var(--fd); font-size: clamp(1.8rem,4vw,2.8rem); letter-spacing: 2px; color: white; margin-bottom: .5rem; }
.sec-sub { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.7; max-width: 560px; }

/* ─── TILES ─── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1rem; margin-bottom: 3rem; }
.tile {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 1.5rem 1.25rem; cursor: pointer;
  transition: all .3s; position: relative; overflow: hidden;
  animation: fadeUp .6s both;
  text-decoration: none; display: block; color: inherit;
}
.tile::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 16px; opacity: 0; transition: opacity .3s;
}
.tile.t-g::before { background: linear-gradient(135deg,rgba(0,176,80,.2),rgba(0,176,80,.05)); }
.tile.t-y::before { background: linear-gradient(135deg,rgba(255,209,0,.2),rgba(255,209,0,.05)); }
.tile.t-r::before { background: linear-gradient(135deg,rgba(255,59,48,.2),rgba(255,59,48,.05)); }
.tile.t-b::before { background: linear-gradient(135deg,rgba(0,71,171,.2),rgba(0,71,171,.05)); }
.tile:hover::before { opacity: 1; }
.tile:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.tile-ico { font-size: 2rem; margin-bottom: .85rem; display: block; animation: bounce 2.2s ease-in-out infinite; }
.tile h3 { font-size: .92rem; font-weight: 800; color: white; margin-bottom: .35rem; }
.tile p  { color: rgba(255,255,255,.48); font-size: .76rem; line-height: 1.5; }
.tile-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
.tile.t-g .tile-bar { background: linear-gradient(90deg,var(--g),var(--gd)); }
.tile.t-y .tile-bar { background: linear-gradient(90deg,var(--y),var(--yd)); }
.tile.t-r .tile-bar { background: linear-gradient(90deg,var(--r),var(--rd)); }
.tile.t-b .tile-bar { background: linear-gradient(90deg,var(--b),var(--bd)); }

/* ─── EVENT BANNER ─── */
.ev-banner { border-radius: 20px; overflow: hidden; margin-top: 1.5rem; border: 1px solid rgba(0,176,80,.25); }
.ev-shimmer { height: 4px; background: linear-gradient(90deg,var(--g),var(--y),var(--r),var(--b)); background-size: 200% auto; animation: shimmer 3s linear infinite; }
.ev-inner { background: linear-gradient(135deg,rgba(0,25,12,.96),rgba(0,12,35,.96)); padding: 2.5rem; }
.ev-badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--y); color: var(--blk);
  font-size: .68rem; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 25px; margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}
.ev-title { font-family: var(--fd); font-size: 1.8rem; letter-spacing: 2px; color: white; margin-bottom: .4rem; }
.ev-theme { color: rgba(255,255,255,.6); font-style: italic; font-size: .88rem; margin-bottom: 1.25rem; line-height: 1.6; }
.ev-chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ev-chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 25px; padding: 5px 14px; font-size: .76rem;
  color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 5px;
  transition: all .25s;
}
.ev-chip:hover { background: rgba(0,176,80,.2); border-color: var(--g); color: var(--g); }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.1rem; margin-bottom: 2rem; }
.acard {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 1.6rem; transition: all .3s; position: relative; overflow: hidden;
}
.acard:hover { border-color: rgba(0,176,80,.4); transform: translateY(-4px); background: rgba(0,176,80,.06); box-shadow: 0 8px 30px rgba(0,176,80,.15); }
.acard-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.acard-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.acard h3 { font-size: .95rem; font-weight: 800; color: white; }
.acard p  { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.68; }
.acard-bar { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; transition: width .4s; }
.acard:hover .acard-bar { width: 100%; }

.motto-hero {
  border-radius: 20px; padding: 3.5rem 2.5rem; text-align: center;
  margin: 2rem 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg,#002d0a,#004d0f,#002d0a);
  border: 1px solid rgba(0,176,80,.3);
}
.motto-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at center,rgba(0,176,80,.15) 0%,transparent 60%);
  animation: spin 20s linear infinite;
}
.motto-label { font-size: .68rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .85rem; }
.motto-text {
  font-family: var(--fd); font-size: clamp(1.8rem,5vw,3rem); letter-spacing: 3px;
  color: white; margin-bottom: .75rem; position: relative; z-index: 1;
}
.motto-text .ma {
  background: linear-gradient(90deg,var(--g),var(--y),var(--r));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% auto; animation: shimmer 3s linear infinite;
}
.motto-p { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.75; max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }

/* ─── INFO CARD ─── */
.info-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.75rem; margin-top: 1.5rem; }
.info-card h3 { font-size: .95rem; font-weight: 800; color: white; margin-bottom: .65rem; display: flex; align-items: center; gap: .4rem; }
.info-card p  { color: rgba(255,255,255,.55); font-size: .84rem; line-height: 1.75; }
.info-card p + p { margin-top: .6rem; }

/* ─── TIMELINE ─── */
.timeline { display: flex; flex-direction: column; gap: .85rem; }
.tcard { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; display: flex; overflow: hidden; transition: all .3s; }
.tcard:hover { border-color: rgba(0,176,80,.4); box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.tcard-yr { width: 74px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1.1rem; letter-spacing: 2px; writing-mode: vertical-rl; background: rgba(255,255,255,.04); color: rgba(255,255,255,.35); }
.tcard.upcoming .tcard-yr { background: linear-gradient(180deg,var(--g),var(--gd)); color: white; }
.tcard-body { padding: 1.1rem 1.4rem; flex: 1; }
.tcard-body h3 { font-size: .92rem; font-weight: 800; color: white; margin-bottom: .3rem; }
.tcard-venue { font-size: .78rem; color: rgba(255,255,255,.48); display: flex; align-items: center; gap: 4px; margin-top: .2rem; }
.tcard-quote { font-style: italic; color: rgba(255,209,0,.7); font-size: .75rem; border-left: 2px solid var(--y); padding-left: .5rem; margin-top: .4rem; }
.pill { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: .4rem; }
.pill-up   { background: rgba(0,176,80,.2); color: var(--g); border: 1px solid rgba(0,176,80,.3); }
.pill-done { background: rgba(255,255,255,.06); color: rgba(255,255,255,.4); }

/* ─── MEMBERS ─── */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.1rem; }
.mcard { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; transition: all .3s; }
.mcard:hover { border-color: rgba(0,176,80,.35); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.mcard-head { padding: .95rem 1.1rem .8rem; display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mav { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; color: white; flex-shrink: 0; font-family: var(--fd); letter-spacing: 1px; }
.mcard-head h3 { font-size: .92rem; font-weight: 800; color: white; }
.mfull { font-size: .67rem; color: rgba(255,255,255,.38); line-height: 1.3; margin-top: 2px; }
.mcard-body { padding: .9rem 1.1rem; }
.mmotto { font-style: italic; color: var(--g); font-size: .8rem; margin-bottom: .5rem; display: block; font-weight: 600; }
.mest { font-size: .72rem; color: rgba(255,255,255,.38); margin-bottom: .45rem; }
.mest strong { color: var(--y); }
.mdesc { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.62; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcard.open .mdesc { -webkit-line-clamp: unset; overflow: visible; }
.mextra { display: none; }
.mcard.open .mextra { display: block; }
.xhd { font-size: .67rem; font-weight: 800; color: var(--g); text-transform: uppercase; letter-spacing: 1.2px; margin: .65rem 0 .25rem; }
.xp { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.xul { padding-left: .95rem; margin-top: .2rem; }
.xul li { font-size: .76rem; color: rgba(255,255,255,.5); margin-bottom: .22rem; line-height: 1.4; }
.xact { font-size: .74rem; color: rgba(255,255,255,.5); margin: .2rem 0; display: flex; align-items: flex-start; gap: 5px; }
.xact::before { content: '▸'; color: var(--g); flex-shrink: 0; }
.expand-btn { background: none; border: none; cursor: pointer; color: var(--g); font-size: .77rem; font-weight: 700; padding: .4rem 0; display: block; margin-top: .5rem; font-family: var(--fb); }
.search-in { width: 100%; max-width: 400px; padding: .65rem 1.1rem; border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px; font-size: .85rem; outline: none; color: white; background: rgba(255,255,255,.07); display: block; margin-bottom: 1.5rem; font-family: var(--fb); transition: all .25s; }
.search-in:focus { border-color: var(--g); background: rgba(0,176,80,.08); box-shadow: 0 0 0 4px rgba(0,176,80,.15); }
.search-in::placeholder { color: rgba(255,255,255,.28); }

/* ─── PROGRAMME ─── */
.prog-sec { margin-bottom: 2.5rem; }
.prog-lbl { font-size: .92rem; font-weight: 800; color: white; margin-bottom: .85rem; display: flex; align-items: center; gap: .6rem; }
.prog-lbl::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg,rgba(255,255,255,.18),transparent); }
.prog-tbl { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.prog-tbl thead tr { background: linear-gradient(90deg,rgba(0,176,80,.3),rgba(0,71,171,.3)); }
.prog-tbl thead th { color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: .75rem 1rem; text-align: left; }
.prog-tbl tbody tr { border-bottom: 1px solid rgba(255,255,255,.05); transition: background .15s; }
.prog-tbl tbody tr:last-child { border-bottom: none; }
.prog-tbl tbody tr:hover { background: rgba(0,176,80,.08); }
.prog-tbl td { padding: .68rem 1rem; font-size: .8rem; color: rgba(255,255,255,.75); }
.prog-tbl td.pn { font-weight: 900; color: var(--g); width: 32px; font-family: var(--fd); font-size: 1rem; }
.prog-tbl td.cn { font-weight: 800; color: white; }
.prog-tbl td.st { font-style: italic; color: rgba(255,255,255,.6); }
.prog-tbl td.cp { color: rgba(255,255,255,.38); font-size: .73rem; }
.trad-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(148px,1fr)); gap: .65rem; margin-top: .85rem; }
.trad-chip { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: .55rem .9rem; text-align: center; font-size: .8rem; font-weight: 700; color: white; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .25s; }
.trad-chip:hover { border-color: var(--g); color: var(--g); background: rgba(0,176,80,.1); transform: scale(1.04); }
.trad-num { font-size: .7rem; font-weight: 900; color: var(--g); }

/* ─── OOS ─── */
.oos { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; }
.oos-hd { background: linear-gradient(90deg,rgba(0,176,80,.3),rgba(0,71,171,.2)); padding: 1rem 1.5rem; display: flex; align-items: center; gap: .7rem; }
.oos-hd span { font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.85); }
.oos-row { display: flex; align-items: flex-start; gap: .85rem; padding: .85rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.05); transition: background .15s; }
.oos-row:last-child { border-bottom: none; }
.oos-row:hover { background: rgba(0,176,80,.06); }
.oos-num { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg,var(--g),var(--gd)); color: white; font-size: .7rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.oos-row strong { display: block; font-size: .84rem; font-weight: 800; color: white; }
.oos-row small { font-size: .75rem; color: rgba(255,255,255,.38); }

/* ─── EXCO ─── */
.exco-hero-band { border-radius: 20px; overflow: hidden; margin-bottom: 2rem; border: 1px solid rgba(0,176,80,.25); }
.exco-shimmer { height: 4px; background: linear-gradient(90deg,var(--g),var(--y),var(--r),var(--b)); background-size: 200% auto; animation: shimmer 3s linear infinite; }
.exco-inner { background: linear-gradient(135deg,rgba(0,25,12,.96),rgba(0,12,35,.96)); padding: 2.5rem; text-align: center; }
.exco-inner h2 { font-family: var(--fd); font-size: 2rem; letter-spacing: 3px; color: white; margin-bottom: .5rem; }
.exco-inner p { color: rgba(255,255,255,.48); font-size: .85rem; max-width: 440px; margin: 0 auto; }
.exco-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(185px,1fr)); gap: 1.1rem; }
.exco-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; text-align: center; padding-bottom: 1.5rem; transition: all .3s; overflow: hidden; }
.exco-card:hover { border-color: rgba(0,176,80,.4); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.exco-card-bar { height: 3px; width: 100%; }
.exco-av { width: 70px; height: 70px; border-radius: 18px; margin: 1.25rem auto .7rem; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1.5rem; letter-spacing: 2px; color: white; transition: transform .3s; }
.exco-card:hover .exco-av { transform: scale(1.1) rotate(-3deg); }
.exco-role { font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; padding: 0 .5rem; color: var(--g); }
.exco-name { font-size: .9rem; font-weight: 800; color: white; margin: .25rem .5rem 0; }

/* ─── FOOTER ─── */
.saart-footer {
  background: rgba(5,5,5,.98); color: rgba(255,255,255,.38);
  text-align: center; padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative; z-index: 1;
}
.saart-footer::before {
  content: ''; display: block; height: 4px;
  background: linear-gradient(90deg,var(--g),var(--y),var(--r),var(--b));
  background-size: 200% auto; animation: shimmer 4s linear infinite; margin-bottom: 2rem;
}
.saart-footer .fb { font-size: .95rem; font-weight: 800; color: white; display: block; margin-bottom: 4px; }
.saart-footer .fm { font-style: italic; color: var(--y); font-size: .85rem; display: block; margin-bottom: 6px; }
.saart-footer .flinks { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: .75rem; }
.saart-footer .flinks a { color: rgba(255,255,255,.32); text-decoration: none; font-size: .73rem; font-weight: 600; transition: color .2s; padding: 3px 6px; }
.saart-footer .flinks a:hover { color: var(--g); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-pills { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,.97); padding: .75rem; border-bottom: 3px solid var(--g); gap: 3px; }
  .nav-pills.open { display: flex; }
  .nav-inner { flex-wrap: wrap; position: relative; }
  .hero-title { font-size: clamp(2rem,10vw,3.5rem); }
  .hero-logo-wrap img { width: 120px; height: 120px; }
  .hero-stats { gap: 1rem; }
  .prog-tbl thead th, .prog-tbl td { padding: .55rem .7rem; font-size: .75rem; }
  .exco-grid { grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); }
}
.mt-sm{margin-top:.5rem;} .mt-md{margin-top:1rem;} .mt-lg{margin-top:1.5rem;} .mt-xl{margin-top:2.5rem;}
#blazor-error-ui{background:var(--r);bottom:0;color:white;display:none;left:0;padding:.75rem 1.25rem;position:fixed;width:100%;z-index:9999;}

/* =====================================================
   SAART GALLERY PAGE STYLES
   ===================================================== */

/* ─── VIDEO SECTION ─── */
.gallery-video-section {
  margin-bottom: 3rem;
}

.gallery-video-label {
  margin-bottom: 1rem;
}

.gallery-video-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0,176,80,.25);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.gallery-video {
  width: 100%;
  max-height: 70vh;
  display: block;
  object-fit: contain;
  background: #000;
}

.gallery-video-info {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .85rem 1rem;
  background: rgba(0,176,80,.06);
  border-top: 1px solid rgba(0,176,80,.2);
}

.gv-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
}

/* ─── PHOTO GRID HEADER ─── */
.gallery-photo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.gallery-pagination-info {
  font-size: .76rem;
  color: rgba(255,255,255,.4);
  font-weight: 600;
}

/* ─── PHOTO GRID ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 8px;
  margin-bottom: 2rem;
}

.gitem {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  aspect-ratio: 4/3;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.gitem:hover {
  transform: scale(1.02);
  border-color: rgba(0,176,80,.5);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  z-index: 2;
}

.gitem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.gitem:hover .gitem-img {
  transform: scale(1.06);
}

.gitem-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .35rem;
}

.gitem:hover .gitem-overlay {
  opacity: 1;
}

.gitem-zoom {
  font-size: 1.6rem;
  line-height: 1;
}

.gitem-num {
  font-size: .68rem;
  font-weight: 800;
  color: var(--g);
  letter-spacing: 1px;
  position: absolute;
  bottom: 7px;
  right: 8px;
  background: rgba(0,0,0,.5);
  padding: 2px 7px;
  border-radius: 10px;
}

/* ─── PAGINATION ─── */
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.gpage-btn {
  min-width: 38px;
  height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s;
  padding: 0 .5rem;
  font-family: var(--fb);
}

.gpage-btn:hover:not(.disabled):not(.active) {
  background: rgba(0,176,80,.2);
  border-color: var(--g);
  color: white;
}

.gpage-btn.active {
  background: var(--g);
  border-color: var(--g);
  color: white;
  box-shadow: 0 2px 10px rgba(0,176,80,.4);
}

.gpage-btn.disabled {
  opacity: .3;
  cursor: not-allowed;
}

.gpage-ellipsis {
  color: rgba(255,255,255,.3);
  font-size: .9rem;
  padding: 0 .25rem;
}

.gallery-jump {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin-bottom: 3rem;
}

.gpage-input {
  width: 60px;
  height: 34px;
  text-align: center;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: white;
  font-size: .82rem;
  font-weight: 700;
  outline: none;
  font-family: var(--fb);
  transition: border-color .2s;
}

.gpage-input:focus {
  border-color: var(--g);
  background: rgba(0,176,80,.08);
}

.gpage-input::-webkit-inner-spin-button,
.gpage-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.gpage-go {
  background: var(--g);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 1rem;
  height: 34px;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .2s;
  font-family: var(--fb);
  letter-spacing: .3px;
}

.gpage-go:hover { opacity: .85; }

/* ─── LIGHTBOX ─── */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  backdrop-filter: blur(12px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp .2s ease both;
}

.lb-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  max-height: 95vh;
  padding: 3rem 5rem;
}

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  min-height: 0;
}

.lb-img {
  max-width: 100%;
  max-height: calc(95vh - 120px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 60px rgba(0,0,0,.8);
  animation: fadeUp .25s ease both;
  display: block;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 9001;
  font-family: var(--fb);
}

.lb-close:hover {
  background: var(--r);
  border-color: var(--r);
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 9001;
  font-family: var(--fb);
}

.lb-prev { left: 12px; }
.lb-next { right: 12px; }

.lb-nav:hover {
  background: rgba(0,176,80,.5);
  border-color: var(--g);
  transform: translateY(-50%) scale(1.08);
}

.lb-counter {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: 1px;
  z-index: 9001;
}

.lb-fname {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 9001;
  white-space: nowrap;
}

/* ─── RESPONSIVE GALLERY ─── */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 5px; }
  .lb-box { padding: 2rem 3.5rem; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 4px; }
}

/* ─── GLOBAL BUTTON ALIGNMENT FIX ─── */
.btn-glow,
.btn-outline2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  white-space: nowrap;
  text-align: center;
}

/* ev-inner buttons sit in a flex row */
.ev-inner .btn-glow,
.ev-inner .btn-outline2 {
  margin-top: .25rem;
}

/* hero-actions centering */
.hero-actions {
  flex-wrap: wrap;
  gap: 1rem;
}
