@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
  /* ── Light-medium base: steel-blue slate, NOT dark navy ── */
  --bg-base:       #e8eef8;
  --bg-surface:    #dde5f5;
  --bg-card:       #ffffff;
  --bg-card-hover: #f4f7ff;
  --bg-nav:        rgba(240,244,255,0.94);

  /* ── Vivid accent palette ── */
  --cyan:    #0096b4;
  --lime:    #5aaa00;
  --amber:   #d4900a;
  --coral:   #e04040;
  --violet:  #7c3aed;
  --pink:    #d4006a;
  --sky:     #0284c7;
  --mint:    #059669;

  /* ── Vivid for gradient text / large display (brighter) ── */
  --cyan-v:   #06d6f0;
  --lime-v:   #a8f060;
  --violet-v: #9b5de5;
  --pink-v:   #f72585;
  --amber-v:  #ffbe0b;
  --coral-v:  #ff6b6b;

  /* ── Text on light bg ── */
  --text-primary:   #1a2340;
  --text-secondary: #3d4f72;
  --text-muted:     #6b7fa8;
  --white:          #ffffff;

  --border:        rgba(100,130,200,0.18);
  --border-bright: rgba(100,130,200,0.38);

  --radius:    10px;
  --radius-lg: 18px;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --tr: 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

/* Fine grain texture – very subtle on light bg */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
a { color: var(--violet); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
p { color: var(--text-secondary); }

h1, h2 { font-family: var(--font-heading); font-weight: 400; line-height: 1.05; letter-spacing: 0.02em; }
h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.08rem; }

