/* =========================================================
   CROWDS – styles.css (split by section)
   ========================================================= */

/* =========================================================
   Fonts
   ========================================================= */
@import url('https://fonts.cdnfonts.com/css/satoshi');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');


/* =========================================================
   Reset / Base + Theme Tokens
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --topbar-offset: 92px;

  --bg-odd: #0D0D0D;
  --bg-even: #1A1A1A;

  --text: #EAEAEA;
  --white: #F5F5F5;
  --muted: #A8A8A8;

  --brand-orange: #FF8C00;
  --brand-pink: #FF0080;
  --brand-grad: linear-gradient(48deg, var(--brand-orange), var(--brand-pink));
  --brand-grad-rev: linear-gradient(48deg, var(--brand-pink), var(--brand-orange));
}

body {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, #111, #333);
  padding-top: 0;
}

/* Prevent anchored sections from hiding behind sticky nav */
section[id] { scroll-margin-top: var(--topbar-offset); 
}
/* Fine-tune About anchor position so previous section is not visible */
#about {
  scroll-margin-top: calc(var(--topbar-offset) + 40px);
}



/* =========================================================
   Layout Helpers + Section Alternating Backgrounds
   ========================================================= */
main { 
	margin: 0;
	padding: 0;
	padding-top: var(--topbar-offset);
	}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  margin: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/*Alternate section backgrounds for the single-page flow*/
main section:nth-of-type(odd) { background-color: var(--bg-odd); }
main section:nth-of-type(even) { background-color: var(--bg-even); }

/* Keep hero as its own background
#home { background: linear-gradient(135deg, #111, #333); }*/

/* ======================================================
   Section background alternation (explicit & predictable) - Optional
   ====================================================== */

/* Home (hero) — BLACK */
/*#home {
  background-color: var(--bg-odd);
}*/

/* Connecting Crowds — DARK GREY */
/*#connecting {
  background-color: var(--bg-even);
}*/

/* How it Works — BLACK */
/*#how {
  background-color: var(--bg-odd);
}*/

/* Crowds in Action — DARK GREY */
/*#action {
  background-color: var(--bg-even);
}*/

/* About — BLACK */
/* #about {
  background-color: var(--bg-odd);
}*/

/* Footer stays black */
.site-footer {
  background-color: var(--bg-odd);
}


/* =========================================================
   Global Section Headings
   ========================================================= */
.how-title,
.action-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 1.05;
  text-align: center;
  color: var(--white);
  margin: 0 0 2.5rem;
}


/* =========================================================
   Header / Sticky Navigation
   ========================================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;

  /* Match the body padding-top so content never peeks through */
  height: var(--topbar-offset);

  /* Remove the “hairline/gap” under the header on mobile */
  background: var(--bg-odd);
  border-bottom: 0;
  box-shadow: none;

  /* Avoid Safari sub-pixel seams caused by backdrop-filter + transparency */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  /* Create a stable compositing layer */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);

  overflow: hidden;
}

/* Overpaint 2px below the header to kill any remaining seam */
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--bg-odd);
  pointer-events: none;
}

.topbar-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem; /* vertical padding removed (height is fixed above) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

/* Brand: logo + text */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  text-decoration: none;
}

/* Logo image */
.logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-text h1 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600; /* Semibold */
  font-size: 20px;
  line-height: 43px;
  color: var(--white);
}

.brand-text span {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin-top: -4px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 28px;
  text-align: center;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--brand-orange); }
.nav-links a.active { color: var(--brand-pink); }

