/* =========================================================
   BIM VIỆT NAM — Redesigned Stylesheet
   ========================================================= */

:root {
  --primary: #1a6dff;
  --primary-dark: #0d4fd1;
  --primary-light: #e8f0ff;
  --accent: #ff7a3d;
  --accent-light: #fff0e8;
  --green: #16c784;
  --green-light: #e6f9f1;
  --pink: #f43f8e;
  --pink-light: #fdeaf3;

  --ink: #0b1220;
  --ink-2: #1e2a44;
  --muted: #64748b;
  --muted-2: #94a3b8;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #eef3fa;
  --border: #e6ecf4;
  --border-2: #d8e2ef;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(11, 18, 32, 0.1);
  --shadow-lg: 0 20px 50px -18px rgba(11, 18, 32, 0.18);
  --shadow-xl: 0 32px 70px -24px rgba(26, 109, 255, 0.25);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-body:
    "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Be Vietnam Pro", system-ui, sans-serif;

  --nav-h: 76px;
  --section-pad: 110px;
}

/* =========================================================
   BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

.section-pad {
  padding: var(--section-pad) 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.eyebrow.justify-content-center {
  width: 100%;
  justify-content: center;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.85);
}
.eyebrow.light span {
  background: rgba(255, 255, 255, 0.7);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 199, 132, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 199, 132, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 199, 132, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 199, 132, 0);
  }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.section-title span {
  color: var(--primary);
  position: relative;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(26, 109, 255, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #093aa8);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(26, 109, 255, 0.6);
}

.btn-outline-dark {
  border: 1.5px solid var(--ink-2);
  color: var(--ink-2);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--ink-2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-light:hover {
  background: var(--bg-soft);
  border-color: var(--border-2);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-glow {
  position: relative;
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  z-index: -1;
  filter: blur(14px);
  transition: opacity 0.3s ease;
}
.btn-glow:hover::before {
  opacity: 0.55;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 0;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px -10px rgba(11, 18, 32, 0.08);
}

.navbar .container {
  height: 100%;
}

.bim-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.bim-logo img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px -2px rgba(26, 109, 255, 0.3);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-text em {
  font-style: normal;
  color: var(--primary);
}

.nav-link {
  font-weight: 500;
  color: var(--ink-2) !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  font-size: 0.93rem;
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
  background: var(--primary-light);
}

.nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
  font-weight: 600;
}

.btn-join {
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 109, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 109, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(
    ellipse 90% 70% at 50% 40%,
    #000 40%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 70% at 50% 40%,
    #000 40%,
    transparent 100%
  );
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(26, 109, 255, 0.22),
    transparent 70%
  );
  top: -120px;
  right: -100px;
}

.hero-glow-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(255, 122, 61, 0.16),
    transparent 70%
  );
  bottom: -150px;
  left: -80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-copy {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Mini stats */
.mini-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.mini-stat {
  display: flex;
  flex-direction: column;
}

.mini-stat strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.mini-stat small {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.mini-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-2);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.9;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(26, 109, 255, 0.3),
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(30px);
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 122, 61, 0.25),
    transparent 70%
  );
  top: 8%;
  right: 5%;
  filter: blur(24px);
  animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(22, 199, 132, 0.22),
    transparent 70%
  );
  bottom: 10%;
  left: 5%;
  filter: blur(24px);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -20px);
  }
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  border: 1.5px dashed rgba(26, 109, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 40s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Main visual card */
.visual-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.main-card {
  width: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.card-top i {
  color: var(--muted-2);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  position: relative;
  margin-bottom: 16px;
}

.chart-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(26, 109, 255, 0.05)
  );
  border-radius: 8px;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), rgba(26, 109, 255, 0.5));
  border-radius: 6px 6px 0 0;
  position: relative;
  z-index: 1;
  animation: growBar 1.4s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

