/* =========================================================
   DESIGN TOKENS & BASE RESET
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
            7) login.html     8) member.html    9) contact.html
   (every page loads this file — tokens and reset apply sitewide)
   ========================================================= */
:root {
  --cream: #fff8ef;
  --paper: #fffdf9;
  --navy: #17213a;
  --muted: #65708a;
  --coral: #ff6b5f;
  --yellow: #ffd85c;
  --blue: #5b8def;
  --purple: #8b6fe8;
  --mint: #55d6be;
  --pink: #ff9fc5;
  --line: #e9e0d5;
  --shadow: 0 14px 35px rgba(23, 33, 58, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Warm theme */
body.theme-warm {
  --cream: #fff8ef;
  --paper: #fffdf9;
}

/* Bright theme */
body.theme-bright {
  --cream: #f6fbff;
  --paper: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.05;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

/* =========================================================
   SCROLL / LOAD PROGRESS BAR
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
            7) login.html     8) member.html    9) contact.html
   ========================================================= */
.scrub-progress {
  height: 6px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: transparent;
}

.scrub-progress__head {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--purple), var(--blue));
  border-radius: 0 99px 99px 0;
}

/* =========================================================
   NAVBAR (Bootstrap navbar, restyled)
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
            7) login.html     8) member.html    9) contact.html
   ========================================================= */
.site-nav {
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  min-height: 76px;
  z-index: 1030;
}

.theme-bright .site-nav {
  background: rgba(246, 251, 255, 0.92);
}

.brand-mark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-shape {
  width: 27px;
  height: 27px;
  background: var(--coral);
  display: inline-block;
  border-radius: 8px 50% 50% 8px;
  transform: rotate(-12deg);
  position: relative;
}

.brand-shape:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  right: -5px;
  top: -4px;
}

.brand-logo{
  width:40px;
  height:40px;
  flex-shrink:0}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  text-align:left}

.brand-text strong{
  font-family:"Space Grotesk",sans-serif;
  font-size:1.15rem;
  line-height:1}

.brand-text small{
  font-size:.62rem;
  color:var(--muted);
  letter-spacing:.03em}

.nav-link {
  font-weight: 600;
  color: var(--navy);
  padding: 0.55rem 0.7rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--coral);
}

.navbar-toggler {
  border: 2px solid var(--navy);
  border-radius: 12px;
}

/* =========================================================
   BUTTONS
   .btn / .btn-coral         -> all 9 pages
   .btn-outline-creative     -> 1) index.html 2) events.html 3) join.html 4) member.html
   .btn-soft                 -> 1) index.html 2) resources.html 3) portfolio.html 4) member.html 5) contact.html
   ========================================================= */
.btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  border-width: 2px;
}

.btn-coral {
  display: inline-block; /* Ensures margin and padding apply correctly */
  padding: 12px 24px;   /* Internal spacing (top/bottom: 12px, left/right: 24px) */
  margin: 0 16px 16px 16px;         /* Outer spacing on all 4 sides (top, right, bottom, left) */
  background: var(--coral);
  border: 2px solid var(--navy);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
  box-shadow: 4px 4px 0 var(--navy);
  cursor: pointer;
}

.btn-coral:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--navy);
}

.btn-outline-creative {
  display: inline-block; /* Ensures margin and padding apply correctly */
  padding: 12px 24px;   /* Internal spacing (top/bottom: 12px, left/right: 24px) */
  margin: 0 16px 16px 16px;         /* Outer spacing on all 4 sides (top, right, bottom, left) */
  background: var(--coral);
  border: 2px solid var(--navy);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
  box-shadow: 4px 4px 0 var(--navy);
  cursor: pointer;
}

.btn-outline-creative:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--navy);
}

.btn-soft {
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--navy);
}

.btn-soft:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

/* =========================================================
   HOME HERO + DECORATIVE 2D ART SHAPES
   Used in: 1) index.html ONLY
   ========================================================= */
.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero-title {
  font-size: clamp(3.4rem, 8vw, 7rem);
  letter-spacing: -0.055em;
}

