/* ═══════════════════════════════════════════════════════════════
   ARCHSEC LABS — Master Stylesheet (Restructured)
   ═══════════════════════════════════════════════════════════════

   TABLE OF CONTENTS
   ─────────────────
   01. FONT IMPORTS
   02. CSS VARIABLES (Dark Mode Defaults)
   03. RESET & BASE ELEMENTS
   04. LAYOUT UTILITIES
   05. BUTTONS
   06. NAVBAR
   07. HERO
   08. TRUST BAR
   09. ABOUT
   10. SERVICES
   11. PRODUCTS
   12. TEAM
   13. BLOG / CASE STUDIES
   14. TESTIMONIALS
   15. FAQ
   16. CONTACT
   17. SCROLL TOP
   18. FOOTER
   19. SCROLL ANIMATIONS
   20. KEYFRAME ANIMATIONS
   21. LIGHT MODE OVERRIDES  ← All [data-theme=light] rules
   22. RESPONSIVE BREAKPOINTS

   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   01. FONT IMPORTS
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Orbitron:wght@500;700;900&display=swap');


/* ═══════════════════════════════════════════
   02. CSS VARIABLES (Dark Mode Defaults)
   ═══════════════════════════════════════════ */
:root {
  /* ── Surface & Background (Dark) ── */
  --black: #000000;
  --dark: #09090b;
  --dark2: #18181b;
  --dark3: #27272a;
  --surface: #18181b;
  --surface2: #27272a;

  /* ── Borders ── */
  --border: #ffffff1a;
  --border-accent: #00b3ff80;

  /* ── Light Mode Reference Values (used by theme toggle) ── */
  --light-black: #ffffff;
  --light-dark: #fafafa;
  --light-dark2: #f4f4f5;
  --light-dark3: #e4e4e7;
  --light-surface: #ffffff;
  --light-surface2: #fafafa;
  --light-border: #0000001a;
  --light-border-accent: #3b82f64d;
  --light-text-head: #000000;
  --light-text-body: #3f3f46;
  --light-text-muted: #71717a;

  /* ── Accent Palette ── */
  --cyan: #0066cc;
  /* sky blue — primary accent */
  --cyan2: #0ea5e9;
  --blue: #3b82f6;
  /* electric blue */
  --blue2: #2563eb;
  --indigo: #6366f1;
  /* indigo */
  --violet: #7c3aed;
  /* violet/purple */
  --gold: #f59e0b;
  /* gold/amber */
  --gold2: #d97706;
  --teal: #14b8a6;
  /* teal */
  --orange: #ea580c;
  /* Primary Accent */
  --orange2: #fb923c;
  --pink: #ec4899;

  /* ── Typography Colors ── */
  --text-head: #ffffff;
  --text-body: #ffffff;
  --text-muted: #94a3b8;
  --text-service: #87cefa;
  --text-svc-tag: #f95d9b;
  --text-accent: var(--cyan);

  /* ── Font Families ── */
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans: 'DM Sans', system-ui, sans-serif;
  --ff-mono: 'Orbitron', monospace;

  /* ── Border Radius ── */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* ── Shadows & Glows ── */
  --shadow-sm: 0 2px 12px #00000059;
  --shadow: 0 8px 32px #00000073;
  --shadow-lg: 0 20px 60px #0000008c;
  --glow: 0 0 28px #0080ff5d;
  --glow-lg: 0 0 56px #38bdf838;
  --glow-gold: 0 0 28px #f59e0b26;

  /* ── Layout ── */
  --nav-h: 75px;
  --max-w: 1480px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ═══════════════════════════════════════════
   03. RESET & BASE ELEMENTS
   ═══════════════════════════════════════════ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Instantly stop all transitions during a theme toggle to prevent muddy intermediate colors */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--black);
  color: var(--text-body);
}

body {
  font-family: var(--ff-sans);
  background: var(--black);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  /* Prevent any horizontal scrollbar that appears as black line */
  max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-head);
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ═══════════════════════════════════════════
   04. LAYOUT UTILITIES
   ═══════════════════════════════════════════ */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Sections ── */
.section {
  padding: 50px 0;
  position: relative;
}

.section-sm {
  padding: 72px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 2px 10px;
  border-radius: 20px;
  border: 2px solid #00dcff40;
  background: #00dcff0d;
  margin-bottom: 16px;
}

.chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.75;
}

.section-head {
  margin-bottom: 64px;
}

.section-head-center {
  text-align: center;
}

.section-head-center .section-sub {
  margin: 0 auto;
}


/* ═══════════════════════════════════════════
   05. BUTTONS
   ═══════════════════════════════════════════ */

/* ── Base Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
}

/* ── Primary ── */
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px #ea580c4d;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px #ea580c73;
}

/* ── Ghost ── */
.btn-ghost {
  background: transparent;
  color: var(--text-head);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-accent);
  color: var(--cyan);
  background: #00dcff0a;
}

/* ── Outline Cyan ── */
.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border-accent);
}

.btn-outline-cyan:hover {
  background: #00dcff14;
  transform: translateY(-1px);
}

/* ── Size & Modifier ── */
.btn-sm {
  padding: 9px 20px;
  font-size: 0.83rem;
}

.btn-arrow::after {
  content: '→';
  padding-left: 2px;
  transition: transform 0.2s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ── Hero Primary Pro ── */
.btn-primary-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 28px #3b82f666, 0 1px 0 #ffffff1a inset;
  transition: all 0.3s var(--ease);
}

.btn-primary-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px #3b82f680, 0 1px 0 #ffffff26 inset;
  background: linear-gradient(135deg, var(--blue2) 0%, var(--violet) 100%);
}

/* ── Hero Ghost Pro ── */
.btn-ghost-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-head);
  border: 1px solid #ffffff1f;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(8px);
  letter-spacing: 0.2px;
}

.btn-ghost-pro:hover {
  border-color: #38bdf859;
  color: var(--cyan);
  background: #38bdf80d;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   06. NAVBAR
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, border 0.4s;
}

.nav.scrolled {
  background: #05050ae0;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-text {
  font-family: var(--ff-mono);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--cyan);
}

/* ── Nav Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 6px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-head);
  background: #00bfff30;
}

/* ── CTA + Toggle ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cyan);
  transition: all 0.3s;
  position: relative;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.nav-toggle svg {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}

.nav-toggle .sun {
  opacity: 0;
  transform: scale(0) rotate(90deg);
}

.nav-toggle .moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* ── Hamburger ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-burger span {
  width: 24px;
  height: 1.5px;
  background: var(--text-head);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Drawer ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100dvh;
  background: var(--dark2);
  border-left: 1px solid var(--border);
  z-index: 999;
  padding: 90px 28px 28px;
  transition: right 0.4s var(--ease);
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding 0.2s;
}

.nav-drawer a:hover {
  color: var(--cyan);
  padding-left: 8px;
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: #00000099;
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-scrim.open {
  opacity: 1;
}


/* ═══════════════════════════════════════════
   07. HERO
   ═══════════════════════════════════════════ */

#hero {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #04050d;
  /* Enforce dark typography vars in hero explicitly, regardless of page theme */
  --text-head: #ffffff;
  --text-body: #ffffff;
  --text-muted: #94a3b8;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

#ship-canvas {
  display: block;
}

/* ── Vignette Overlay ── */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at center, #04050dd9 0%, #04050d99 45%, transparent 80%);
}

/* ── Hero Content (centered) ── */
.hero-content {
  position: relative;
  z-index: 3;
  width: min(850px, 90%);
  padding: calc(var(--nav-h) + 100px) 0 60px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Spaceship Embed (full screen centered) ── */
.hero-ship-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transform-origin: center center;
  transform-style: preserve-3d;
}

.hero-ship-embed canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Hero Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 16px 6px 10px;
  border-radius: 20px;
  border: 2px solid #38bdf838;
  background: #38bdf80d;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.15s var(--ease) forwards;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 16px #38bdf866;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Hero Headline ── */
.hero-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--text-head);
  margin-bottom: 22px;
  text-shadow: 0 2px 40px #000000cc;
  opacity: 0;
  animation: fadeInUp 0.9s 0.35s var(--ease) forwards;
}

