/* ============================================================
   NAUTILUS CODE — Main Stylesheet
   ============================================================ */

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

/* CSS VARIABLES */
:root {
  --navy: #0B1426;
  --navy-mid: #0B1E4F;
  --electric: #2563EB;
  --electric-light: #3b82f6;
  --electric-pale: #eff6ff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --silver: #8892a4;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: var(--navy);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .font-display { font-family: 'Syne', sans-serif; }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
.page { display: none; opacity: 0; transform: translateY(16px); transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1); }
.page.active { display: block; opacity: 1; transform: translateY(0); }
.page.exiting { opacity: 0; transform: translateY(-10px); transition: opacity 0.2s ease, transform 0.2s ease; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(11,20,38,0.07);
  transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 1px 20px rgba(11,20,38,0.08); }
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.nav-logo-icon { width: 34px; height: 34px; }
.nav-logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link {
  font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 500;
  color: var(--slate-600); text-decoration: none; cursor: pointer;
  padding: 4px 0; position: relative; transition: color 0.2s ease; letter-spacing: 0.01em;
}
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--electric); transition: width 0.25s ease; }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.btn-cta {
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
  background: var(--navy); color: white; border: none;
  padding: 10px 22px; border-radius: 8px; cursor: pointer; transition: all 0.25s ease; letter-spacing: 0.01em;
}
.btn-cta:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(11,20,38,0.2); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(13, 27, 62, 0.08);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;

  /* blur try කරන්නම් — support ඇත්නම් apply වෙනවා */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu.open {
  display: flex;
}

/* dark hero pages */
body.dark-page .mobile-menu {
  background: rgba(13, 27, 62, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-page .mobile-nav-link {
  color: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-page .mobile-nav-link:hover {
  color: #ffffff;
}

.mobile-nav-link {
  display: block; padding: 12px 0;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
  color: var(--slate-600); cursor: pointer; border-bottom: 1px solid var(--slate-100); transition: color 0.2s ease;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--navy); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s ease; }
/* Hamburger open animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navbar scroll shadow */
.navbar-header.scrolled {
  box-shadow: 0 2px 20px rgba(13,27,62,0.08);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
}
/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  background: var(--navy); color: white; border: none;
  padding: 13px 26px; border-radius: 10px; cursor: pointer; transition: all 0.25s ease; text-decoration: none;
}
.btn-primary:hover { background: var(--electric); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500;
  background: transparent; color: var(--navy); border: 1.5px solid var(--slate-200);
  padding: 12px 26px; border-radius: 10px; cursor: pointer; transition: all 0.25s ease; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--navy); background: var(--slate-50); transform: translateY(-2px); }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--electric);
}
.section-title { font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.section-desc { color: var(--slate-500); line-height: 1.7; font-weight: 400; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--slate-200), transparent); margin: 0 auto; max-width: 600px; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 20px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(226,232,240,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(226,232,240,0.5) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.4;
}
.hero-bg-radial { position: absolute; top: -20%; right: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 100px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 500; color: var(--slate-600); margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--electric); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-family: 'Syne', sans-serif; font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--navy); }
.hero-headline .accent { color: var(--electric); }
.hero-desc { font-size: 1.05rem; line-height: 1.75; color: var(--slate-500); max-width: 480px; font-weight: 400; margin-top: 20px; }

/* NAUTILUS SVG SPIRAL */
.nautilus-container { position: relative; display: flex; align-items: center; justify-content: center; }
.nautilus-rings { animation: slowRotate 40s linear infinite; transform-origin: center; }
@keyframes slowRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.nautilus-core { animation: slowRotate 30s linear infinite reverse; transform-origin: center; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted-section { border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); padding: 40px 0; background: var(--slate-50); }
.trust-logo { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--slate-300); letter-spacing: -0.02em; transition: color 0.3s ease; cursor: default; white-space: nowrap; }
.trust-logo:hover { color: var(--slate-400); }

/* ============================================================
   CARDS & BENTO
   ============================================================ */
