/* ============================================================
   AMP COMPANY PROFILE — TERMINAL APEX STYLE
   Inspired by: Terminal Cyan Ledger Apex Architecture
   Accent: Orange #ff7b00 (AMP logo) + Cyan #00d2ff
   ============================================================ */

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

/* ---- CSS Variables ---------------------------------------- */
:root {
  --bg:        #060a13;
  --surface:   #0a0f1c;
  --surface2:  #111827;
  --accent:    #ff7b00;
  --accent2:   #00d2ff;
  --text:      #ffffff;
  --muted:     #8b95a5;
  --glass:     rgba(20, 27, 45, 0.65);
  --border:    rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 123, 0, 0.25);
  --glow:      0 0 20px rgba(255, 123, 0, 0.30);
  --glow-lg:   0 0 40px rgba(255, 123, 0, 0.40);
  --radius:    16px;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  /* Radial background glow */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,123,0,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,210,255,0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Light mode overrides */
body.light-mode {
  --bg:      #f0f2f5;
  --surface: #ffffff;
  --surface2:#f8fafc;
  --text:    #0a0f1c;
  --muted:   #555e6e;
  --glass:   rgba(255,255,255,0.75);
  --border:  rgba(0,0,0,0.10);
}
body.light-mode .logo-img,
body.light-mode .logo-text { filter: none; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Scrollbar -------------------------------------------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ---- Progress bar ----------------------------------------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  z-index: 9999;
  box-shadow: 0 0 10px var(--accent);
  transition: width .1s;
}

/* ---- Container -------------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---- Header ----------------------------------------------- */
.header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(6, 10, 19, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
body.light-mode .header.scrolled { background: rgba(255,255,255,0.85); }

.nav {
  display: flex; align-items: center; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 18px; letter-spacing: -0.5px;
}
.logo-img  { height: 44px; width: auto; flex-shrink: 0; }
.logo-text { display: none; }

/* Company name — single line, bold, always readable */
.logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2d3a6e;
  white-space: nowrap;
  line-height: 1;
}
.logo-name em {
  font-style: normal;
  color: #ff7b00;
}

/* Glowing white pill background behind logo + name */
.logo-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 10px;
  border-radius: 80px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(255, 255, 255, 0.35),
    0 0 40px rgba(255, 255, 255, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.logo:hover .logo-pill {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(255, 255, 255, 0.50),
    0 0 60px rgba(255, 255, 255, 0.20),
    0 4px 24px rgba(0, 0, 0, 0.30);
}

nav#navMenu { display: flex; gap: 28px; margin-left: auto; }
nav#navMenu a {
  font-size: 13px; font-weight: 500; letter-spacing: .6px;
  color: var(--muted); transition: color .2s;
  text-transform: uppercase;
}
nav#navMenu a:hover { color: var(--accent); }

.theme-toggle {
  background: none; border: 1px solid var(--border);
  color: var(--text); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, box-shadow .2s;
}
.theme-toggle:hover { border-color: var(--accent); box-shadow: var(--glow); }

.nav-cta {
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 20px;
  background: var(--accent);
  color: #060a13 !important;
  font-weight: 700; font-size: 13px; letter-spacing: .5px;
  border-radius: 300px;
  transition: box-shadow .3s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: var(--glow-lg); transform: translateY(-1px); }

.menu-btn {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); width: 40px; height: 40px;
  border-radius: 8px; font-size: 18px; cursor: pointer;
  margin-left: auto;
}

/* ---- Reveal animation ------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ---- Eyebrow label ---------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  max-width: 100%;
  word-break: break-word;
}
.eyebrow > span:first-child {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

/* ---- Section base ----------------------------------------- */
.section { padding: 120px 0; }

.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -2px; line-height: 1.1;
  margin-bottom: 20px;
}
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p { color: var(--muted); font-size: 17px; max-width: 560px; }
.section-head.centered { text-align: center; }
.section-head.centered p { margin: 0 auto; }

/* ---- HERO ------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
}
.glow-1 {
  width: 600px; height: 600px; top: -150px; right: -150px;
  background: radial-gradient(circle, rgba(255,123,0,0.12) 0%, transparent 70%);
}
.glow-2 {
  width: 500px; height: 500px; bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(0,210,255,0.08) 0%, transparent 70%);
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-copy h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 5.5vw, 76px);
  letter-spacing: -3px; line-height: 1.05;
  margin-bottom: 24px;
}
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p { color: var(--muted); font-size: 18px; max-width: 480px; margin-bottom: 36px; }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 28px;
  font-weight: 600; font-size: 15px; letter-spacing: .3px;
  border-radius: 300px; cursor: pointer; border: none;
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #060a13;
  box-shadow: 0 0 20px rgba(255,123,0,0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 35px rgba(255,123,0,0.55);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex; gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -1px; font-family: 'Space Grotesk', sans-serif; }
.hero-stats span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---- Dashboard card in Hero ------------------------------- */
.hero-visual { position: relative; }