/* Burger button (hidden on desktop) */
.burger{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span{
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
}


/* =========================================================
   Home / Hero Section
   ========================================================= */
.hero {
  width: 100%;
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===============================
   HERO VIDEO (SVG MASK CUTOUT)
   MP4 is visible ONLY where the SVG is white.
   =============================== */

.hero-banner{
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: transparent; /* IMPORTANT: no rectangular background */
}

/* Video fills hero area */
.hero-video__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Apply SVG mask to the VIDEO (not the container) */
.hero-video--masked .hero-video__media{
  -webkit-mask-image: url('images/LogoMask.svg');
          mask-image: url('images/LogoMask.svg');

  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;

  -webkit-mask-position: center;
          mask-position: center;

  /* scale mask to EXACTLY the hero box (no cropping) */
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;

  -webkit-mask-mode: alpha;/*luminance*/
          mask-mode: alpha;/*luminance*/
}


.hero-title {
  margin-top: 1.75rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 1.05;
  color: var(--white);
}

.hero-subtitle {
  margin: 1.25rem auto 0;
  max-width: 900px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: var(--white);
}

.hero-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  background: var(--brand-grad);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-cta:hover {
  background: var(--brand-grad-rev);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 0, 128, 0.35);
}

.hero-cta:active {
  background: var(--brand-grad-rev);
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(255, 0, 128, 0.25);
}


/* =========================================================
   Connecting Crowds Section
   ========================================================= */
.after-hero { padding-top: 5rem; }

.connecting-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.connecting-box {
  flex: 1;
  padding: 30px;
}

/* Responsive: stack right box under left box on smaller screens */
    @media (max-width: 900px) {
      .connecting-grid {
        flex-direction: column;
        align-items: stretch;
      }
    }

/* Gradient frame for left box */
.connecting-box.framed {
  position: relative;
  border-radius: 16px;
  background: #1A1A1A;
}

.connecting-box.framed::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.connecting-box h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 1rem;
}

.connecting-box h4 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 1rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Shared paragraph style */
.connecting-box p {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-line;
  margin-bottom: 1.25rem;
}

/* Feature list on right */
.connecting-points {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

.connecting-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-grad);
  flex: 0 0 auto;
  box-shadow: 0 0 6px rgba(255, 140, 0, 0.45);
}


/* =========================================================
   How it Works Section
   ========================================================= */
.how-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.5rem;
  align-items: center;
}

.process {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.flows { min-width: 0; }
.flow  { width: 100%; }

/* Offset FIRST (1) Second (2) flow slightly to the left/right for visual hierarchy */
.process .flow:nth-child(2) .steps {
  margin-left: 40px; /* tweak this value to control how much it shifts */
}

/* STRUCTURAL: these columns are tuned for alignment */
.steps{
  --role-col: 105px;
  --card-min: 168px;
  --arrow-w: clamp(8px, 4vw, 52px);

  display: grid;
  grid-template-columns:
    var(--role-col)
    minmax(var(--card-min), 1fr)
    var(--arrow-w)
    minmax(var(--card-min), 1fr)
    var(--arrow-w);

  align-items: center;
  column-gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}



.role-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  opacity: 0.95;
  white-space: nowrap;
  justify-self: start;
}

/* Step cards (each step is a framed tile) */
.step-card {
  justify-content: center;   /* center icon + text horizontally */
  text-align: center;       /* center multiline labels */

  justify-self: stretch; 
  display: flex;
  align-items: center;

  gap: 8px;              /* space between icon and text */
  padding: 6px 10px;      /* THIS is the tile “tightness” */
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);

  min-height: 48px;
  min-width: 168px;   /* ✅ prevents overlap on smaller screens */
  max-width: 100%;
}



.step-card:hover{
  border-color: rgba(255, 140, 0, 0.35);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.25),
    0 0 0 4px rgba(255, 140, 0, 0.08),
    0 0 18px rgba(255, 0, 128, 0.10);
}


.step {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow:
    0 0 0 5px rgba(255, 140, 0, 0.18),
    0 0 0 10px rgba(255, 0, 128, 0.12),
    0 0 22px rgba(255, 0, 128, 0.22);
  flex: 0 0 auto;
}

/* HOW IT WORKS – step icon images (can replace .dot) */
.step-icon{
  width: 80px;           /* adjust size here */
  height: 80px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
  /*filter:
    drop-shadow(0 0 6px rgba(255, 140, 0, 0.35))
    drop-shadow(0 0 10px rgba(255, 0, 128, 0.25));*/ /*If we want to add drop shadow*/
}


.step-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.1;   /* tighter vertical spacing between the two words */
}


