*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --black: #0a0a0a;
  --purple: rgb(123, 97, 255);
  --purple-light: rgb(167, 139, 250);
  --purple-dim: #ede9fe;
  --gray: #666;
  --gray-light: #999;
  --border: rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Horizon', sans-serif;
}

/* NAV — File 2 unchanged */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
}

.nav-logo {
  height: 44px;
  width: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  display: block;
  height: 100%;
  width: auto;
  transform-origin: center center;
  transform: scale(1.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: var(--purple);
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.82rem;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
  font-family: 'Inter', sans-serif;
}

.nav-cta:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}

.nav-apply {
  background: transparent;
  color: var(--black);
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition:
    border-color 0.2s,
    transform 0.2s,
    background 0.2s;
  font-family: 'Inter', sans-serif;
}

.nav-apply:hover {
  border-color: var(--purple);
  background: rgba(123, 97, 255, 0.04);
  transform: translateY(-1px);
}

.hero-actions .nav-apply {
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
}

.hero-actions .nav-apply:hover {
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--black);
}

.mobile-menu .nav-cta {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #fff;
}

/* HERO — File 1 */
#hero {
  position: relative;
  padding: 9rem 4rem 4rem;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 55% 55% at 85% 45%,
      rgba(123, 97, 255, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 35% 50% at 5% 85%,
      rgba(123, 97, 255, 0.04) 0%,
      transparent 60%
    );
}

.hero-lines {
  display: none;
}

.hero-inner {
  position: relative;
  padding-top: 5rem;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 2rem;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
  font-family: 'Inter', sans-serif;
}

#hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  z-index: 1;
  color: var(--black);
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
  margin-bottom: 2rem;
}

#hero h1 em {
  color: var(--purple);
  font-style: normal;
  display: inline-block;
  min-width: 9ch;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

#hero h1 em.fading {
  opacity: 0;
  transform: translateY(8px);
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-body p {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.9;
  color: var(--gray);
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}
/* 
/* ─── REFACTORED QUOTES SECTION ─────────────────────────────────────────── */
#quotes {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    100deg,
    rgba(133, 108, 255, 0.063) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  padding: 6rem 4rem;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.quote-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 97, 255, 0.3);
  box-shadow: 0 20px 40px rgba(123, 97, 255, 0.05);
}

.quote-icon {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: 'Horizon', sans-serif;
  color: var(--purple);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.quote-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.quote-author {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.author-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.15rem;
}

.author-title {
  font-size: 0.72rem;
  color: var(--gray-light);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

/* RESPONSIVE DESIGN EXTENSIONS */
@media (max-width: 1024px) {
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  #quotes {
    padding: 5rem 1.5rem;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .quote-card {
    padding: 2rem 1.5rem 1.5rem;
  }
}
*/ .stats-strip {
  display: flex;
  flex-wrap: wrap;
  margin: 2.8rem auto 0;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 3rem;
  width: 100%;
  max-width: 700px;
  background: rgba(--bg);
  border-top: 1px solid rgba(123, 97, 255, 0.12);
  border-bottom: 0px solid rgba(123, 97, 255, 0.12);
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-icon {
  color: var(--purple);
  opacity: 0.75;
  margin-bottom: 0.3rem;
  width: clamp(24px, 5vw, 32px);
  height: auto;
}

.stat-num {
  font-family: 'Horizon', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 28px rgba(123, 97, 255, 0.2);
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
  opacity: 0;
  animation: fadeUp 0.7s 1.1s forwards;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.scroll-hint::before {
  display: none;
}

/* STATS BAR — File 2 unchanged */
.stats-bar {
  /* border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); */
  padding: 4rem 0 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* background: var(--bg); */
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 4rem;
}
@media (max-width: 1200px) {
  .stat-item {
    padding: 0 1.5rem;
  }
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-item .stat-num {
  font-family: 'Horizon', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

/* SECTIONS — File 2 unchanged */
section {
  padding: 7rem 4rem;
}

.s-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

h2 {
  font-family: 'Horizon', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--black);
}

.s-sub {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 50ch;
  font-family: 'Inter', sans-serif;
}

#what {
  /* border-top: 1px solid var(--border); */
}

.formats {
  display: flex;
  flex-flow: column nowrap;
  margin-top: 4rem;
  justify-content: space-between;
  gap: 3em;
}

.fcard {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.fcard.fcard-left {
  text-align: left;
  align-self: flex-start;
}

.fcard.fcard-right {
  text-align: right;
  align-self: flex-end;
}

.fcard.fcard-left * {
  width: fit-content;
  max-width: 75%;
  margin-right: auto;
}

.fcard.fcard-right * {
  width: fit-content;
  max-width: 75%;
  margin-left: auto;
}

.fcard h3 {
  /* font-size: 0.85rem; */
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--black);
}

.fcard p {
  color: var(--gray);
  /* font-size: 0.88rem; */
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

#event-gallery {
  background: var(--bg);
  width: calc(100% + 8rem);
  margin: 0 -4rem;
  overflow: visible;
}

.event-subsection {
  width: calc(100% + 8rem);
  margin: 0 -4rem;
  padding: 0;
  overflow: visible;
}

.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0rem;
  width: 100%;
  overflow: visible;
}

#event-gallery .ev-title-box {
  padding: 0 4rem;
}

#event-gallery .gallery-row {
  display: flex;
  gap: 1rem;
  padding: 2rem 0 4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  scrollbar-width: none;
}

#event-gallery .gallery-row::-webkit-scrollbar {
  display: none;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.gallery-btn:hover {
  background: var(--purple-dim);
  border-color: var(--purple);
  color: var(--purple);
}

.gallery-btn-left {
  left: 1rem;
}

.gallery-btn-right {
  right: 1rem;
}

.gallery-card {
  flex: 0 0 420px;
  min-width: 350px;
  max-width: 90vw;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  scroll-snap-align: center;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.1);
}