.orb {
  position: absolute; width: 380px; height: 380px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,123,0,0.15) 0%, transparent 70%);
  filter: blur(40px);
}

.dashboard {
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,123,0,0.1);
  position: relative; z-index: 2;
}
.dash-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.dash-top b { color: var(--accent); font-weight: 500; font-size: 11px; }

.chart-label { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.chart-label strong { color: var(--accent); }

.bars {
  display: flex; align-items: flex-end; gap: 8px; height: 110px;
}
.bars i {
  flex: 1; display: block; border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(255,123,0,0.8), rgba(255,123,0,0.3));
  box-shadow: 0 0 8px rgba(255,123,0,0.3);
  font-style: normal;
}
.bars i:nth-child(even) {
  background: linear-gradient(to top, rgba(0,210,255,0.8), rgba(0,210,255,0.2));
  box-shadow: 0 0 8px rgba(0,210,255,0.3);
}

.dash-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 20px;
}
.dash-cards div {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-cards small { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.dash-cards strong { font-size: 18px; font-weight: 700; color: var(--text); }

.float-card {
  position: absolute; z-index: 3;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px; font-weight: 600;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--glow);
}
.float-card small { font-size: 11px; color: var(--muted); font-weight: 400; }
.card-a { top: -24px; left: -32px; }
.card-b { bottom: -20px; right: -24px; }

body.light-mode .dashboard,
body.light-mode .float-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .dash-cards div { background: rgba(0,0,0,0.04); }

/* ---- MARQUEE ---------------------------------------------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 0;
  overflow: hidden;
}
.marquee > div {
  display: flex; gap: 48px; width: max-content;
  animation: marqueeRoll 20s linear infinite;
}
.marquee span {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.marquee b { color: var(--accent); font-style: normal; }

@keyframes marqueeRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- ABOUT ------------------------------------------------ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 16px; line-height: 1.8; text-align: justify; }
.text-link { color: var(--accent); font-weight: 600; font-size: 15px; transition: opacity .2s; }
.text-link:hover { opacity: .75; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .3s, box-shadow .3s;
}
.value-card:hover { border-color: var(--border-accent); box-shadow: var(--glow); }
.value-card span {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; color: var(--accent);
  display: block; margin-bottom: 16px;
}
.value-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---- SERVICES --------------------------------------------- */
.services { background: var(--surface); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.service-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  display: flex; flex-direction: column; gap: 10px;
}
.service-card:hover { border-color: var(--border-accent); box-shadow: var(--glow); transform: translateY(-4px); }
.service-card .icon {
  font-size: 28px; color: var(--accent); margin-bottom: 8px;
  display: inline-block;
}
.service-card small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }
.service-card h3 { font-size: 19px; font-weight: 700; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; flex: 1; }
.service-card a { color: var(--accent); font-size: 14px; font-weight: 600; transition: opacity .2s; align-self: flex-start; }
.service-card a:hover { opacity: .7; }

.service-card.featured {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(255,123,0,0.12), rgba(20,27,45,0.8));
  border-color: var(--border-accent);
  box-shadow: 0 0 30px rgba(255,123,0,0.1);
}
.service-card.featured .icon { font-size: 40px; }
.service-card.featured h3 { font-size: 24px; }

