/* ============================================================
   ICTAU Website – Main Stylesheet  (v2 – mobile-first)
   Palette: Red #C8102E | Black #1A1A1A | Grey scale
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --red:          #C8102E;
  --red-dark:     #9E0C24;
  --red-light:    #E8314E;
  --black:        #1A1A1A;
  --dark:         #2C2C2C;
  --grey-800:     #3D3D3D;
  --grey-600:     #6B6B6B;
  --grey-400:     #A0A0A0;
  --grey-300:     #C8C8C8;
  --grey-200:     #D9D9D9;
  --grey-100:     #F2F2F2;
  --grey-50:      #F8F8F8;
  --white:        #FFFFFF;
  --font-body:    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.16);
  --transition:   .3s cubic-bezier(.4,0,.2,1);
  --container:    1280px;
  --nav-h:        72px;       /* height of sticky navbar */
  --section-pad:  clamp(3.5rem, 7vw, 6rem);   /* consistent section spacing */
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;   /* prevent iOS font-inflation */
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-x: none;       /* prevent horizontal over-scroll */
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
a:focus-visible    { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }
button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
ul   { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--black); }
h1   { font-size: clamp(2rem, 5vw, 3.5rem); }
h2   { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3   { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4   { font-size: 1.2rem; }
p    { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Improve tap interaction on touch devices */
a, button, [role="button"] { touch-action: manipulation; }

/* ─── Skip Link (Accessibility) ─────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ─── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  min-height: 44px;            /* WCAG touch target */
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,16,46,.35);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--grey-800);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: .85rem; min-height: 36px; }

/* ─── Eye-catching CTA effects (used on key summit CTAs only) ── */
@keyframes btn-pulse-glow-red {
  0%   { box-shadow: 0 0 0 0 rgba(200,16,46,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}
@keyframes btn-pulse-glow-white {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.btn-pulse       { animation: btn-pulse-glow-red 2.4s ease-out infinite; }
.btn-pulse-white { animation: btn-pulse-glow-white 2.4s ease-out infinite; }
.btn-pulse:hover, .btn-pulse-white:hover { animation-play-state: paused; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: btn-shine-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shine-sweep {
  0%   { left: -75%; }
  55%  { left: 125%; }
  100% { left: 125%; }
}

/* ─── Section Titles ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}
.section-desc {
  color: var(--grey-600);
  font-size: 1.05rem;
  max-width: 640px;
}
.section-header          { margin-bottom: 2.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-desc  { margin: 0 auto; }

/* ─── Sticky wrapper (event banner + navbar stick together) ── */
.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ─── Event Banner ───────────────────────────────────────── */
.event-banner-bar {
  position: relative;
  background: linear-gradient(90deg, var(--black), var(--red-dark), var(--red), var(--red-dark), var(--black));
  background-size: 300% 100%;
  animation: banner-shimmer 12s ease infinite;
  padding: .55rem 0;
  overflow: hidden;
}
@keyframes banner-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.event-banner-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
  text-decoration: none;
  text-align: center;
}
.event-banner-link:hover { opacity: .9; }
.event-banner-text { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.92); }
.event-banner-cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.event-banner-cta i { display: inline-block; animation: nudge-right 1.6s ease-in-out infinite; }
@keyframes nudge-right {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
@media (max-width: 560px) {
  .event-banner-bar  { padding: .5rem 0; }
  .event-banner-link { gap: .3rem .6rem; }
  .event-banner-text { font-size: .72rem; line-height: 1.35; }
  .event-banner-cta   { font-size: .72rem; }
}

/* ─── Navbar ─────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar { padding: 0; }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.logo-full {
  font-size: .7rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop nav list */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-link {
  display: block;
  padding: .5rem .85rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active  { color: var(--red); background: rgba(200,16,46,.06); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown .nav-link { display: flex; align-items: center; gap: .35rem; }
.has-dropdown .nav-link i { font-size: .7rem; transition: transform var(--transition); }
.has-dropdown:hover .nav-link i { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border-top: 3px solid var(--red);
  z-index: 100;
  list-style: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: .6rem 1rem;
  font-size: .87rem;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown li a:hover { background: rgba(200,16,46,.07); color: var(--red); }

/* ── Hamburger button ──────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .55rem;
  border-radius: var(--radius-sm);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
  transform-origin: center;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Nav backdrop (mobile) ─────────────────────────────── */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 850;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  pointer-events: none;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;          /* svh = small viewport height (avoids mobile browser chrome) */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../images/ictau_home.jpg');
  background-size: cover;
  background-position: center;
  opacity: .25;
  transform: scale(1.05);
  transition: transform 8s ease;
  will-change: transform;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-flyer-frame {
  display: block;
  background: var(--white);
  padding: .6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  margin: 0 auto;
  transition: transform var(--transition);
}
.hero-flyer-frame:hover { transform: translateY(-4px); }
.hero-flyer-frame img   { border-radius: calc(var(--radius-md) - 4px); width: 100%; display: block; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,.85) 0%, rgba(200,16,46,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,16,46,.2);
  border: 1px solid rgba(200,16,46,.4);
  color: var(--red-light);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: var(--white);
  font-family: var(--font-serif);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--red-light); }
.hero-cursor {
  display: inline-block;
  color: var(--red-light);
  font-weight: 300;
  margin-left: 1px;
  animation: blink-cursor .75s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--red-light); }
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── About Section ──────────────────────────────────────── */
.about-section  { padding: var(--section-pad) 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--red);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about-badge strong { font-size: 2rem; display: block; line-height: 1; }
.about-badge span   { font-size: .8rem; opacity: .9; }
.about-features     { display: grid; gap: 1.5rem; margin-top: 2rem; }
.about-feature      { display: flex; gap: 1rem; align-items: flex-start; }
.about-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature h4 { font-size: 1rem; margin-bottom: .25rem; }
.about-feature p  { font-size: .9rem; color: var(--grey-600); margin: 0; }

/* ─── Stats Counter ──────────────────────────────────────── */
.stats-section {
  background: var(--black);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,16,46,.15) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
.stat-card:hover {
  background: rgba(200,16,46,.12);
  border-color: rgba(200,16,46,.3);
  transform: translateY(-4px);
}
.stat-icon    { font-size: 2rem; color: var(--red); margin-bottom: 1rem; }
.stat-number  {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-number .suffix { color: var(--red-light); }
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .5rem;
}

/* ─── What We Do / Pillars ───────────────────────────────── */
.pillars-section { padding: var(--section-pad) 0; background: var(--grey-50); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.pillar-card:hover::before  { transform: scaleY(1); }
.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(200,16,46,.2);
}
.pillar-icon {
  width: 64px;
  height: 64px;
  background: rgba(200,16,46,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.pillar-card:hover .pillar-icon { background: var(--red); color: var(--white); }
.pillar-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.pillar-card p  { font-size: .9rem; color: var(--grey-600); margin: 0; }

/* ─── Timeline ───────────────────────────────────────────── */
.timeline-section { padding: var(--section-pad) 0; background: var(--white); overflow: hidden; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--grey-200);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all .6s ease;
}
.timeline-item.visible            { opacity: 1; transform: translateX(0); }
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
  transform: translateX(40px);
}
.timeline-item:nth-child(even).visible { transform: translateX(0); }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.25rem;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red);
  z-index: 2;
}
.timeline-content {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--grey-200);
  max-width: 320px;
  width: 100%;
  transition: all var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); border-color: rgba(200,16,46,.2); }
