/* ═══════════════════════════════════════════════════════
   IMT TRAININGS — PREMIUM CSS v2
   Palette: Obsidian · Gold · Frosted Glass
   Fonts: Fraunces (display) · Plus Jakarta Sans (body)
   ═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --black: #07070E;
  --gold: #C9A84C;
  --gold-dim: rgba(201,168,76,0.6);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: blur(24px);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;

  /* gradient hero colors */
  --grad-bg-start: rgb(7, 7, 14);
  --grad-bg-end: rgb(10, 5, 18);
  --c1: 0, 180, 216;
  --c2: 201, 168, 76;
  --c3: 123, 94, 167;
  --c4: 0, 120, 160;
  --c5: 150, 110, 30;
  --cp: 100, 70, 140;
  --blob-size: 80%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 0; }

.loader-logo-wrap {
  position: relative;
  width: 220px; height: auto;
  margin-bottom: 32px;
}
.loader-logo-grey {
  width: 220px; height: auto;
  display: block;
  filter: grayscale(1) brightness(0.25);
}
.loader-logo-color {
  position: absolute; inset: 0;
  width: 220px; height: auto;
  display: block;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.05s linear;
  will-change: clip-path;
}
.loader-bar-wrap {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), #b8941c);
  border-radius: 1px;
  transition: width 0.08s linear;
}
.loader-pct {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.65rem; letter-spacing: 0.3em;
  color: rgba(201,168,76,0.4);
  margin-top: 12px;
  text-transform: uppercase;
}

/* ─── CURSOR ─── */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9990;
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: opacity 0.2s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9989;
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,0.5); border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s, opacity 0.2s, border-color 0.3s;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 48px; height: 48px;
  border-color: rgba(201,168,76,0.8);
}
@media (pointer: coarse) { #cursor-dot, #cursor-ring { display: none; } }

/* ─── BACKGROUND CANVASES ─── */
#strip-canvas, #particles-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ─── NAVIGATION ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(7,7,14,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-main-bar { height: var(--nav-h); display: flex; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-link {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.6); text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Mobile Menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,7,14,0.97);
  backdrop-filter: blur(30px);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
#mobile-menu.open { display: flex; }
.mobile-link {
  font-family: "Fraunces", serif; font-size: 2rem; font-weight: 300;
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--gold); }
.ham-bar { transition: all 0.3s ease; display: block; }