.b1 {
  height: 40%;
  animation-delay: 0.1s;
}
.b2 {
  height: 65%;
  animation-delay: 0.2s;
}
.b3 {
  height: 50%;
  animation-delay: 0.3s;
}
.b4 {
  height: 85%;
  animation-delay: 0.4s;
}
.b5 {
  height: 100%;
  animation-delay: 0.5s;
  background: linear-gradient(180deg, var(--accent), rgba(255, 122, 61, 0.6));
}

@keyframes growBar {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.card-bottom strong {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 4;
}

.floating-card.people {
  top: 10%;
  left: 0;
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card.mission {
  bottom: 15%;
  right: 0;
  animation: floatCard 6s ease-in-out infinite 0.5s;
}

.floating-card.growth {
  bottom: 5%;
  left: 5%;
  animation: floatCard 7s ease-in-out infinite 1s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.icon-blue {
  background: var(--primary-light);
  color: var(--primary);
}
.icon-orange {
  background: var(--accent-light);
  color: var(--accent);
}
.icon-green {
  background: var(--green-light);
  color: var(--green);
}
.icon-pink {
  background: var(--pink-light);
  color: var(--pink);
}

.floating-card strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.floating-card small {
  font-size: 0.72rem;
  color: var(--muted);
}

/* =========================================================
   ABOUT / INFO CARDS
   ========================================================= */
.info-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card.featured {
  background: linear-gradient(180deg, #fff, var(--primary-light));
  border-color: rgba(26, 109, 255, 0.15);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.info-card:hover .icon-box {
  transform: scale(1.08) rotate(-4deg);
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--muted);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.3s ease;
}

.info-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: var(--primary);
  color: #fff;
}

/* =========================================================
   MISSION / VISION
   ========================================================= */
.vm-section {
  background: var(--bg-soft);
  position: relative;
}

.vm-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  pointer-events: none;
}

.vm-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 32px;
  transition: all 0.4s ease;
}

.vm-card:hover {
  box-shadow: var(--shadow-lg);
}

.vm-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.vm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vm-card:hover .vm-image img {
  transform: scale(1.05);
}

.vm-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 109, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.vm-content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vm-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 16px;
}

.vm-content h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.vm-content h3 span {
  color: var(--primary);
}

.vm-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.vm-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 500;
}

.vm-content ul li i {
  color: var(--green);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.vision-card {
  direction: rtl;
}
.vision-card > * {
  direction: ltr;
}

/* =========================================================
   RULES / SERVICES
   ========================================================= */
.services-section {
  background: #fff;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.service-item:first-child {
  border-top: 1px solid var(--border);
}

.service-item:hover {
  padding-left: 12px;
}

.service-item:hover .service-num {
  color: var(--primary);
  background: var(--primary-light);
}

.service-item:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: translate(0, 0) rotate(0);
  opacity: 1;
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-body {
  flex: 1;
}

.service-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.65;
}

.service-icon {
  font-size: 1.1rem;
  color: var(--muted-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  flex-shrink: 0;
  transition: all 0.3s ease;
  opacity: 0.6;
}

/* =========================================================
   MEMBERS
   ========================================================= */
.members-section {
  background: var(--bg-soft);
}

.members-intro {
  max-width: 560px;
}

.core-member-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 100%;
}

.core-member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.member-image {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--bg-soft-2);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.core-member-card:hover .member-image img {
  transform: scale(1.06);
}

.member-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 18, 32, 0.35));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.core-member-card:hover .member-image-overlay {
  opacity: 1;
}

.member-info {
  padding: 28px 26px;
}

.member-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.member-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.member-info p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.member-social {
  display: flex;
  gap: 10px;
}

.member-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.member-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-section {
  background: #fff;
}

.partners-intro {
  max-width: 560px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  height: 130px;
  display: grid;
  place-items: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.partner-card img {
  max-height: 56px;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 109, 255, 0.25);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* =========================================================
   EVENTS
   ========================================================= */
.events-section {
  background: var(--bg-soft);
}

.events-intro {
  max-width: 520px;
}

.event-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.event-filter-btn {
  border: 1.5px solid var(--border-2);
  background: #fff;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.event-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.event-filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(26, 109, 255, 0.5);
}

.events-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.events-empty i {
  font-size: 3rem;
  color: var(--muted-2);
  margin-bottom: 16px;
  display: block;
}

.events-empty h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Event Card (JS-generated) */
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.event-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft-2);
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.event-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.event-badge.upcoming {
  background: rgba(22, 199, 132, 0.92);
  color: #fff;
}