.bento-card { background: white; border: 1px solid var(--slate-100); border-radius: 16px; padding: 32px; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); }
.bento-card:hover { border-color: var(--slate-200); box-shadow: 0 20px 60px rgba(11,20,38,0.08); transform: translateY(-4px); }
.bento-card-featured { background: var(--navy); color: white; }
.bento-card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card { background: white; border: 1px solid var(--slate-100); border-radius: 20px; padding: 40px; transition: all 0.35s cubic-bezier(0.22,1,0.36,1); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--electric), transparent); opacity: 0; transition: opacity 0.3s ease; }
.service-card:hover { border-color: rgba(37,99,235,0.2); box-shadow: 0 24px 80px rgba(11,20,38,0.1); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.price-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--electric-pale); border: 1px solid rgba(37,99,235,0.15); border-radius: 8px; padding: 8px 14px; font-size: 0.82rem; font-weight: 600; color: var(--electric); margin-top: 24px; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-card { background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: 20px; overflow: hidden; transition: all 0.35s cubic-bezier(0.22,1,0.36,1); }
.portfolio-card:hover { box-shadow: 0 30px 80px rgba(11,20,38,0.12); transform: translateY(-6px); }
.browser-chrome { background: var(--slate-100); border-bottom: 1px solid var(--slate-200); padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar { flex: 1; background: white; border-radius: 4px; height: 20px; margin: 0 10px; border: 1px solid var(--slate-200); display: flex; align-items: center; padding: 0 10px; }
.browser-bar span { font-size: 0.65rem; color: var(--slate-400); font-family: 'DM Sans', sans-serif; }
.portfolio-screen { padding: 20px; min-height: 220px; position: relative; overflow: hidden; }
.tag-pill { display: inline-flex; padding: 4px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 500; background: var(--slate-100); color: var(--slate-600); border: 1px solid var(--slate-200); }

/* ============================================================
   METRICS
   ============================================================ */
.metric-card { text-align: center; padding: 40px 24px; }
.metric-number { font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--navy); line-height: 1; }
.metric-number .accent { color: var(--electric); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-field { width: 100%; background: var(--slate-50); border: 1.5px solid var(--slate-200); border-radius: 10px; padding: 13px 16px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--navy); transition: all 0.2s ease; outline: none; appearance: none; }
.form-field:focus { border-color: var(--electric); background: white; box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--slate-600); margin-bottom: 7px; letter-spacing: 0.01em; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.fibonacci-ring { fill: none; stroke: rgba(37,99,235,0.12); stroke-width: 1; }
.fibonacci-path { fill: none; stroke: var(--electric); stroke-width: 1.5; stroke-linecap: round; opacity: 0.6; stroke-dasharray: 800; stroke-dashoffset: 800; animation: drawPath 3s ease forwards 0.5s; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { 
  background: var(--navy); 
  color: rgba(255,255,255,0.6); 
  padding: 60px 0 32px; 
  width: 100%;
  display: block;
}
.footer-link { font-size: 0.85rem; color: rgba(255,255,255,0.5); cursor: pointer; transition: color 0.2s ease; text-decoration: none; }
.footer-link:hover { color: white; }

#footer-placeholder {
  display: block;
  width: 100%;
}

#footer-placeholder footer {
  width: 100%;
  display: block;
}

/* ============================================================
   GRADIENTS / UTILITY
   ============================================================ */