.gallery-card:first-child {
  margin-left: 5rem;
}
.gallery-card:last-child {
  margin-right: 5rem;
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.gallery-copy {
  padding: 1rem 1.1rem 1.2rem;
}

.gallery-title {
  font-family: 'Horizon', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.gallery-meta {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

#events {
  border-top: 1px solid var(--border);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 3rem;
}

.ev-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: start;
}

.ev-col h3 {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
}

.ev-item {
  padding: 1.4rem 1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
  scroll-margin-top: 6rem;
}

.ev-item:last-child {
  border-bottom: none;
}

.ev-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.ev-name {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  color: var(--ev-target-color, var(--black));
  transition: color 0.6s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.ev-sub {
  font-size: 0.76rem;
  color: var(--purple);
  margin-bottom: 0.25rem;
  font-family: 'Inter', sans-serif;
}

.ev-meta {
  font-size: 0.76rem;
  color: var(--gray-light);
  font-family: 'Inter', sans-serif;
}

.ev-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 0.6rem;
  font-family: 'Inter', sans-serif;
}

.ev-item-with-photo {
  display: block;
}

.ev-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
  display: block;
}

/* 1. Define your original styles using dynamic context fallbacks */
.ev-name {
  /* Uses the temporary target color if active, otherwise falls back to black */
  color: var(--ev-target-color, var(--black));
  transition: color 0.6s ease;
}

.ev-sub {
  /* If active, turns purple, otherwise falls back to your original purple/gray */
  color: var(--ev-target-color, var(--purple));
  transition: color 0.6s ease;
}

.ev-desc {
  /* If active, turns purple, otherwise falls back to your gray text */
  color: var(--ev-target-color, var(--gray));
  transition: color 0.6s ease;
}

/* 2. The Golden Rule: When targeted, flash everything to purple and fade back! */
@keyframes variable-fade {
  0%,
  50% {
    --ev-target-color: var(--purple);
  }
  100% {
    /* Deleting the variable values safely causes the elements */
    /* to immediately snap back to their standard fallbacks!   */
    --ev-target-color: initial;
  }
}

.ev-item:target {
  animation: variable-fade 1.5s forwards;
  animation-delay: 0.1s;
}

.badge {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
  margin-left: 1rem;
  font-family: 'Inter', sans-serif;
}

.badge-done {
  background: rgba(0, 0, 0, 0.04);
  color: var(--gray);
  border: 1px solid var(--border);
}

.ev-teaser {
  padding: 2.5rem;
  border: 1px dashed rgba(123, 97, 255, 0.35);
  border-radius: 8px;
  text-align: center;
}

.ev-teaser h4 {
  font-family: 'Horizon', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--black);
}

.ev-teaser p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}

.ev-teaser a {
  color: var(--purple);
  text-decoration: none;
}

.ev-teaser a:hover {
  text-decoration: underline;
}

/* TEAM — File 1 */
#team {
  border-top: 1px solid var(--border);
}

#team h2 {
  white-space: nowrap;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

.tcard {
  text-align: center;
  transition: transform 0.3s;
}

.tcard:hover {
  transform: translateY(-5px);
}

.tcard a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tcard-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tavatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--purple-dim);
  border: 1.5px solid var(--border);
  margin: 0 auto 0.85rem;
  overflow: hidden;
  transition: border-color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcard:hover .tavatar {
  border-color: var(--purple);
}

.tavatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.initials {
  font-family: 'Horizon', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.03em;
  display: none;
}

.tname {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.2rem;
  font-family: 'Inter', sans-serif;
}

.trole {
  font-size: 0.7rem;
  color: var(--gray-light);
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

.active-band {
  padding-top: 1rem;
}

.rule-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rule-divider::before,
.rule-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.rule-divider span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-family: 'Inter', sans-serif;
}

.active-intro {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  text-align: justify;
}

.committees {
  padding: 0 5rem 0;
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.pill {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(123, 97, 255, 0.25);
  color: var(--purple);
  font-family: 'Inter', sans-serif;
  background: rgba(123, 97, 255, 0.04);
}

@media (max-width: 720px) {
  .committees {
    gap: 0.6rem;
    width: 100%;
    padding: 0;
    justify-content: center;
  }
}

/* JOIN — File 2 unchanged */
#join {
  padding: 3rem 0 7rem;
  border-top: 1px solid var(--border);
  text-align: center;
  align-items: center;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(123, 97, 255, 0.05),
    transparent
  );
}

