/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07101e;
  --bg-2:      #0b1827;
  --bg-card:   #0f2035;
  --bg-card-h: #132843;
  --blue:      #2d8eff;
  --blue-dim:  #1a73e8;
  --blue-glow: rgba(45,142,255,.13);
  --white:     #ffffff;
  --text:      #cdd8ee;
  --muted:     #6a7a99;
  --line:      rgba(255,255,255,.07);
  --radius:    6px;
  --radius-lg: 14px;
  --shadow:    0 8px 40px rgba(0,0,0,.4);
  --trans:     .3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.bg-light { background: var(--bg-2) !important; }
.bg-dark  { background: var(--bg-2) !important; color: var(--white); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; }
h1 { font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 700; line-height: 1.08; color: var(--white); }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--white); }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; color: var(--white); }
h4 { font-size: 1rem; font-weight: 600; color: var(--white); }
p  { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.section-tag::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--blue); border-radius: 2px; flex-shrink: 0;
}
.section-desc { max-width: 600px; margin: 0 auto 3rem; }
.center { text-align: center; }
.center .section-tag { justify-content: center; }
.light   { color: var(--white) !important; }
.light p { color: rgba(255,255,255,.6); }

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: all var(--trans);
  cursor: pointer; font-family: inherit;
}
.btn-primary {
  background: var(--blue); color: var(--white) !important; border: none;
}
.btn-primary:hover {
  background: var(--blue-dim); color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,142,255,.25);
}
.btn-outline {
  background: transparent; color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.05);
  color: var(--white) !important;
}
.full-width { width: 100%; text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all var(--trans);
}
.navbar::after {
  content: ''; position: absolute; inset: 0;
  background: transparent; backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: backdrop-filter .4s ease, background .4s ease, border-color .4s ease;
  pointer-events: none;
}
.navbar.scrolled::after {
  background: rgba(7,16,30,.9);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0 2.5rem; height: 72px;
  position: relative; z-index: 1;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-img { height: 38px; width: auto; flex-shrink: 0; }
.logo-word {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; font-weight: 700; letter-spacing: .14em; color: var(--white);
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-item {
  position: relative; color: rgba(255,255,255,.6);
  font-size: .88rem; font-weight: 500; letter-spacing: .01em;
  padding: .25rem 0; transition: color var(--trans); white-space: nowrap;
}
.nav-item:hover { color: var(--white); }
.nav-item.active { color: var(--white); }
.nav-pill {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--blue); border-radius: 2px;
}
.btn-contact {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue); color: var(--white) !important;
  padding: .5rem 1.2rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 600;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
}
.btn-contact:hover {
  background: var(--blue-dim);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,142,255,.25);
}
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; z-index: 1001;
}
.bar {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}
.bar-2 { width: 16px; }
.hamburger.open .bar-1 { transform: translateY(6.5px) rotate(45deg); width: 24px; }
.hamburger.open .bar-2 { opacity: 0; }
.hamburger.open .bar-3 { transform: translateY(-6.5px) rotate(-45deg); width: 24px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background-position: 65% center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero > .container { width: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(108deg, rgba(7,16,30,.96) 48%, rgba(7,16,30,.55) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,142,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,142,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 65% 50%, transparent 35%, black 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 148px 0 196px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--blue);
}
.hero-content h1 { color: var(--white); margin-bottom: 1.75rem; }
.hero-content h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  color: rgba(255,255,255,.58); font-size: 1.1rem;
  margin-bottom: 2.5rem; max-width: 520px; line-height: 1.85;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.3); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(45,142,255,.5), transparent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%,100% { opacity:.2; transform:scaleY(.5); transform-origin:top }
  50% { opacity:1; transform:scaleY(1) }
}

/* ===== STATS ===== */
.stats-bar { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  padding: 52px 32px; text-align: center;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: .5rem;
}
.stat-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-img-wrap {
  position: relative;
  border: 1.5px solid rgba(45,142,255,.6);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 6px;
}
.about-img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.about-text p { color: var(--muted); font-size: 1rem; }
.about-text strong { color: var(--text); font-weight: 600; }