.arrow {
  position: relative;
  width: 56px;              /* shorter arrows */
  height: 3px;
  background: var(--brand-grad);
  border-radius: 999px;
  justify-self: center;
  opacity: 0.95;

  /* ensures arrows never touch the cards */
  margin: 0 6px;
}

.arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-pink);
  border-top: 2px solid var(--brand-pink);
  transform: translateY(-50%) rotate(45deg);
}

.converge {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: center;
}

.arena-image {
  width: 160px;           /* adjust size here */
  height: 160px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
}

.arena {
  font-family: 'Satoshi', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 36px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  white-space: nowrap;
}


/* =========================================================
   Crowds in Action Section (bullets + carousel)
   ========================================================= */
.action-wrap {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.action-left,
.action-right {
  flex: 1;
  min-width: 0;
}

/* Bullet list (left) */
.action-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.action-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex: 0 0 auto;
  background: none;
  border: none;
  border-radius: 0;
}

.action-text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text);
}

/* Carousel container */
.carousel {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 320px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 600ms ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Media placeholder (background set by JS) */
.carousel-media {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.carousel-caption {
  padding: 16px 18px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.25;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 100%);
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 50;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 245, 0.55);
  background: rgba(245, 245, 245, 0.15);
  cursor: pointer;
  padding: 0;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.carousel-dot:hover {
  transform: scale(1.15);
  background: rgba(255, 140, 0, 0.22);
  border-color: rgba(255, 140, 0, 0.65);
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
}

.carousel-dot[aria-current="true"] {
  width: 12px;
  height: 12px;
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow:
    0 0 0 4px rgba(255, 140, 0, 0.18),
    0 0 14px rgba(255, 140, 0, 0.38);
}

.carousel-dot[aria-current="true"]:hover {
  transform: scale(1.2);
  box-shadow:
    0 0 0 5px rgba(255, 140, 0, 0.20),
    0 0 18px rgba(255, 140, 0, 0.45);
}


/* =========================================================
   About Section
   ========================================================= */
.about-wrap {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.about-image {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Portrait placeholder (swap div->img but keep class) */
.about-avatar {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), rgba(0,0,0,0.25)),
    linear-gradient(135deg, #1a1a1a, #0d0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(245,245,245,0.65);
}

/* Subtle gradient ring */
.about-avatar::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--brand-grad);
  z-index: -1;
  filter: blur(0.3px);
}

.about-contact-title {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.4px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-links {
  margin-top: 1.25rem;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.about-links a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  transition: transform 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.about-links a:hover {
  color: var(--brand-orange);
  transform: translateY(-2px);
  background: rgba(255, 140, 0, 0.08);
  box-shadow:
    0 0 0 4px rgba(255, 140, 0, 0.12),
    0 0 18px rgba(255, 140, 0, 0.28),
    0 0 26px rgba(255, 0, 128, 0.18);
}

.about-text { flex: 1; }

.about-text p {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1.75rem;
}

/* About section image wrapper */
.about-media {
  display: flex;
  justify-content: center;   /* center horizontally */
  margin-top: 1.5rem;
}

/* Actual About image */
.about-media-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  position: relative;

  /* subtle depth */
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 140, 0, 0.08);
}

/* Gradient overlay */
.about-media::after {
  content: "";
  position: absolute;
  pointer-events: none;

  width: 100%;
  max-width: 400px;
  aspect-ratio: auto;

  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
}




/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-odd);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
}

.footer-text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}