#join h2,
#join .s-sub {
}

#join .s-sub {
  text-align: center;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.join-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-wa {
  background: #25d366;
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    opacity 0.2s,
    transform 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-wa:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ig {
  background: transparent;
  color: var(--black);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  transition:
    border-color 0.2s,
    transform 0.2s,
    background 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-ig:hover {
  border-color: var(--purple);
  background: rgba(123, 97, 255, 0.04);
  transform: translateY(-2px);
}

/* JOIN & CONTACT */
#joinAndContact {
  border-top: 1px solid var(--border);
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(123, 97, 255, 0.05),
    transparent
  );
}
#joinAndContact h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#joinAndContact .s-sub {
  text-align: center;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
.jc-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  align-items: stretch;
}
.jc-card {
  flex: 1 1 220px;
  max-width: 270px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.jc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(123, 97, 255, 0.1);
}
.jc-card-head {
  padding: 1.75rem 1.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.jc-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.45rem;
  font-family: 'Inter', sans-serif;
}
.jc-card-title {
  font-family: 'Horizon', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
}
.jc-card-body {
  padding: 1.4rem 1.75rem;
  flex: 1;
}
.jc-card-body p {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}
.jc-card-body ul {
  margin: 0.85rem 0 0 1.1rem;
  padding: 0;
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.9;
  font-family: 'Inter', sans-serif;
}
.jc-card-footer {
  padding: 1.1rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.jc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  text-align: center;
}
.jc-btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 16px rgba(123, 97, 255, 0.18);
}
.jc-btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}
.jc-btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}
.jc-btn-ghost:hover {
  border-color: var(--purple);
  background: rgba(123, 97, 255, 0.04);
  transform: translateY(-1px);
}
.contact-wrap {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.contact-wrap h3 {
  font-family: 'Horizon', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.contact-wrap .contact-sub {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cf-field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}
.cf-field input,
.cf-field textarea,
.cf-field select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  resize: none;
  appearance: none;
}
.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.1);
}
.cf-field textarea {
  min-height: 110px;
}
.cf-submit {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  align-self: flex-start;
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.18);
}
.cf-submit:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}
.cf-success {
  display: none;
  font-size: 0.85rem;
  color: var(--purple);
  font-family: 'Inter', sans-serif;
  margin-top: 0.5rem;
}
@media (max-width: 700px) {
  .cf-row {
    grid-template-columns: 1fr;
  }
  .cf-submit {
    align-self: stretch;
    text-align: center;
  }
}
.socials-wrap {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  position: relative;
}
.socials-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--border);
}
.socials-wrap h3 {
  font-family: 'Horizon', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
}
.socials-wrap .socials-sub {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}
.socials-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--purple);
  background: rgba(123, 97, 255, 0.04);
  transform: translateY(-2px);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

.btn-apply {
  background: var(--purple);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 24px rgba(123, 97, 255, 0.2);
  transition:
    background 0.2s,
    transform 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-apply:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

/* FOOTER — File 2 unchanged */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-light);
  font-size: 0.76rem;
  background: #fafafa;
  font-family: 'Inter', sans-serif;
}

.footer-logo img {
  height: 28px;
}

/* ANIMATE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

.scroll-arrow {
  animation: bounce 1.4s ease-in-out infinite;
  display: flex;
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.from-left {
  transform: translateX(-32px);
}

.reveal.from-right {
  transform: translateX(32px);
}

.reveal:not(.from-left):not(.from-right) {
  transform: translateY(28px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stats-bar {
    padding: 2rem 1.5rem;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-item {
    padding: 0 1.5rem;
    flex: 0 0 calc(50% - 1rem);
  }

  .stat-item:not(:last-child) {
    border-right: none;
  }

  #event-gallery {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 700px) {
  nav {
    padding: 1rem 1.5rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  #hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero-lines::before {
    left: 1.5rem;
  }

  .scroll-hint {
    left: 1.5rem;
  }

  .stats-bar {
    padding: 1.5rem 1rem;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    margin: 0 auto;
    width: fit-content;
  }

  .stat-item {
    padding: 0 1rem;
    flex: 1 1 100%;
    justify-content: start;
    border-right: none !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .fcard.fcard-left * {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .fcard.fcard-right * {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .fcard p {
    text-align: justify;
  }

  .ev-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ev-photo {
    aspect-ratio: 4/3;
  }

  #event-gallery .gallery-row {
    padding: 2rem 0 4rem;
  }

  .gallery-btn {
    width: 32px;
    height: 32px;
  }

  .gallery-btn-left {
    left: 0.5rem;
  }

  .gallery-btn-right {
    right: 0.5rem;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .join-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 500px) {
  .nav-logo {
    justify-content: start;
  }

  .nav-logo img {
    width: 20vw;
    height: auto;
    margin-left: 30px;
  }

  .stats-bar {
    padding: 1rem 0.5rem;
    gap: 0;
  }

  .stat-item {
    padding: 0.8rem 0.5rem;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }
}