/* Who We Are — home page two-column */
.who-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.who-text h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.35; margin-bottom: 1.5rem; }
.who-text p { font-size: .95rem; line-height: 1.8; color: var(--muted); margin-bottom: 1.1rem; }
.who-text p:last-of-type { margin-bottom: 0; }
.who-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.who-img::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid rgba(45,142,255,.3);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.who-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.25), 0 8px 20px rgba(0,0,0,.15);
  z-index: 2;
  pointer-events: none;
}
.who-photo {
  width: 100%; height: 480px; object-fit: cover; display: block;
  border-radius: var(--radius-lg);
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .who-layout { grid-template-columns: 1fr; gap: 3rem; }
  .who-img { order: -1; }
  .who-img::before { display: none; }
  .who-photo { height: 300px; }
}

/* ===== SERVICES ===== */
.svc-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.svc-card:hover {
  border-color: rgba(45,142,255,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.svc-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-glow);
  border: 1px solid rgba(45,142,255,.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1.25rem;
  transition: background var(--trans), border-color var(--trans);
}
.svc-card:hover .svc-card-icon {
  background: rgba(45,142,255,.2);
  border-color: rgba(45,142,255,.45);
}
.svc-card-icon svg { width: 22px; height: 22px; }
.svc-card-num {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .7rem; font-weight: 700;
  color: var(--muted); letter-spacing: .08em;
}
.svc-card-title {
  color: var(--white); font-size: 1rem;
  font-weight: 700; margin-bottom: .6rem;
}
.svc-card-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ===== CAPABILITIES ===== */
.cap-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.5rem; margin-top: 4rem;
}
.cap-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); height: 320px;
  border: 1px solid var(--line);
}
.cap-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease; display: block;
}
.cap-card:hover img { transform: scale(1.06); }
.cap-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,16,30,.95) 40%, rgba(7,16,30,.15) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; transition: background var(--trans);
}
.cap-card:hover .cap-overlay {
  background: linear-gradient(to top, rgba(7,16,30,.98) 50%, rgba(7,16,30,.25) 100%);
}
.cap-tag {
  position: absolute; top: 1.25rem; left: 1.25rem;
  background: var(--blue); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .28rem .8rem; border-radius: 50px;
}
.cap-overlay h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .4rem; }
.cap-overlay p  { color: rgba(255,255,255,.6); font-size: .88rem; margin: 0; }

/* ===== WHY US ===== */
.why-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8rem; align-items: start; }
.why-headline h2 { color: var(--white); margin-bottom: 1.25rem; }
.why-headline > p { color: var(--muted); margin-bottom: 2rem; }
.why-headline .btn-primary { margin-top: .5rem; }
.why-list { }
.why-row {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line);
}
.why-row:first-child { border-top: 1px solid var(--line); }
.why-row-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem; font-weight: 700; color: var(--blue);
  letter-spacing: .08em; margin-top: .15rem; flex-shrink: 0; width: 28px;
}
.why-row h3 { color: var(--white); font-size: 1rem; margin-bottom: .3rem; }
.why-row p  { font-size: .875rem; margin: 0; }

/* ===== INDUSTRIES ===== */
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem; text-align: left; height: 100%;
  transition: border-color var(--trans), transform var(--trans), background var(--trans);
}
.industry-card:hover {
  border-color: rgba(45,142,255,.4);
  background: var(--bg-card-h);
  transform: translateY(-4px);
}
.industry-icon { font-size: 1.5rem; color: var(--blue); display: block; margin-bottom: 1rem; }
.industry-card h4 { color: var(--white); margin-bottom: .4rem; font-size: .95rem; }
.industry-card p  { font-size: .82rem; margin: 0; }