/* ─── BUTTONS ─── */
.btn-gold-sm {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #b8941c);
  color: var(--black); text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.btn-gold-sm:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-gold-lg {
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #b8941c);
  color: var(--black); text-decoration: none;
  box-shadow: 0 0 30px rgba(201,168,76,0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-gold-lg:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(201,168,76,0.5); }

.btn-ghost {
  font-size: 0.9375rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  color: rgba(255,255,255,0.75); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(201,168,76,0.4); color: #fff; background: rgba(201,168,76,0.06); }

.btn-outline {
  font-size: 0.9375rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  color: rgba(255,255,255,0.75); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: rgba(201,168,76,0.4); color: #fff; }

/* ─── GLASS SECTION ─── */
.glass-section {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  position: relative;
}
.glass-section::before {
  content: '';
  position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.025) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 999px;
  background: rgba(201,168,76,0.06);
}

/* ─── TEXT GOLD ─── */
.text-gold { color: var(--gold); }

/* ─── HERO — BackgroundGradientAnimation ─── */
#hero {
  background: linear-gradient(40deg, var(--grad-bg-start), var(--grad-bg-end));
  cursor: none;
  position: relative;
  overflow: hidden;
}

.hero-grad-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}

.hero-blobs-container {
  position: absolute; inset: 0; will-change: transform;
  filter: blur(8px); /* organic edge softening at container level */
}

.h-blob {
  position: absolute;
  mix-blend-mode: screen; /* additive light physics: colors sum, no threshold boundary */
  width: var(--blob-size);
  height: var(--blob-size);
  top: calc(50% - var(--blob-size) / 2);
  left: calc(50% - var(--blob-size) / 2);
  border-radius: 50%;
  opacity: 1;
}

.h-blob-1 {
  background: radial-gradient(circle at center, rgba(var(--c1),0.9) 0%, rgba(var(--c1),0.3) 40%, transparent 70%);
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
}
.h-blob-2 {
  background: radial-gradient(circle at center, rgba(var(--c2),0.7) 0%, rgba(var(--c2),0.2) 40%, transparent 70%);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}
.h-blob-3 {
  background: radial-gradient(circle at center, rgba(var(--c3),0.75) 0%, rgba(var(--c3),0.25) 40%, transparent 70%);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}
.h-blob-4 {
  background: radial-gradient(circle at center, rgba(var(--c4),0.65) 0%, rgba(var(--c4),0.2) 40%, transparent 70%);
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}
.h-blob-5 {
  background: radial-gradient(circle at center, rgba(var(--c5),0.65) 0%, rgba(var(--c5),0.2) 40%, transparent 70%);
  transform-origin: calc(50% - 800px) calc(50% + 800px);
  animation: moveInCircle 20s ease infinite;
}
.h-blob-interactive {
  position: absolute; mix-blend-mode: screen;
  width: 100%; height: 100%;
  top: -50%; left: -50%;
  background: radial-gradient(circle at center, rgba(var(--cp),0.6) 0%, rgba(var(--cp),0.15) 40%, transparent 70%);
  opacity: 0.7;
}

@keyframes moveVertical {
  0%   { transform: translateY(-50%); }
  50%  { transform: translateY(50%);  }
  100% { transform: translateY(-50%); }
}
@keyframes moveInCircle {
  0%   { transform: rotate(0deg);   }
  50%  { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}
@keyframes moveHorizontal {
  0%   { transform: translateX(-50%) translateY(-10%); }
  50%  { transform: translateX(50%)  translateY(10%);  }
  100% { transform: translateX(-50%) translateY(-10%); }
}

/* Hero text */
.hero-badge {
  padding: 8px 18px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 999px;
  background: rgba(7,7,14,0.4);
  backdrop-filter: blur(10px);
}
.hero-gradient-text {
  background: linear-gradient(90deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
  background-size: 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 5s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero-line { text-shadow: 0 2px 40px rgba(0,0,0,0.9); }

.scroll-line-anim {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%     { opacity: 1;   transform: scaleY(1.2); }
}

/* ─── TICKER ─── */
.ticker-inner { overflow: hidden; }
.ticker-content {
  display: inline-flex; gap: 3rem; align-items: center;
  white-space: nowrap; flex-shrink: 0;
  animation: tickerScroll 32s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.ticker-item i { font-size: 0.6rem; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ─── STICKY TABS (Stats) ─── */
.sticky-tabs-root { overflow: clip; }

.sticky-tab-section {
  position: relative;
  background: rgba(255,255,255,0.01);
}

.sticky-tab-header {
  position: sticky;
  top: calc(var(--nav-h) - 1px);
  z-index: 10;
}

.sticky-header-inner {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(7,7,14,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 0;
}

.stat-tab-num {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.01em;
  min-width: 100px;
}
.stat-tab-title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400; color: rgba(255,255,255,0.55);
}

.sticky-tab-content { background: rgba(255,255,255,0.01); }

.stat-big-num {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.12;
  user-select: none;
}

.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
}
.stat-pill i { color: var(--gold); font-size: 0.9rem; }

.stat-visual-wrap { display: flex; justify-content: center; align-items: center; }

.stat-ring-large {
  position: relative;
  width: min(280px, 80vw); height: min(280px, 80vw);
}
.stat-ring-large svg { position: absolute; inset: 0; }

.stat-ring-anim {
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16,1,0.3,1);
}

.stat-ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}

/* ─── ABOUT ─── */
.about-img-wrap { position: relative; }
.about-ring {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.about-ring-outer {
  width: 340px; height: 340px;
  border: 1px dashed rgba(201,168,76,0.12);
  animation: ringRotate 40s linear infinite;
}
.about-ring-inner {
  width: 260px; height: 260px;
  border: 1px solid rgba(201,168,76,0.08);
  animation: ringRotate 25s linear infinite reverse;
}
@keyframes ringRotate { to { transform: translate(-50%,-50%) rotate(360deg); } }
.about-photo-frame {
  width: 220px; height: 220px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(201,168,76,0.3); position: relative; z-index: 1;
  box-shadow: 0 0 60px rgba(201,168,76,0.15);
}
.about-photo { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  background: rgba(7,7,14,0.92); backdrop-filter: blur(20px);
  border: 1px solid rgba(201,168,76,0.22); border-radius: 12px;
  padding: 10px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  z-index: 2; white-space: nowrap; min-width: 200px;
}

/* ─── SERVICES ─── */
.service-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 32px 28px; overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.svc-arrow {
  position: absolute; top: 24px; right: 24px;
  opacity: 0; transform: translate(-4px, 4px);
  transition: all 0.3s;
}
.service-card:hover .svc-arrow { opacity: 1; transform: translate(0,0); }

/* ─── VISION / MISSION / GOAL ─── */
#vmg-section {
  background: linear-gradient(180deg, var(--black) 0%, rgba(7,7,14,0.96) 50%, var(--black) 100%);
}
.vmg-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.vmg-dots-nav {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px; z-index: 10;
}
.vmg-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15); cursor: pointer; position: relative;
  transition: background 0.3s, transform 0.3s;
}
.vmg-dot.active { background: var(--gold); transform: scale(1.3); }
.vmg-dot-tip {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35); white-space: nowrap; pointer-events: none;
}
.vmg-stack { position: relative; }
.vmg-card-item {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px; will-change: opacity, transform;
}
.vmg-icon-ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid; display: flex; align-items: center; justify-content: center;
}

