* { box-sizing: border-box; }

body { 
  margin: 0; 
  padding: 0; 
  background: #f8fafc; 
  font-family: 'Inter', sans-serif; 
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media(max-width: 768px) {
  .container { padding: 0 20px; }
}

/* SECTION SPACING â€” applied globally to every section */
section {
  padding: 96px 0;
}

section + section {
  padding-top: 96px;
}

/* ALTERNATE SECTION BACKGROUNDS */
section:nth-child(even) {
  background: #f1f5f9;
}

section:nth-child(odd) {
  background: #f8fafc;
}

/* SECTION HEADINGS */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #E8922A;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* CARDS */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: #E8922A;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover { background: #d4821e; color: #fff; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #E8922A;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid #E8922A;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover { background: #fff7ed; }

/* OVERRIDE Bootstrap defaults that kill spacing */
.row { margin: 0; }
p { margin-bottom: 0; }
h1,h2,h3,h4,h5 { margin-bottom: 0; }

/* NAV CSS */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: #E8922A; }
.nav-links a.active { color: #E8922A; font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: #E8922A;
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* PARTNER LOGOS â€” MARQUEE */
.partners-section {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94a3b8;
  margin-bottom: 36px;
}
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.partner-item img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%) opacity(45%);
  transition: filter 0.3s ease;
}
.partner-item img:hover {
  filter: grayscale(0%) opacity(100%);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CLIENTS MARQUEE — inherits .marquee-wrapper / .marquee-track / .partner-item from partners */
.clients-section {
  padding: 56px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

/* Override partner-item img for clients (slightly larger max-width) */
.clients-section .partner-item img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(50%);
  transition: filter 0.3s ease;
}
.clients-section .partner-item img:hover {
  filter: grayscale(0%) opacity(100%);
}

/* TEXT FALLBACK BADGE — for gov/entities without public CDN logos */
.partner-text-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  transition: all 0.3s;
}
.partner-text-fallback:hover {
  color: #4A6080;
  border-color: #4A6080;
}

/* ============================================
   CLIENTS PAGE
   ============================================ */

.clients-hero {
  background: #1e293b;
  color: #fff;
  padding: 100px 0 60px;
}
.clients-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 12px 0 20px;
  line-height: 1.2;
}
.clients-hero p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.75;
}