.hero-title .line-coral {
  color: var(--coral);
}

.hero-title .line-purple {
  color: var(--purple);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-art {
  min-height: 480px;
  position: relative;
}

.art-card {
  position: absolute;
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--navy);
}

.art-main {
  width: 76%;
  height: 70%;
  right: 5%;
  top: 12%;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff, #fff3d4);
}

.art-main:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  background: var(--coral);
  border-radius: 55% 45% 45% 55%;
  right: 12%;
  top: 12%;
  opacity: 0.9;
}

.art-main:after {
  content: "";
  position: absolute;
  width: 170px;
  height: 70px;
  background: var(--blue);
  border-radius: 50%;
  left: 8%;
  bottom: 14%;
  transform: rotate(-15deg);
}

.art-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-weight: 800;
  font-size: 1.4rem;
  z-index: 2;
}

.art-sticker {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  position: absolute;
  left: 2%;
  top: 5%;
  transform: rotate(-12deg);
  z-index: 4;
}

.art-shape {
  width: 110px;
  height: 80px;
  background: var(--mint);
  border: 2px solid var(--navy);
  border-radius: 12px 50% 12px 50%;
  position: absolute;
  right: 0;
  bottom: 6%;
  transform: rotate(18deg);
}

.art-dots {
  position: absolute;
  left: 8%;
  bottom: 18%;
  width: 80px;
  height: 80px;
  background: radial-gradient(var(--purple) 3px, transparent 4px);
  background-size: 16px 16px;
}

/* =========================================================
   PAGE HEADER (inner pages, not Home)
   Used in: 1) about.html    2) events.html 3) resources.html
            4) portfolio.html 5) join.html   6) login.html
            7) member.html    8) contact.html
   ========================================================= */
.page-hero {
  padding: 75px 0 55px;
  position: relative;
}

.page-hero:after {
  content: "";
  position: absolute;
  right: 5%;
  top: 35px;
  width: 80px;
  height: 80px;
  background: var(--yellow);
  border: 2px solid var(--navy);
  border-radius: 50% 20% 50% 50%;
  transform: rotate(18deg);
  z-index: -1;
}

/* =========================================================
   GENERIC SECTION / TYPOGRAPHY HELPERS
   .section / .section-title / .eyebrow / .card-text-muted -> all 9 pages
   .section-soft   -> 1) index.html 2) about.html 3) resources.html 4) contact.html
   .section-copy   -> 1) about.html 2) events.html 3) resources.html 4) portfolio.html
                      5) join.html 6) login.html 7) member.html 8) contact.html
   ========================================================= */
.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
}

.section-copy {
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.card-text-muted {
  color: var(--muted);
}

/* =========================================================
   STICKER BADGES (small rotated pill tags)
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
   (colour modifiers .yellow/.purple/.mint/.coral used across the same set of pages)
   ========================================================= */
.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border: 2px solid var(--navy);
  font-weight: 800;
  border-radius: 999px;
  transform: rotate(-2deg);
}

