/* ============================================
   HackSentinel Cybersecurity — Design System
   Dark Professional Cyber Theme
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-base:        #05091a;
  --bg-surface:     #0a1128;
  --bg-surface-2:   #0f1a3a;
  --bg-card:        rgba(15, 26, 58, 0.6);
  --bg-card-hover:  rgba(0, 229, 255, 0.05);
  --border:         rgba(0, 229, 255, 0.12);
  --border-hover:   rgba(0, 229, 255, 0.4);

  --cyan:           #00e5ff;
  --cyan-dim:       #00b8cc;
  --cyan-glow:      rgba(0, 229, 255, 0.15);
  --purple:         #7c3aed;
  --purple-dim:     #6d28d9;
  --purple-glow:    rgba(124, 58, 237, 0.2);
  --green:          #10b981;
  --red:            #ef4444;

  --text-primary:   #e8f0ff;
  --text-secondary: #8b9cc8;
  --text-muted:     #4a5580;
  --text-on-cyan:   #05091a;

  --font-heading:   'Space Grotesk', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow:    0 0 40px rgba(0, 229, 255, 0.15);
  --shadow-purple:  0 0 40px rgba(124, 58, 237, 0.2);

  --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height:     72px;
  --container:      1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* --- Utility --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.text-cyan    { color: var(--cyan); }
.text-purple  { color: var(--purple); }
.text-muted   { color: var(--text-secondary); }

.mono { font-family: var(--font-mono); }

/* Grid pattern overlay */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- Section Header --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--text-on-cyan);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dim));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 9, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-text span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(5, 9, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--cyan); background: var(--cyan-glow); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0, 229, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #5b8def 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.badge-chip .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

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

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px; height: 60px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-glow);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-item::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-surface);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover { background: var(--bg-surface-2); }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 229, 255, 0.05), transparent);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  position: relative;
}

.cta-note span { margin: 0 8px; }