.gradient-text { background: linear-gradient(135deg, var(--navy) 0%, var(--electric) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.blue-glow { box-shadow: 0 0 0 1px rgba(37,99,235,0.15), 0 8px 32px rgba(37,99,235,0.12); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   ANIMATIONS (Tailwind keyframes mirrored)
   ============================================================ */
@keyframes fadeUp   { 0%   { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { 0%   { opacity: 0; } 100% { opacity: 1; } }
@keyframes slideLeft{ 0%   { opacity: 0; transform: translateX(24px); } 100% { opacity: 1; transform: translateX(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid, .about-hero-grid, .contact-grid, .process-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .nautilus-container { display: none; }
  .bento-grid { grid-template-columns: 1fr !important; }
  .portfolio-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .philosophy-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .service-card { grid-template-columns: 1fr !important; }
  .service-card > div:last-child { display: none; }
  .cta-grid { grid-template-columns: 1fr !important; }
  .cta-grid > div:last-child { align-items: flex-start !important; }
  .form-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .btn-cta { display: none; }

  .philosophy-grid {
    padding-right: 1.0rem;
  }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* Footer bottom bar responsive */
@media (max-width: 1100px) {
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

/* NAVBAR LOGO — update this existing rule */
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  /* removed: gap: 10px — no longer needed since it's one image */
}

/* ADD this new rule for the logo image */
.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  /* optional: slight padding adjustment */
  margin: 0;
}

/* ADD this new rule */
.footer-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Call button */
.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--electric-pale);
  border: 1.5px solid rgba(37,99,235,0.2);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.call-btn:hover {
  background: var(--electric);
  border-color: var(--electric);
}

.call-btn:hover svg path {
  stroke: white;
}

/* Social Media Icons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon:hover {
  border-color: var(--electric);
  color: var(--electric);
  background: rgba(37,99,235,0.1);
  transform: translateY(-2px);
}

/* ── NAVBAR HEADER ────────────────────────────────────── */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 2rem;
  /* transparent by default */
  background: transparent;
  transition: all 0.4s ease;
}

/* scroll වුණාම glass effect */
.navbar-header.scrolled {
  padding: 10px 2rem;
  background: transparent;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(11, 20, 38, 0.06);
  box-shadow: 0 4px 24px rgba(11, 20, 38, 0.06);
}

/* ── NAVBAR INNER (pill shape) ───────────────────────── */
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 12px 28px;
  box-shadow: 0 4px 32px rgba(11, 20, 38, 0.06);
  transition: all 0.4s ease;
}

/* scroll වුණාම inner pill transparent වෙනවා */
.navbar-header.scrolled .navbar-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 4px 0;
}

/* Stats counter animation */
.stat-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.25s; }
.stat-item:nth-child(5) { transition-delay: 0.4s; }

/* ============================================================
   STATS CARD — Full Width
   ============================================================ */
.stats-card-wrapper {
  /* max-width: flex; */
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.stats-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  background: var(--navy);
  border-radius: 20px;
  padding: 28px 36px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(11,20,38,0.18);
}

.stats-card .stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .stats-card {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .stats-card .stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* Floating visual — right side */
.hero-float-visual {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
}

/* Rings */
.float-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.float-ring-1 {
  width: 300px; height: 300px;
  animation: ringPulse 4s ease-in-out infinite;
}
.float-ring-2 {
  width: 450px; height: 450px;
  border-color: rgba(37,99,235,0.07);
  animation: ringPulse 4s ease-in-out infinite 0.8s;
}
.float-ring-3 {
  width: 580px; height: 580px;
  border-color: rgba(37,99,235,0.04);
  animation: ringPulse 4s ease-in-out infinite 1.6s;
}

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.04); opacity: 0.6; }
}

/* Floating dots */
.float-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--electric);
}
.float-dot-1 {
  width: 8px; height: 8px;
  top: 28%; left: 52%;
  opacity: 0.5;
  animation: floatDot 3s ease-in-out infinite;
}
.float-dot-2 {
  width: 5px; height: 5px;
  top: 60%; left: 65%;
  opacity: 0.3;
  animation: floatDot 3s ease-in-out infinite 1s;
}
.float-dot-3 {
  width: 10px; height: 10px;
  top: 42%; left: 78%;
  opacity: 0.2;
  animation: floatDot 3s ease-in-out infinite 2s;
}

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

/* Scroll line */
.hero-scroll-line {
  width: 1px;
  height: 18px;
  background: linear-gradient(to bottom, var(--electric), transparent);
  margin-left: 2px;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-float-visual { display: none; }
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  background: white;
  border: 2.5px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  margin: 0 8px;
}