.hero-gradient-word {
  display: block;
  font-style: italic;
  background: linear-gradient(110deg, var(--cyan) 0%, var(--blue) 35%, var(--indigo) 65%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradShift 7s ease-in-out infinite alternate;
}

/* ── Hero Subtext ── */
.hero-sub {
  font-size: clamp(0.97rem, 1.7vw, 1.08rem);
  color: var(--text-body);
  line-height: 1.8;
  max-width: 700px;
  text-align: center;
  margin: 0 auto 36px;
  text-shadow: 0 1px 12px #000000b3;
  opacity: 1;
  animation: fadeInUp 0.9s 0.55s var(--ease) forwards;
}

/* ── Hero CTA Buttons ── */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto 44px;
  opacity: 0;
  animation: fadeInUp 0.9s 0.75s var(--ease) forwards;
}

/* ── Hero Stats Row (merged, cascade-resolved) ── */
.hero-stats-mini {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.9s 1.0s var(--ease) forwards;
  border: 1px solid #ffffff30;
  border-radius: 10px;
  padding: 14px 0;
  background: #ffffff10;
  backdrop-filter: blur(16px);
  width: fit-content;
  max-width: 440px;
}

.hs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 22px;
  border-right: 1px solid #ffffff;
}

.hs-item:last-child {
  border-right: none;
}

.hs-item strong {
  font-family: var(--ff-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-head);
  line-height: 1;
  display: block;
}

.hs-item:nth-child(1) strong {
  color: var(--cyan);
}

.hs-item:nth-child(2) strong {
  color: var(--gold);
}

.hs-item:nth-child(3) strong {
  color: var(--indigo);
}

.hs-item:nth-child(4) strong {
  color: var(--teal);
}

.hs-item span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-family: var(--ff-mono);
  white-space: nowrap;
  display: block;
}

.hs-sep {
  display: none;
}

/* ── Hero Scroll Cue (centered arrows at bottom) ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  opacity: 0;
  animation: fadeInUp 0.8s 1.3s var(--ease) forwards;
}

.hero-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-arrows span {
  display: block;
  width: 14px;
  height: 14px;
  border-bottom: 2.5px solid var(--cyan);
  border-right: 2.5px solid var(--cyan);
  transform: rotate(45deg);
  margin-top: -6px;
  animation: heroArrows 2s infinite;
  filter: drop-shadow(0 0 12px #38bdf8b3);
}

.hero-arrows span:nth-child(2) {
  animation-delay: -0.2s;
}

.hero-arrows span:nth-child(3) {
  animation-delay: -0.4s;
}

/* ── Hero Scroll Line (bottom-left indicator) ── */
.hero-scroll-line {
  position: absolute;
  bottom: 28px;
  left: clamp(28px, 6vw, 100px);
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s 1.4s var(--ease) forwards;
}

.hero-scroll-label {
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll-bar {
  width: 1px;
  height: 40px;
  background: #ffffff14;
  border-radius: 1px;
  overflow: hidden;
}

.hero-scroll-thumb {
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollThumb 2.2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════
   09. ABOUT
   ═══════════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 2px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.about-feat:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow);
}

.feat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #00dcff14;
  border: 1px solid #00dcff26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.feat-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feat-text p {
  font-size: 0.82rem;
  color: var(--text-service);
  line-height: 1.5;
}

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
  border: 1px solid var(--border);
}

.stat-cell {
  background: var(--dark2);
  padding: 28px 20px;
  text-align: center;
  transition: background 0.3s;
}

.stat-cell:hover {
  background: var(--dark3);
}

.stat-num {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}


/* ═══════════════════════════════════════════
   10. SERVICES
   ═══════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.svc-card {
  background: var(--dark2);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.svc-card:hover {
  transform: translateY(-4px);
  background: var(--dark3);
  border-color: #ffffff14;
}

.svc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.svc-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #ffffff08;
  border: 1px solid #ffffff0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.svc-stat-bg {
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 0.9;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.svc-stat-bg span {
  font-family: var(--ff-mono);
  font-size: 0.45rem;
  letter-spacing: 2px;
  padding-top: 4px;
  opacity: 0.8;
}

.svc-num {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.svc-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-head);
}

.svc-card p {
  font-size: 0.9rem;
  color: var(--text-service);
  line-height: 1.65;
  margin-bottom: 24px;
  min-height: 80px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.svc-tag {
  font-size: 0.6rem;
  font-family: var(--ff-mono);
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid #ffffff0f;
  color: var(--text-svc-tag);
  letter-spacing: 0.5px;
}

.svc-btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #ffffff0d;
}

.svc-link {
  font-size: 0.75rem;
  font-family: var(--ff-mono);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  transition: color 0.2s;
}

.svc-card:hover .svc-link {
  color: var(--text-head);
}

.svc-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff08;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: 0.3s;
}

.svc-card:hover .svc-arrow-btn {
  background: #ffffff1a;
  color: var(--text-head);
}


/* ═══════════════════════════════════════════
   11. PRODUCTS
   ═══════════════════════════════════════════ */