.event-badge.past {
  background: rgba(11, 18, 32, 0.75);
  color: #fff;
}

.event-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.event-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.event-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-meta i {
  color: var(--primary);
}

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
  padding: 0 0 var(--section-pad);
  background: var(--bg-soft);
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, #0b1220 0%, #1a2a4a 50%, #1a6dff 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  flex-wrap: wrap;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 122, 61, 0.35),
    transparent 70%
  );
  border-radius: 50%;
  top: -160px;
  right: -80px;
  filter: blur(40px);
  pointer-events: none;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
}

.cta-btn {
  position: relative;
  z-index: 1;
  font-weight: 700;
  padding: 1rem 2rem !important;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  background: #fff;
}

.faq-intro {
  max-width: 500px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(26, 109, 255, 0.3);
  box-shadow: 0 8px 30px -12px rgba(26, 109, 255, 0.2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  transition: background 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--bg-soft);
}

.faq-question {
  flex: 1;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-icon i {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 1.1rem;
}

.faq-item[open] .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 24px;
  animation: fadeSlide 0.35s ease;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
  padding-left: 0;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--ink);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(26, 109, 255, 0.18),
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}

footer .container {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
}

.footer-brand span {
  color: var(--primary);
}

.footer-copy {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 380px;
  margin-top: 16px;
}

footer h6 {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

footer a:not(.footer-brand) {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 5px 0;
}

footer a:not(.footer-brand):hover {
  color: #fff;
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid !important;
  place-items: center;
  color: #cbd5e1 !important;
  font-size: 1.05rem;
  padding: 0 !important;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
  transform: translateY(-3px);
  padding-left: 0 !important;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 36px 0 20px;
  opacity: 1;
}

footer .text-secondary {
  color: #64748b !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  :root {
    --section-pad: 80px;
  }

  .navbar-collapse {
    background: #fff;
    border-radius: var(--radius);
    margin-top: 12px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .nav-link {
    padding: 0.6rem 0.8rem !important;
  }

  .btn-join {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 40px);
  }

  .hero-visual {
    height: 420px;
    margin-top: 20px;
  }

  .main-card {
    width: 280px;
  }

  .ring {
    width: 340px;
    height: 340px;
  }

  .floating-card.growth {
    display: none;
  }

  .vm-card {
    grid-template-columns: 1fr;
  }

  .vm-image {
    min-height: 280px;
  }

  .vm-content {
    padding: 40px 32px;
  }

  .vision-card {
    direction: ltr;
  }

  .cta-box {
    padding: 48px 32px;
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .cta-box .cta-btn {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-pad: 64px;
  }

  body {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .mini-stats {
    gap: 18px;
  }

  .mini-stat strong {
    font-size: 1.5rem;
  }

  .mini-stat-divider {
    height: 32px;
  }

  .hero-visual {
    height: 360px;
  }

  .main-card {
    width: 240px;
    padding: 16px;
  }

  .chart {
    height: 80px;
  }

  .ring {
    width: 280px;
    height: 280px;
  }

  .floating-card {
    padding: 10px 12px;
  }

  .floating-card.people {
    top: 5%;
  }

  .floating-card.mission {
    bottom: 8%;
  }

  .floating-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .floating-card strong {
    font-size: 0.78rem;
  }

  .floating-card small {
    font-size: 0.65rem;
  }

  .vm-content {
    padding: 32px 24px;
  }

  .vm-content h3 {
    font-size: 1.5rem;
  }

  .service-item {
    gap: 16px;
    padding: 22px 0;
  }

  .service-num {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 0.96rem;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }

  .cta-box {
    padding: 40px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-copy {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-visual {
    height: 320px;
  }

  .main-card {
    width: 220px;
  }

  .floating-card.mission {
    display: none;
  }

  .ring {
    display: none;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