/* ─── WHY US ─── */
.why-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 32px 28px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.why-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-4px); }
.why-num {
  position: absolute; top: 20px; right: 20px;
  font-size: 3.5rem; font-weight: 400; line-height: 1;
  color: rgba(201,168,76,0.06); pointer-events: none;
  font-family: "Fraunces", serif;
}
.why-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(201,168,76,0.06);
  display: flex; align-items: center; justify-content: center;
}
.why-bar {
  margin-top: 16px; height: 2px;
  background: rgba(255,255,255,0.04); border-radius: 2px; overflow: hidden;
}
.why-bar-fill {
  height: 100%; width: 0; background: var(--c);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

/* ─── PURPOSE ─── */
.purpose-pillar {
  text-align: center; padding: 36px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.purpose-pillar:hover { border-color: rgba(201,168,76,0.18); transform: translateY(-4px); }
.purpose-icon-outer { display: flex; justify-content: center; margin-bottom: 12px; }
.purpose-icon-inner {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
}
.purpose-accent-line { width: 40px; height: 2px; margin: 0 auto 20px; border-radius: 1px; }

/* ─── CULTURE & VALUES — Orbital Timeline ─── */
.orbital-root { position: relative; overflow: visible; }

.orbital-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  z-index: 5;
}
.orbital-center-pulse-1, .orbital-center-pulse-2 {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  animation: orbitPing 2s cubic-bezier(0,0,0.2,1) infinite;
}
.orbital-center-pulse-1 { width: 88px; height: 88px; }
.orbital-center-pulse-2 { width: 108px; height: 108px; animation-delay: 0.5s; }
@keyframes orbitPing {
  75%,100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}
.orbital-center-inner {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(7,7,14,0.92);
  border: 1.5px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 24px rgba(201,168,76,0.25), inset 0 0 20px rgba(201,168,76,0.06);
}

.orbital-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.orbital-node {
  position: absolute; z-index: 10; cursor: pointer;
  transition: opacity 0.3s ease;
}

.orbital-node-glow {
  position: absolute;
  width: 80px; height: 80px;
  top: -20px; left: -20px;
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { opacity: 0.6; } 50% { opacity: 0.2; } }

.orbital-node-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.8);
  border: 2px solid rgba(201,168,76,0.4);
  color: white; font-size: 1rem;
  transition: all 0.3s ease;
  position: relative; z-index: 2;
}
.orbital-node-btn:hover { border-color: var(--gold); }