/* Stats Bar */
.clients-stats-bar {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 40px 0;
}
.clients-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
@media(max-width: 768px) {
  .clients-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.clients-stat {
  padding: 0 24px;
  border-right: 1px solid #e2e8f0;
}
.clients-stat:last-child { border-right: none; }
.clients-stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #E8922A;
  font-family: 'Inter', sans-serif;
}
.clients-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Clients Grid */
.clients-grid-section {
  background: #f8fafc;
  padding: 96px 0;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media(max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 640px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Client Card */
.client-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: #E8922A;
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}
.client-card img {
  height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: grayscale(100%) opacity(60%);
  transition: filter 0.3s ease;
}
.client-card:hover img {
  filter: grayscale(0%) opacity(100%);
}
.client-card h4 {
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Logo text fallback */
.logo-fallback {
  display: none;
  height: 64px;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4A6080;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 16px;
  background: #f8fafc;
  margin-bottom: 16px;
  width: 100%;
  text-align: center;
}

/* Sector tag */
.sector-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #4A6080;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: auto;
}

/* Sector color variants */
.sector-tag-judicial  { background: #ede9fe; color: #6d28d9; }
.sector-tag-gov       { background: #dbeafe; color: #1d4ed8; }
.sector-tag-energy    { background: #fef3c7; color: #b45309; }
.sector-tag-telecom   { background: #d1fae5; color: #065f46; }
.sector-tag-logistics { background: #fee2e2; color: #b91c1c; }
.sector-tag-aviation  { background: #e0f2fe; color: #0369a1; }
.sector-tag-education { background: #fce7f3; color: #9d174d; }
.sector-tag-health    { background: #dcfce7; color: #15803d; }
.sector-tag-banking   { background: #fef9c3; color: #a16207; }

/* Clients CTA */
.clients-cta {
  background: #1e293b;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.clients-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.clients-cta p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BLANK SPACE / LAYOUT FIXES
   ============================================ */
html { height: auto; }
body { margin: 0; padding: 0; min-height: unset; }
main { display: block; margin: 0; padding: 0; }
footer { margin-bottom: 0 !important; }
.page-wrapper { min-height: unset !important; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  background: #1e293b;
  color: #fff;
  padding: 100px 0 60px;
}
.contact-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.contact-hero p {
  color: #94a3b8;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.contact-body {
  padding: 96px 0;
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media(max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info h2,
.contact-form-box h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #fff7ed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid #fed7aa;
}
.contact-item strong {
  display: block;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-item p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.contact-item a { color: #E8922A; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.cert-row {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
.form-control:focus {
  outline: none;
  border-color: #E8922A;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,146,42,0.12);
}
textarea.form-control { resize: vertical; }
.success-msg {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #16a34a;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============================================
   CASE STUDIES HERO
   ============================================ */
.casestudies-hero {
  background: #1e293b;
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
}
.casestudies-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}
.casestudies-hero p {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.casestudies-body {
  padding: 80px 0;
  background: #f8fafc;
}

/* Ensure ALL page hero sections use dark bg */
.page-hero,
.clients-hero,
.about-hero,
.contact-hero,
.casestudies-hero {
  background: #1e293b !important;
  color: #fff !important;
}
.page-hero h1,
.clients-hero h1,
.about-hero h1,
.contact-hero h1,
.casestudies-hero h1 {
  color: #ffffff !important;
}
.page-hero p,
.clients-hero p,
.about-hero p,
.contact-hero p,
.casestudies-hero p {
  color: #94a3b8 !important;
}

/* ============================================
   NAV LOGO
   ============================================ */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Updated nav-container: logo left | links center | cta right */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: #E8922A; }
.nav-links a.active { color: #E8922A; font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: #E8922A;
  border-radius: 2px;
}
.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ============================================
   GHOST / WATERMARK TEXT — GLOBAL KILL SWITCH
   ============================================ */
.hero-bg-text,
.bg-text,
.watermark,
.hero-watermark,
.background-text,
.parallax-text,
.ghost-text,
.hero-overlay-text,
.neural-bg {
  display: none !important;
}

/* ============================================
   AILAB HERO
   ============================================ */
.ailab-hero {
  background: #1e293b;
  color: #fff;
  padding: 100px 0 60px;
}
.ailab-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}
.ailab-hero p {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.7;
}
.ailab-body {
  padding: 80px 0;
  background: #f8fafc;
}

/* ============================================
   ENFORCE DARK BG + VISIBLE TEXT ON ALL HEROES
   ============================================ */
section[class*="hero"] {
  background: #1e293b !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

section[class*="hero"] h1 {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 2 !important;
}

section[class*="hero"] p {
  color: #94a3b8 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 2 !important;
}

section[class*="hero"] .section-label {
  color: #E8922A !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Exception: Hero section on Index uses dark bg already — keep SVG animation */
.hero-ai {
  background: #1e293b !important;
  padding: 120px 0 80px;
}

/* ============================================
   NAV LOGO — confirm no filter
   ============================================ */
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: none !important;
}

/* ============================================
   SERVICE CARD SVG ICONS
   ============================================ */
.service-icon {
  width: 56px;
  height: 56px;
  background: #fff7ed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid #fed7aa;
  flex-shrink: 0;
}
.service-icon svg {
  display: block;
}

/* ============================================
   HERO HEADING FONT — ENFORCE INTER EVERYWHERE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
  font-style: normal !important;
}

.page-hero h1,
section[class*="hero"] h1,
.casestudies-hero h1,
.ailab-hero h1,
.clients-hero h1,
.about-hero h1,
.contact-hero h1 {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: -0.5px !important;
}

/* Override Syne variable from enterprise-ai-theme.css */
:root {
  --font-heading: 'Inter', 'Segoe UI', Arial, sans-serif !important;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif !important;
}
