/* gallery styles removed */
.glow-sub { color: rgba(255,255,255,0.92); }
.electric-soft { position: relative; }
.electric-soft::before,
.electric-soft::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--accent-sub);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}
.electric-soft::before {
  text-shadow:
    0 0 1px rgba(15,118,110,0.62),
    0 0 10px rgba(15,118,110,0.44),
    0 0 18px rgba(15,118,110,0.34);
  animation: shock-a var(--shock-duration, 3s) infinite cubic-bezier(.36,.07,.19,.97);
}
.electric-soft::after {
  text-shadow:
    0 0 1px rgba(15,118,110,0.56),
    0 0 8px rgba(15,118,110,0.38),
    0 0 14px rgba(15,118,110,0.28);
  animation: shock-b var(--shock-duration, 3s) infinite cubic-bezier(.36,.07,.19,.97);
}
.electric { position: relative; }
.electric::before,
.electric::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--accent);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}
.electric::before {
  text-shadow:
    0 0 2px rgba(187,134,252,0.8),
    0 0 22px rgba(187,134,252,0.6),
    0 0 46px rgba(187,134,252,0.5);
  animation: shock-a 3s infinite cubic-bezier(.36,.07,.19,.97);
}
.electric::after {
  text-shadow:
    0 0 1px rgba(187,134,252,0.7),
    0 0 14px rgba(187,134,252,0.5),
    0 0 34px rgba(187,134,252,0.38);
  animation: shock-b 3s infinite cubic-bezier(.36,.07,.19,.97);
}

@keyframes shock-a {
  0%, 100% { transform: translate(0, 0); opacity: 0.85; }
  6% { transform: translate(0.6px, -0.8px) skewX(0.2deg); opacity: 1; }
  7% { transform: translate(-0.8px, 0.6px) skewY(-0.2deg); }
  8% { transform: translate(0.4px, 0.2px); }
  50% { transform: translate(0, 0); opacity: 0.9; }
}
@keyframes shock-b {
  0%, 100% { transform: translate(0, 0); opacity: 0.8; }
  6% { transform: translate(-0.6px, 0.6px) skewX(-0.3deg); opacity: 1; filter: brightness(1.1); }
  7% { transform: translate(0.8px, -0.6px) skewY(0.3deg); }
  8% { transform: translate(-0.4px, -0.2px); }
  50% { transform: translate(0, 0); opacity: 0.85; }
}
:root {
  --bg: #0b0f19;
  --panel: #0f1629;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --accent: #14b8a6;
  --accent-sub: #0f766e; /* brighter slate cyan for subheading */
  --card: #121a30;
  --border: #22304f;
  --chip: #1a233a;
}

/* Light theme overrides for Delta look */
/* Light theme */
.theme-light {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0ea5e9;
  --primary-600: #0284c7;
  --accent: #7c3aed;
  --accent-sub: #0f766e;
  --card: #ffffff;
  --border: #e2e8f0;
  --chip: #f1f5f9;
}

/* Dark theme */
.theme-dark {
  --bg: #303030;           /* requested solid dark background */
  --panel: #052a56;        /* dark panel */
  --text: #e5e7eb;         /* neutral near-white */
  --muted: #9fb3c8;        /* muted slate-blue */
  --primary: #3352ac;      /* brand deep blue */
  --primary-600: #27408f;  
  --accent: #ffef40;       /* brand yellow */
  --accent-sub: #8bc9ff;   /* brand light blue */
  --card: #062a55;         /* card surface */
  --border: #0b3a6b;       /* subtle border */
  --chip: #083766;
  --metric-bg: #413b3b;    /* updated metric card color */
  --brand-red: #fe372e;    /* brand vivid red */
  --brand-red-soft: #ff6971; /* softer red */
  --brand-red-1: rgba(254,55,46,1);
  --brand-red-09: rgba(254,55,46,0.9);
  --brand-red-072: rgba(254,55,46,0.72);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Site-wide glow background for dark theme */
body.theme-dark {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.55) 12%,
      rgba(0,0,0,0.28) 24%,
      rgba(102, 255, 204, 0.24) 62%,
      rgba(140, 255, 210, 0.40) 82%,
      rgba(140, 255, 210, 0.00) 100%
    ),
    linear-gradient(90deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.00) 65%
    ),
    var(--bg);
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