.process-step:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 20px 60px rgba(11,20,38,0.08);
  transform: translateY(-6px);
}

/* Step number */
.process-step-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;

  /* Gradient text effect */
  background: linear-gradient(135deg, var(--electric) 0%, rgba(37,99,235,0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-step:hover .process-step-number {
  color: rgba(37,99,235,0.15);
}

/* Icon */
.process-step-icon {
  width: 52px;
  height: 52px;
  background: var(--electric-pale);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.process-step:hover .process-step-icon {
  background: var(--electric);
  border-color: var(--electric);
}

.process-step:hover .process-step-icon svg path,
.process-step:hover .process-step-icon svg rect {
  stroke: white;
}

/* Title */
.process-step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* Description */
.process-step-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* List */
.process-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-step-list li {
  font-size: 0.78rem;
  color: var(--slate-400);
  padding-left: 16px;
  position: relative;
  font-weight: 500;
}

.process-step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--electric);
  opacity: 0.5;
}

/* Connector line between steps */
.process-step-connector {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .process-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .process-step {
    margin: 0;
  }
}

@media (max-width: 600px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   FEATURED PROJECTS SECTION
   ============================================================ */
.featured-project {
  width: 100%;
}

.featured-project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.featured-project-reverse .featured-project-content {
  direction: rtl;
}

.featured-project-reverse .featured-project-content > * {
  direction: ltr;
}

/* Info side */
.featured-project-info {
  display: flex;
  flex-direction: column;
}

/* Mockup side */
.featured-project-mockup {
  position: relative;
}

/* Browser mockup */
.mockup-browser {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: 0 24px 80px rgba(11,20,38,0.12);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.mockup-browser:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.mockup-browser-bar {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-url {
  font-size: 0.65rem;
  color: var(--slate-400);
  font-family: 'DM Sans', sans-serif;
  background: white;
  padding: 3px 12px;
  border-radius: 4px;
  border: 1px solid var(--slate-200);
}

.mockup-screen {
  min-height: 280px;
}

/* Floating badge */
.mockup-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(11,20,38,0.1);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .featured-project-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    direction: ltr !important;
  }
  .featured-project-reverse .featured-project-content {
    direction: ltr;
  }
  .mockup-float-badge {
    display: none;
  }
}

/* ============================================================
   TECH STACK MARQUEE
   ============================================================ */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Fade edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--slate-50), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--slate-50), transparent);
}

/* Track */
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 8px 0;
}

.marquee-left {
  animation: marqueeLeft 35s linear infinite;
}

.marquee-right {
  animation: marqueeRight 28s linear infinite;
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

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

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

/* Tech item — with icon */
.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  padding: 10px 20px;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: default;
}

.tech-item:hover {
  border-color: var(--electric);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
  transform: translateY(-2px);
}

.tech-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
}

.tech-item:hover span {
  color: var(--navy);
}

/* Tech item — text only (row 2) */
.tech-item-outline {
  background: transparent;
  border: 1.5px solid var(--slate-200);
}

.tech-item-outline:hover {
  background: white;
  border-color: var(--electric);
}

.tech-item-outline span {
  color: var(--slate-400);
  font-size: 0.82rem;
}

.tech-item-outline:hover span {
  color: var(--navy);
}

/* ============================================================
   TRUST / TESTIMONIALS SECTION
   ============================================================ */

/* Trust Cards */
.trust-card {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust-card:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 20px 60px rgba(11,20,38,0.08);
  transform: translateY(-6px);
}

.trust-card:hover::before { opacity: 1; }

.trust-card-featured {
  background: var(--navy);
  border-color: transparent;
}

.trust-card-featured:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(11,20,38,0.25);
}

.trust-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.trust-card-stat {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
}

.trust-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.trust-card-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 20px;
}

.trust-card-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}

.trust-proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}

.testimonial-card:hover {
  background: white;
  border-color: var(--slate-200);
  box-shadow: 0 20px 60px rgba(11,20,38,0.08);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 20px 32px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  white-space: nowrap;
}