.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prod-card {
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ffffff08;
  border-top-width: 2px;
}

.prod-card:hover {
  transform: translateY(-5px);
}

.prod-card-body {
  padding: 32px 28px 24px;
}

.prod-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.prod-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.prod-subtitle {
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--text-accent);
}

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 24px;
}

.prod-tag {
  font-size: 0.55rem;
  font-family: var(--ff-mono);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #ffffff1a;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.prod-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  min-height: 80px;
}

.prod-card-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--text-service);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prod-stat {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.prod-stat small {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--text-muted);
  padding-top: 4px;
}

.prod-arrow {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: transform 0.3s;
}

.prod-card:hover .prod-arrow {
  transform: translate(2px, -2px);
}

/* ── Product Color Modifiers ── */

/* Pink */
.border-pink {
  border-top-color: var(--pink);
}

.bg-pink {
  background: var(--pink);
  box-shadow: 0 8px 24px #ec48994d;
}

.border-pink .prod-subtitle {
  color: var(--pink);
}

.border-pink .prod-tag {
  border-color: #ec48994d;
  color: #ec4899cc;
}

.border-pink .prod-arrow {
  background: var(--pink);
}

.border-pink:hover {
  box-shadow: 0 12px 40px #ec489926;
}

/* Indigo */
.border-indigo {
  border-top-color: var(--indigo);
}

.bg-indigo {
  background: var(--indigo);
  box-shadow: 0 8px 24px #6366f14d;
}

.border-indigo .prod-subtitle {
  color: var(--indigo);
}

.border-indigo .prod-tag {
  border-color: #6366f14d;
  color: #6366f1cc;
}

.border-indigo .prod-arrow {
  background: var(--indigo);
}

.border-indigo:hover {
  box-shadow: 0 12px 40px #6366f126;
}

/* Blue */
.border-blue {
  border-top-color: var(--blue);
}

.bg-blue {
  background: var(--blue);
  box-shadow: 0 8px 24px #3b82f64d;
}

.border-blue .prod-subtitle {
  color: var(--blue);
}

.border-blue .prod-tag {
  border-color: #3b82f64d;
  color: #3b82f6cc;
}

.border-blue .prod-arrow {
  background: var(--blue);
}

.border-blue:hover {
  box-shadow: 0 12px 40px #3b82f626;
}

/* Gold */
.border-gold {
  border-top-color: var(--gold);
}

.bg-gold {
  background: var(--gold);
  box-shadow: 0 8px 24px #f59e0b4d;
}

.border-gold .prod-subtitle {
  color: var(--gold);
}

.border-gold .prod-tag {
  border-color: #f59e0b4d;
  color: #f59e0bcc;
}

.border-gold .prod-arrow {
  background: var(--gold);
}

.border-gold:hover {
  box-shadow: 0 12px 40px #f59e0b26;
}

/* ═══════════════════════════════════════════
   12. TEAM
   ═══════════════════════════════════════════ */

#team {
  color: var(--text-body);
}

#team .section-title {
  color: var(--text-head);
}

#team .section-sub {
  color: var(--text-body);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  box-shadow: 0 10px 40px #0000000a;
  display: flex;
  flex-direction: column;
  border-top-width: 4px;
  border-top-style: solid;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 50px #00000014;
}

.team-avatar-wrap {
  position: relative;
  height: 280px;
  width: 100%;
}

.team-avatar {
  width: 100%;
  height: 100%;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-muted);
}

.team-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, #000000d9 0%, #00000000 100%);
  color: #fff;
}

.team-info-overlay h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: #fff;
}