/* Reset list styles */
ul, ol { 
  margin: 0; 
  padding: 0; 
  list-style: none; 
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: blur(8px);
  border-bottom: none;
}
.theme-dark .site-header::after {
  content: "";
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 120px;
  z-index: 40; /* further below hero */
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(254,55,46,0.15) 0%,
      rgba(139,201,255,0.15) 25%,
      rgba(255,239,64,0.12) 60%,
      rgba(0,0,0,0.00) 85%,
      rgba(0,0,0,0.00) 100%);
}
.header-light { background: transparent; border-bottom: none; }
.header-light .nav-menu a { color: #334155; }
.header-light .nav-menu a:hover { color: #0f172a; }
.brand-delta { font-weight: 700; font-size: 18px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 700; letter-spacing: 0.4px; font-size: 20px; }
.brand-delta { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 61; }
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 0; /* remove oval/rounded effect */
  margin-right: 0;
  vertical-align: middle;
  box-shadow: none; /* remove outer glow/shadow */
  position: relative;
  z-index: 62;
  mix-blend-mode: normal;
  background: transparent;
  filter: brightness(1.15) saturate(1.1) contrast(1.05); /* make logo crisper/brighter */
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 22px; height: 2px; background: var(--text); display: block; margin: 4px 0;
}

.nav-menu {
  display: flex; 
  gap: 0; 
  align-items: center; 
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
  margin: 0;
  padding-left: 6px;
  padding-right: 6px;
}
.nav-menu li { 
  margin: 0; 
  list-style: none;
}
.nav-menu a { 
  color: #64748b; 
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
}
.nav-menu a:hover { 
  color: #0f172a; 
  background: rgba(255, 255, 255, 0.3);
}

/* Dark mode header text colors */
.theme-dark .brand,
.theme-dark .brand-delta { color: #a0a0a0; }
.theme-dark .nav-menu a { color: #a0a0a0; }
.theme-dark .nav-menu a:hover { color: #ffffff; background: rgba(139,201,255,0.18); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 50px; border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { 
  background: var(--primary);
  color: #ffffff; 
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 20px rgba(51,82,172,0.35);
  padding: 14px 24px;
}
.btn-primary:hover { 
  background: var(--primary-600);
  box-shadow: 0 12px 28px rgba(51,82,172,0.45), 0 0 0 2px rgba(255,239,64,0.25) inset;
}
.btn-ghost { background: rgba(255, 255, 255, 0.95); color: #475569; border: none; font-weight: 600; }
.btn-ghost:hover { 
  background: rgba(255, 255, 255, 1); 
  color: #0f172a;
}
.btn-sm { padding: 8px 12px; font-size: 14px; }

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  z-index: 46; /* sit above header glow band (z-index 45) while below header (50) */
}
.hero-media {
  position: absolute; inset: 0;
  background-image: url('../for our works/74cb546e-cb8b-4228-95d2-925791bcd2c2.JPG');
  background-size: cover; background-position: center;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 47; /* above header light band */
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,25,0.3), rgba(11,15,25,0.9)); }
.hero-content { position: relative; text-align: center; padding: 96px 0; z-index: 2; }
.hero-content { z-index: 48; }
.hero h1 { font-size: clamp(28px, 6vw, 56px); line-height: 1.1; margin: 0 0 12px; }
.hero p { color: var(--muted); max-width: 720px; margin: 0 auto; }
.hero-delta h1 {
  color: var(--accent);
  text-shadow:
    0 0 2px rgba(254,55,46,0.65),
    0 0 16px rgba(139,201,255,0.45),
    0 0 38px rgba(255,239,64,0.35);
}

.glow-text {
  animation: mat-glow 7s ease-in-out infinite;
}
.hero-delta p { color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-delta .trust-copy strong {
  color: #ffffff;
  text-shadow:
    0 0 2px rgba(255,239,64,0.7),
    0 0 12px rgba(139,201,255,0.55),
    0 0 28px rgba(51,82,172,0.45),
    0 0 44px rgba(254,55,46,0.45);
  animation: trustGlow 6s ease-in-out infinite;
}
@keyframes trustGlow {
  0%, 100% {
    text-shadow:
      0 0 2px rgba(254,55,46,0.58),
      0 0 10px rgba(139,201,255,0.50),
      0 0 24px rgba(255,239,64,0.42);
  }
  50% {
    text-shadow:
      0 0 3px rgba(254,55,46,0.85),
      0 0 18px rgba(139,201,255,0.80),
      0 0 40px rgba(255,239,64,0.60);
  }
}
.hero-delta .trust-copy span { color: rgba(255,255,255,0.9); }
.hero-delta .rating-score { color: #ffffff; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-delta .rating-caption { color: rgba(255,255,255,0.9); }
.hero-cta { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Delta hero look (mint gradient with geometric lines extending to header) */
.hero-delta {
  min-height: auto;
  padding: 96px 0 24px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 12px 12px 0;
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-delta::before { content: none; }
.hero-delta::after {
  content: none;
}
.pill { display: inline-flex; align-items: center; gap: 6px; background: #ecfeff; color: #155e75; border: 1px solid #bae6fd; padding: 6px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.badge-red { background: var(--brand-red); border-color: rgba(255,255,255,0.95); }
.hero-meta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); text-align: left; }
.logos { display: inline-flex; gap: 8px; align-items: center; }
.logo-chip { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: white; background: linear-gradient(135deg,#06b6d4,#10b981); font-size: 12px; }

/* Trust badges (overlapping) */
.logo-badges { display: inline-flex; align-items: center; gap: 0; position: relative; margin-right: 14px; }
.trust-left { display: inline-flex; align-items: center; gap: 12px; }
.badge {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff; border: 3px solid rgba(255,255,255,0.95);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.22),
    0 0 0 3px rgba(255,255,255,0.35) inset,
    0 0 20px rgba(173,97,202,0.30);
  animation: badgeFloat 7s ease-in-out infinite, badgeGlow 4.5s ease-in-out infinite alternate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.badge:hover { transform: translateY(-2px) scale(1.03); }
.badge + .badge { margin-left: -14px; }
.badge-red { background: #ef4444; }
.badge-orange { background: #f59e0b; }
.badge-blue { background: #4338ca; }
.badge-img { width: 32px; height: 32px; object-fit: contain; display: block; filter: saturate(1.05) contrast(1.06); }
.logo-badges .badge:nth-child(2) { animation-delay: 0.15s, 0.15s; }
.logo-badges .badge:nth-child(3) { animation-delay: 0.3s, 0.3s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes badgeGlow {
  0% {
    box-shadow:
      0 6px 16px rgba(0,0,0,0.22),
      0 0 0 3px rgba(255,255,255,0.35) inset,
      0 0 16px rgba(173,97,202,0.22);
  }
  100% {
    box-shadow:
      0 8px 18px rgba(0,0,0,0.26),
      0 0 0 3px rgba(255,255,255,0.40) inset,
      0 0 26px rgba(149,73,218,0.40);
  }
}
.trust-copy { line-height: 1.3; }
.trust-copy strong { color: var(--text); margin-right: 4px; font-size: 22px; font-weight: 600; }
.trust-copy span { display: block; color: #64748b; font-weight: 500; }
.stars { color: #f59e0b; letter-spacing: 2px; }
.rating-right { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px 12px; justify-items: start; text-align: left; }
.rating-score { font-size: 34px; font-weight: 800; color: #0f172a; }
.rating-stars { color: #f59e0b; font-size: 18px; letter-spacing: 3px; }
.rating-caption { grid-column: 1 / -1; color: #64748b; font-size: 14px; }

.product-preview { margin-top: 18px; }
.product-frame { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.08); background: #ffffff; }
.product-frame img { width: 100%; display: block; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.metric { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.theme-dark .metric { background: var(--metric-bg); border-color: rgba(255,255,255,0.08); }
.theme-dark .metric-title { color: #eaf2ff; }
.theme-dark .metric p { color: rgba(234,242,255,0.82); }
.metric-num { font-size: 28px; font-weight: 800; color: var(--accent); }
.metric-title { font-weight: 700; margin-top: 6px; color: var(--text); }
.metric p { color: var(--muted); margin: 6px 0 0; font-size: 14px; }

/* Metrics background glow */
#metrics { position: relative; overflow: hidden; }
#metrics::before {
  content: "";
  position: absolute;
  inset: -60px -20px;
  z-index: 0;
  background:
    radial-gradient(900px 380px at 10% 20%, rgba(149,73,218,0.22), transparent 60%),
    radial-gradient(700px 300px at 90% 80%, rgba(173,97,202,0.18), transparent 58%),
    radial-gradient(600px 260px at 50% 0%, rgba(146,101,112,0.16), transparent 60%);
  filter: blur(16px);
  transform: translate3d(0,0,0);
  animation: metricsGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.metrics { position: relative; z-index: 1; }

@keyframes metricsGlow {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.95; }
  50%  { transform: translate3d(0, -8px, 0) scale(1.02); opacity: 1; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.95; }
}

.section { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(22px, 3.4vw, 36px); margin: 0 0 8px; }
.section-head p { color: var(--muted); }

/* Our Story section */
#story .story { 
  max-width: 860px; 
  margin: 0 auto; 
  color: var(--text);
}
#story .story p { 
  margin: 0 0 14px; 
  color: var(--muted);
}

/* About page purple band styling similar to home */
#story {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(139,201,255,0.16) 0%,
      rgba(139,201,255,0.10) 48%,
      rgba(255,239,64,0.05) 100%
    );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
#story::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  background:
    radial-gradient(800px 320px at 12% 18%, rgba(139,201,255,0.12), transparent 60%),
    radial-gradient(700px 300px at 88% 82%, rgba(255,239,64,0.08), transparent 60%);
  filter: blur(18px);
  pointer-events: none;
}

/* Thin gradient divider for section separation */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,0.45), rgba(0,0,0,0));
  border: 0;
  margin: 10px 0 6px;
  opacity: 1;
}

/* Contact band */
/* Scrolling contact ribbon */
.contact-ribbon {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(149,73,218,0.12), rgba(173,97,202,0.10));
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbonScroll 28s linear infinite;
}
.ribbon-content {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px;
  white-space: nowrap;
  font-weight: 600;
}
.contact-link { text-decoration: underline; text-underline-offset: 3px; }
.contact-link:hover { filter: brightness(1.08); }
.dot { opacity: 0.6; }

@keyframes ribbonScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Partners section (purple variant) */
.section-purple {
  position: relative;
  padding: 12px 0 18px;
  background:
    linear-gradient(180deg,
      rgba(139,201,255,0.18) 0%,
      rgba(139,201,255,0.12) 48%,
      rgba(255,239,64,0.06) 100%
    );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-purple::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  background:
    radial-gradient(800px 320px at 12% 18%, rgba(254,55,46,0.10), transparent 60%),
    radial-gradient(700px 300px at 88% 82%, rgba(139,201,255,0.12), transparent 60%),
    radial-gradient(900px 380px at 50% 0%, rgba(255,239,64,0.08), transparent 60%);
  filter: blur(18px);
  pointer-events: none;
}
.section-purple .container { position: relative; z-index: 1; }
.section-purple .section-head h2 { color: #2b2b2b; }
.section-purple .section-head p { color: #5b5b5b; }
.partners-scroll { position: relative; overflow: hidden; }
.partners-track { display: flex; width: max-content; animation: partnersAuto 18s linear infinite; }
.section-purple:hover .partners-track { animation-play-state: running; }
.partners-row { display: inline-flex; align-items: center; gap: 14px; padding: 10px 0; }
.partner-chip { display: inline-flex; align-items: center; justify-content: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 6px 14px rgba(0,0,0,0.12); backdrop-filter: blur(4px); width: 180px; height: 72px; }
.partner-logo { height: 34px; width: auto; opacity: 0.85; filter: grayscale(1) saturate(0.6) brightness(1.15); transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease; }
.partner-logo:hover { filter: none; opacity: 1; transform: translateY(-1px); }

/* Our Work scroll-snap gallery */
.work-slider {
  position: relative;
  margin: 0 12px;
}
.theme-dark #work .section-head h2,
.theme-dark #work .section-head p {
  color: #a0a0a0;
}
.theme-light #work .section-head h2,
.theme-light #work .section-head p {
  color: #000000;
}
.theme-dark #services .section-head h2,
.theme-dark #services .section-head p {
  color: #a0a0a0;
}
.theme-light #services .section-head h2,
.theme-light #services .section-head p {
  color: #000000;
}
.theme-dark #work {
  background: transparent; /* inherit global dark gradient */
  position: relative;
  overflow: visible;
}
.theme-light #work {
  background: #ffffff;
}
.theme-dark #work::before { content: none; }
.work-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.work-track.is-autoplaying { scroll-snap-type: none; }
.work-track::-webkit-scrollbar { display: none; }
.work-slide {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  background: #0c1426;
  /* subtle outer halo only; the bright stroke is added via ::before */
  box-shadow: 0 0 20px rgba(179,11,28,0.24);
}
.work-slide::before {
  content: "";
  position: absolute; inset: -16px;
  border-radius: 22px;
  background:
    radial-gradient(280px 200px at 24% 30%, rgba(254, 55, 46, 0.58), transparent 62%),
    radial-gradient(220px 160px at 60% 36%, rgba(255, 239, 64, 0.38), transparent 62%),
    radial-gradient(260px 180px at 78% 72%, rgba(139, 201, 255, 0.28), transparent 64%);
  mix-blend-mode: screen;
  filter: blur(18px) saturate(1.05);
  pointer-events: none;
  z-index: 5;
  animation: workGlow 12s ease-in-out infinite alternate;
}
.work-slider:hover .work-arrow { opacity: 1; }
.work-slide img {
  width: 100%; height: 380px; object-fit: cover; display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
  position: relative; z-index: 1;
}
.work-slide:hover img { transform: scale(1.06); }
.work-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.45));
  z-index: 3;
}
.work-slide figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: #ffffff; z-index: 6; font-weight: 600;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}

/* Edge-only glow: disable inner overlay */
.work-slide::before { content: none !important; }
.work-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(0,0,0,0.35);
  color: #fff; cursor: pointer;
  backdrop-filter: blur(6px);
}
.work-arrow:hover { background: rgba(0,0,0,0.5); }
.work-arrow.prev { left: 4px; }
.work-arrow.next { right: 4px; }

@media (max-width: 960px) {
  .work-track { grid-auto-columns: 88%; }
  .work-slide img { height: 320px; }
}
@media (max-width: 720px) {
  .work-track { grid-auto-columns: 92%; }
  .work-slide img { height: 260px; }
}

@keyframes workGlow {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.85; }
  50%  { transform: translate3d(0,-6px,0) scale(1.02); opacity: 1; }
  100% { transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
}

/* removed edgePulse */

/* Neon ring along edges only (white core + red glow) */
.work-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 6px solid #fcf8f3; /* bright white core */
  box-shadow:
    0 0 8px var(--brand-red-1),
    0 0 18px var(--brand-red-09),
    0 0 36px var(--brand-red-072);
  z-index: 5;
  pointer-events: none;
  animation: neonPulse 4.5s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(179,11,28,0.95),
      0 0 16px rgba(179,11,28,0.85),
      0 0 30px rgba(179,11,28,0.64);
  }
  50% {
    box-shadow:
      0 0 10px rgba(179,11,28,1),
      0 0 24px rgba(179,11,28,0.96),
      0 0 44px rgba(179,11,28,0.78);
  }
}