.trust-bar-divider {
  width: 1px;
  height: 24px;
  background: var(--slate-200);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
  .testimonial-grid {
    grid-template-columns: 1fr !important;
  }
  .trust-bar {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }
  .trust-bar-divider {
    width: 40px;
    height: 1px;
  }
}

/* ============================================================
   HERO SLIDESHOW — FULL BACKGROUND VERSION
   ============================================================ */

/* Slideshow sits behind everything as a full-section background */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: unset;
  box-shadow: none;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.04);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slide.exiting {
  opacity: 0;
  transform: scale(0.98);
  z-index: 0;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom UI bar: caption + dots */
.hero-slideshow-ui {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Caption bar — only active item shown */
.hero-slide-caption-bar {
  position: relative;
  height: 44px; /* fixed height so layout doesn't jump */
}
.hero-slide-caption-item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11,20,38,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
  pointer-events: none;
}
.hero-slide-caption-item.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-caption-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin: 0;
}

.hero-slide-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(37,99,235,0.85);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Dots */
.hero-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Remove old wrapper styles — no longer needed */
.hero-slideshow-wrapper { display: none; }
.hero-float-card { display: none; }

@media (max-width: 900px) {
  .hero-slideshow-ui { bottom: 20px; }
}

/* ============================================================
   SERVICES PAGE — Industry Filter + Cards
   ============================================================ */

/* Industry tabs */
.industry-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-tabs::-webkit-scrollbar { display: none; }

.industry-tab {
  padding: 18px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-400);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.industry-tab:hover { color: var(--navy); }
.industry-tab.active {
  color: var(--electric);
  border-bottom-color: var(--electric);
  font-weight: 600;
}

/* Category header */
.category-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.category-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.category-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 600px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Service card */
.svc-card {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: 20px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  border-color: var(--electric);
  box-shadow: 0 20px 60px rgba(37,99,235,0.1);
  transform: translateY(-6px);
}
.svc-card-featured {
  background: var(--navy);
  border-color: transparent;
}
.svc-card-featured:hover {
  border-color: rgba(37,99,235,0.5);
  box-shadow: 0 20px 60px rgba(11,20,38,0.3);
}
.svc-card-top { min-height: 24px; margin-bottom: 12px; }
.svc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.svc-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.svc-result {
  font-size: 0.8rem;
  color: var(--slate-400);
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  margin-bottom: 10px;
}
.svc-learn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--electric);
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .category-header { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   ABOUT PAGE — New Sections
   ============================================================ */

/* Comparison Table */
.comparison-row td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-100);
}
.comparison-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-600);
}
.comparison-cell {
  text-align: center;
}
.comparison-cell.comp-featured {
  background: rgba(11,20,38,0.04);
}
.comp-yes {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16a34a;
}
.comp-no {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #dc2626;
}
.comp-maybe {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-400);
}
.comp-featured .comp-yes {
  color: white;
  background: rgba(22,163,74,0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Team Cards */
.team-card {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.team-card:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 20px 60px rgba(11,20,38,0.08);
  transform: translateY(-6px);
}
.team-card-header {
  position: relative;
  background: var(--slate-50);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
}
.team-avatar-ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.15);
}
.team-card-body {
  padding: 24px;
}
.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  color: var(--electric);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.team-bio {
  font-size: 0.84rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 16px;
}
.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--electric);
  text-decoration: none;
  padding: 6px 0;
  border-top: 1px solid var(--slate-100);
  width: 100%;
  transition: gap 0.2s ease;
}
.team-linkedin:hover { gap: 10px; }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── SERVICE SELECT BUTTONS ──────────────────────────── */
.service-select-btn {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.service-select-btn:hover {
  border-color: var(--electric);
  background: var(--electric-pale);
}

.service-select-btn.selected {
  border-color: var(--electric);
  background: var(--electric-pale);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.service-select-btn.selected span:first-child {
  transform: scale(1.2);
  display: block;
}