.timeline-year {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.timeline-content h4 { font-size: 1rem; margin-bottom: .5rem; }
.timeline-content p  { font-size: .88rem; color: var(--grey-600); margin: 0; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials-section { padding: var(--section-pad) 0; background: var(--grey-50); }
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--grey-200);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(200,16,46,.12);
  position: absolute;
  top: .5rem; left: 1.5rem;
  line-height: 1;
}
.testimonial-rating  { display: flex; gap: .25rem; margin-bottom: 1.25rem; color: #FFB800; }
.testimonial-quote   { font-size: .95rem; color: var(--grey-600); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author  { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-info h5 { font-size: .95rem; margin-bottom: .15rem; }
.testimonial-info span { font-size: .8rem; color: var(--grey-600); }

/* ─── Partners / Logos ───────────────────────────────────── */
.partners-section {
  padding: var(--section-pad) 0;
  background: var(--grey-50);
  border-top: 1px solid var(--grey-200);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.partner-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  border-color: var(--red);
}
.partner-card img {
  width: 100%;
  max-width: 120px;
  height: 60px;
  object-fit: contain;
  transition: transform .25s ease;
}
.partner-card:hover img { transform: scale(1.05); }

/* ─── Events ─────────────────────────────────────────────── */
.events-section { padding: var(--section-pad) 0; background: var(--grey-50); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.event-card:hover .event-card-img img { transform: scale(1.05); }
.event-date-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 700;
}
.event-card-body { padding: 1.5rem; flex: 1; }
.event-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--grey-600);
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.event-meta span        { display: flex; align-items: center; gap: .35rem; }
.event-card-body h3     { font-size: 1.05rem; margin-bottom: .75rem; }
.event-card-body h3 a   { color: var(--black); }
.event-card-body h3 a:hover { color: var(--red); }
.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--grey-200);
  font-size: .85rem;
}
.event-price { font-weight: 700; color: var(--red); }