.trust { text-align: center; }
.trust-label { color: var(--muted); margin: 0 0 10px; }
.trust-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: center; }
.trust-logo { opacity: 0.7; padding: 10px 12px; border: 1px dashed var(--border); border-radius: 10px; font-size: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.card-icon { font-size: 26px; }
.card h3 { margin: 8px 0 6px; }
.card p { color: var(--muted); margin: 0; }

/* Image-backed card variant for Services */
.card-cover {
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.card-cover.svc-electrical{background-image:url('../for our services/electrical.jpg')}
.card-cover.svc-mechanical{background-image:url('../for our services/mechinacal.jpg')}
.card-cover.svc-facility{background-image:url('../for our services/facility.jpg')}
.card-cover.svc-civil{background-image:url('../for our services/civil.jpg')}
.card-cover.svc-architecture{background-image:url('../for our services/Architecture.jpg')}
.card-cover.svc-security{background-image:url('../for our services/security.JPG')}
.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0.45) 100%);
  border-radius: 12px;
  z-index: 1;
}
.card-cover::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 16px;
  background:
    radial-gradient(160px 120px at 18% 22%, rgba(149,73,218,0.35), transparent 62%),
    radial-gradient(180px 120px at 82% 78%, rgba(173,97,202,0.30), transparent 60%),
    radial-gradient(120px 90px at 50% 0%, rgba(146,101,112,0.24), transparent 62%);
  filter: blur(18px) saturate(1.05);
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
  animation: ledGlow 10s ease-in-out infinite alternate;
}
.card-cover .card-content {
  position: relative;
  z-index: 2;
  padding: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.card-cover h3 { margin: 0; color: #ffffff; }
.card-cover p { margin: 0; color: rgba(255,255,255,0.9); }

.card-cover:hover::before { opacity: 0.9; filter: blur(22px) saturate(1.15) brightness(1.06); }

@keyframes ledGlow {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(0, -6px, 0) scale(1.015); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

.grid { display: grid; gap: 16px; }
.projects-grid { grid-template-columns: repeat(3, 1fr); }
.project-card { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: #0c1426; }
.project-card img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; filter: saturate(0.9); }
.project-card:hover img { transform: scale(1.05); }
.project-meta { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 10px 12px; background: rgba(0,0,0,0.35); border-radius: 10px; backdrop-filter: blur(6px); }
.project-meta h3 { margin: 0; font-size: 16px; }
.project-meta p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* gallery styles removed */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
.stat-num { display: block; font-weight: 700; font-size: 28px; }
.stat-label { display: block; color: var(--muted); font-size: 13px; }

.slider { position: relative; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; overflow: hidden; scroll-behavior: smooth; }
.slide { padding: 20px; margin: 0 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.slide p { margin: 0 0 12px; color: var(--text); }
.slide-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.slide-meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.slider-btn:hover { background: rgba(0,0,0,0.6); }
.slider-btn.prev { left: -6px; }
.slider-btn.next { right: -6px; }

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; }
.checks { padding-left: 18px; }
.checks li { margin: 6px 0; }

.section-cta { text-align: center; }
.cta { background: linear-gradient(135deg, #163a96, #1c2f72); padding: 42px 32px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); color: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0 0 18px; color: rgba(255,255,255,0.92); }

.site-footer {
  background: #0a0f1b;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 22px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(173,97,202,0.10), transparent 60%),
    radial-gradient(700px 280px at 80% 0%, rgba(149,73,218,0.10), transparent 60%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; align-items: start; }
.footer-col { color: #e6edf6; position: relative; }
.footer-col:not(:first-child)::before {
  content: "";
  position: absolute; left: -16px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.footer-brand-row { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: 0.2px; }
.footer-logo { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ad61ca, #9549da); color: #fff; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,0.22); }
.footer-logo-img { width: 40px; height: 40px; object-fit: contain; filter: brightness(1.08) saturate(1.05) contrast(1.05); }
.footer-brand-name { color: #dbe7ff; }
.footer-desc { color: #9fb3c8; margin: 10px 0 16px; max-width: 420px; }
.footer-title { margin: 0 0 12px; color: #eaf2ff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.6px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { color: #9fb3c8; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s ease, transform 0.2s ease; }
.footer-list a::before { content: '›'; opacity: 0.48; transition: transform 0.2s ease, opacity 0.2s ease; }
.footer-list a:hover { color: #ffffff; transform: translateX(1px); }
.footer-list a:hover::before { opacity: 0.9; transform: translateX(2px); }
.contact-list .ci { display: inline-block; width: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(6px); transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.social-btn img { width: 18px; height: 18px; filter: brightness(1.6); }
.footer-social .social-btn img { width: 20px; height: 20px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1) contrast(1.05); }
.social-btn:hover { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.28); transform: translateY(-1px); }

/* First icon highlighted blue to match screenshot */
/* Remove special Facebook highlight; use neutral chips */
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-input { height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: #fff; padding: 0 12px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.newsletter-input::placeholder { color: #b6c3d6; }
.newsletter-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(149,73,218,0.25); background: rgba(255,255,255,0.09); }
.newsletter-btn { height: 44px; border-radius: 12px; padding: 0 18px; }
.footer-map-wrap { position: relative; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.footer-map { width: 100%; height: 180px; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 8px; color: #bcd1ff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; color: #9fb3c8; font-size: 14px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: #9fb3c8; }
.footer-legal a:hover { color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 240ms; }

/* Floating mockup animation */
.float-slow { animation: float 10s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Matte LED-style soft pulse */
@keyframes mat-glow {
  0%, 100% {
    text-shadow:
      0 0 2px rgba(187,134,252,0.70),
      0 0 16px rgba(187,134,252,0.46),
      0 0 36px rgba(187,134,252,0.30);
  }
  50% {
    text-shadow:
      0 0 4px rgba(187,134,252,0.95),
      0 0 26px rgba(187,134,252,0.68),
      0 0 60px rgba(187,134,252,0.45);
  }
}

/* Hover popover card */
.has-pop { position: relative; }
.pop {
  position: absolute;
  top: 20px;
  right: -16px;
  width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
  padding: 12px;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 5;
}
.has-pop:hover .pop { opacity: 1; transform: translateY(0) scale(1); }

/* Subtle hero radial glow */
.hero-glow { display: none; }

/* Hero bottom fade into page */
.hero-delta { 
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

/* About hero (Custo-inspired) */
.hero-about { padding: 56px 0 28px; background: var(--panel); position: relative; z-index: 46; overflow: hidden; }
.hero-about::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  background:
    radial-gradient(800px 320px at 12% 18%, rgba(139,201,255,0.12), transparent 60%),
    radial-gradient(700px 300px at 88% 82%, rgba(255,239,64,0.10), transparent 60%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.hero-about .container { max-width: 1320px; position: relative; z-index: 1; }
.hero-about h1 { text-align: center; font-size: clamp(28px, 5vw, 44px); margin: 0 0 8px; }
.hero-about .hero-sub { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 20px; }
.about-mosaic { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 0; 
  margin-top: 14px; 
}
.about-mosaic .mosaic-feature {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at -20% -10%, rgba(149,73,218,0.18), transparent 60%),
    radial-gradient(520px 280px at 120% 110%, rgba(173,97,202,0.16), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 10px),
    var(--card);
  position: relative;
  isolation: isolate;
  animation: featurePan 22s linear infinite;
}
.about-mosaic .mosaic-img {
  border-radius: 14px;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.about-mosaic .mosaic-img img { width: 100%; height: 180px; object-fit: cover; display: block; border-radius: 14px; }
.about-mosaic .mosaic-feature { 
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,0.04), rgba(255,255,255,0.00)), var(--panel);
  display: grid; place-items: center; text-align: center; padding: 18px; 
  grid-row: span 2; /* expand down to occupy two rows */
}
.mosaic-feature-inner { max-width: 460px; padding: 8px 4px; }
.mosaic-feature-inner { position: relative; z-index: 2; }
.mosaic-feature h3 { margin: 8px 0 8px; font-size: 20px; }
.mosaic-feature p { margin: 0; color: var(--muted); }
.mosaic-icon { 
  width: 44px; height: 44px; border-radius: 50%; 
  display: inline-flex; align-items: center; justify-content: center; 
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); 
}
.mosaic-feature .mosaic-icon { animation: featureIconPulse 3.8s ease-in-out infinite; }

/* Animated layers for center card */
.about-mosaic .mosaic-feature::before {
  content: "";
  position: absolute; inset: 0;
  background: url('../vid/IMG_7263 (1).png') center/90% no-repeat;
  opacity: 0.12;
  filter: saturate(1.05) brightness(1.05);
  pointer-events: none;
  z-index: 0;
}

/* Use screen blend on dark theme so it pops */
.mosaic-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.08) 54%, transparent 100%);
  transform: translateX(-120%);
  animation: featureSweep 6.5s ease-in-out infinite 1.2s;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

@keyframes featurePan {
  0%   { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 200% 0, -200% 0, 120px 0; }
}
@keyframes featureSweep {
  0%, 8%   { transform: translateX(-120%); opacity: 0.0; }
  18%, 40% { opacity: 0.6; }
  50%      { transform: translateX(0%); opacity: 0.8; }
  92%,100% { transform: translateX(120%); opacity: 0.0; }
}
@keyframes featureIconPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.0); }
  50%     { transform: scale(1.06); box-shadow: 0 0 18px rgba(255,255,255,0.18); }
}

.trust-row { text-align: center; margin-top: 18px; }
.trust-row .trust-note { color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.logo-cloud { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.logo-cloud .partner-chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.logo-cloud .partner-logo { filter: grayscale(1) saturate(0.7) brightness(1.1); opacity: 0.9; height: 30px; }

/* About page clients: naked logos with names, no boxes */
.trust-row .partners-row { gap: 18px; }
.trust-row .partner-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
  padding: 0; width: 160px; height: 56px;
}
.trust-row .partner-logo { height: 34px; width: auto; max-width: 140px; object-fit: contain; opacity: 1; filter: none; }

@media (max-width: 960px) {
  .about-mosaic .mosaic-img img { height: 198px; }
}
@media (max-width: 720px) {
  .about-mosaic { grid-template-columns: 1fr; }
  .about-mosaic .mosaic-feature { grid-row: auto; }
  .about-mosaic .mosaic-img img { height: 220px; }
}

/* Desktop exact sizing to match reference (tile: 331x198, gap: 20, center: 416) */
@media (min-width: 1100px) {
  .about-mosaic { 
    grid-template-columns: repeat(3, 420px);
    gap: 0;
    justify-content: center;
  }
  .about-mosaic .mosaic-feature { min-height: 360px; width: 420px; }
}

/* Small top-right image with soft bottom fade */


/* Responsive */
@media (max-width: 960px) {
  .trust-logos { grid-template-columns: 1fr 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners-row { gap: 12px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav-menu { 
    position: absolute; 
    top: 64px; 
    right: 20px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 20px; 
    padding: 12px; 
    display: none; 
    flex-direction: column; 
    gap: 4px; 
    min-width: 180px; 
  }
  .nav-menu.is-open { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .trust-logos { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .project-card img { height: 220px; }
  .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .partners-row { gap: 10px; }
}

@keyframes partnersAuto {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}




/* Single-row gallery carousel */
/* gallery styles removed */

@media (max-width: 960px) {
  /* gallery styles removed */
}