/* ===== CLIENTS ===== */
.clients-marquee-wrap { margin-top: 3rem; position: relative; overflow: hidden; }
.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.clients-marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg-2), transparent); }
.clients-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), transparent); }
.clients-marquee { overflow: hidden; }
.clients-track {
  display: flex; gap: 1rem; width: max-content;
  animation: marquee 35s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
.client-logo-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 2.5rem; display: flex; align-items: center; justify-content: center;
  min-width: 220px; min-height: 110px; flex-shrink: 0;
  transition: border-color var(--trans);
}
.client-logo-card:hover { border-color: rgba(45,142,255,.3); }
.client-logo-card img {
  max-width: 150px; max-height: 64px;
  width: auto; height: auto; object-fit: contain;
  opacity: .75;
  transition: opacity var(--trans);
}
.client-logo-card img.logo-large { max-width: 180px; max-height: 80px; width: 100%; }
.client-logo-card img.logo-xl { max-width: 220px; max-height: 100px; width: 100%; }
.client-logo-card:hover img { opacity: 1; }
.client-logo-fallback {
  display: none; font-size: .75rem; font-weight: 700; color: var(--muted); text-align: center;
}
.client-logo-card:hover .client-logo-fallback { color: var(--blue); }

/* ===== NEWS ===== */
.news-layout {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem; margin-top: 4rem;
}
.news-featured {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--trans);
}
.news-featured:hover { border-color: rgba(45,142,255,.4); }
.news-featured-top {
  height: 240px; position: relative;
  background: linear-gradient(135deg, #051525 0%, #0d2b4e 60%, #1a5080 100%);
  display: flex; align-items: flex-end; padding: 1.75rem;
}
.news-feat-icon {
  position: absolute; right: 1.75rem; top: 50%; transform: translateY(-50%);
  font-size: 7rem; opacity: .08; color: #fff; pointer-events: none; line-height: 1;
}
.news-featured-body { padding: 2rem 2rem 2.25rem; flex: 1; display: flex; flex-direction: column; }
.news-featured-body h3 { color: var(--white); font-size: 1.25rem; line-height: 1.35; margin-bottom: .75rem; }
.news-featured-body p { font-size: .9rem; flex: 1; }
.news-side { display: flex; flex-direction: column; gap: 1.5rem; }
.news-mini {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  flex: 1; display: flex; flex-direction: column;
  transition: border-color var(--trans);
}
.news-mini:hover { border-color: rgba(45,142,255,.4); }
.news-mini-icon {
  width: 40px; height: 40px;
  background: var(--blue-glow); border: 1px solid rgba(45,142,255,.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1rem; margin-bottom: 1rem; flex-shrink: 0;
}
.news-mini h3 { color: var(--white); font-size: 1rem; line-height: 1.4; margin-bottom: .5rem; }
.news-mini p  { font-size: .85rem; flex: 1; }
.news-date { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .05em; margin-bottom: .6rem; display: block; }
.news-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 50px; margin-bottom: .75rem;
}
.news-badge--news  { background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(45,142,255,.25); }
.news-badge--event { background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.12); }
.news-read-more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.25rem; color: var(--blue); font-weight: 600; font-size: .85rem;
  transition: gap var(--trans);
}
.news-read-more:hover { gap: .75rem; }
.news-read-more::after { content: '→'; }

/* ===== NEWS SINGLE CARD ===== */
.news-single {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; margin-top: 3.5rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.news-single-img-wrap { overflow: hidden; min-height: 380px; }
.news-single-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.news-single:hover .news-single-img { transform: scale(1.03); }
.news-single-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex; flex-direction: column; justify-content: center;
}
.news-single-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
a.news-single { text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease; }
a.news-single:hover { border-color: var(--blue); box-shadow: 0 12px 40px rgba(37,99,235,.15); }
a.news-single:hover .news-single-img { transform: scale(1.03); }
.news-single-body h3 { color: var(--white); font-size: 1.45rem; line-height: 1.35; margin-bottom: 1rem; }
.news-single-body p { font-size: .95rem; line-height: 1.8; }
.news-single-proj-meta { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.1rem; font-size: .82rem; }
.news-single-proj-meta > div { display: flex; gap: .5rem; }
.pm-label { color: var(--blue); font-weight: 700; min-width: 110px; }
.pm-val { color: var(--muted); }
@media (max-width: 768px) {
  .news-single { grid-template-columns: 1fr; }
  .news-single-body { padding: 1.75rem; }
  .news-single-img-wrap { min-height: 240px; }
}