/* Gradient text helpers */
.grad-cl  { background: linear-gradient(120deg, var(--cyan-v), var(--lime-v));   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-vp  { background: linear-gradient(120deg, var(--violet-v), var(--pink-v)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-ac  { background: linear-gradient(120deg, var(--amber-v), var(--coral-v)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.tc { color: var(--cyan); } .tl { color: var(--lime); }
.ta { color: var(--amber); } .tv { color: var(--violet); }
.tcor { color: var(--coral); } .ts_ { color: var(--sky); }

/* Section labels */
.section-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 2px; display: inline-block; }

.section-title { margin-bottom: 14px; color: var(--text-primary); }
.section-subtitle { color: var(--text-secondary); max-width: 560px; margin-bottom: 50px; font-size: 1.02rem; line-height: 1.75; }

/* Badges */
.badge { display: inline-block; font-family: var(--font-mono); font-size: 0.67rem; padding: 3px 10px; border-radius: 30px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; border: 1px solid; font-weight: 600; }
.badge-cyan   { color: #005f72; border-color: rgba(0,150,180,0.4);   background: rgba(0,150,180,0.1); }
.badge-lime   { color: #356200; border-color: rgba(90,170,0,0.4);    background: rgba(90,170,0,0.1); }
.badge-amber  { color: #7a4f00; border-color: rgba(212,144,10,0.4);  background: rgba(212,144,10,0.1); }
.badge-coral  { color: #7a1010; border-color: rgba(224,64,64,0.4);   background: rgba(224,64,64,0.1); }
.badge-violet { color: #4a1a9e; border-color: rgba(124,58,237,0.4);  background: rgba(124,58,237,0.1); }
.badge-pink   { color: #7a003c; border-color: rgba(212,0,106,0.4);   background: rgba(212,0,106,0.1); }
.badge-sky    { color: #014e80; border-color: rgba(2,132,199,0.4);   background: rgba(2,132,199,0.1); }
.badge-mint   { color: #014d35; border-color: rgba(5,150,105,0.4);   background: rgba(5,150,105,0.1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all var(--tr); }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; box-shadow: 0 4px 18px rgba(124,58,237,0.28); }
.btn-primary:hover { background: linear-gradient(135deg, var(--pink), var(--lime)); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,0,106,0.3); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid rgba(124,58,237,0.5); color: var(--violet); }
.btn-outline:hover { background: rgba(124,58,237,0.08); border-color: var(--violet); transform: translateY(-2px); color: var(--violet); }

/* Navbar */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--bg-nav); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); transition: all var(--tr); }
#navbar.scrolled { box-shadow: 0 4px 24px rgba(100,120,200,0.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.nav-logo img.logo-img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); padding: 7px 13px; border-radius: 8px; transition: all var(--tr); }
.nav-links a:hover, .nav-links a.active { color: var(--violet); background: rgba(124,58,237,0.07); }
.nav-cta { margin-left: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--violet); border-radius: 2px; transition: all var(--tr); }

/* Hero */
#hero { min-height: 100vh; display: flex; align-items: center; padding: 110px 0 70px; position: relative; overflow: hidden; }

/* Light hero backdrop — coloured tint, not dark */
.hero-backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 80% 35%, rgba(124,58,237,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0,150,180,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 95%, rgba(212,144,10,0.07) 0%, transparent 55%);
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(100,120,200,0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 0%, transparent 75%);
}
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--lime); background: rgba(90,170,0,0.1); border: 1px solid rgba(90,170,0,0.3); padding: 6px 14px; border-radius: 30px; margin-bottom: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; animation: pulse 2s infinite; }
.hero-h1 { margin-bottom: 18px; line-height: 0.95; }
.hero-desc { font-size: 1.06rem; margin-bottom: 34px; max-width: 490px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 32px; }
.stat-num { font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* Terminal — light glass card */
.hero-visual { position: relative; }
.terminal-wrap {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-lg); overflow: hidden;
  width: 100%; max-width: 460px;
  box-shadow: 0 20px 60px rgba(100,120,200,0.2), 0 0 0 1px rgba(124,58,237,0.06);
  position: relative; backdrop-filter: blur(16px);
}
.terminal-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--violet), var(--cyan-v), var(--lime-v), var(--amber-v)); }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px 10px; border-bottom: 1px solid rgba(100,130,200,0.15); background: rgba(236,241,255,0.6); }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.r { background: #e63946; } .t-dot.y { background: #f59e0b; } .t-dot.g { background: #10b981; }
.terminal-title { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-left: 6px; letter-spacing: 0.1em; }
.terminal-body { font-family: var(--font-mono); font-size: 0.8rem; line-height: 2; padding: 14px 20px 18px; background: rgba(248,250,255,0.8); }
.t-line { display: block; }
.t-prompt { color: var(--lime); } .t-cmd { color: var(--text-primary); }
.t-out { color: var(--cyan); padding-left: 14px; } .t-comment { color: var(--text-muted); }
/* AS/400 5250 dark green-screen override */
.as400-body {
  background: #001800;
  color: #22ee22;
  padding: 10px 16px 12px;
  line-height: 1.6;
  font-size: 0.72rem;
}
.t400-topbar { display:flex; justify-content:space-between; color:#22ee22; font-size:0.65rem; margin-bottom:2px; }
.t400-title  { display:block; text-align:center; color:#ffffff; font-weight:600; letter-spacing:0.5px; font-size:0.75rem; }
.t400-sub    { display:block; text-align:center; color:#22ee22; font-size:0.65rem; margin-bottom:4px; }
.t400-dim    { color:rgba(34,238,34,0.55); }
.t400-item   { color:#22ee22; }
.t400-sel    { color:#ffff55; }
.t400-num    { color:#ffffff; }
.t400-fkey   { display:block; color:rgba(34,238,34,0.5); font-size:0.65rem; border-top:1px solid #224422; padding-top:4px; }
.t400-arrow  { color:#22ee22; }
/* keep cursor visible on dark bg */
.as400-body .cursor { background:#22ee22; }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--lime); vertical-align: middle; animation: blink 1s step-end infinite; }
.float-chip { position: absolute; border: 1px solid; border-radius: 10px; padding: 9px 14px; font-family: var(--font-mono); font-size: 0.7rem; display: flex; align-items: center; gap: 7px; animation: float 4s ease-in-out infinite; backdrop-filter: blur(12px); }
.float-chip.top { top: -18px; right: -18px; color: #356200; background: rgba(240,250,228,0.95); border-color: rgba(90,170,0,0.4); box-shadow: 0 4px 16px rgba(90,170,0,0.15); }
.float-chip.bot { bottom: -18px; left: -18px; color: #7a4f00; background: rgba(255,248,228,0.95); border-color: rgba(212,144,10,0.4); box-shadow: 0 4px 16px rgba(212,144,10,0.15); animation-delay: 2s; }

/* Sections */
section { padding: 90px 0; position: relative; z-index: 1; }
.section-header { margin-bottom: 54px; }

/* About */
#about { background: rgba(255,255,255,0.5); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); width: 100%; border: 1px solid var(--border); }
.about-img-wrap::before { content: ''; position: absolute; inset: -3px; border-radius: calc(var(--radius-lg)+3px); background: linear-gradient(135deg, var(--violet), var(--cyan-v), var(--lime-v)); z-index: -1; opacity: 0.4; }
.about-badge-overlay { position: absolute; bottom: 18px; right: 18px; background: rgba(255,255,255,0.92); border: 1px solid rgba(124,58,237,0.25); border-radius: var(--radius); padding: 14px 18px; font-family: var(--font-mono); text-align: center; backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(100,120,200,0.15); }
.about-badge-overlay .num { font-family: var(--font-heading); font-size: 2.4rem; color: var(--violet); line-height: 1; }
.about-badge-overlay .lbl { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tech-chip { font-family: var(--font-mono); font-size: 0.7rem; padding: 5px 13px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-secondary); background: rgba(255,255,255,0.6); transition: all var(--tr); }
.tech-chip:hover { border-color: var(--violet); color: var(--violet); background: rgba(124,58,237,0.06); }
.about-features { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.feat-item { display: flex; align-items: flex-start; gap: 12px; }
.feat-icon-wrap { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.fi-c { background: rgba(0,150,180,0.1);  border: 1px solid rgba(0,150,180,0.3); }
.fi-v { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); }
.fi-a { background: rgba(212,144,10,0.1); border: 1px solid rgba(212,144,10,0.3); }
.feat-title { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; margin-bottom: 2px; }
.feat-desc  { font-size: 0.85rem; color: var(--text-muted); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 20px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all var(--tr); position: relative; overflow: hidden; }
.service-card:nth-child(1)  { border-top: 2.5px solid var(--cyan); }
.service-card:nth-child(2)  { border-top: 2.5px solid var(--lime); }
.service-card:nth-child(3)  { border-top: 2.5px solid var(--amber); }
.service-card:nth-child(4)  { border-top: 2.5px solid var(--coral); }
.service-card:nth-child(5)  { border-top: 2.5px solid var(--violet); }
.service-card:nth-child(6)  { border-top: 2.5px solid var(--pink); }
.service-card:nth-child(7)  { border-top: 2.5px solid var(--sky); }
.service-card:nth-child(8)  { border-top: 2.5px solid var(--mint); }
.service-card:nth-child(9)  { border-top: 2.5px solid var(--amber); }
.service-card:nth-child(10) { border-top: 2.5px solid var(--cyan); }
.service-card:nth-child(11) { border-top: 2.5px solid var(--violet); }
.service-card:nth-child(12) { border-top: 2.5px solid var(--coral); }
.service-card:hover { border-color: rgba(124,58,237,0.3); background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: 0 16px 45px rgba(100,120,200,0.18); }
.svc-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.sc1 { background: rgba(0,150,180,0.1);  border: 1px solid rgba(0,150,180,0.3); }
.sc2 { background: rgba(90,170,0,0.1);   border: 1px solid rgba(90,170,0,0.3); }
.sc3 { background: rgba(212,144,10,0.1); border: 1px solid rgba(212,144,10,0.3); }
.sc4 { background: rgba(224,64,64,0.1);  border: 1px solid rgba(224,64,64,0.3); }
.sc5 { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); }
.sc6 { background: rgba(212,0,106,0.1);  border: 1px solid rgba(212,0,106,0.3); }
.svc-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.svc-desc  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

/* Why Us */
#why-us { background: rgba(255,255,255,0.5); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: all var(--tr); overflow: hidden; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(100,120,200,0.18); }
.why-card:nth-child(1) { border-bottom: 2.5px solid var(--cyan); }
.why-card:nth-child(2) { border-bottom: 2.5px solid var(--violet); }
.why-card:nth-child(3) { border-bottom: 2.5px solid var(--amber); }
.why-card:nth-child(4) { border-bottom: 2.5px solid var(--lime); }
.why-card:nth-child(5) { border-bottom: 2.5px solid var(--coral); }
.why-card:nth-child(6) { border-bottom: 2.5px solid var(--sky); }
.why-num   { font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; margin-bottom: 6px; }
.why-title { font-weight: 700; color: var(--text-primary); font-size: 0.9rem; margin-bottom: 7px; }
.why-desc  { font-size: 0.8rem; color: var(--text-muted); }

/* Tech carousel */
.tech-carousel { overflow: hidden; position: relative; padding: 18px 0; }
.tech-carousel::before, .tech-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.tech-carousel::before { left: 0;  background: linear-gradient(90deg, var(--bg-base), transparent); }
.tech-carousel::after  { right: 0; background: linear-gradient(-90deg, var(--bg-base), transparent); }
.tech-track { display: flex; gap: 12px; animation: scroll 28s linear infinite; width: max-content; }
.tech-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.7); border: 1px solid var(--border); border-radius: 40px; padding: 9px 18px; white-space: nowrap; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); transition: all var(--tr); }
.tech-pill:nth-child(4n+1):hover { border-color: var(--cyan);   color: var(--cyan); }
.tech-pill:nth-child(4n+2):hover { border-color: var(--lime);   color: var(--lime); }
.tech-pill:nth-child(4n+3):hover { border-color: var(--amber);  color: var(--amber); }
.tech-pill:nth-child(4n+4):hover { border-color: var(--violet); color: var(--violet); }

/* Contact */
#contact { background: rgba(255,255,255,0.5); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.cd-icon { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ci1 { background: rgba(0,150,180,0.1);  border: 1px solid rgba(0,150,180,0.25); }
.ci2 { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25); }
.ci3 { background: rgba(212,144,10,0.1); border: 1px solid rgba(212,144,10,0.25); }
.ci4 { background: rgba(90,170,0,0.1);   border: 1px solid rgba(90,170,0,0.25); }
.cd-label { font-size: 0.7rem; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.cd-value { font-size: 0.95rem; color: var(--text-primary); font-weight: 500; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(100,120,200,0.1); }
.contact-form-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--violet), var(--cyan-v), var(--lime-v), var(--amber-v), var(--coral-v)); }
.form-title { font-family: var(--font-heading); font-size: 2rem; color: var(--text-primary); margin-bottom: 4px; line-height: 1; }
.form-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.74rem; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--bg-base); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 12px 16px; color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem; transition: border-color var(--tr), box-shadow var(--tr); outline: none; -webkit-appearance: none; }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 6px; }
.form-status { display: none; padding: 12px 16px; border-radius: var(--radius); margin-top: 14px; font-size: 0.88rem; font-weight: 500; }
.form-status.success { background: rgba(90,170,0,0.1); border: 1px solid rgba(90,170,0,0.3); color: var(--lime); display: block; }
.form-status.error   { background: rgba(224,64,64,0.1); border: 1px solid rgba(224,64,64,0.3); color: var(--coral); display: block; }

/* Footer — medium-dark for contrast against light body */
#footer { background: #1a2340; border-top: 1px solid rgba(255,255,255,0.08); padding: 60px 0 30px; }
#footer p, #footer .footer-col ul li a { color: #94a8c8; }
#footer .footer-col h4 { color: #5a7090; }
#footer .footer-brand .footer-p { color: #94a8c8; }
#footer a:hover { color: var(--cyan-v); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer-brand-p { font-size: 0.88rem; color: #94a8c8; margin-top: 14px; margin-bottom: 20px; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #94a8c8; transition: all var(--tr); text-decoration: none; }
.social-link:hover { border-color: var(--cyan-v); color: var(--cyan-v); background: rgba(6,214,240,0.08); }
.footer-col h4 { font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.87rem; transition: color var(--tr); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: #5a7090; margin: 0; }
.footer-bottom a { color: #5a7090; }
.footer-bottom a:hover { color: var(--cyan-v); }
.footer-logo-img { height: 44px; width: auto; filter: brightness(0) invert(1) opacity(0.8); }

/* Back to top */
#back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: linear-gradient(135deg, var(--violet), var(--cyan)); border: none; border-radius: 10px; color: #fff; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: all var(--tr); z-index: 999; box-shadow: 0 4px 16px rgba(124,58,237,0.3); }
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: linear-gradient(135deg, var(--pink), var(--lime)); }

/* Keyframes */
@keyframes blink  { 50% { opacity: 0; } }
@keyframes pulse  { 0%,100% { box-shadow: 0 0 0 0 rgba(90,170,0,0.5); } 50% { box-shadow: 0 0 0 6px rgba(90,170,0,0); } }
@keyframes float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout, .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .terminal-wrap { max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  body.nav-open .nav-links { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-nav); backdrop-filter: blur(18px); padding: 20px; gap: 4px; border-bottom: 1px solid var(--border); }
  body.nav-open .nav-cta { display: flex; justify-content: center; padding: 0 20px 20px; position: fixed; left: 0; right: 0; background: var(--bg-nav); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ── About Visual Panel (replaces img-wrap) ── */
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.about-illus-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(100,120,200,0.15);
  background: #dde5f5;
  background-clip: padding-box;
  position: relative;
  flex: 1;           /* grow to fill all available vertical space */
  min-height: 300px; /* floor so card never collapses */
  display: flex;
  flex-direction: column;
}
.about-illus-card svg {
  flex: 1;
  width: 100%;
  height: 100%;
  display: block;
}
.about-illus-card::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: linear-gradient(135deg, var(--violet), var(--cyan-v), var(--lime-v));
  z-index: -1; opacity: 0.45;
}
.about-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: 20px;
  color: var(--tc);
  background: var(--bg);
  border: 1px solid var(--bc);
  transition: all var(--tr);
}
.about-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════════════
   CORPORATE TRAINING SECTION
══════════════════════════════════════════ */
#training {
  background: linear-gradient(180deg,
    rgba(124,58,237,0.04) 0%,
    rgba(255,255,255,0.5) 40%,
    rgba(0,150,180,0.04) 100%);
}

/* Training cards grid */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.training-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2.5px solid var(--card-accent, var(--violet));
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.training-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--card-accent, var(--violet)), transparent);
  opacity: 0;
  transition: opacity var(--tr);
}
.training-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(100,120,200,0.16);
  border-color: rgba(124,58,237,0.25);
}
.training-card:hover::after { opacity: 1; }