/* ---- PROJECTS --------------------------------------------- */
.project-section { }
.project-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.project-heading > div { flex: 1; }
.project-heading > p { color: var(--muted); max-width: 340px; font-size: 15px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  auto-rows: 260px;
}
.project {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
  min-height: 260px;
}
.project:hover { border-color: var(--border-accent); transform: scale(1.02); }
.project.large { grid-column: span 2; grid-row: span 1; }
.project-bg {
  position: absolute; inset: 0;
  background-size: cover !important; background-position: center !important;
  transition: transform .5s ease;
}
.project:hover .project-bg { transform: scale(1.06); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(6,10,19,0.95) 0%, transparent 100%);
}
.project-info span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  color: var(--accent2); text-transform: uppercase;
}
.project-info h3 { font-size: 20px; font-weight: 700; margin: 6px 0 10px; color: #ffffff; }
.project-info a { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ---- PROCESS ---------------------------------------------- */
.process { background: var(--surface); }
.process-line {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px;
  position: relative;
}
.process-line::before {
  content: '';
  position: absolute; top: 36px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(to right, var(--accent), var(--accent2), var(--accent));
  opacity: 0.3;
}
.step {
  padding: 0 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.step b {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 1px;
  color: var(--accent); font-weight: 600;
  box-shadow: var(--glow);
  position: relative; z-index: 1;
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---- ACTIVITIES ------------------------------------------- */
.activity-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.activity-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.activity-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.activity-img { width: 100%; height: 200px; object-fit: cover; }
.activity-content { padding: 24px; }
.activity-date {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 8px;
}
.activity-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.activity-content p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.activity-content a { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---- CLIENTS ---------------------------------------------- */
.clients { background: var(--surface); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px; margin-top: 48px;
}
.client-logo {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, box-shadow .3s, transform .2s;
}
.client-logo:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255,123,0,0.25);
  transform: translateY(-3px);
}
.client-logo img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity .3s, transform .2s;
}
.client-logo:hover img { opacity: 1; transform: scale(1.05); }

/* Light mode — keep white bg, adjust border */
body.light-mode .client-logo {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .client-logo img { opacity: 0.9; }

/* ---- CTA -------------------------------------------------- */
.cta {
  padding: 80px 0;
}
.cta-box {
  background: linear-gradient(135deg, rgba(255,123,0,0.1), rgba(20,27,45,0.8));
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-accent);
  border-radius: 32px;
  padding: 70px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  box-shadow: 0 0 60px rgba(255,123,0,0.12);
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -2px; line-height: 1.1;
}
.cta-box h2 em { font-style: normal; color: var(--accent); }
.cta-right { display: flex; flex-direction: column; gap: 20px; }
.cta-right p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.mail { color: var(--accent2); font-size: 15px; font-weight: 500; }
.mail:hover { opacity: .8; }

/* ---- FOOTER ----------------------------------------------- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 2fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-grid small {
  display: block; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.footer-grid a, .footer-grid span {
  display: block; color: var(--muted);
  font-size: 14px; line-height: 2; transition: color .2s;
}
.footer-grid a:hover { color: var(--accent); }
.copyright {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 13px; color: var(--muted);
  font-family: var(--font-mono);
}

/* ---- Back to top ------------------------------------------ */
.top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #060a13;
  border: none; font-size: 20px; cursor: pointer;
  box-shadow: var(--glow);
  display: none; align-items: center; justify-content: center;
  transition: box-shadow .3s, transform .2s;
  z-index: 99;
}
.top-btn:hover { box-shadow: var(--glow-lg); transform: translateY(-3px); }

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-row: span 1; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project.large { grid-column: span 2; }
  .process-line { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-line::before { display: none; }
  .cta-box { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero-copy h1 { font-size: 40px; letter-spacing: -2px; }
  .two-col, .values { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project.large { grid-column: span 1; }
  .project-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .project-heading > p { max-width: 100%; margin-top: 8px; }
  .activity-grid { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 30px; letter-spacing: -1px; }
  .nav { gap: 12px; }
  .logo { margin-right: auto; max-width: calc(100% - 90px); }
  .logo-pill { padding: 4px 12px 4px 6px; gap: 6px; }
  .logo-img { height: 28px; }
  .logo-name { font-size: 11px; white-space: normal; line-height: 1.1; }
  nav#navMenu {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(6,10,19,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  nav#navMenu.open { display: flex; }
  nav#navMenu a { font-size: 15px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .cta-box { padding: 40px 24px; }
}

/* ── LIGHTBOX PROJECT ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 10, 19, 0.6);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lb-close, .lb-prev, .lb-next, .lb-controls button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover, .lb-controls button:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.lb-close {
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  font-size: 28px;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 32px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-controls {
  position: absolute;
  top: 24px; right: 88px;
  display: flex;
  gap: 12px;
}
.lb-controls button {
  position: relative;
  width: 48px; height: 48px;
  font-size: 24px;
}
.lb-img-container {
  width: 80%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.lb-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: scale(1);
}
.lb-desc {
  margin-top: 24px;
  width: 80%;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lb-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.lb-thumbnails img {
  height: 60px;
  width: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.lb-thumbnails img:hover {
  opacity: 0.8;
}
.lb-thumbnails img.active {
  opacity: 1;
  border-color: var(--primary);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 20px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 20px; }
  .lb-controls { top: 12px; right: 64px; }
  .lb-controls button { width: 40px; height: 40px; font-size: 20px; }
  .lb-img-container { width: 95%; height: 60vh; }
  .lb-desc { width: 95%; padding: 16px; font-size: 14px; margin-top: 16px; }
}