.team-role {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team-bio-wrap {
  padding: 24px;
  background: transparent;
  flex-grow: 1;
}

.team-card p.team-bio {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ── Team Color Modifiers ── */
.team-card.border-pink {
  border-top-color: var(--pink);
}

.team-card.border-teal {
  border-top-color: var(--teal);
}

.team-card.border-blue {
  border-top-color: var(--blue);
}

.team-card.border-gold {
  border-top-color: var(--gold);
}

.team-card.border-indigo {
  border-top-color: var(--indigo);
}

.team-card.border-orange {
  border-top-color: var(--orange);
}

/* ── Team Carousel ── */
.team-carousel-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.team-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 24px;
  padding: 10px 0 40px;
  width: 100%;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.team-carousel>.team-card {
  scroll-snap-align: center;
  flex: 0 0 calc(33.333% - 16px);
  min-width: 310px;
}

.team-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-head);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.team-nav-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.05);
}

#teamPrev {
  left: -24px;
}

#teamNext {
  right: -24px;
}

/* ── Team Bio Actions Row ── */
.team-bio-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.team-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-social-links a {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.team-social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.team-social-links img {
  display: block;
  /* override global img display:block stacking */
}

/* ── Team Member Modal ── */
#teamModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

#teamModal.open {
  display: flex;
}

.team-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.team-modal-box {
  position: relative;
  z-index: 1;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 32px;
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 102, 204, 0.1);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-body);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.team-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.team-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.team-modal-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.team-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-modal-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-head);
  margin: 0 0 4px;
}

.team-modal-role {
  font-size: 0.75rem;
  font-family: var(--ff-mono);
  color: var(--cyan);
  letter-spacing: 1px;
}

.team-modal-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0 0 18px;
}

.team-modal-section-title {
  font-size: 0.7rem;
  font-family: var(--ff-mono);
  color: var(--text-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.team-modal-bio {
  font-size: 0.9rem;
  color: var(--text-service);
  line-height: 1.75;
  margin: 0 0 20px;
}

.team-modal-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.team-modal-skill {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgb(0, 102, 204);
  color: var(--cyan);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-family: var(--ff-mono);
}

.team-modal-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-modal-footer a img {
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}

.team-modal-footer a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   13. BLOG / CASE STUDIES
   ═══════════════════════════════════════════ */

#blog {
  color: var(--text-body);
  background: var(--black);
}

#blog .section-title {
  color: var(--text-head);
}

#blog .section-sub {
  color: var(--text-body);
}

/* ── Blog Grid (merged, cascade-resolved) ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Blog Card (merged, cascade-resolved) ── */
.blog-card {
  background: var(--dark2);
  padding: 40px 32px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  box-shadow: 0 8px 30px #00000008;
  border: 1px solid var(--border);
}

.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.blog-number {
  position: absolute;
  top: 36px;
  right: 36px;
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.3;
  letter-spacing: 1px;
  line-height: 1;
}

.blog-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.blog-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-head);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-service);
  line-height: 1.65;
  margin: 0;
}

/* ── Blog Image Cards ── */
.blog-img {
  height: 180px;
  background: linear-gradient(135deg, var(--surface), var(--dark3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.blog-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #00dcff14;
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-card:hover .blog-img::after {
  opacity: 1;
}

.blog-body {
  padding: 22px 20px;
}

.blog-cat {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  display: block;
}

.blog-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.2s;
}

.blog-card:hover .blog-body h3 {
  color: var(--cyan);
}

.blog-body p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.2s;
}

.blog-card:hover .blog-more {
  gap: 7px;
}

/* ── Blog Carousel ── */
.blog-carousel-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.blog-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 24px;
  padding: 10px 0 40px;
  width: 100%;
}

.blog-carousel::-webkit-scrollbar {
  display: none;
}

.blog-carousel>.blog-card {
  scroll-snap-align: center;
  flex: 0 0 calc(33.333% - 16px);
  min-width: 310px;
}

.blog-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-head);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.blog-nav-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.05);
}

#blogPrev {
  left: -24px;
}

#blogNext {
  right: -24px;
}


/* ═══════════════════════════════════════════
   14. TESTIMONIALS
   ═══════════════════════════════════════════ */

#testimonials {
  overflow: hidden;
}

.testi-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testi-slide {
  min-width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testi-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}

.testi-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -8px;
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.2;
  line-height: 1;
  font-family: var(--ff-serif);
}

.testi-stars {
  color: var(--cyan);
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testi-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.testi-info p {
  font-size: 0.78rem;
  color: var(--text-service);
  text-align: left;
}

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
}