.sticker.yellow { background: var(--yellow); }
.sticker.purple { background: #ddd5ff; }
.sticker.mint   { background: #c9f5ed; }
.sticker.coral  { background: #ffd0cc; }

/* =========================================================
   CARDS — project / resource / event / info / form
   .project-card  -> 1) index.html 2) portfolio.html
   .resource-card -> 1) resources.html
   .event-card    -> 1) index.html 2) events.html
   .info-card     -> 1) index.html 2) about.html 3) join.html 4) contact.html
   .form-card     -> 1) events.html 2) resources.html 3) join.html
                     4) login.html 5) member.html 6) contact.html
   ========================================================= */
.project-card,
.resource-card,
.info-card,
.form-card {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Next Workshop Card */
.event-card {
  position: relative;
  z-index: 1;

  /* Add space between the border and the content */
  padding: 30px;

  /* Keep the existing card design */
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  box-sizing: border-box;
}
.form-card.sticky-lg-top {
  z-index: 10;
}

.project-card,
.resource-card {
  height: 100%;
  transition: 0.25s;
}

.project-card:hover,
.resource-card:hover,
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 16px 0 rgba(23, 33, 58, 0.12);
}

/* thumbnail block used on project cards — 1) index.html 2) portfolio.html */
.thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.thumb.one {
  background: linear-gradient(135deg, #ffd85c 0 45%, #ff9fc5 45% 70%, #8b6fe8 70%);
}

.thumb.two {
  background: linear-gradient(135deg, #55d6be, #5b8def 55%, #ffffff);
}

.thumb.three {
  background: linear-gradient(135deg, #ff6b5f, #ffd85c 50%, #fff3d4 50%);
}

.thumb.four {
  background: linear-gradient(135deg, #8b6fe8, #c9f5ed 55%, #ff9fc5 55%);
}

.thumb.one:after,.thumb.two:after,.thumb.three:after,.thumb.four:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(23, 33, 58, 0.45);
  border-radius: 18px;
}

/* shared card body/kicker text — used wherever the card types above are used */
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;}

.event-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
  display: block;
  margin: 16px; /* Pushes the image away from the left border of the frame */
}

.hero-img{
  width:100%;
  border:2px solid var(--navy);
  border-radius:24px;
  box-shadow:10px 10px 0 var(--navy);
  display:block}

.card-body-custom {
  padding: 22px;
}

.card-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--purple);
}

/* =========================================================
   EVENT CARD DETAILS (date badge + decorative circle)
   Used in: 1) index.html 2) events.html
   ========================================================= */
.event-date {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--coral);
}

.event-card:after {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 0;
}

.event-card > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   RESOURCE TOOLBAR — SEARCH + FILTER (jQuery-driven)
   Used in: .resource-toolbar / .search-box -> 1) resources.html ONLY
            .filter-group / .filter-btn     -> 1) resources.html 2) portfolio.html
   ========================================================= */
.resource-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.search-box {
  border: 2px solid var(--navy);
  border-radius: 14px;
  background: var(--paper);
  padding: 0.75rem 1rem;
  min-width: 280px;
  outline: none;
}

.search-box:focus {
  box-shadow: 4px 4px 0 var(--yellow);
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 2px solid var(--navy);
  background: var(--paper);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--yellow);
}

/* =========================================================
   VIDEO / TUTORIAL PLACEHOLDER FRAME
   Used in: 1) resources.html 2) portfolio.html
   ========================================================= */
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #17213a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/*.video-frame:before {
  content: "";
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid #ffffff;
  position: relative;
  z-index: 2;
}

.video-frame:after {
  content: "";
  position: absolute;
  border-left: 24px solid var(--navy);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 7px;
}*/

/* =========================================================
   TUTORIAL PROGRESS BAR (localStorage-backed)
   Used in: 1) resources.html ONLY
   ========================================================= */
.progress-track {
  height: 10px;
  background: #eee7dd;
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--purple));
  border-radius: 99px;
}

/* =========================================================
   BOOTSTRAP MODAL (project/event "Details" popup)
   Used in: 1) events.html 2) portfolio.html
   ========================================================= */
.modal-content {
  border: 2px solid var(--navy);
  border-radius: 20px;
  box-shadow: 12px 12px 0 var(--navy);
  background: var(--paper);
}

/* =========================================================
   FORM CONTROLS
   .form-card body padding -> see card list above
   .form-control/.form-select -> 1) events.html 2) join.html 3) login.html 4) contact.html
   (join/login use inputs without the .form-select dropdown; contact/events use both)
   ========================================================= */
.form-card {
  padding: 30px;
}

.form-control,
.form-select {
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: var(--paper);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--purple);
  box-shadow: 4px 4px 0 var(--yellow);
}

/* =========================================================
   MAP + SOCIAL WALL
   Used in: 1) contact.html ONLY
   ========================================================= */
.map-frame {
  width: 100%;
  min-height: 380px;
  border: 2px solid var(--navy);
  border-radius: 20px;
  overflow: hidden;
}

