:root {
  --bg: #f1f5f9;
  --bg-panel: #ffffff;
  --bg-panel-hover: #f8fafc;
  --line: #e2e8f0;
  --line-bright: #cbd5e1;
  --text: #334155;
  --text-dim: #64748b;
  --text-faint: #94a3b8;
  --accent: #0284c7;
  --accent-secondary: #ea580c;
  --accent-glow: rgba(2, 132, 199, 0.2);
  --accent-gradient: linear-gradient(135deg, #0284c7, #0369a1);
  --teal: #0d9488;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #0f172a;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 4px; }
.mono { font-family: 'Inter', monospace; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--accent); color: var(--text); }

/* Dynamic Background */
.grid-bg { position: relative; }
.grid-bg::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--accent-secondary);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Page Loader */
#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.4) 0%, rgba(15, 23, 42, 0.9) 25%, rgba(15, 23, 42, 0.9) 75%, rgba(13, 148, 136, 0.4) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  margin: 0;
  border-radius: 0;
}
header.shrink {
  margin: 0;
  border-radius: 0;
}
@keyframes pulseLogo {
  0% { opacity: 0.3; transform: scale(0.95); box-shadow: 0 0 5px rgba(244, 200, 122, 0.2); }
  100% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 15px rgba(244, 200, 122, 0.8); }
}
.brand img { 
  background: transparent; 
  border-radius: 50%; 
  padding: 0; 
  height: 42px; 
  transition: height 0.3s ease;
  animation: pulseLogo 2.5s ease-in-out infinite alternate;
}
@keyframes shineGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
header .brand-text .name { 
  font-family: 'Orbitron', sans-serif !important; 
  font-weight: 900 !important; 
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 30%, #f4c87a 70%, #ff0844 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(244, 200, 122, 0.5));
  animation: shineGradient 4s ease infinite;
}
header .brand-text .tag  { 
  font-family: 'Orbitron', sans-serif !important; 
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  opacity: 0.9;
  margin-top: 4px;
}
header nav a { color: rgba(255,255,255,0.82) !important; }
header nav a:hover { color: #f4c87a !important; background: transparent !important; }
header nav a.active { color: #ffffff !important; background: rgba(255,255,255,0.15) !important; box-shadow: none !important; }


.headbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  transition: padding 0.3s ease;
}
.brand { display: flex; align-items: center; gap: 16px; transition: transform 0.2s; }
.brand:hover { transform: scale(1.02); }
.brand img { height: 50px; width: auto; transition: height 0.3s ease; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .name { font-family: 'Montserrat'; font-weight: 800; font-size: 19px; letter-spacing: 0.02em; color: var(--accent); }
.brand-text .tag { font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; margin-top: 2px; white-space: normal; line-height: 1.3; max-width: 500px; }

nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav a {
  display: block; padding: 8px 16px; font-size: 14px; color: rgba(255,255,255,0.82);
  font-weight: 600; border-radius: 0; transition: all 0.25s ease;
  position: relative; text-decoration: none;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 2px;
  background: #f4c87a;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
nav a:hover::after  { transform: scaleX(1); }
nav a.active::after { transform: scaleX(1); background: #ffffff; }
nav a:hover { color: #f4c87a; background: transparent; }
nav a.active { color: #ffffff; background: transparent; box-shadow: none; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-bright); color: var(--text); padding: 8px 12px; border-radius: var(--radius); font-family: 'Montserrat'; font-weight: 600; cursor: pointer; }

@media (max-width: 860px) {
  nav {
    position: absolute;
    top: 0;
    right: 0;
    height: auto;
    border-bottom-left-radius: 12px;
    padding-bottom: 12px;
    width: 280px;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: block !important;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.35s;
    border-bottom: none;
    z-index: 99;
    overflow-y: auto;
  }
  nav.open { transform: translateX(0); visibility: visible; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s; animation: none; }
  nav ul { flex-direction: column; padding: 60px 16px 16px; gap: 0; }
  header nav a { padding: 8px 16px; border-radius: 4px; color: var(--text) !important; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,0.05); }
  header nav a::after { display: none !important; }
  header nav a.active { background: rgba(2, 132, 199, 0.08) !important; color: var(--accent) !important; border-bottom-color: transparent !important; }
  header nav a:hover { background: rgba(2, 132, 199, 0.05) !important; color: var(--accent) !important; }
  .nav-toggle { display: block; position: relative; z-index: 100; transition: color 0.3s; }
  .nav-toggle.open { color: #0f172a !important; border: none !important; }
}

/* Page Sections */

section { padding: 80px 0; }
section.tight { padding: 48px 0; }

.eyebrow {
  font-size: 13px; font-weight: 700; color: var(--accent-secondary);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--accent-secondary); display: inline-block; border-radius: 2px;}

/* Hero */
.hero { 
  padding: 140px 0 120px; 
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative; 
  overflow: hidden;
  border-bottom: 1px solid var(--line); 
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1);
  animation: kenBurnsActive 8s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-slide.active {
  opacity: 1;
  animation-play-state: running;
}

@keyframes kenBurnsActive {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes kenBurnsReverse {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-slide.zoom-out {
  animation-name: kenBurnsReverse;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 3;
}

.hero-dots {
  display: flex;
  gap: 12px;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.75);
  padding: 8px 16px;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  opacity: 0.95;
  transition: opacity 0.3s, transform 0.2s;
}
.speed-control:hover { opacity: 1; transform: scale(1.02); }

.speed-control input[type=range] {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.speed-control input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.speed-control input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-block;
}

.hero-dot.active {
  background: #ffffff;
  transform: scale(1.4);
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.8);
  transform: scale(1.2);
}

/* Hero text pinned top-left */
.hero-text-box {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 3;
  padding: 8px 24px 10px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-left: 4px solid #ff8200;
  max-width: 560px;
  margin-left: 40px;
  border-radius: 0 8px 8px 0;
}

.hero-text-box .eyebrow {
  color: #ffb347 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: none;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-text-box .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #ff8200;
  display: inline-block;
  border-radius: 2px;
}

.hero-text-box h1 {
  color: #ffffff !important;
  font-size: clamp(16px, 2vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

.hero-text-box h1 .hl {
  color: #ffb347 !important;
}

/* Word-by-word appear animation */
.hero-text-box h1 .w {
  opacity: 0;
  display: inline-block;
  animation: wordIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.hero-tech-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  white-space: nowrap;
}
.tech-tag {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 4px rgba(0,0,0,0.8);
  transition: transform 0.2s, text-shadow 0.2s;
}
.tech-tag:hover { 
  transform: translateY(-2px); 
  text-shadow: 0 4px 12px rgba(0,0,0,1), 0 0 8px currentColor; 
}
.tech-tag.c1 { color: #ff4d6d; } /* Bright Rose */
.tech-tag.c2 { color: #38bdf8; } /* Bright Sky Blue */
.tech-tag.c3 { color: #34d399; } /* Bright Emerald */
.tech-tag.c4 { color: #fbbf24; } /* Bright Amber */
.tech-tag.c5 { color: #a78bfa; } /* Bright Violet */
.tech-tag.c6 { color: #2dd4bf; } /* Bright Teal */
.tech-tag.c7 { color: #f43f5e; } /* Bright Red */

.hero-dot-blink {
  color: #ff2020;
  font-size: 5em;
  font-weight: 900;
  line-height: 0;
  vertical-align: middle;
  position: relative;
  top: -18px;
  display: inline-block;
  animation: ledBlink 1.2s step-start infinite;
  text-shadow: 0 0 10px rgba(255, 32, 32, 0.95);
}

@keyframes ledBlink {
  0%, 49%  { color: #ff2020; text-shadow: 0 0 10px rgba(255, 32, 32, 1), 0 0 20px rgba(255, 32, 32, 0.6); }
  50%, 100% { color: #00e676; text-shadow: 0 0 10px rgba(0, 230, 118, 1), 0 0 20px rgba(0, 230, 118, 0.6); }
}

/* Hero meta stats — compact, inside text box */
.hero-meta {
  margin-top: 10px;
  display: flex;
  gap: 0;
  padding: 8px 0 2px;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding: 0 10px;
}

.hero-meta div:first-child { padding-left: 0; }
.hero-meta div:last-child { border-right: none; }

.hero-meta .num {
  font-family: 'Montserrat';
  font-size: 30px;
  color: #ffb347;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  cursor: default;
  transition: color 0.3s ease;
}
.hero-meta .num:hover { color: #ffffff; }
.hero-meta .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

@media (max-width: 768px) {
  header, header.shrink { position: fixed; top: 0; z-index: 100; margin: 0; border-radius: 0; width: 100%; background: rgba(15, 23, 42, 0.95); }
  .brand { gap: 8px; }
  .brand img { height: 36px; }
  .brand-text .name { font-size: 14px; letter-spacing: 0; }
  .brand-text .tag { font-size: 4.8px !important; margin-top: 0; white-space: nowrap; }
  .nav-toggle { padding: 6px; border: none !important; color: #ffffff !important; }
  .nav-toggle svg { width: 19px; height: 19px; }
  .hero { min-height: 80vh; margin-top: 60px; padding-top: 80px; padding-bottom: 80px; }
  
  .hero-text-box { margin-left: 12px; margin-right: 12px; top: 16px; padding: 12px 14px; }
  .hero-text-box .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .hero-text-box .eyebrow::before { width: 20px; }
  .hero-text-box h1 { font-size: 18px !important; }
  .hero-tech-tags { flex-wrap: nowrap; white-space: nowrap; gap: 6px; margin-top: 16px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
  .tech-tag { font-size: 10.7px; }
  
  .hero-meta { flex-wrap: nowrap; padding: 8px 0; margin-top: 8px; justify-content: space-between; }
  .hero-meta div { flex: 1; border-right: 1px solid rgba(255,255,255,0.15); padding: 0 4px; text-align: center; }
  .hero-meta div:last-child { border-right: none; }
  .hero-meta .num { font-size: 16px; }
  .hero-meta .lbl { font-size: 7px; letter-spacing: 0; line-height: 1.1; }
  
  footer { padding: 12px 0; }
  .foot-row { gap: 8px; justify-content: center; text-align: center; }
  footer p, .site-cred, footer .foot-links a { font-size: 11px; margin: 0; }
  footer .foot-links { gap: 12px; }

  /* Global Layout & Text Reductions for Mobile (10-15%) */
  body, p, li, .lead, .card p, .why-item p, .service-row ul, .contact-cell .val { font-size: 14px !important; }
  h2, .sec-head h2 { font-size: 26px !important; }
  h3, .card h3, .why-item h3, .service-row h3 { font-size: 18px !important; }
  
  section { padding: 48px 0 !important; }
  section.tight { padding: 32px 0 !important; }
  .wrap { padding: 0 16px; }
  
  .card, .why-item, .value-item { padding: 20px !important; }
  .p-item .cap { padding: 12px !important; font-size: 13px !important; }
  .service-row { padding: 24px 0 !important; gap: 16px !important; }
  
  .sec-head { margin-bottom: 32px !important; }
  .split { gap: 32px !important; }
  .btn { font-size: 13px !important; padding: 10px 20px !important; }
  
  .glass-float { padding: 32px 24px !important; }
}

.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  font-family: 'Montserrat'; font-size: 15px; font-weight: 700; padding: 14px 28px;
  border-radius: 30px; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--text); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--accent-glow); background: #0369a1; }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line-bright); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); background: rgba(2,132,199,0.05); }



/* Section Headings */
.sec-head { max-width: 700px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 44px); color: #0f172a; letter-spacing: -0.01em; }
.sec-head p { color: var(--text-dim); margin-top: 16px; font-size: 17px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #ffffff; 
  border: 1px solid var(--line-bright);
  border-top: 4px solid var(--accent);
  padding: 32px;
  border-radius: 12px; 
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 30px rgba(0,0,0,0.08); 
  border-color: var(--accent); 
}
.card h3 { font-size: 20px; color: var(--accent); margin-bottom: 12px; }
.card p, .card li { color: var(--text-dim); font-size: 15px; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 8px; }
@media (max-width: 860px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* Chip Strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.chip {
  font-size: 15px; font-weight: 700; color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #0369a1);
  border: none; padding: 12px 24px; border-radius: 30px;
  transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.chip:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5); color: #ffffff; }

/* Who We Are — background + glass float */
.who-we-are-section {
  position: relative;
  padding: 100px 0;
  background: url('../images/bg1.webp') center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.who-we-are-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 30, 0.30);
}

.who-we-are-section .wrap {
  position: relative;
  z-index: 2;
}

/* Main glass floating card */
.glass-float {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(255,255,255,0.06) inset;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Glass inner cards */
.glass-card {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 4px solid var(--accent) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
  color: #ffffff !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.glass-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35) !important;
}

.glass-card h3 { color: #60c8ff !important; }
.glass-card p  { color: rgba(255,255,255,0.85) !important; }

/* Text colours inside glass-float */
.glass-float h2 { color: #ffffff !important; }
.glass-float .lead { color: rgba(255,255,255,0.85) !important; }
.glass-float .eyebrow { color: #ffb347 !important; }
.glass-float .eyebrow::before { background: #ffb347 !important; }

/* About */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split p { color: var(--text-dim); font-size: 16px; margin-top: 16px; }
.split img { border-radius: var(--radius); border: none; box-shadow: none; transition: transform 0.3s; }
.split img:hover { transform: scale(1.02); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--line-bright);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: var(--accent);
}
.why-item .tagnum { color: var(--accent-secondary); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.why-item h3 { font-size: 20px; color: var(--accent); margin-bottom: 16px; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
.why-item p, .why-item li { color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.why-item ul { padding-left: 20px; margin: 0; }
.why-item li { margin-bottom: 8px; }
.why-item li:last-child { margin-bottom: 0; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.p-item { background: #ffffff; border: 1px solid var(--line-bright); border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.03); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.p-item:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-color: var(--accent); }
.p-item img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--line-bright); display: block; transition: transform 0.5s ease; }
.p-item:hover img { transform: scale(1.05); }
.p-item .cap { padding: 16px; font-size: 15px; color: var(--text); font-weight: 600; position: relative; z-index: 2; background: #ffffff; flex-grow: 1; }

/* Table Tabs */
.tabs { display: flex; gap: 12px; margin: 40px 0 24px; flex-wrap: wrap; background: transparent; padding: 8px; border-radius: 40px; display: inline-flex; border: none; box-shadow: none; }
.tab-btn {
  font-size: 15px; font-weight: 700; padding: 12px 28px; background: transparent;
  border: none; border-radius: 30px; color: var(--text-dim); cursor: pointer; transition: all 0.3s;
}
.tab-btn:hover { color: var(--accent); background: rgba(2,132,199,0.05); }
.tab-btn.on { color: var(--text); background: var(--accent); box-shadow: 0 4px 12px var(--accent-glow); }
.tab-panel { display: none; animation: fadeIn 0.4s ease; }
.tab-panel.on { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tech-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; border: 1px solid var(--line-bright); border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.tech-table th { text-align: left; font-size: 15px; color: #ffffff; background: linear-gradient(90deg, var(--accent), #0369a1); text-transform: uppercase; letter-spacing: 0.05em; padding: 20px 24px; border-bottom: 2px solid #075985; font-weight: 800; }
.tech-table td { padding: 20px 24px; border-bottom: 1px solid var(--line-bright); font-size: 15px; color: var(--text); vertical-align: middle; background: transparent; transition: background 0.2s; line-height: 1.8; }
.tech-table td.brand { color: var(--accent); font-weight: 700; font-family: 'Montserrat'; font-size: 16px; }
.tech-table tr:last-child td { border-bottom: none; }
.tech-table tr:hover td { background: #f8fafc; }

/* Services */
.service-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px;
  background: var(--bg-panel); transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.service-row:hover { transform: translateX(8px); border-bottom-color: var(--line-bright); }
@media (max-width: 768px) { .service-row { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 0; border: none; border-bottom: 1px solid var(--line); transition: all 0.3s ease; background: transparent; } }
.service-row img { border-radius: 8px; width: 100%; height: 180px; object-fit: cover; }
.service-row h3 { font-size: 24px; color: #0f172a; margin-bottom: 16px; }
.service-row ul { margin: 0; padding-left: 20px; color: var(--text-dim); font-size: 16px; }
.service-row li { margin-bottom: 8px; }
.service-row li ul { margin-top: 8px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr; } }

.value-item:hover { transform: translateY(-4px); }
.value-item .mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(2, 132, 199, 0.1); color: var(--accent); font-size: 20px; font-weight: bold; margin-bottom: 16px; }
.value-item h4 { font-size: 18px; color: #0f172a; }
.value-item ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-dim); font-size: 15px; }
.value-item li { margin-bottom: 6px; }

/* Gallery */

/* Gallery Marquee */
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 24px;
  width: 100%;
  padding: 10px 0;
}
.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: 24px;
  min-width: 100%;
  animation: scrollX 60s linear infinite;
}
/* Pause on hover so users can click/view */
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}
.marquee-content a {
  display: block;
}
.marquee-content img {
  height: 400px; /* Increased size by 100% */
  width: auto;
  max-width: none;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.marquee-content img:hover {
  transform: scale(1.03);
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 24px));
  }
}

.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery-grid a::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: var(--radius); pointer-events: none; transition: border-color 0.3s; }

.gallery-grid a:hover img { transform: scale(1.1); }
.gallery-grid a:hover::after { border-color: var(--accent); border-width: 2px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 800px; margin: 0 auto; }
@media (max-width: 768px) { .contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 800px; margin: 0 auto; } }
.contact-cell { background: transparent; padding: 8px 16px; border: none; transition: all 0.3s ease; }
.contact-cell:hover { transform: translateY(-2px); }
.contact-cell .lbl { font-size: 13px; color: var(--accent-secondary); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 12px; }
.contact-cell .val { font-size: 18px; color: #0f172a; font-weight: 600; }
.contact-cell .val a { transition: color 0.2s; }
.contact-cell .val a:hover { color: var(--accent); }

.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 48px; height: 48px; border: 1px solid var(--line-bright); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-dim);
  background: #fff; transition: all 0.3s ease; font-weight: 700;
}
.social-row a:hover { border-color: var(--accent); color: var(--text); background: var(--accent); box-shadow: 0 6px 16px var(--accent-glow); transform: translateY(-3px); }

/* Footer & CTA */
.cta-band {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  margin-top: 80px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.cta-band::before {
  content: ''; position: absolute; top: 0; left: 0; width: 8px; height: 100%; background: var(--accent);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { color: #0f172a; font-size: 28px; max-width: 500px; }
.cta-band p { color: var(--text-dim); font-size: 17px; margin-top: 12px; }

footer { border-top: 1px solid var(--line); padding: 16px 0; background: linear-gradient(90deg, #d1fae5 0%, #ecfdf5 100%); }
.site-cred { color: var(--text-dim); font-size: 13px; margin: 0; text-align: right; font-weight: 600; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; }
footer p { color: var(--text-dim); font-size: 13px; font-weight: 600; margin: 0; }
footer .foot-links { display: flex; gap: 24px; }
footer .foot-links a { color: var(--text-dim); font-size: 13px; font-weight: 600; transition: color 0.2s; }
footer .foot-links a:hover { color: var(--accent); }

/* Floating Action Buttons */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.fab-left {
  left: 24px;
  right: auto;
}
.fab {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease; color: var(--text); font-size: 24px;
  text-decoration: none; cursor: pointer; border: none;
}
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 24px rgba(0,0,0,0.2); color:#fff; }
.fab-wa { background: #25D366; width: 40px; height: 40px; border-radius: 50%; padding: 0; }
.fab-call { background: var(--accent); width: 40px; height: 40px; border-radius: 50%; padding: 0; }
.fab-top { background: var(--text-dim); opacity: 0; visibility: hidden; pointer-events: none; }
.fab-top.show { opacity: 1; visibility: visible; pointer-events: auto; }

.fab svg { width: 20px; height: 20px; }
.tech-table th:first-child, .tech-table td:first-child { width: 200px; font-weight: 700; }


/* Brand Rows */
.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; border: none; background: transparent; box-shadow: none; overflow: visible; }
.brand-row { padding: 24px 32px; border-bottom: 1px solid var(--line-bright); transition: background 0.3s ease; }
.brand-row:last-child { border-bottom: 1px solid rgba(0,0,0,0.05); }
.brand-row:nth-child(odd) { background: #ffffff; }
.brand-row:nth-child(even) { background: #f8fafc; }
.brand-row:hover { background: #f1f5f9; }
.brand-row h4 { font-size: 20px; color: var(--accent); margin-bottom: 12px; }
.brand-row .cat-row { margin-bottom: 6px; padding: 10px 14px; border-radius: 8px; line-height: 1.6; font-size: 15px; color: var(--text); }
.brand-row .cat-row:nth-child(odd) { background: rgba(0,0,0,0.02); border-left: 3px solid rgba(0,0,0,0.05); }
.brand-row .cat-row:nth-child(even) { background: transparent; border-left: 3px solid transparent; }
.brand-row .cat-row:last-child { margin-bottom: 0; }


.value-item {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  border: 1px solid var(--line-bright);
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: var(--accent);
}
.value-item .mark { color: var(--accent); font-size: 24px; margin-bottom: 16px; font-weight: bold; }
.value-item h4 { font-size: 20px; color: var(--accent); margin-bottom: 16px; }
.value-item li { margin-bottom: 8px; color: var(--text-dim); line-height: 1.6; }

/* Header Shrink on Scroll */
header.shrink {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
header.shrink .headbar {
  padding: 6px 0;
}
header.shrink .brand img {
  height: 32px;
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-row .brand-logo { height: 40px; width: auto; max-width: 100%; margin-bottom: 24px; display: block; object-fit: contain; }

#contact {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75)), url('../images/contact_bg.webp') center/cover no-repeat;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0;
  color: #ffffff;
}
#contact h2 { color: #ffffff !important; }
#contact p.lead { color: #cbd5e1 !important; }
#contact .eyebrow { color: #94a3b8 !important; }
#contact .contact-cell .lbl { color: #94a3b8 !important; }
#contact .contact-cell .val, #contact .contact-cell .val a { color: #ffffff !important; text-decoration: none; }
#contact .contact-cell .val a:hover { color: #60a5fa !important; }

/* About Us Floating Card */
#about {
  padding: 120px 0;
  background: url('../images/about_bg.webp') center/cover fixed no-repeat;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 56px;
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,1);
  text-align: center;
}
.about-card .eyebrow { justify-content: center; margin-bottom: 16px; }
.about-card h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 40px; color: var(--text); line-height: 1.3; }
.about-card h3 { font-size: 20px; color: var(--accent); margin-bottom: 16px; font-weight: 600; text-align: left; }
.about-card p { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 20px; text-align: left; }
.about-card p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .about-card { padding: 32px 24px; }
}

/* Domain Knowledge Parallax Background */
#domain-knowledge {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('../images/domain_bg.webp') center/cover fixed no-repeat;
  padding: 120px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
#domain-knowledge h2 { color: #ffffff !important; }
#domain-knowledge p.lead { color: #cbd5e1 !important; }
#domain-knowledge .eyebrow { color: #94a3b8 !important; }
#domain-knowledge .strip .chip { 
  background: rgba(255,255,255,0.08); 
  border-color: rgba(255,255,255,0.15); 
  color: #ffffff; 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
}
#domain-knowledge .strip .chip:hover {
  background: rgba(255,255,255,0.15); 
  border-color: rgba(255,255,255,0.3); 
}

/* Hero Ghost Button Override */
.hero .btn-ghost { color: #ffffff !important; border-color: rgba(255,255,255,0.4) !important; }
.hero .btn-ghost:hover { border-color: #ffffff !important; color: #ffffff !important; background: rgba(255,255,255,0.1) !important; }

/* Technologies Parallax Background */
#technologies {
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.4)), url('../images/tech_bg.webp') top center/cover fixed no-repeat;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* Technologies Header and Tabs Visibility Fix */
#technologies > .wrap > div:first-child {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.8);
}
#technologies > .wrap > div:first-child h2 {
  color: #0f172a !important;
}
#technologies > .wrap > div:first-child p.lead {
  color: #334155 !important;
  font-weight: 500;
}
#technologies .tabs {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 100px;
  display: inline-flex;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.8);
  margin: 0 auto 32px auto;
}
#technologies .tabs-container {
  text-align: center;
}

/* Value Services Parallax */
#value-services {
  background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.5)), url('../images/value_bg.webp') top center/cover fixed no-repeat;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#value-services > .wrap > div:first-child {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.8);
  margin-bottom: 48px;
}
#value-services > .wrap > div:first-child h2 { color: #0f172a !important; }
#value-services .value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
#value-services .value-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform 0.3s ease;
}
#value-services .value-item:hover { transform: translateY(-4px); }
#value-services .value-item h4 { color: #0f172a !important; font-weight: 700; margin-bottom: 16px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.service-row {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}
.service-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.service-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .fab-top { display: none !important; }
}