.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: none;
  color: var(--text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.testi-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.testi-dots {
  display: flex;
  gap: 6px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.testi-dot.active {
  width: 22px;
  background: var(--cyan);
}

/* ═══════════════════════════════════════════
   15. FAQ
   ═══════════════════════════════════════════ */

#faq {
  position: relative;
}

.faq-hex {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpath d='M30 0L60 17.32v34.64L30 52 0 34.64V17.32z' fill='none' stroke='%2300dcff' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 52px;
}

.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.faq-aside .section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.faq-aside .section-sub {
  margin-top: 12px;
}

.faq-contact-nudge {
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: #00dcff0a;
  border: 1px solid #00ddffb6;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-contact-nudge strong {
  color: var(--text-head);
  display: block;
  margin-bottom: 4px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--dark2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: #00dcff26;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  gap: 12px;
  user-select: none;
}

.faq-q h3 {
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--ff-sans);
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #00dcff14;
  border-color: var(--cyan);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 0.87rem;
  color: var(--text-service);
  line-height: 1.75;
}


/* ═══════════════════════════════════════════
   16. CONTACT
   ═══════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--dark2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fgrp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.fgrp label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-service);
}

.fgrp input,
.fgrp select,
.fgrp textarea {
  background: var(--dark3);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.fgrp input:focus,
.fgrp select:focus,
.fgrp textarea:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px #00dcff0f;
}

.fgrp textarea {
  min-height: 110px;
  resize: vertical;
}

.fgrp select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300dcff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.fgrp select option {
  background: #1c1c2e;
}

.ferr {
  font-size: 0.73rem;
  color: #f87171;
  display: none;
}

.fgrp.err input,
.fgrp.err select,
.fgrp.err textarea {
  border-color: #f87171;
}

.fgrp.err .ferr {
  display: block;
}

.submit-wrap {
  position: relative;
  margin-top: 8px;
}

#submitBtn {
  width: 100%;
  justify-content: center;
}

#submitBtn .spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #000;
  animation: spin 0.7s linear infinite;
  opacity: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#submitBtn.loading .btn-text {
  opacity: 0;
}

#submitBtn.loading .spin {
  opacity: 1;
}

.form-ok {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--cyan);
  font-weight: 600;
}

.form-ok.show {
  display: block;
}

/* ── Contact Info ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-head {
  margin-bottom: 28px;
}

.contact-info-head h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  height: 200px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.6) contrast(1.1);
}

.cinfo-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--dark2);
  border: 1px solid var(--border);
}

.cinfo-ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #00dcff0f;
  border: 1px solid #00dcff1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.cinfo-item h4 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.cinfo-item p {
  font-size: 0.8rem;
  color: var(--text-service);
}

/* ── Social Buttons ── */
.social-row {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn.li:hover {
  border-color: #00bbff;
  color: #00bbff;
  box-shadow: 0 0 14px #0077b540;
}

.social-btn.gh:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 14px #f0f6fc26;
}

.social-btn.tw:hover {
  border-color: #000000;
  color: #000000;
  box-shadow: 0 0 14px #1da1f240;
}

.social-btn.ig:hover {
  border-color: #E4405F;
  color: #E4405F;
  box-shadow: 0 0 14px #e4405f40;
}

.social-btn.yt:hover {
  border-color: #FF0000;
  color: #FF0000;
  box-shadow: 0 0 14px #ff000040;
}

.social-btn.wa:hover {
  border-color: #00ff00;
  color: #00ff00;
  box-shadow: 0 0 14px #f0f6fc26;
}


/* ═══════════════════════════════════════════
   17. SCROLL TOP
   ═══════════════════════════════════════════ */

#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px #00b4ff59;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease);
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTop::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #00dcff4d;
  animation: pulseRing 2.2s ease-in-out infinite;
}

#scrollTop:hover {
  box-shadow: var(--glow-lg);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   18. FOOTER
   ═══════════════════════════════════════════ */

.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fb-mark {
  width: 46px;
  height: 36px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
}

.fb-name {
  font-family: var(--ff-mono);
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--cyan);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-service);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social a.li:hover {
  border-color: #0077B5;
  color: #0077B5;
}

.footer-social a.gh:hover {
  border-color: #f0f6fc;
  color: #f0f6fc;
}