/* .map-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
} */

.social-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-tile {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 22px;
  min-height: 180px;
  box-shadow: 6px 6px 0 var(--yellow);
}

.social-tile:nth-child(2) {
  box-shadow: 6px 6px 0 var(--purple);
}

.social-tile:nth-child(3) {
  box-shadow: 6px 6px 0 var(--mint);
}

/* =========================================================
   MEMBER DASHBOARD STAT TILES
   Used in: 1) member.html ONLY
   ========================================================= */
.member-stat {
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--mint);
}

/* =========================================================
   FOOTER
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
            7) login.html     8) member.html    9) contact.html
   ========================================================= */
.site-footer {
  padding: 55px 0 25px;
  background: var(--navy);
  color: #ffffff;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: #ffffff;
}

.footer-grid h6 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  color: #dbe0ee;
  margin: 7px 0;
}

.footer-grid a:hover {
  color: var(--coral);
}

.small-muted {
  color: #b9c1d2;
  max-width: 42ch;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 35px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #b9c1d2;
  font-size: 0.88rem;
}

.footer-pref {
  color: var(--yellow);
}

/* =========================================================
   COOKIE PREFERENCE BANNER (footer link opens this)
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
            7) login.html     8) member.html    9) contact.html
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1500;
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 10px 10px 0 var(--navy);
}

/* =========================================================
   ABOUT US — TIMELINE + FAQ ACCORDION
   Used in: 1) about.html ONLY
   ========================================================= */
.timeline {
  border-left: 3px solid var(--purple);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--cream);
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  padding: 18px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
}

/* =========================================================
   TOAST NOTIFICATION (jQuery-triggered confirmation popup)
   Used in: 1) index.html     2) about.html    3) events.html
            4) resources.html 5) portfolio.html 6) join.html
            7) login.html     8) member.html    9) contact.html
   ========================================================= */
.toast-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1600;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  display: none;
  box-shadow: 7px 7px 0 var(--coral);
}

/* =========================================================
   UTILITY
   .hidden -> 1) events.html 2) join.html 3) login.html 4) member.html 5) contact.html
   (used by jQuery to show/hide success messages, locked states, etc.)
   ========================================================= */
.hidden {
  display: none !important;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   Rules inside affect whichever component they restyle —
   see the matching section above for that component's pages.
   ========================================================= */
@media (max-width: 991px) {
  .hero {
    padding-top: 65px;
  }
  .hero-art {
    min-height: 390px;
    margin-top: 30px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 3.4rem;
  }
  .hero-art {
    min-height: 330px;
  }
  .art-main {
    width: 82%;
    height: 68%;
  }
  .art-sticker {
    width: 70px;
    height: 70px;
    font-size: 0.8rem;
  }
  .social-wall,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner .d-flex {
    width: 100%;
  }
  .cookie-banner button {
    flex: 1;
  }
  .footer-bottom {
    flex-direction: column;
  }

  .social-wall {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Enhancements — animations, marquee, stats, media players
   ============================================================ */

/* Scroll reveal (main.js adds .js to <body>) */
.js .reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s ease,transform .7s ease}
.js .reveal.reveal-visible{
  opacity:1;
  transform:none}

/* Hero entrance animation */
.animate-rise{
  opacity:0;
  animation:rise .8s cubic-bezier(.22,1,.36,1) forwards}
@keyframes rise{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:none}}
.delay-1{animation-delay:.06s}
.delay-2{animation-delay:.2s}
.delay-3{animation-delay:.34s}
.delay-4{animation-delay:.48s}
.delay-5{animation-delay:.62s}

/* Floating decorative shapes */
.float-sticker{animation:floatSticker 5.5s ease-in-out infinite}
@keyframes floatSticker{
  0%,100%{transform:rotate(-12deg) translateY(0)}
  50%{transform:rotate(-12deg) translateY(-13px)}}
.float-shape{animation:floatShape 6.5s ease-in-out infinite}
@keyframes floatShape{
  0%,100%{transform:rotate(18deg) translateY(0)}
  50%{transform:rotate(18deg) translateY(-11px)}}

/* Scrolling marquee strip */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--yellow);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  padding: 13px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: marquee-scroll 26s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;

  /* SAME spacing everywhere */
  gap: 44px;

  /* Space between the end of one group
     and beginning of the next group */
  padding-right: 44px;
}