/* --- Divider --- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* --- Footer --- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 300px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-contact-item:hover { color: var(--cyan); }

.footer-contact-item svg { flex-shrink: 0; color: var(--cyan); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: var(--transition);
}

.footer-link:hover { color: var(--cyan); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 13px; color: var(--text-muted); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--cyan); }

/* Cert badges */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cert-badge {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.5px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 70% 50%, rgba(0, 229, 255, 0.05), transparent),
    radial-gradient(ellipse 40% 60% at 10% 60%, rgba(124, 58, 237, 0.07), transparent);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero-content { position: relative; z-index: 1; max-width: 720px; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

/* --- About Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Cert Strip --- */
.cert-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cert-strip h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-pill {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 58, 237, 0.1));
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.cert-pill:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* --- Training Modules --- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.training-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.training-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.training-card-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.training-icon {
  width: 48px; height: 48px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.training-card-header h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.training-card-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

.training-topics {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.topic-item svg { color: var(--cyan); flex-shrink: 0; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.contact-card-icon {
  width: 44px; height: 44px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-card p, .contact-card a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-card a:hover { color: var(--cyan); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  width: 100%;
  outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.form-submit { width: 100%; justify-content: center; font-size: 15px; }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 900;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* --- Animations --- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .section-pad { padding: 64px 0; }

  .hero-title { letter-spacing: -0.5px; }

  .services-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .cta-banner { padding: 40px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }

  .cert-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════
   About Hero  (about.html)
   ═══════════════════════════════════════════════════════ */

.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: 80px;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 70% 45%, rgba(0,229,255,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 75%, rgba(124,58,237,0.09) 0%, transparent 65%);
}

.about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Split layout ─────────────────────────────────────── */
.about-hero-split {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* ── Text side ────────────────────────────────────────── */
.about-hero-text {
  flex: 1 1 0;
  min-width: 0;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 16px 0 20px;
}

.about-hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 36px;
}

/* Inline trust numbers */
.about-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.about-trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-trust-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.about-trust-lbl {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.about-trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Visual side ──────────────────────────────────────── */
.about-hero-visual {
  flex: 0 0 460px;
  width: 460px;
  height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulse rings */
.ah-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0;
  animation: ah-pulse 3.6s ease-out infinite;
}

.ah-ring-1 { width: 160px; height: 160px; animation-delay: 0s; }
.ah-ring-2 { width: 160px; height: 160px; animation-delay: 1.2s; }
.ah-ring-3 { width: 160px; height: 160px; animation-delay: 2.4s; }

@keyframes ah-pulse {
  0%   { transform: scale(1);   opacity: 0.55; border-color: var(--cyan); }
  50%  { border-color: var(--purple); }
  100% { transform: scale(2.6); opacity: 0;    border-color: var(--purple); }
}

/* Central shield */
.ah-shield {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(124,58,237,0.15));
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0,229,255,0.15), inset 0 0 30px rgba(0,229,255,0.05);
  animation: ah-shield-float 4s ease-in-out infinite;
  z-index: 1;
  position: relative;
}

.ah-shield svg {
  width: 54px;
  height: 54px;
}

@keyframes ah-shield-float {
  0%, 100% { transform: translateY(0);   box-shadow: 0 0 40px rgba(0,229,255,0.15); }
  50%       { transform: translateY(-8px); box-shadow: 0 12px 50px rgba(0,229,255,0.25); }
}

/* Security status card */
.ah-status-card {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 200px;
  background: rgba(10,17,40,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.ah-status-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.ah-status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

.ah-status-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.ah-status-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.ah-check {
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
}

.ah-score-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.ah-score-val {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

.ah-score-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.ah-score-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  animation: ah-score-grow 1.8s 0.6s ease-out forwards;
}

@keyframes ah-score-grow {
  to { width: 100%; }
}

/* Floating cert chips */
.ah-float-chip {
  position: absolute;
  background: rgba(10,17,40,0.9);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  animation: ah-chip-float 4s ease-in-out infinite;
}

.ah-chip-tl { top: 60px;  left: 10px;  animation-delay: 0s; }
.ah-chip-tr { top: 40px;  right: 20px; animation-delay: 0.8s; }
.ah-chip-bl { bottom: 80px; left: 0px;   animation-delay: 1.6s; }
.ah-chip-br { bottom: 100px; right: 10px; animation-delay: 2.4s; }

@keyframes ah-chip-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-hero-visual { flex: 0 0 380px; width: 380px; height: 380px; }
}

@media (max-width: 900px) {
  .about-hero-split {
    flex-direction: column;
    gap: 56px;
  }
  .about-hero-visual {
    flex: none;
    width: 340px;
    height: 340px;
  }
  .about-hero-text { text-align: center; }
  .about-hero-sub  { margin: 0 auto 36px; }
  .about-trust-row { justify-content: center; }
  .cert-badges     { justify-content: center; }
}

@media (max-width: 480px) {
  .about-hero-visual { width: 300px; height: 300px; }
  .ah-status-card    { right: -10px; width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-ring, .ah-shield, .ah-float-chip, .ah-score-fill {
    animation: none !important;
  }
  .ah-score-fill { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   Scroll Expansion Hero  (services / training / contact)
   ═══════════════════════════════════════════════════════ */
.se-wrapper {
  position: relative;
  overflow-x: hidden;
}

.se-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.se-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.se-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.se-section {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.se-media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 400px;
  max-width: 95vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 229, 255, 0.15);
  z-index: 2;
}

.se-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.se-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(5, 9, 26, 0.7) 100%
  );
}

.se-title-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  mix-blend-mode: difference;
  pointer-events: none;
  user-select: none;
}

.se-title-word {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 800;
  color: #bfdbfe;
  text-align: center;
  line-height: 1;
  margin: 0;
}

.se-labels {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 48px;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

.se-label {
  font-size: 17px;
  font-weight: 500;
  color: #bfdbfe;
  text-align: center;
  opacity: 0.85;
}

.se-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

@keyframes se-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

#se-label-right {
  animation: se-bounce 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .se-labels  { gap: 24px; bottom: 40px; }
  .se-label   { font-size: 14px; }
  .se-media   { width: 260px; height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  #se-label-right { animation: none; }
  .se-content { opacity: 1; pointer-events: auto; }
}

/* --- Gooey text morphing --- */
.gooey-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-gooey {
  margin-bottom: 28px;
}

.hero-gooey-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.gooey-container {
  position: relative;
  height: 56px;
  overflow: visible;
}

.gooey-filter-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  filter: url(#gooey-threshold);
}

.gooey-text-1,
.gooey-text-2 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--cyan);
  white-space: nowrap;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.5px;
}

@media (max-width: 480px) {
  .gooey-container { height: 44px; }
  .gooey-text-1, .gooey-text-2 { font-size: 20px; }
}

/* --- Hero split layout (text + 3D) --- */
.hero-split {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-split .hero-content {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
}

.hero-3d {
  flex: 1 1 0;
  min-width: 0;
  height: 520px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-3d spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    gap: 32px;
  }

  .hero-3d {
    width: 100%;
    height: 380px;
  }
}

@media (max-width: 480px) {
  .hero-3d { height: 300px; }
}

/* --- Site Logo (PNG/SVG image) --- */
.site-logo {
  height: 52px;
  width: auto;
  display: block;
  max-width: 260px;
  object-fit: contain;
  /* preserve gold on dark background — no filter needed */
}

.site-logo-sm {
  height: 40px;
  max-width: 200px;
}

/* Remove old logo-icon / logo-text when image logo used */
.nav-logo .logo-icon,
.nav-logo .logo-text { display: none; }

/* --- Hero Canvas (particle network) --- */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* content above stays clickable */
}

/* Ensure hero content sits above canvas */
.hero > .container,
.page-hero > .container {
  position: relative;
  z-index: 1;
}

/* --- Glitch / scan-line overlay on hero --- */
.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 229, 255, 0.012) 3px,
    rgba(0, 229, 255, 0.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* --- Animated cyber border on stat items --- */
@keyframes border-glow {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.06); }
}