/* ─── Resources ──────────────────────────────────────────── */
.resources-section { padding: var(--section-pad) 0; background: var(--white); }
.resources-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.2rem;
  border: 1px solid var(--grey-200);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--grey-600);
  cursor: pointer;
  background: var(--white);
  transition: all var(--transition);
  min-height: 36px;
  touch-action: manipulation;
}
.filter-btn.active,
.filter-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.resources-kanban {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.resource-card {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  cursor: pointer;
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,16,46,.25);
  transform: translateY(-3px);
}
.resource-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,16,46,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.4rem;
}
.resource-category {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
}
.resource-card h4  { font-size: .95rem; margin: 0; }
.resource-card p   { font-size: .85rem; color: var(--grey-600); margin: 0; flex: 1; }
.resource-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--grey-600);
  padding-top: .75rem;
  border-top: 1px solid var(--grey-200);
}
.resource-download-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--red);
  font-weight: 600;
  font-size: .85rem;
}
.resource-download-btn:hover { color: var(--red-dark); }

/* ─── Board Members ──────────────────────────────────────── */
.board-section { padding: var(--section-pad) 0; background: var(--white); text-align: center; }
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  justify-items: center;
}
.board-card {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  position: relative;
  width: 100%;
}
.board-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.board-card-img   { height: 260px; overflow: hidden; }
.board-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.board-card:hover .board-card-img img { transform: scale(1.08); }
.board-card-body  { padding: 1.5rem; text-align: left; }
.board-card-body h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.board-card-body .board-title { font-size: .85rem; color: var(--red); font-weight: 600; margin-bottom: 1rem; }
.board-bio {
  font-size: .85rem;
  color: var(--grey-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.board-socials     { display: flex; gap: .75rem; }
.board-socials a {
  width: 34px;
  height: 34px;
  background: rgba(200,16,46,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: .8rem;
  transition: all var(--transition);
}
.board-socials a:hover { background: var(--red); color: var(--white); }
.board-read-more {
  font-size: .8rem;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: .75rem;
  transition: gap var(--transition);
  touch-action: manipulation;
}
.board-read-more:hover { gap: .5rem; }

/* ─── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: scale(.95);
  transition: transform var(--transition);
  position: relative;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--grey-100);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: .9rem;
  transition: all var(--transition);
  touch-action: manipulation;
}
.modal-close:hover { background: var(--red); color: var(--white); }
.modal-member-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.modal-member-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
  flex-shrink: 0;
}
.modal-member-info h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.modal-member-info .title { color: var(--red); font-weight: 600; }
.modal-member-bio { font-size: .95rem; color: var(--grey-600); line-height: 1.7; }

/* ─── Page Hero Banner ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--black) 60%, var(--red-dark) 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container { position: relative; z-index: 1; }
#particleCanvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.page-hero-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.page-hero-label a        { color: rgba(255,255,255,.5); }
.page-hero-label a:hover  { color: var(--white); }
.page-hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: .75rem;
}
.page-hero-desc { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 600px; }

/* ─── Contact Page ───────────────────────────────────────── */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-detail-list  { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.contact-detail-item  { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon {
  width: 46px; height: 46px;
  background: rgba(200,16,46,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-item h5 { font-size: .8rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .2rem; }
.contact-detail-item p,
.contact-detail-item a  { color: var(--dark); font-size: .95rem; margin: 0; }
.contact-social-links   { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.contact-social-links a {
  width: 44px; height: 44px;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1rem;
  transition: all var(--transition);
}
.contact-social-links a:hover { background: var(--red); color: var(--white); }
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  margin-top: 2rem;
  border: 1px solid var(--grey-200);
}
.map-container iframe { width: 100%; height: 100%; border: none; }
.form-card {
  background: var(--grey-50);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--grey-200);
}
.form-card h3 { margin-bottom: 1.5rem; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-group           { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}
.form-group label .required { color: var(--red); }
.form-control {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;               /* 1rem prevents iOS auto-zoom on focus */
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.form-control::placeholder { color: var(--grey-400); }
textarea.form-control  { resize: vertical; min-height: 120px; }
.form-row              { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.phone-input-group { display: flex; gap: .5rem; align-items: stretch; }
.phone-input-group .phone-code-select { flex: 0 0 110px; width: 110px !important; min-width: 0; padding-left: .6rem; padding-right: .4rem; }
.phone-input-group .phone-local-input { flex: 1 1 0; width: 0 !important; min-width: 0; }
.captcha-group label { display: flex; align-items: center; gap: .4rem; }
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  line-height: 1.5;
}
.form-alert.success { background: #d4f0d4; color: #1a6b1a; border: 1px solid #5cbf5c; }
.form-alert.error   { background: #fde8ec; color: #9e0c24; border: 1px solid #f5a0b0; }
.form-submit        { width: 100%; }

/* ─── Membership Page ────────────────────────────────────── */
.membership-section { padding: var(--section-pad) 0; background: var(--grey-50); }
.membership-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 3rem;
  background: var(--white);
  border-radius: 100px;
  padding: .4rem;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.membership-tabs::-webkit-scrollbar { display: none; }
.mem-tab {
  padding: .65rem 2rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--grey-600);
  transition: all var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
  min-height: 40px;
}
.mem-tab.active { background: var(--red); color: var(--white); box-shadow: 0 4px 12px rgba(200,16,46,.3); }
.membership-plan {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.membership-plan.active { display: grid; }
.plan-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--grey-200);
}
.plan-icon {
  width: 70px; height: 70px;
  background: rgba(200,16,46,.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.plan-price { font-size: 2rem; font-weight: 900; color: var(--black); margin: .75rem 0; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--grey-600); }
.plan-benefits { list-style: none; display: grid; gap: .85rem; margin: 1.5rem 0; }
.plan-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--dark);
}
.plan-benefits li i { color: var(--red); font-size: .9rem; margin-top: .2rem; flex-shrink: 0; }
.payment-card {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  color: var(--white);
  margin-top: 1.5rem;
}
.payment-card h5 { color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.payment-detail { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.payment-detail:last-child { border-bottom: none; }
.payment-detail .label { color: rgba(255,255,255,.5); }
.payment-detail .value { font-weight: 600; }
.plan-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--grey-200);
}
.plan-form-card h3 { margin-bottom: 1.5rem; }

/* ─── Event Detail ───────────────────────────────────────── */
.event-detail-section { padding: 4rem 0; }
.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.event-banner {
  width: 100%;
  height: clamp(220px, 35vw, 420px);  /* responsive height */
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.event-tags           { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.event-tag {
  background: rgba(200,16,46,.1);
  color: var(--red);
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
}
.badge-green { background: #d4f0d4; color: #1a6b1a; }
.event-sidebar-card {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--grey-200);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.event-sidebar-card h3      { margin-bottom: 1.5rem; font-size: 1.2rem; }
.event-price-table          { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.event-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem .85rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  border: 1px solid var(--grey-200);
}
.event-price-row .price     { font-weight: 700; color: var(--red); }
.event-detail-meta          { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.event-meta-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  font-size: .9rem;
  color: var(--dark);
}
.event-meta-row i           { color: var(--red); width: 18px; text-align: center; }
.event-reg-form             { margin-top: 1.5rem; }

/* ─── Admin ──────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--grey-100);
}
.admin-sidebar {
  width: 250px;
  background: var(--black);
  color: var(--white);
  padding: 1.5rem 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-sidebar-logo {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.admin-sidebar-logo img { width: 38px; height: 38px; border-radius: 6px; object-fit: contain; }
.admin-sidebar-logo span { font-size: 1rem; font-weight: 700; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(200,16,46,.2);
  color: var(--white);
  border-left: 3px solid var(--red);
}
/* Mobile admin topbar */
.admin-topbar-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
  padding: .75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1080;
}
.admin-topbar-mobile .atm-logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; }
.admin-topbar-mobile .atm-logo img { width: 30px; height: 30px; border-radius: 4px; object-fit: contain; }
.admin-topbar-mobile .atm-toggle {
  background: none; border: none; color: var(--white);
  font-size: 1.3rem; cursor: pointer; padding: .35rem .6rem;
  min-height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
}
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-main  { flex: 1; padding: 2rem; overflow: auto; font-size: 0.85rem; min-width: 0; }
.admin-main h1 { font-size: 1.28rem; }
.admin-main h2 { font-size: 1.11rem; }
.admin-main h3 { font-size: 0.98rem; }
.admin-main h4 { font-size: 0.89rem; }
.admin-main .form-control { font-size: 0.9rem; }
.admin-main .btn          { font-size: 0.82rem; }
.admin-main .admin-table th,
.admin-main .admin-table td { font-size: 0.82rem; }
.admin-main .badge        { font-size: 0.75rem; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-topbar h1 { font-size: 1.5rem; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--grey-200);
  margin-bottom: 1.5rem;
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--grey-200);
}
.admin-stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.admin-stat-icon.red  { background: rgba(200,16,46,.1); color: var(--red); }
.admin-stat-icon.dark { background: rgba(26,26,26,.1); color: var(--dark); }
.admin-stat-num   { font-size: 1.8rem; font-weight: 800; }
.admin-stat-label { font-size: .8rem; color: var(--grey-600); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  padding: .75rem 1rem;
  background: var(--grey-50);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey-600);
  border-bottom: 2px solid var(--grey-200);
  white-space: nowrap;
}
.admin-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--grey-100);
  font-size: .9rem;
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--grey-50); }
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge-red   { background: rgba(200,16,46,.12); color: var(--red); }
.badge-green { background: #d4f0d4; color: #1a6b1a; }
.badge-grey  { background: var(--grey-200); color: var(--grey-600); }

/* Admin sidebar overlay */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1090;
}
.admin-sidebar-overlay.open { display: block; }

/* ─── Blog Section ───────────────────────────────────────── */
.blog-section  { padding: var(--section-pad) 0; background: var(--grey-50); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img  { height: 200px; overflow: hidden; flex-shrink: 0; }
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body  { padding: 1.5rem; flex: 1; }
.blog-category {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--red);
  margin-bottom: .5rem;
}
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.blog-card-body h3 a { color: var(--black); }
.blog-card-body h3 a:hover { color: var(--red); }
.blog-card-body p { font-size: .88rem; color: var(--grey-600); }
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--grey-200);
  font-size: .82rem;
  color: var(--grey-600);
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(0,0,0,.08);
  border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2   { color: var(--white); font-family: var(--font-serif); margin-bottom: 1rem; }
.cta-section p    { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-section .btn-outline-white:hover { color: var(--red); }
.cta-actions      { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Gallery Public ─────────────────────────────────────── */
.gallery-section { padding: var(--section-pad) 0; background: var(--grey-50); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.gallery-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--dark);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-card-img  {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--grey-100);
}
.gallery-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-card:hover .gallery-card-img img { transform: scale(1.06); }
.gallery-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--grey-300);
}
.gallery-card-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-card-overlay span {
  color: var(--white); font-weight: 600; font-size: .9rem;
  background: var(--red); padding: .5rem 1.25rem; border-radius: 50px;
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-count-badge {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(0,0,0,.65); color: var(--white);
  font-size: .75rem; font-weight: 600;
  padding: .25rem .65rem; border-radius: 50px;
  backdrop-filter: blur(4px);
}
.gallery-card-body     { padding: 1.25rem 1.5rem; }
.gallery-card-body h3  { font-size: 1.05rem; margin-bottom: .4rem; }
.gallery-card-body p   { font-size: .88rem; color: var(--grey-600); line-height: 1.55; margin-bottom: .75rem; }
.gallery-card-date     { font-size: .8rem; color: var(--grey-400); }
.gallery-card-date i   { margin-right: .3rem; }

/* Gallery Detail */
.gallery-detail-desc {
  max-width: 720px; margin: 0 auto 3rem;
  text-align: center; font-size: 1.05rem;
  color: var(--grey-600); line-height: 1.8;
}
.gallery-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.gallery-detail-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--grey-100); cursor: pointer;
}
.gallery-detail-item img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.gallery-detail-item:hover img { transform: scale(1.05); }
.gallery-item-caption {
  padding: .5rem .75rem; font-size: .78rem;
  color: var(--grey-600); background: var(--white);
  border-top: 1px solid var(--grey-100);
}
.gallery-item-open {
  position: absolute; top: .5rem; right: .5rem;
  background: rgba(0,0,0,.6); color: #fff;
  border: none; border-radius: 6px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .8rem;
  opacity: 0; transition: opacity .2s ease;
  touch-action: manipulation;
}
.gallery-detail-item:hover .gallery-item-open { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.93); z-index: 2000;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-content {
  position: relative; max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-content img {
  max-width: 88vw; max-height: 80vh;
  object-fit: contain; border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lightbox-caption  { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: .75rem; text-align: center; }
.lightbox-counter  { color: rgba(255,255,255,.45); font-size: .78rem; margin-top: .25rem; }
.lightbox-close {
  position: fixed; top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,.12); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: background .2s;
  z-index: 2001; touch-action: manipulation;
}
.lightbox-close:hover { background: var(--red); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); color: #fff; border: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: background .2s;
  z-index: 2001; touch-action: manipulation;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--red); }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--black); color: var(--white); position: relative; overflow: hidden; }