/* ===== NEWS PAGE CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--trans), transform var(--trans);
}
.news-card:hover { border-color: rgba(45,142,255,.4); transform: translateY(-4px); }
.news-card-top {
  height: 148px; position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.news-card-top--1 { background: linear-gradient(135deg, #051a30 0%, #0d3060 100%); }
.news-card-top--2 { background: linear-gradient(135deg, #071e38 0%, #0e4272 100%); }
.news-card-top--3 { background: linear-gradient(135deg, #061525 0%, #0b3358 100%); }
.news-card-illustration {
  font-size: 4rem; color: rgba(255,255,255,.08);
  position: absolute; right: 1.5rem; bottom: 1rem;
  pointer-events: none;
}
.news-card-top .news-badge {
  position: absolute; top: 1rem; left: 1rem;
}
.news-card-body {
  padding: 1.5rem; flex: 1; display: flex; flex-direction: column;
}
.news-card-body .news-date {
  font-size: .72rem; color: var(--muted); font-weight: 600;
  letter-spacing: .04em; margin-bottom: .6rem; display: block;
}
.news-card-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--white);
  line-height: 1.45; margin-bottom: .65rem;
}
.news-card-body p {
  font-size: .85rem; color: var(--muted); line-height: 1.65; margin: 0; flex: 1;
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .news-grid { grid-template-columns: 1fr; } }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { font-size: 1rem; margin-bottom: 2.5rem; color: var(--muted); }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--blue-glow); border: 1px solid rgba(45,142,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1rem; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: .25rem; }
.contact-item span, .contact-item a { display: block; color: var(--text); font-size: .95rem; }
.contact-item a:hover { color: var(--blue); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-label {
  font-size: .75rem; font-weight: 700; color: var(--muted);
  margin-bottom: .4rem; letter-spacing: .08em; text-transform: uppercase;
}
.form-control {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem 1rem; font-family: inherit; font-size: .95rem;
  color: var(--text); transition: border-color var(--trans);
  box-shadow: none !important;
}
.form-control::placeholder { color: var(--muted); opacity: .5; }
.form-control:focus { border-color: var(--blue); outline: none; background: var(--bg-2); color: var(--text); }
select.form-control option { background: var(--bg-card); color: var(--text); }
.form-success { display:none; margin-top:1rem; text-align:center; color:#4ade80; font-weight:600; font-size:.9rem; }
.form-error   { display:none; margin-top:1rem; text-align:center; color:#f87171; font-weight:600; font-size:.9rem; }

/* ===== FOOTER ===== */
.footer { background: #040c18; color: rgba(255,255,255,.55); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding: 80px 2.5rem 56px;
}
.footer-brand p { font-size: .88rem; margin-top: 1rem; line-height: 1.8; color: rgba(255,255,255,.35); }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links h4 {
  color: rgba(255,255,255,.85); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .75rem; font-family: 'Space Grotesk', sans-serif;
}
.footer-links a, .footer-links span { font-size: .875rem; color: rgba(255,255,255,.4); transition: color var(--trans); }
.footer-links a:hover { color: var(--blue); }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: 1rem;
  transition: background var(--trans), color var(--trans);
}
.footer-socials a:hover { background: var(--blue); color: var(--white); }
.social-soon {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); cursor: not-allowed;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem 2.5rem;
}
.footer-bottom p { color: rgba(255,255,255,.28); font-size: .78rem; margin: 0; }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.45); flex-shrink: 0;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.theme-toggle:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
}
/* Default (light): show moon to switch to dark */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
/* Dark mode: show sun to switch to light */
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --bg:        #07101e;
  --bg-2:      #0b1827;
  --bg-card:   #0f2035;
  --bg-card-h: #132843;
  --blue-glow: rgba(45,142,255,.13);
  --text:      #cdd8ee;
  --muted:     #6a7a99;
  --line:      rgba(255,255,255,.07);
  --shadow:    0 8px 40px rgba(0,0,0,.4);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg:        #f5f7fb;
  --bg-2:      #edf1f7;
  --bg-card:   #ffffff;
  --bg-card-h: #f0f4ff;
  --blue-glow: rgba(45,142,255,.09);
  --text:      #2c3e52;
  --muted:     #5e6e80;
  --line:      rgba(0,0,0,.09);
  --shadow:    0 8px 40px rgba(0,0,0,.1);
}