.stat-item { animation: border-glow 4s ease-in-out infinite; }
.stat-item:nth-child(2) { animation-delay: 1s; }
.stat-item:nth-child(3) { animation-delay: 2s; }
.stat-item:nth-child(4) { animation-delay: 3s; }

/* --- Typing cursor on hero title --- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- Floating animation on hero badge --- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.hero-badge { animation: float-y 3s ease-in-out infinite; }

/* --- Gradient text shimmer --- */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.gradient-text {
  background-size: 200% auto !important;
  animation: shimmer 4s linear infinite;
}

/* --- Service card number reveal --- */
.service-card,
.card,
.training-card,
.value-card,
.contact-card {
  will-change: transform;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-badge { animation: none; }
  .gradient-text { animation: none; background-size: 100% auto !important; }
}

/* ═══════════════════════════════════════════════════════
   Particle Text Effect Section
   ═══════════════════════════════════════════════════════ */

.pt-section {
  position: relative;
  background: var(--bg-base);
  padding-top: var(--nav-height);   /* sit flush under navbar */
  display: flex;
  align-items: center;
  min-height: 100dvh;
}

.pt-inner {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;        /* no side padding — let mask handle edges */
}

#particles-text {
  display: block;
  width: 100%;
  height: auto;
  /* canvas internal size is 1300×500 */
  aspect-ratio: 1300 / 500;
  /* fade edges so particles dissolve into the page bg, no visible box */
  -webkit-mask-image:
    radial-gradient(ellipse 85% 75% at 50% 50%,
      black 35%, rgba(0,0,0,.85) 55%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 85% 75% at 50% 50%,
      black 35%, rgba(0,0,0,.85) 55%, transparent 100%);
}

/* divider between particle section and hero */
.pt-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--border) 20%, var(--cyan-glow) 50%,
    var(--border) 80%, transparent 100%);
}

[data-theme="light"] #particles-text {
  filter: brightness(0.7) saturate(1.1);
}

/* ═══════════════════════════════════════════════════════
   SPOTLIGHT / GLOW CARDS
   ═══════════════════════════════════════════════════════ */

/* ── Grid layout ── */
.glow-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .glow-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .glow-cards-grid { grid-template-columns: 1fr; }
}

/* ── Card base ── */
[data-glow-card] {
  /* CSS variable defaults */
  --base:        220;
  --spread:      200;
  --radius:      16;
  --border:      2;
  --size:        240;
  --outer:       1;
  --border-size: calc(var(--border) * 1px);
  --spot-size:   calc(var(--size)   * 1px);
  --hue:         calc(var(--base)   + (var(--xp, 0) * var(--spread, 0)));

  position: relative;
  border-radius: calc(var(--radius) * 1px);
  border: var(--border-size) solid rgba(255,255,255,0.08);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-image: radial-gradient(
    var(--spot-size) var(--spot-size) at
    calc(var(--x, -200) * 1px) calc(var(--y, -200) * 1px),
    hsl(var(--hue) 100% 70% / 0.08),
    transparent
  );
  background-color: var(--bg-card, rgba(255,255,255,0.03));
  background-size:
    calc(100% + 2 * var(--border-size))
    calc(100% + 2 * var(--border-size));
  background-position: 50% 50%;
  background-attachment: fixed;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  overflow: hidden;
}

[data-glow-card]:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(0,0,0,0.5);
}

/* ── Glowing border via ::before / ::after ── */
[data-glow-card]::before,
[data-glow-card]::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: calc(var(--radius) * 1px);
  background-attachment: fixed;
  background-size:
    calc(100% + 2 * var(--border-size))
    calc(100% + 2 * var(--border-size));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  /* clip gradient to border area only */
  -webkit-mask:
    linear-gradient(transparent, transparent),
    linear-gradient(white, white);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: destination-in;
  mask:
    linear-gradient(transparent, transparent),
    linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
}

/* Coloured spotlight on border */
[data-glow-card]::before {
  background-image: radial-gradient(
    calc(var(--spot-size) * 0.75) calc(var(--spot-size) * 0.75) at
    calc(var(--x, -200) * 1px) calc(var(--y, -200) * 1px),
    hsl(var(--hue) 100% 50% / 0.9),
    transparent 100%
  );
  filter: brightness(2);
}