/* =========================================================
   Responsive - Small screens and mobile
   ========================================================= */
 @media (max-width: 900px) {
	.topbar {
		border-bottom: none;                 /* removes the line */
		box-shadow: none;  /* avoids a “seam” from transparency */
		}
      /* How it Works – two flows side-by-side, Arena below */
      .how-wrap{
        grid-template-columns: 1fr 1fr;   /* Organizer | Audience */
        grid-template-rows: auto auto;    /* flows row, arena row */
        gap: 1.5rem 1rem;
      }
      .flows{ grid-column: 1 / -1; } /* keep flows wrapper spanning */
      .process{ flex-direction: row; gap: 1rem; } /* show flows beside each other */
      .flow{ flex: 1; 
	  }

      .converge{
        grid-column: 1 / -1; /* Arena spans full width below */
        justify-content: center;
      }
      .arena{ text-align: center; }

      /* Stack steps inside each flow vertically on mobile */
      .steps{ grid-template-columns: 1fr; row-gap: 12px; }
      .role-label{ justify-self: center; }
	  
      /* Mobile: vertical arrows ONLY inside How it Works steps */
		.steps .arrow{
		  display: block;
		  position: relative;
		  width: 3px;
		  height: 28px;
		  margin: 10px auto;
		  background: var(--brand-grad);
		  border-radius: 999px;
		  justify-self: center;
		}

		.steps .arrow::after{
		  content: "";
		  position: absolute;
		  left: 50%;
		  bottom: -7px;
		  width: 8px;
		  height: 8px;

		  /* draw DOWN arrowhead */
		  border-right: 2px solid var(--brand-pink);
		  border-bottom: 2px solid var(--brand-pink);

		  /* explicitly unset desktop style */
		  border-top: 0;
		  border-left: 0;
		  right: auto;
		  top: auto;

		  transform: translateX(-50%) rotate(45deg); /* points DOWN */
		}

      /* Make steps fit comfortably on tablets */
      .steps {
        --role-col: 92px;
        --card-min: 160px;
        --arrow-w: clamp(24px, 5vw, 44px);
        column-gap: 12px;
      }

      .step-card { min-width: 160px; }

      .about-wrap { flex-direction: column; text-align: center; }
      .carousel-viewport { min-height: 260px; }
      .carousel-caption { font-size: 10px; }

      /* Mobile nav → burger + dropdown */
      .burger { display: inline-flex; }

      /* Right-aligned, content-width dropdown */
      .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: auto;

        /* Width flexes based on text + screen */
        width: max-content;
        max-width: calc(100vw - 24px);
        min-width: 220px;

        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        display: flex;
        flex-direction: column;
        align-items: flex-end; /* align links to the right */

        max-height: 0;
        overflow: hidden;

        pointer-events: none; /* IMPORTANT: don't block burger clicks when closed */
        transition: max-height 0.25s ease;

        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        z-index: 1200; /* ensure dropdown stays above page content */
      }

      .nav-links.open {
        max-height: 420px;
        pointer-events: auto;
        padding: 8px 0;
      }

      .nav-links a {

        width: auto;          /* don't force full width */
        text-align: right;    /* right-align text */
        padding: 12px 18px;
        white-space: nowrap;  /* keep each item on one line */
      }
	  
	/* -----------------------------------
	   Crowds in Action – MOBILE LAYOUT
	   Text first, images below
	----------------------------------- */
	  .action-wrap {
		flex-direction: column;     /* stack vertically */
		gap: 1.5rem;
	  }

	  .action-left {
		order: 1;                   /* bullets first */
		width: 100%;
	  }

	  .action-right {
		order: 2;                   /* carousel below */
		width: 100%;
	  }

	  /* Keep carousel height reasonable on mobile */
	  .carousel-viewport {
		min-height: 260px;
	  }
	/* -----------------------------------
   About / Contact Us – MOBILE CENTERING
	----------------------------------- */  
	.about-wrap {
    flex-direction: column;
    align-items: center;     /* ✅ THIS is the missing part */
    text-align: center;
	}
	.about-image {
    align-items: center;     /* center avatar + text horizontally */
    text-align: center;
	}

	.about-avatar {
    margin-left: auto;
    margin-right: auto;
	}

	.about-contact-title {
    text-align: center;
	}

	.about-links {
    justify-content: center; /* center icons row */
	}
	    

    }
    @media (max-width: 600px) {
      :root { --topbar-offset: 84px; }
      .hero-title { font-size: 34px; }
      .topbar-inner { padding: 0.9rem 1rem; }
      .nav-links a { padding: 10px 18px; }
      .footer-inner { flex-direction: column; gap: 0.75rem; }
    }

    @media (prefers-reduced-motion: reduce) {
      .carousel-slide { transition: none; }
    }