/* Footer newsletter band */
.footer-newsletter {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 3rem 0;
}
.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-text h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .25rem; }
.newsletter-text p  { color: rgba(255,255,255,.8); margin: 0; }
.newsletter-inputs  { display: flex; gap: .75rem; flex-wrap: wrap; flex: 1; min-width: 260px; }
.newsletter-inputs input {
  padding: .75rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1rem;
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  outline: none;
  min-height: 44px;
  -webkit-appearance: none;
}
.newsletter-inputs input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-inputs input:focus        { border-color: var(--white); }
.newsletter-inputs .btn-primary { background: var(--white); color: var(--red); border-color: var(--white); white-space: nowrap; }
.newsletter-inputs .btn-primary:hover { background: var(--grey-100); }

/* Footer main grid */
.footer-main  { padding: 4rem 0 2.5rem; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.footer-logo img      { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: contain; }
.footer-about p       { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-socials       { display: flex; gap: .65rem; flex-wrap: wrap; }
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all var(--transition);
  touch-action: manipulation;
}
.footer-socials a:hover { background: var(--red); color: var(--white); }
.footer-heading {
  font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--white); margin-bottom: 1.25rem;
}
.footer-links ul { display: grid; gap: .6rem; }
.footer-links li a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all var(--transition);
  padding: .2rem 0;
  min-height: 36px;
}
.footer-links li a:hover { color: var(--white); padding-left: .25rem; }
.footer-links li a i     { font-size: .65rem; color: var(--red); flex-shrink: 0; }
.contact-list { display: grid; gap: .85rem; }
.contact-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
}
.contact-list li i   { color: var(--red); margin-top: .2rem; width: 16px; flex-shrink: 0; }
.contact-list li a   { color: rgba(255,255,255,.6); }
.contact-list li a:hover { color: var(--white); }
.footer-join-btn     { margin-top: 1.5rem; font-size: .85rem; padding: .6rem 1.4rem; }
.footer-bottom       { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; position: relative; z-index: 1; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-legal       { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a     { color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ─── Back to Top ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  right: calc(1.5rem + env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 500;
  touch-action: manipulation;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover   { background: var(--red-dark); transform: translateY(-3px); }

/* ─── Utility Classes ────────────────────────────────────── */
.text-red       { color: var(--red); }
.text-center    { text-align: center; }
.text-muted     { color: var(--grey-600); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.d-flex         { display: flex; }
.gap-1          { gap: 1rem; }
.flex-wrap      { flex-wrap: wrap; }
.align-center   { align-items: center; }
.justify-between { justify-content: space-between; }
.section-pad    { padding: var(--section-pad) 0; }
.bg-grey        { background: var(--grey-50); }
.bg-dark        { background: var(--black); }
.w-full         { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up          { animation: fadeInUp .6s ease forwards; }
.fade-in-up-delay-1  { animation-delay: .1s; opacity: 0; }
.fade-in-up-delay-2  { animation-delay: .2s; opacity: 0; }
.fade-in-up-delay-3  { animation-delay: .3s; opacity: 0; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── prefers-reduced-motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .timeline-item { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — mobile-first breakpoints
   ══════════════════════════════════════════════════════════ */

/* ─── Large tablet / small desktop : ≤ 1100px ───────────── */
@media (max-width: 1100px) {
  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .board-grid           { grid-template-columns: repeat(3, 1fr); }
  .admin-stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid           { gap: 3rem; }
}

/* ─── Tablet : ≤ 960px ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid             { grid-template-columns: 1fr; }
  .hero-flyer-frame      { max-width: 300px; margin: 2.5rem auto 0; }
  .pillars-grid         { grid-template-columns: repeat(2, 1fr); }
  .events-grid          { grid-template-columns: repeat(2, 1fr); }
  .blog-grid            { grid-template-columns: repeat(2, 1fr); }
  .about-grid           { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap img { height: 360px; }
  .contact-grid         { grid-template-columns: 1fr; gap: 2.5rem; }
  .event-detail-grid    { grid-template-columns: 1fr; }
  .event-sidebar-card   { position: static; }   /* no sticky when stacked */
  .membership-plan.active { grid-template-columns: 1fr; }
  .testimonials-slider  { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid         { grid-template-columns: repeat(2, 1fr); }
  .partners-grid        { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ─── Mobile : ≤ 768px ───────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Navigation ──────────────────────────── */
  .hamburger { display: flex; z-index: 1001; }

  /* Slide-in panel using transform (smooth animation) */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;        /* dynamic viewport height */
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: env(safe-area-inset-bottom, 1.5rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);      /* hidden off-screen to the right */
    visibility: hidden;
    transition: transform .35s cubic-bezier(.4,0,.2,1),
                visibility .35s ease;
    z-index: 900;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* CTA inside mobile nav */
  .nav-cta {
    display: none;
    flex-direction: column;
    padding: 0;
    width: 100%;
    gap: .5rem;
    margin-top: .75rem;
  }
  .nav-cta.open         { display: flex; }
  .nav-cta.open .btn    { width: 100%; justify-content: center; }

  /* Nav links on mobile */
  .nav-link {
    font-size: .95rem;
    padding: .8rem .5rem;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid var(--grey-100);
  }
  .nav-link.active::after { display: none; }

  /* Mobile dropdown */
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--red);
    padding: .25rem 0 .25rem 1rem;
    display: none;
    border-radius: 0;
    min-width: unset;
    background: var(--grey-50);
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown .nav-link { border-bottom: 1px solid var(--grey-100); }

  /* ── Hero ────────────────────────────────── */
  .hero           { min-height: 80vh; min-height: 80svh; }
  .hero-content   { padding: 3rem 0 2.5rem; }
  .hero-title     { font-size: clamp(1.75rem, 6.5vw, 2.6rem); }
  .hero-desc      { font-size: .95rem; }
  .hero-actions   { flex-direction: column; gap: .75rem; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll    { display: none; }
  .hero-badge     { font-size: .75rem; }
  .hero-stats     {
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .hero-stat-num  { font-size: 1.75rem; }

  /* ── Page hero ───────────────────────────── */
  .page-hero      { padding: 3rem 0 2.5rem; }
  .page-hero h1   { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .page-hero-desc { font-size: .95rem; }

  /* ── Section spacing ─────────────────────── */
  .about-section,
  .stats-section,
  .pillars-section,
  .events-section,
  .testimonials-section,
  .blog-section,
  .partners-section,
  .board-section,
  .timeline-section,
  .resources-section,
  .gallery-section,
  .contact-section,
  .membership-section,
  .cta-section    { padding: 3rem 0; }

  /* ── Grids ───────────────────────────────── */
  .pillars-grid   { grid-template-columns: 1fr; }
  .board-grid     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .events-grid    { grid-template-columns: 1fr; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .partners-grid  { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .resources-kanban { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: 1fr; }
  .gallery-detail-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* ── About ───────────────────────────────── */
  .about-image-wrap img { height: 280px; }
  .about-badge { padding: 1rem 1.25rem; }
  .about-badge strong { font-size: 1.5rem; }

  /* ── Stat cards ──────────────────────────── */
  .stat-card { padding: 1.75rem 1rem; }
  .stat-number { font-size: clamp(2rem, 7vw, 2.8rem); }

  /* ── Pillar & blog cards ─────────────────── */
  .pillar-card    { padding: 1.75rem 1.25rem; }
  .event-card-body { padding: 1.25rem; }
  .blog-card-body { padding: 1.25rem; }
  .blog-card-footer { padding: .85rem 1.25rem; }
  .event-card-footer { padding: .85rem 1.25rem; }

  /* ── Event banner ────────────────────────── */
  .event-banner   { height: clamp(180px, 45vw, 280px); }

  /* ── Event detail ────────────────────────── */
  .event-detail-section { padding: 2rem 0; }
  .event-sidebar-card { position: static; }

  /* ── Contact ─────────────────────────────── */
  .form-card      { padding: 1.5rem; }
  .map-container  { height: 250px; }

  /* ── Forms ───────────────────────────────── */
  .form-row       { grid-template-columns: 1fr !important; }

  /* ── Membership ──────────────────────────── */
  .membership-tabs { gap: .25rem; }
  .mem-tab        { padding: .6rem 1rem; font-size: .82rem; }
  .plan-info-card { padding: 1.5rem; }
  .plan-form-card { padding: 1.5rem; }

  /* ── Section titles ──────────────────────── */
  .section-title  { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
  .section-header { margin-bottom: 2rem; }

  /* ── CTA ─────────────────────────────────── */
  .cta-section h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-actions    { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: min(320px, 100%); }

  /* ── Footer ──────────────────────────────── */
  .footer-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-legal   { justify-content: center; gap: 1rem; }
  .footer-main    { padding: 3rem 0 2rem; }

  /* ── Newsletter footer band ──────────────── */
  .newsletter-content { flex-direction: column; align-items: flex-start; }
  .newsletter-inputs  { width: 100%; min-width: 0; }
  .newsletter-inputs input { width: 100%; min-width: 0; }

  /* ── Timeline → vertical left-aligned ───── */
  .timeline::before { left: 18px; transform: none; }
  .timeline-item {
    padding-right: 0;
    padding-left: 3.25rem;
    justify-content: flex-start;
    transform: translateX(0) !important;   /* no horizontal slide on mobile */
  }
  .timeline-item:nth-child(even) {
    padding-left: 3.25rem;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot  { left: 18px; transform: none; }
  .timeline-content { max-width: 100%; }

  /* ── Modal full-height on mobile ─────────── */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 2rem 1.5rem;
    max-height: 92vh;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }

  /* ── Admin – sidebar becomes drawer ──────── */
  .admin-sidebar {
    position: fixed;
    top: 0; left: -260px;
    width: 250px;
    height: 100vh;
    z-index: 1100;
    transition: left .28s ease;
    box-shadow: none;
  }
  .admin-sidebar.open { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,.3); }
  .admin-topbar-mobile { display: flex !important; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-main  { padding: 1rem; }
  .admin-table { min-width: 540px; }

  /* ── Partners ────────────────────────────── */
  .partner-card  { min-height: 90px; padding: 1rem; }
  .partner-card img { height: 50px; }
}

/* ─── Small mobile : ≤ 480px ─────────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-h: 64px; }

  .container    { padding: 0 1rem; }

  /* Nav logo text hidden on very small screens */
  .logo-text    { display: none; }
  .nav-logo img { width: 40px; height: 40px; }

  /* Hero */
  .hero         { min-height: 75vh; min-height: 75svh; }
  .hero-stats   { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: .72rem; }

  /* Grids */
  .stats-grid   { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .board-grid   { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-detail-grid { grid-template-columns: 1fr; }

  /* Typography */
  .section-title { font-size: 1.25rem; }
  .page-hero h1  { font-size: 1.4rem; }
  .hero-title    { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Membership tabs – scrollable row, never wraps to column */
  .membership-tabs { padding: .3rem; }
  .mem-tab { padding: .55rem .85rem; font-size: .8rem; }

  /* Buttons */
  .btn-lg       { padding: .85rem 1.5rem; font-size: .95rem; }

  /* Cards */
  .stat-card    { padding: 1.25rem .75rem; }
  .pillar-card  { padding: 1.5rem 1rem; }
  .form-card    { padding: 1.25rem; }
  .plan-info-card, .plan-form-card { padding: 1.25rem; }
  .event-sidebar-card { padding: 1.25rem; }
  .admin-card   { padding: 1.25rem; }
  .testimonial-card { padding: 1.5rem 1.25rem; }

  /* Admin */
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-main   { padding: .75rem; }

  /* Footer */
  .footer-main  { padding: 2.5rem 0 1.5rem; }
  .footer-grid  { gap: 2rem; }
  .footer-bottom-inner { font-size: .78rem; }
  .footer-legal { gap: .75rem; flex-wrap: wrap; justify-content: center; }

  /* Back to top - don't obstruct content */
  .back-to-top  { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }
}

/* ─── Very small (320px) ─────────────────────────────────── */
@media (max-width: 360px) {
  .hero-actions { gap: .5rem; }
  .hero-stats   { column-gap: 1rem; }
  .stats-grid   { grid-template-columns: 1fr; }
  .board-socials a { width: 30px; height: 30px; }
}

/* ─── Large screens : ≥ 1400px ──────────────────────────── */
@media (min-width: 1400px) {
  :root { --container: 1360px; }
  .about-grid { gap: 6rem; }
}

/* ─── Touch device improvements (hover: none / pointer: coarse) */
@media (hover: none) and (pointer: coarse) {
  /* Remove translateY hover effects — they feel jarring on touch */
  .btn:hover            { transform: none; }
  .event-card:hover     { transform: none; box-shadow: none; }
  .blog-card:hover      { transform: none; box-shadow: none; }
  .pillar-card:hover    { transform: none; }
  .board-card:hover     { transform: none; box-shadow: none; }
  .stat-card:hover      { transform: none; }
  .resource-card:hover  { transform: none; }
  .testimonial-card:hover { transform: none; }
  .gallery-card:hover   { transform: none; }
  .partner-card:hover   { transform: none; }

  /* Show gallery overlay by default (no hover on touch) */
  .gallery-item-open  { opacity: 1; }
}

/* ============================================================
   SUMMIT — shared bits used on OTHER pages (index.php, events.php)
   The full summit microsite design lives self-contained in
   ict-summit-2026.html's own <style> block.
   ============================================================ */

/* ─── Countdown chip (homepage hero) ─────────────────────── */
.summit-countdown { display: flex; gap: .65rem; margin-bottom: 2rem; flex-wrap: wrap; }
.summit-countdown-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: .55rem .85rem;
  min-width: 62px;
  text-align: center;
}
.summit-countdown-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.summit-countdown-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
}

/* ─── Featured-event banner (events.php) ─────────────────── */
.featured-event-banner {
  background: linear-gradient(135deg, var(--black) 55%, var(--red-dark) 100%);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.featured-event-banner .tier-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.featured-event-banner h3 { color: var(--white); font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .35rem; }
.featured-event-banner p  { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }

@media (max-width: 640px) {
  .featured-event-banner { flex-direction: column; align-items: flex-start; }
}