/* White highlight shimmer */
[data-glow-card]::after {
  background-image: radial-gradient(
    calc(var(--spot-size) * 0.45) calc(var(--spot-size) * 0.45) at
    calc(var(--x, -200) * 1px) calc(var(--y, -200) * 1px),
    hsl(0 100% 100% / 0.7),
    transparent 100%
  );
}

/* Inner glow div (outer halo effect) */
[data-glow-inner] {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) * 1px);
  opacity: var(--outer, 1);
  filter: blur(calc(var(--border-size) * 8));
  pointer-events: none;
  background: none;
}

/* ── Card content elements ── */
.glow-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, hsl(var(--hue) 80% 60%) 15%, transparent);
  border: 1px solid color-mix(in srgb, hsl(var(--hue) 80% 60%) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--hue) 90% 75%);
  flex-shrink: 0;
}

.glow-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, hsl(var(--hue) 80% 60%) 14%, transparent);
  color: hsl(var(--hue) 90% 75%);
  border: 1px solid color-mix(in srgb, hsl(var(--hue) 80% 60%) 30%, transparent);
  align-self: flex-start;
}

.glow-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #e8eaf6);
  line-height: 1.25;
  margin: 0;
}

.glow-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary, rgba(200,210,240,0.65));
  margin: 0;
  flex: 1;
}

.glow-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.glow-card-features li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(200,210,240,0.6);
}

.glow-card-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--hue) 80% 65%);
  flex-shrink: 0;
}

.glow-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--hue) 90% 72%);
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
}
.glow-card-link:hover { gap: 10px; opacity: 0.85; }

/* Light mode adjustments */
[data-theme="light"] [data-glow-card] {
  background-color: rgba(255,255,255,0.55);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .glow-card-title { color: #0d1635; }
[data-theme="light"] .glow-card-desc  { color: rgba(30,40,80,0.65); }
[data-theme="light"] .glow-card-features li { color: rgba(30,40,80,0.5); }

/* ═══════════════════════════════════════════════════════
   Day / Night Theme Toggle
   ═══════════════════════════════════════════════════════ */

/* ── Light mode token overrides ── */
[data-theme="light"] {
  --bg-base:        #f5f7ff;
  --bg-surface:     #eef1ff;
  --bg-surface-2:   #e4eaff;
  --bg-card:        rgba(238, 241, 255, 0.92);
  --bg-card-hover:  rgba(0, 100, 200, 0.06);
  --border:         rgba(0, 80, 200, 0.14);
  --border-hover:   rgba(0, 80, 200, 0.38);
  --text-primary:   #0d1635;
  --text-secondary: #3d4d80;
  --text-muted:     #7a8ab8;
  --text-on-cyan:   #ffffff;
  --shadow-card:    0 4px 24px rgba(0, 50, 150, 0.09);
  --shadow-glow:    0 0 40px rgba(0, 100, 200, 0.10);
  --shadow-purple:  0 0 40px rgba(124, 58, 237, 0.10);
}

[data-theme="light"] body {
  background: var(--bg-base);
  color: var(--text-primary);
}

[data-theme="light"] .navbar {
  background: rgba(238, 241, 255, 0.92);
  border-bottom-color: var(--border);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(228, 234, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 50, 150, 0.10);
}

[data-theme="light"] .hero {
  background: linear-gradient(160deg, #e8eeff 0%, #dce6ff 50%, #ede8ff 100%);
}
[data-theme="light"] .hero-bg { opacity: 0.2; }
[data-theme="light"] .hero-grid { opacity: 0.15; }

[data-theme="light"] .hero-title,
[data-theme="light"] .section-title { color: var(--text-primary); }

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-subtitle { color: var(--text-secondary); }

[data-theme="light"] .hero-badge {
  background: rgba(0, 80, 200, 0.08);
  border-color: var(--border);
  color: var(--text-secondary);
}

[data-theme="light"] .badge-chip {
  background: rgba(0, 80, 200, 0.07);
  border-color: var(--border);
  color: var(--text-secondary);
}
[data-theme="light"] .badge-chip .dot {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

[data-theme="light"] .stats-grid { background: var(--bg-card); border-color: var(--border); }
[data-theme="light"] .stat-number { color: var(--cyan); }
[data-theme="light"] .stat-label  { color: var(--text-secondary); }

[data-theme="light"] .service-card,
[data-theme="light"] .card,
[data-theme="light"] .training-card,
[data-theme="light"] .value-card,
[data-theme="light"] .contact-card {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="light"] .service-card:hover,
[data-theme="light"] .card:hover,
[data-theme="light"] .training-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .service-card h3,
[data-theme="light"] .card h3,
[data-theme="light"] .training-card h3 { color: var(--text-primary); }

[data-theme="light"] .feature-item { color: var(--text-secondary); }
[data-theme="light"] .feature-item::before { background: var(--cyan); }

[data-theme="light"] .section-label { color: var(--cyan-dim); }

[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(0,100,200,0.08), rgba(124,58,237,0.08));
  border-color: var(--border-hover);
}

[data-theme="light"] .footer {
  background: #e4eaff;
  border-top-color: var(--border);
}
[data-theme="light"] .footer-bottom { border-top-color: var(--border); }
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer h4 { color: var(--text-primary); }
[data-theme="light"] .footer-link { color: var(--text-secondary); }
[data-theme="light"] .footer-contact-item { color: var(--text-secondary); }

[data-theme="light"] .nav-link { color: var(--text-secondary); }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: var(--cyan-dim); }

[data-theme="light"] .mobile-nav {
  background: rgba(238, 241, 255, 0.98);
  border-top-color: var(--border);
}
[data-theme="light"] .mobile-nav-link { color: var(--text-secondary); }

[data-theme="light"] .form-control {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-primary);
}
[data-theme="light"] .form-control:focus { border-color: var(--cyan-dim); }
[data-theme="light"] label { color: var(--text-secondary); }

[data-theme="light"] .svc-panel-inner {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="light"] .svc-panel-title { color: var(--text-primary); }
[data-theme="light"] .svc-panel-desc  { color: var(--text-secondary); }
[data-theme="light"] .svc-feature-item { color: var(--text-secondary); }

[data-theme="light"] .tab-panel-title { color: var(--text-primary); }

[data-theme="light"] .about-hero { background: linear-gradient(160deg, #e8eeff, #dce6ff, #ede8ff); }
[data-theme="light"] .about-hero-title { color: var(--text-primary); }
[data-theme="light"] .about-hero-sub   { color: var(--text-secondary); }

/* ── Theme toggle button ── */
.theme-toggle {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
  padding: 0;
  outline-offset: 3px;
}
.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
  transform: rotate(12deg) scale(1.08);
}

/* swap icons */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ═══════════════════════════════════════════════════════
   Animated Service Tabs
   ═══════════════════════════════════════════════════════ */
.svc-tabs-wrap { position: relative; }

.svc-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-tab-bar::-webkit-scrollbar { display: none; }

.svc-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: -1px;
  white-space: nowrap;
  position: relative;
}
.svc-tab-btn:hover { color: var(--text-primary); }
.svc-tab-btn.active {
  color: var(--tab-color, var(--cyan));
  border-bottom-color: var(--tab-color, var(--cyan));
  font-weight: 600;
}

.svc-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tab-color, var(--cyan));
  flex-shrink: 0;
  opacity: 0.5;
  transition: var(--transition);
}
.svc-tab-btn.active .svc-tab-dot,
.svc-tab-btn:hover .svc-tab-dot { opacity: 1; }