/* Headings → dark in light mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 { color: #0f1e30; }

/* Restore white for dark-overlay / footer contexts */
[data-theme="light"] .hero-content h1,
[data-theme="light"] .cap-overlay h3,
[data-theme="light"] .footer h1,
[data-theme="light"] .footer h2,
[data-theme="light"] .footer h3,
[data-theme="light"] .footer h4 { color: #ffffff; }

/* Navbar — scrolled: switch to dark text on solid light background */
[data-theme="light"] .navbar.scrolled .logo-word { color: #0f1e30; }
[data-theme="light"] .navbar.scrolled .nav-item { color: rgba(15,30,48,.55); }
[data-theme="light"] .navbar.scrolled .nav-item:hover,
[data-theme="light"] .navbar.scrolled .nav-item.active { color: #0f1e30; }
[data-theme="light"] .navbar.scrolled .bar { background: #0f1e30; }
[data-theme="light"] .navbar.scrolled::after {
  background: rgba(245,247,251,.95);
  border-bottom-color: rgba(0,0,0,.08);
}

/* Btn-outline on light backgrounds */
[data-theme="light"] .btn-outline {
  color: var(--blue) !important;
  border-color: var(--blue);
}
[data-theme="light"] .btn-outline:hover {
  border-color: var(--blue);
  background: rgba(45,142,255,.08);
  color: var(--blue) !important;
}

/* Btn-outline on dark backgrounds (hero overlay, bg-dark sections) stays white */
[data-theme="light"] .hero-btns .btn-outline,
[data-theme="light"] .bg-dark .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,.25);
}
[data-theme="light"] .hero-btns .btn-outline:hover,
[data-theme="light"] .bg-dark .btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.05);
  color: #ffffff !important;
}

/* News event badge */
[data-theme="light"] .news-badge--event {
  background: rgba(0,0,0,.04);
  color: var(--muted);
  border-color: rgba(0,0,0,.1);
}

/* Keep .bg-dark sections truly dark in light mode + restore white text */
[data-theme="light"] .bg-dark { background: #0b1827 !important; }
[data-theme="light"] .bg-dark h1,
[data-theme="light"] .bg-dark h2,
[data-theme="light"] .bg-dark h3,
[data-theme="light"] .bg-dark h4 { color: #ffffff; }
[data-theme="light"] .bg-dark p { color: rgba(255,255,255,.55); }
[data-theme="light"] .bg-dark .why-row { border-color: rgba(255,255,255,.07); }

/* ===== FADE ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2,1fr); }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .news-layout { grid-template-columns: 1fr; }
  .news-side { flex-direction: row; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-scroll-hint { display: none; }
  .about-grid { gap: 3.5rem; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4,12,24,.97); backdrop-filter: blur(20px);
    justify-content: center; align-items: center;
    gap: 2.25rem; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-item { font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,.85); }
  .nav-pill { display: none; }
  .btn-contact { font-size: 1rem; padding: .6rem 1.6rem; }
  .hamburger { display: flex; }
  .nav-inner { height: 64px; padding: 0 1.5rem; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item { padding: 36px 20px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .hero-content { padding: 120px 0 80px; }
  .cap-grid { grid-template-columns: 1fr; }
  .clients-marquee-wrap::before,
  .clients-marquee-wrap::after { width: 48px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-side { flex-direction: column; }
  .contact-form { padding: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 60px 1.5rem 40px; }

  /* Light mode mobile nav */
  [data-theme="light"] .nav-links { background: rgba(245,247,251,.98); }
  [data-theme="light"] .nav-item { color: rgba(15,30,48,.8); }
  [data-theme="light"] .nav-item:hover,
  [data-theme="light"] .nav-item.active { color: #0f1e30; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 0 60px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .clients-marquee-wrap::before,
  .clients-marquee-wrap::after { width: 32px; }
  .contact-form { padding: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 1.5rem 36px; }
  .cap-card { height: 260px; }
}