.orbital-node-label {
  position: absolute; top: 48px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); white-space: nowrap;
  transition: all 0.3s;
}

.orbital-node-card {
  position: absolute; top: 58px; left: 50%;
  transform: translateX(-50%) scale(0.92);
  width: 220px; z-index: 50;
  padding: 16px 18px;
  background: rgba(7,7,14,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.orbital-node-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}
@keyframes cardIn { from { opacity: 0; transform: translateX(-50%) scale(0.9); } to { opacity: 1; transform: translateX(-50%) scale(1); } }

.orbital-card-status {
  font-size: 0.6rem; letter-spacing: 0.2em; color: rgba(201,168,76,0.7);
  text-transform: uppercase; display: block; margin-bottom: 8px;
}
.orbital-card-title {
  font-family: "Fraunces", serif; font-size: 1rem; font-weight: 600;
  color: white; margin-bottom: 8px;
}
.orbital-card-desc {
  font-size: 0.75rem; color: rgba(255,255,255,0.6); line-height: 1.5;
  margin-bottom: 12px;
}
.orbital-card-energy { }
.orbital-energy-label {
  font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.4);
  display: flex; justify-content: space-between; margin-bottom: 6px;
}
.orbital-energy-bar {
  height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden;
}
.orbital-energy-fill { height: 100%; border-radius: 2px; }
.orbital-energy-val {
  font-size: 0.6rem; color: rgba(255,255,255,0.35);
  display: block; text-align: right; margin-top: 4px;
}

/* ─── WORLD MAP ─── */
.world-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #07070E;
}
/* Background map is now an <image> element inside the SVG — no separate img needed */
.world-map-bg-img { display: none; }
.world-map-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}

/* Country list */
.country-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.country-item:hover { border-color: rgba(201,168,76,0.2); }
.country-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.country-name { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* ─── TESTIMONIALS ─── */
.person-circle {
  position: absolute; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(201,168,76,0.3);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, filter 0.4s;
  will-change: transform;
}
.person-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-circle:hover { z-index: 15 !important; filter: blur(0) !important; }
.person-circle.blurred { filter: blur(3px) brightness(0.6); }
.person-circle.active { z-index: 20 !important; filter: blur(0) !important; }

.tmodal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; }
.tmodal.open { display: flex; }
.tmodal-bg { position: absolute; inset: 0; background: rgba(7,7,14,0.85); backdrop-filter: blur(8px); cursor: pointer; }
.tmodal-card {
  position: relative; z-index: 1;
  max-width: 480px; width: calc(100% - 48px);
  max-height: 90vh; overflow-y: auto; border-radius: var(--radius);
}
.tmodal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.06); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.6);
  transition: color 0.2s, background 0.2s;
}
.tmodal-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ─── CLIENT MARQUEE ─── */
.marquee-outer { position: relative; }
.marquee-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  padding: 8px 0;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.client-logo-item {
  display: flex; align-items: center; justify-content: center;
  height: 48px; flex-shrink: 0;
  opacity: 0.4; filter: grayscale(1) brightness(1.8);
  transition: opacity 0.3s, filter 0.3s;
}
.client-logo-item:hover { opacity: 0.9; filter: grayscale(0) brightness(1); }
.client-logo-item img { max-height: 48px; max-width: 100px; object-fit: contain; }
.marquee-fade-l, .marquee-fade-r {
  position: absolute; top: 0; bottom: 0; width: 100px; z-index: 1; pointer-events: none;
}
.marquee-fade-l { left: 0; background: linear-gradient(to right, var(--black) 0%, transparent 100%); }
.marquee-fade-r { right: 0; background: linear-gradient(to left, var(--black) 0%, transparent 100%); }

/* ─── CTA ─── */
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.cta-orb-l { width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%); top: -100px; left: -100px; }
.cta-orb-r { width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%); bottom: -100px; right: -100px; }