/* Panels container */
.svc-tab-panels {
  position: relative;
  /* min-height handled by the active panel (position:relative) */
}

/* ── directional keyframes (direction set via --enter-x / --exit-x by JS) ── */
@keyframes svc-panel-in {
  from { opacity: 0; transform: translateX(var(--enter-x, 48px)) scale(0.988); filter: blur(4px); }
  to   { opacity: 1; transform: translateX(0)                    scale(1);     filter: blur(0);   }
}
@keyframes svc-panel-out {
  from { opacity: 1; transform: translateX(0)                   scale(1);     filter: blur(0);   }
  to   { opacity: 0; transform: translateX(var(--exit-x, -48px)) scale(0.988); filter: blur(4px); }
}

.svc-tab-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.svc-tab-panel.active {
  position: relative;   /* provides height for the container */
  opacity: 1;
  pointer-events: auto;
  animation: svc-panel-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svc-tab-panel.leaving {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  animation: svc-panel-out 0.3s ease both;
}

/* Panel card layout */
.svc-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.svc-panel-inner:hover {
  border-color: var(--svc-color, var(--border-hover));
  box-shadow: 0 0 48px var(--svc-glow, var(--cyan-glow));
}

/* Image side */
.svc-panel-img {
  position: relative;
  overflow: hidden;
}
.svc-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.svc-panel-inner:hover .svc-panel-img img { transform: scale(1.06); }

.svc-panel-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.28) 0%, rgba(5,9,26,0.55) 100%);
}

.svc-color-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--svc-color, var(--cyan));
  box-shadow: 0 0 24px var(--svc-glow, var(--cyan-glow));
}

/* Content side */
.svc-panel-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--svc-glow, var(--cyan-glow));
  border: 1px solid var(--svc-color, var(--cyan));
  color: var(--svc-color, var(--cyan));
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}

.svc-panel-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 14px;
}