.footer-social a.tw:hover {
  border-color: #1DA1F2;
  color: #1DA1F2;
}

.footer-social a.ig:hover {
  border-color: #E4405F;
  color: #E4405F;
}

.footer-social a.yt:hover {
  border-color: #FF0000;
  color: #FF0000;
}

.footer-social a.dc:hover {
  border-color: #5865F2;
  color: #5865F2;
}

.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-head);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.2s, padding 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--text-service);
  line-height: 1.6;
  margin-bottom: 14px;
}

.nl-form {
  display: flex;
  gap: 6px;
}

.nl-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--dark3);
  border: 2px solid var(--border);
  color: var(--text-head);
  font-family: var(--ff-sans);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.25s;
}

.nl-form input:focus {
  border-color: var(--border-accent);
}

.nl-form button {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--ff-mono);
  letter-spacing: 1px;
}

.nl-form button:hover {
  opacity: 0.85;
}

.footer-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bar-links {
  display: flex;
  gap: 20px;
}

.footer-bar-links a:hover {
  color: var(--cyan);
}

/* ═══════════════════════════════════════════
   19. SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease;
  /* Exclude transform so JS can control matrix and tilt */
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}


/* ═══════════════════════════════════════════
   20. KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes logoSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.75);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes heroArrows {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-4px, -4px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(4px, 4px);
  }
}

@keyframes scrollThumb {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    transform: translateY(280%);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes pulseRing {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.25);
    opacity: 0;
  }
}


/* ═══════════════════════════════════════════
   21. LIGHT MODE OVERRIDES
   ═══════════════════════════════════════════
   All [data-theme=light] rules consolidated here.
   Edit this section to customize the light theme.
   ═══════════════════════════════════════════ */

/* ── Light Mode Variables ── */
[data-theme=light] {
  --black: #f0f4f8;
  --dark: #e8edf2;
  --dark2: #ffffff;
  --dark3: #f4f7fa;
  --surface: #ffffff;
  --surface2: #f0f4f8;
  --border: #00000012;
  --border-accent: #0064c833;
  --text-head: #000000;
  --text-body: #000000;
  --text-muted: #64748b;
  --text-service: #191970;
  --text-svc-tag: #ff8928;
  --cyan: #0066cc;
  --blue: #0050aa;
  --glow: 0 0 20px #0080ff5d;
}

/* ── Light Mode: Navbar ── */
[data-theme=light] .nav-toggle .moon {
  opacity: 0;
  transform: scale(0) rotate(-90deg);
}

[data-theme=light] .nav-toggle .sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

[data-theme="light"] .nav {
  /* Force dark mode colors when unscrolled (sitting over the dark 3D hero) */
  --text-head: #ffffff;
  --text-body: #ffffff;
  --border: #ffffff12;
}

[data-theme="light"] .nav.scrolled {
  /* Switch to light mode colors when scrolled onto the white background */
  --text-head: var(--light-text-head);
  --text-body: var(--light-text-body);
  --border: var(--light-border);
  background: #ffffff00;
  border-color: #00000012;
}

[data-theme="light"] .nav-drawer {
  background: #f8fafc;
  border-color: #00000012;
}

/* ── Light Mode: Contact Map ── */
[data-theme=light] .map-box iframe {
  filter: none;
}

/* ── Light Mode: Footer ── */
[data-theme=light] .footer {
  background: #e8edf2;
}

[data-theme=light] .footer-brand p {
  color: #191970;
}


/* ═══════════════════════════════════════════
   22. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */

/* ── Large Tablets & Small Desktops ── */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

/* ── Tablets ── */
@media (max-width: 900px) {

  .about-grid,
  .contact-grid,
  .faq-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid,
  .products-row,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-canvas-wrap {
    max-width: 280px;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  .trust-divider {
    display: none;
  }

  .trust-inner {
    justify-content: center;
  }

  /* Team carousel mobile */
  #teamPrev {
    left: -10px;
  }

  #teamNext {
    right: -10px;
  }

  .team-carousel>.team-card {
    flex: 0 0 85%;
    min-width: unset;
  }

  /* Blog carousel mobile */
  #blogPrev {
    left: -10px;
  }

  #blogNext {
    right: -10px;
  }

  .blog-carousel>.blog-card {
    flex: 0 0 85%;
    min-width: unset;
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .team-grid,
  .products-row,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}