.tc-icon {
  width: 50px; height: 50px;
  border-radius: 12px; border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.tc-title {
  font-size: 1.02rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 10px;
}
.tc-desc {
  font-size: 0.86rem; color: var(--text-muted); line-height: 1.65;
}

/* Locations banner */
.training-locations {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 8px 32px rgba(100,120,200,0.1);
  position: relative; overflow: hidden;
}
.training-locations::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan-v), var(--lime-v), var(--amber-v));
}

.tl-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.tl-icon { font-size: 2rem; }
.tl-title {
  font-family: var(--font-heading); font-size: 1.8rem;
  color: var(--text-primary); line-height: 1;
}
.tl-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.tl-grid {
  display: flex;
  gap: 0;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tl-region { flex: 1; min-width: 180px; padding: 0 24px; }
.tl-region:first-child { padding-left: 0; }

.tl-region-label {
  font-family: var(--font-heading); font-size: 1.4rem;
  letter-spacing: 0.04em; margin-bottom: 12px; line-height: 1;
}

.tl-cities {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tl-city {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  padding: 5px 13px; border-radius: 20px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  color: var(--text-secondary); transition: all var(--tr);
}
.tl-city:hover {
  border-color: var(--violet); color: var(--violet);
  background: rgba(124,58,237,0.05);
}

.tl-divider {
  width: 1px; align-self: stretch;
  background: var(--border); margin: 0 4px;
  min-height: 80px;
}

/* Responsive */
@media (max-width: 768px) {
  .training-grid { grid-template-columns: 1fr; }
  .tl-grid { flex-direction: column; gap: 24px; }
  .tl-region { padding: 0 !important; }
  .tl-divider { width: 100%; height: 1px; min-height: auto; margin: 0; }
  .training-locations { padding: 24px 20px; }
}