.svc-panel-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 24px;
  font-size: 15px;
}

.svc-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
  margin-bottom: 32px;
}

.svc-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.svc-feature-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--svc-color, var(--cyan));
  flex-shrink: 0;
}

.svc-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  width: fit-content;
  background: var(--svc-glow, var(--cyan-glow));
  border: 1px solid var(--svc-color, var(--cyan));
  color: var(--svc-color, var(--cyan));
}
.svc-panel-cta:hover {
  background: var(--svc-color, var(--cyan));
  color: #fff;
  box-shadow: 0 0 24px var(--svc-glow, var(--cyan-glow));
  transform: translateY(-1px);
}

/* Progress indicator dots */
.svc-tab-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.svc-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.svc-progress-dot.active {
  background: var(--cyan);
  width: 20px;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-panel-inner { grid-template-columns: 1fr; }
  .svc-panel-img   { aspect-ratio: 16/7; height: auto; }
  .svc-panel-body  { padding: 32px; }
}

@media (max-width: 640px) {
  .svc-tab-btn     { padding: 12px 14px; font-size: 13px; }
  .svc-panel-body  { padding: 24px; }
  .svc-feature-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   Contact page — 3D hero (replaces scroll expansion)
   ═══════════════════════════════════════════════════════ */
.contact-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--bg-base);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 55%, rgba(0,229,255,0.09), transparent 65%),
    radial-gradient(ellipse 60% 70% at 20% 80%, rgba(124,58,237,0.11), transparent 65%);
  pointer-events: none;
}

.contact-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.contact-hero-text {}

.contact-hero-3d {
  position: relative;
  height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 229, 255, 0.1), 0 0 0 1px var(--border);
}

.contact-hero-3d spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 960px) {
  .contact-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-hero-3d    { height: 400px; }
  .contact-hero-text  { text-align: center; }
  .contact-hero-text .hero-badge,
  .contact-hero-text .hero-actions,
  .contact-hero-text .hero-badges { justify-content: center; }
}

@media (max-width: 480px) {
  .contact-hero-3d { height: 280px; }
}

/* ── Home hero centred (no split) ── */
.hero-content-center {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-content-center .hero-actions,
.hero-content-center .hero-badges { justify-content: center; }
.hero-content-center .hero-badge  { align-self: center; }
.hero-content-center .gooey-container { margin: 0 auto; }
.hero-content-center .hero-gooey { text-align: center; }
.hero-content-center .hero-gooey-label { text-align: center; }
.hero-content-center .gooey-text-1,
.hero-content-center .gooey-text-2 { left: 50%; transform: translate(-50%,-50%); }

/* ═══════════════════════════════════════════════════════
   Nav CTA Button
   ═══════════════════════════════════════════════════════ */

@keyframes navCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,.0),  0 4px 16px rgba(0,229,255,.18); }
  50%      { box-shadow: 0 0 0 5px rgba(0,229,255,.08), 0 4px 24px rgba(0,229,255,.35); }
}

.nav-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: 50px;
  border: 1px solid rgba(0,229,255,.45);
  background: rgba(0,229,255,.06);
  color: var(--cyan);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease,
              transform .18s ease, box-shadow .22s ease;
  animation: navCtaPulse 2.8s ease-in-out infinite;
  margin-left: 8px;
  vertical-align: middle;
}

/* shimmer sweep */
.nav-cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}

.nav-cta-btn:hover::before { left: 130%; }

.nav-cta-btn .nav-cta-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .22s ease;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: var(--cyan);
  color: #05091a;
  border-color: var(--cyan);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,229,255,.4);
  animation: none;
}

.nav-cta-btn:hover .nav-cta-arrow {
  transform: translateX(3px);
}

.nav-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0,229,255,.25);
}