.marquee__group span {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;

  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Stats counters */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px}
.stat-card{
  background:var(--paper);
  border:2px solid var(--navy);
  border-radius:18px;
  padding:26px 20px;
  text-align:center;
  box-shadow:6px 6px 0 var(--mint)}
.stat-card:nth-child(2){box-shadow:6px 6px 0 var(--pink)}
.stat-card:nth-child(3){box-shadow:6px 6px 0 var(--yellow)}
.stat-card:nth-child(4){box-shadow:6px 6px 0 var(--purple)}
.stat-num{
  font-family:"Space Grotesk",sans-serif;
  font-size:2.5rem;
  font-weight:700;
  line-height:1}
.stat-label{
  color:var(--muted);
  font-weight:600;
  margin-top:8px}

@media(max-width:991px){
  .stats-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .stats-grid{grid-template-columns:1fr}
}

/* ============================================================
   Enhancements — animations, marquee, stats, media players
   ============================================================ */

/* Scroll reveal (main.js adds .js to <body>) */
.js .reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s ease,transform .7s ease}
.js .reveal.reveal-visible{
  opacity:1;
  transform:none}

/* Hero entrance animation */
.animate-rise{
  opacity:0;
  animation:rise .8s cubic-bezier(.22,1,.36,1) forwards}
@keyframes rise{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:none}}
.delay-1{animation-delay:.06s}
.delay-2{animation-delay:.2s}
.delay-3{animation-delay:.34s}
.delay-4{animation-delay:.48s}
.delay-5{animation-delay:.62s}

/* Floating decorative shapes */
.float-sticker{
  animation:floatSticker 5.5s ease-in-out infinite}

@keyframes floatSticker{
  0%,100%{transform:rotate(-12deg) translateY(0)}
  50%{transform:rotate(-12deg) translateY(-13px)}}
.float-shape{animation:floatShape 6.5s ease-in-out infinite}

@keyframes floatShape{
  0%,100%{transform:rotate(18deg) translateY(0)}
  50%{transform:rotate(18deg) translateY(-11px)}}

/* Scrolling marquee strip */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--yellow);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  padding: 13px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: marquee-scroll 18s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 44px;
  padding-right: 44px;
}

.marquee__group span {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;

  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Stats counters */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px}
.stat-card{
  background:var(--paper);
  border:2px solid var(--navy);
  border-radius:18px;
  padding:26px 20px;
  text-align:center;
  box-shadow:6px 6px 0 var(--mint)}
.stat-card:nth-child(2){box-shadow:6px 6px 0 var(--pink)}
.stat-card:nth-child(3){box-shadow:6px 6px 0 var(--yellow)}
.stat-card:nth-child(4){box-shadow:6px 6px 0 var(--purple)}
.stat-num{
  font-family:"Space Grotesk",sans-serif;
  font-size:2.5rem;
  font-weight:700;
  line-height:1}
.stat-label{
  color:var(--muted);
  font-weight:600;
  margin-top:8px}

@media(max-width:991px) {
  .stats-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:560px) {
  .stats-grid{grid-template-columns:1fr}
}

/* Featured work images */
.project-card .thumb {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
}

.project-card .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Prevent the event card from clipping its content */
.event-card {
  overflow: visible;
}

/* Tablet and split-screen */
@media (max-width: 991.98px) {
  .project-card .thumb {
    min-height: 250px;
  }

  .project-card .card-body-custom {
    padding: 2rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .project-card .thumb {
    min-height: 220px;
  }

  .project-card .card-body-custom {
    padding: 1.5rem;
  }
}