.cta-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  animation: ctaFloat 3s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes ctaFloat {
  from { transform: translateY(0px); opacity: 0.6; }
  to   { transform: translateY(-12px); opacity: 1; }
}

.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}

/* ─── FOOTER ─── */
.footer-link {
  font-size: 0.875rem; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.3s;
}
.footer-link:hover { color: rgba(255,255,255,0.8); }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: all 0.3s;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

/* ─── SECTION REVEAL ─── */
.section-reveal { opacity: 0; transform: translateY(40px); transition: none; }
.section-reveal.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

/* ─── TYPOGRAPHY SCALE ─── */
h2.font-fraunces { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
h3.font-fraunces { font-size: clamp(1.1rem, 2.5vw, 1.5rem); line-height: 1.3; }
p.font-jakarta   { font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.75; }

/* Service & Why cards — consistent body text */
.service-card p, .why-card p, .purpose-pillar p {
  font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.55);
}
/* Card headings */
.service-card h3, .why-card h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
}
/* Quote block */
#q-text { font-size: clamp(0.95rem, 2vw, 1.2rem) !important; }

/* ─── PERFORMANCE ─── */
#about, #services, #why-us, #purpose, #culture, #global-reach, #testimonials, #clients, #cta {
  contain: layout style;
}
.service-card, .why-card, .purpose-pillar {
  will-change: transform;
}
.marquee-track { will-change: transform; }
.ticker-content { will-change: transform; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .btn-gold-lg, .btn-ghost, .btn-outline { padding: 12px 24px; }
}

@media (max-width: 768px) {
  .world-map-wrapper { aspect-ratio: 1.5 / 1; }
  .stat-ring-large { width: min(220px, 70vw); height: min(220px, 70vw); }
  #heroCtas { flex-direction: column; align-items: stretch; }
  #heroCtas a { justify-content: center; }
  .glass-section { padding: 1.5rem !important; }
  .vmg-dots-nav { right: 16px; }
  #orbital-container { height: 480px !important; }
}

@media (max-width: 640px) {
  .why-card { padding: 20px 16px; }
  .why-num { font-size: 2.5rem; }
  .vmg-dots-nav { display: none; }
  .about-ring-outer { width: 260px; height: 260px; }
  .about-ring-inner { width: 200px; height: 200px; }
  .about-photo-frame { width: 160px; height: 160px; }
  #testimonials-field { height: 360px; }
  .stat-tab-title { display: none; }
  .orbital-node-card { width: 175px; font-size: 0.78em; }
  .service-card { padding: 24px 18px; }
  .purpose-pillar { padding: 24px 16px; }
  /* Hero text never overflows */
  .hero-line { font-size: clamp(1.9rem, 8vw, 3.5rem) !important; }
  /* Smaller stat numbers on mobile */
  .stat-big-num { font-size: clamp(3rem, 14vw, 5rem); }
  /* CTA section buttons stack and fill width */
  #cta .flex.flex-col { align-items: stretch; }
  #cta .flex.flex-col a { text-align: center; justify-content: center; }
  /* Footer grid */
  footer .grid { grid-template-columns: 1fr !important; }
  .marquee-track { gap: 28px; }
  .client-logo-item img { max-height: 36px; max-width: 72px; }
}

/* ─── FLOATING ACTION BUTTONS ─── */
#whatsapp-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  background: #25D366;
  color: #fff;
  box-shadow: 0 3px 14px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
#whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 22px rgba(37,211,102,0.55);
}
#whatsapp-fab svg { width: 22px; height: 22px; }

#scroll-top-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  box-shadow: 0 3px 14px rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  backdrop-filter: blur(12px);
  outline: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s ease;
}
#scroll-top-fab.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top-fab:hover {
  background: rgba(201,168,76,0.22);
  box-shadow: 0 5px 22px rgba(201,168,76,0.3);
  transform: translateY(-2px);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker-content, .marquee-track { animation: none; }
}