@media (max-width: 768px) {
  .nav-cta-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════
   Footer Share Button
   ═══════════════════════════════════════════════════════ */

.share-btn-root {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.share-btn-main {
  width: 140px;
  height: 36px;
  border-radius: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(0,229,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,.4);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .02em;
  cursor: pointer;
  transition: opacity .25s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(0,229,255,.12);
}

.share-btn-main:hover {
  background: rgba(0,229,255,.14);
  box-shadow: 0 0 20px rgba(0,229,255,.22);
}

.share-btn-root:hover .share-btn-main {
  opacity: 0;
  pointer-events: none;
}

/* icon tray — sits exactly over the main button */
.share-btn-icons {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  border-radius: 50px;
  pointer-events: none;
}

.share-btn-root:hover .share-btn-icons {
  pointer-events: auto;
}

.share-icon-btn {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: #05091a;
  border: none;
  cursor: pointer;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease, background .15s ease;
}

.share-icon-btn:nth-child(1) { border-radius: 50px 0 0 50px; transition-delay: 0ms; }
.share-icon-btn:nth-child(2) { transition-delay: 50ms; }
.share-icon-btn:nth-child(3) { transition-delay: 100ms; }
.share-icon-btn:nth-child(4) { border-radius: 0 50px 50px 0; transition-delay: 150ms; }

.share-btn-root:hover .share-icon-btn {
  transform: translateX(0);
  opacity: 1;
}

.share-icon-btn:hover { background: rgba(0,180,210,1); }

.share-icon-btn + .share-icon-btn {
  border-left: 1px solid rgba(5,9,26,.18);
}

/* clipboard confirmed */
.share-icon-btn.share-copied {
  background: #22c55e !important;
  color: #fff !important;
}

[data-theme="light"] .share-btn-main {
  background: rgba(0,180,210,.1);
  border-color: rgba(0,180,210,.45);
  color: var(--cyan);
}

[data-theme="light"] .share-btn-main:hover {
  background: rgba(0,180,210,.18);
}

@media (max-width: 768px) {
  .share-btn-root { display: none; }
}

/* ═══════════════════════════════════════════════════════
   3D Robot — Contact Page
   ═══════════════════════════════════════════════════════ */

/* Sentinel AI standalone section */
.sentinel-ai-section {
  background: linear-gradient(180deg,
    var(--bg-card) 0%,
    var(--bg-surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sentinel-ai-inner {
  max-width: 720px;
  margin: 0 auto;
}

.sentinel-ai-header {
  text-align: center;
}

.robot-3d-wrap {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 0 40px rgba(0,229,255,.06);
}

.robot-3d-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border);
}

.robot-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,.55);
  flex-shrink: 0;
}

.robot-3d-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

/* scene viewport — contains spline + chat panel */
.robot-3d-scene {
  position: relative;
  height: 330px;
  overflow: hidden;
  /* transform creates a new containing block — traps position:fixed children
     (including Spline shadow DOM watermark) so overflow:hidden can clip them */
  transform: translate3d(0, 0, 0);
  isolation: isolate;
}

/* gradient fade — hides watermark, blends into card bg, no hard gap */
.robot-3d-scene::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--bg-surface) 55%
  );
  z-index: 9999;
  pointer-events: none;
}

/* loader spinner */
.robot-3d-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  z-index: 1;
  transition: opacity .4s ease;
}

@keyframes robotSpin { to { transform: rotate(360deg); } }
.robot-spin-icon { animation: robotSpin 1s linear infinite; }

/* chat trigger button — floats over the gradient fade */
.robot-chat-trigger {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0,229,255,.4);
  background: rgba(5,9,26,.72);
  backdrop-filter: blur(10px);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  animation: triggerPulse 2.8s ease-in-out infinite;
  transition: background .2s, border-color .2s;
}

.robot-chat-trigger:hover {
  background: rgba(0,229,255,.15);
  border-color: var(--cyan);
  animation: none;
}

@keyframes triggerPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,255,.0); }
  50%      { box-shadow: 0 0 0 5px rgba(0,229,255,.12); }
}

/* ── Chat panel — slides up inside .robot-3d-scene ── */
.robot-chat-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  transform: translateY(101%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  z-index: 10001;
}

.robot-chat-panel.chat-open { transform: translateY(0); }

/* header */
.robot-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.robot-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg,rgba(0,229,255,.18),rgba(0,229,255,.04));
  border: 1px solid rgba(0,229,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.robot-chat-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.robot-chat-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.robot-chat-status { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.robot-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }

.robot-chat-close {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

.robot-chat-close:hover { background: var(--border); color: var(--text-primary); }

/* messages scroll area */
.robot-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.robot-chat-messages::-webkit-scrollbar { width: 3px; }
.robot-chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* bubbles */
.chat-msg {
  max-width: 88%;
  font-size: 12.5px;
  line-height: 1.55;
  padding: 7px 11px;
  border-radius: 12px;
  white-space: pre-line;
  animation: msgPop .18s ease;
}

@keyframes msgPop {
  from { opacity:0; transform:translateY(5px); }
  to   { opacity:1; transform:translateY(0); }
}

.chat-msg-bot {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-msg-user {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: #05091a;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

/* typing dots */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  width: 50px;
}

.chat-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typingDot {
  0%,60%,100% { opacity:.3; transform:scale(1); }
  30%         { opacity:1; transform:scale(1.25); }
}

/* quick-reply chips */
.robot-chat-chips {
  display: flex;
  gap: 5px;
  padding: 0 12px 7px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.robot-chip {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(0,229,255,.28);
  background: rgba(0,229,255,.05);
  color: var(--cyan);
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}

.robot-chip:hover { background: rgba(0,229,255,.14); }

/* input form */
.robot-chat-form {
  display: flex;
  gap: 7px;
  padding: 0 12px 12px;
  flex-shrink: 0;
}

.robot-chat-input {
  flex: 1;
  height: 34px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 11px;
  font-size: 12.5px;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}

.robot-chat-input:focus { border-color: rgba(0,229,255,.4); }

.robot-chat-send {
  width: 34px; height: 34px;
  border-radius: var(--radius-md);
  background: var(--cyan);
  color: #05091a;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .1s;
  flex-shrink: 0;
}

.robot-chat-send:hover { background: rgba(0,229,255,.8); }
.robot-chat-send:active { transform: scale(.94); }

/* extend viewer 36px below container — overflow:hidden clips the watermark */
#robotSpline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -36px;      /* pushes bottom edge 36px outside container */
  width: 100%;
  height: calc(100% + 36px);
  display: block;
  z-index: 2;
}

@media (max-width: 640px) { .robot-3d-scene { height: 320px; } }
@media (max-width: 480px) { .robot-3d-scene { height: 280px; } }

/* ═══════════════════════════════════════════════════════
   Page Transition Veil
   ═══════════════════════════════════════════════════════ */

#page-veil {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #05091a;
  transform: translateY(0);   /* starts covering — JS slides it away */
  pointer-events: none;
  will-change: transform;
}

/* cyan accent line sweeps across as veil moves */
#page-veil::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,229,255,.6) 25%,
    #00e5ff 50%,
    rgba(0,229,255,.6) 75%,
    transparent 100%
  );
  box-shadow:
    0 0 14px rgba(0,229,255,.9),
    0 0 48px rgba(0,229,255,.35);
}

/* ═══════════════════════════════════════════════════════
   Limelight Nav Indicator
   ═══════════════════════════════════════════════════════ */

.nav-limelight {
  position: fixed;
  top: 0;
  height: 2px;
  width: 44px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow:
    0 0  6px rgba(0,229,255,1),
    0 0 18px rgba(0,229,255,.65),
    0 0 40px rgba(0,229,255,.25);
  pointer-events: none;
  z-index: 10001;   /* above navbar */
  left: -999px;     /* hidden until JS positions it */
}

.nav-limelight-beam {
  position: absolute;
  left: -28%;
  top: 2px;
  width: 156%;
  height: 54px;
  clip-path: polygon(6% 100%, 22% 0, 78% 0, 94% 100%);
  background: linear-gradient(to bottom, rgba(0,229,255,.18) 0%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .nav-limelight { display: none; }
}

/* ════════════════════════════════════════════════════════
   MOBILE & CROSS-BROWSER POLISH
   ════════════════════════════════════════════════════════ */

/* ── Missing -webkit-backdrop-filter prefixes ── */
.card,
.service-card,
.navbar,
.mobile-nav,
.contact-form-wrap,
.topic-card,
.process-step,
.cta-banner,
.svc-tab-panel,
.training-stats-wrap {
  -webkit-backdrop-filter: blur(10px);
}

/* ── iOS safe area (notch / home bar) ── */
.navbar .nav-inner {
  padding-left:  max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.footer .container {
  padding-left:  max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.whatsapp-float {
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  right:  max(24px, env(safe-area-inset-right));
}

/* ── dvh fallback for iOS Safari (100vh = includes address bar) ── */
@supports (min-height: 100dvh) {
  .about-hero       { min-height: 100dvh; }
  .se-wrapper       { min-height: 100dvh; }
}

/* ── Touch targets — minimum 44×44px on mobile ── */
@media (max-width: 768px) {
  .btn             { min-height: 44px; }
  .nav-cta-btn     { min-height: 44px; }
  .mobile-nav-link { min-height: 48px; display: flex; align-items: center; padding: 0 24px; }
  .hamburger       { min-width: 44px; min-height: 44px; }
  .whatsapp-float  { width: 56px; height: 56px; }
}

/* ── Prevent text size bump on orientation change (iOS) ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ── Prevent horizontal scroll bleed on mobile ── */
html, body { max-width: 100%; overflow-x: hidden; }

/* ── Particle canvas: contain on small screens ── */
@media (max-width: 480px) {
  .pt-inner { padding: 0 8px; }
  #particles-text {
    -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 50%, black 25%, rgba(0,0,0,.8) 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 95% 80% at 50% 50%, black 25%, rgba(0,0,0,.8) 55%, transparent 100%);
  }
}

/* ── Services orbital: scale down on small mobile ── */
@media (max-width: 400px) {
  .ot-scene { width: 320px !important; height: 320px !important; }
  .ot-ring  { width: 240px !important; height: 240px !important; }
}

/* ── Smooth scrolling — disable on reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Image rendering on retina ── */
img { image-rendering: -webkit-optimize-contrast; }
