/* ── Root & Base ─────────────────────────────────────────────── */
:root {
  --blue: #2563eb;
  --blue-dark: #1636da;
  --cyan: #06b6d4;
  --navy: #0f172a;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --font-heading: 'Rubik', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.page-title,
.section-title,
.card-title {
  font-family: var(--font-heading);
}

body,
p,
span,
a,
button,
input,
textarea,
select,
label,
li,
.nav-link,
.footer-text {
  font-family: var(--font-body);
}

/* ── Utility ─────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 48px rgba(37,99,235,0.55);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(14px);
}
.btn-outline:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-gradient:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(37,99,235,0.5);
}

/* ── Section Labels / Badges ─────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-badge.light {
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  color: #2563eb;
}
.section-badge.dark {
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  color: #93c5fd;
}
.section-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.section-badge.dark .dot { background: #22d3ee; }

/* ── Navbar ──────────────────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: all 0.5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
#mainNav.scrolled {
  background: #F8F9FA;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#mainNav.scrolled .nav-link {
  color: rgba(15, 23, 42, 0.85) !important;
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
  color: #0f172a !important;
}

#mainNav.scrolled .navbar-toggler {
  color: #0f172a;
}

#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815,23,42,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo swap on scroll — shared across all inner pages */
#mainNav .nav-logo-scrolled { display: none; }
#mainNav.scrolled .nav-logo-default { display: none; }
#mainNav.scrolled .nav-logo-scrolled { display: block; }
#mainNav .navbar-brand img { height: 40px; width: auto; }

#mainNav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9) !important;
  padding: 6px 0 !important;
  position: relative;
  transition: color 0.3s;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 1px;
  width: 0;
  background: #22d3ee;
  transition: width 0.3s;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { width: 100%; }
#mainNav .nav-link:hover { color: #fff !important; }

#mainNav .navbar-toggler {
  border: none;
  color: #fff;
  padding: 4px;
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown */
/* Extend the wrap's hit-area downward to bridge the visual gap between the
   trigger link and the dropdown panel, preventing premature mouseleave. */
#servicesDropdownWrap {
  padding-bottom: 12px;
}

.services-dropdown {
  position: absolute;
  top: 100%;          /* was calc(100%+12px); gap now comes from padding-bottom above */
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  background: rgba(6,12,28,0.96);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  backdrop-filter: blur(20px);
  display: none;
  z-index: 100;
}
.services-dropdown.show { display: block; }
.services-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 4px 8px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.services-dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.services-dropdown .svc-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.services-dropdown .view-all {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px;
  margin: 0;
  border-radius: 0;
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22d3ee;
}
.services-dropdown .view-all:hover { background: transparent; }

/* ── Mobile Menu ─────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(6, 12, 28, 0.97);
  backdrop-filter: blur(20px);
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: #fff; }
.mobile-menu .mobile-sub a {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenBurns 25s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.15) translate(2%, 1.5%); }
  50%  { transform: scale(1.08) translate(-3%, -2.5%); }
  100% { transform: scale(1.2) translate(3%, -1.5%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 10, 40, 0.82) 0%,
    rgba(6, 10, 40, 0.65) 50%,
    rgba(6, 10, 40, 0.75) 100%
  );
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  background: #112fab;
  border: 1px solid rgba(99,179,237,0.45);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5f3fc;
  margin-bottom: 28px;
}
.hero-badge .pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.024em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8);
}
.hero-title .highlight { color: #112fab; text-shadow: none; }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-indicator span {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50%       { transform: scaleY(1); transform-origin: top; }
}

/* ── Dark Hero (About / Services) ───────────────────────────── */
.dark-hero {
  background: #1636da;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}
.dark-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.8) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.045;
}
.dark-hero .top-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.7), rgba(6,182,212,0.5), transparent);
}

/* ── Stats Strip ─────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, #1636da 0%, #1636da 50%, #061020 100%);
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
  cursor: default;
}
.stat-item:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.25);
  transform: translateY(-4px);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── About Section ───────────────────────────────────────────── */
.about-section { padding: 100px 0; background: #fff; }
.pillar-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: rgba(37,99,235,0.3);
}
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}
.pillar-num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.04;
  line-height: 1;
  transition: opacity 0.3s;
}
.pillar-card:hover .pillar-num { opacity: 0.08; }
.pillar-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pillar-body { font-size: 0.88rem; color: var(--slate-500); line-height: 1.8; }

/* ── Services Section ────────────────────────────────────────── */
.services-section { padding: 100px 0; background: var(--slate-50); }
.service-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 36px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--service-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  color: inherit;
}
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: transform 0.3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.12); }
.service-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-desc { font-size: 0.88rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(37,99,235,0.06);
  color: #2563eb;
  border: 1px solid rgba(37,99,235,0.1);
}

/* ── Why Us ──────────────────────────────────────────────────── */
.why-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}
.why-card {
  background: linear-gradient(145deg, #0d1526 0%, #1636da 100%);
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.why-card:hover {
  border-color: rgba(37,99,235,0.40);
  transform: translateY(-10px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.50);
}
.why-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #60a5fa;
  font-size: 20px;
}
.why-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-body { font-size: 0.86rem; color: rgba(255,255,255,0.45); line-height: 1.8; }

/* ── Tech Ecosystem ──────────────────────────────────────────── */
.tech-section { padding: 100px 0 80px; background: #f8fafc; }

/* Marquee animation */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding-bottom: 8px;
}
.marquee-track-reverse {
  display: flex;
  width: max-content;
  animation: marquee-reverse 32s linear infinite;
  padding-bottom: 8px;
}
.marquee-track:hover, .marquee-track-reverse:hover { animation-play-state: paused; }

/* Tech pill cards (marquee style matching Next.js TechPill) */
.tech-pill-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  margin: 0 8px;
  cursor: default;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.tech-pill-card:hover {
  border-color: rgba(147,197,253,1);
  background: rgba(239,246,255,1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.tech-pill-abbr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dbeafe, #f1f5f9);
  border: 1px solid rgba(147,197,253,0.6);
  font-size: 9px;
  font-weight: 700;
  color: #1d4ed8;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.tech-pill-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}
.tech-pill-card:hover .tech-pill-name { color: #1d4ed8; }

/* ── Clients ─────────────────────────────────────────────────── */
.clients-section { padding: 80px 0; background: var(--slate-50); }
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.client-logo-item {
  padding: 16px 28px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-400);
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}
.client-logo-item:hover {
  color: var(--slate-700);
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: #1636da;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.8) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.04;
}
.cta-section .accent-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.7), rgba(6,182,212,0.5), transparent);
}
.cta-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.cta-sub { color: rgba(255,255,255,0.5); font-size: 1.05rem; line-height: 1.85; margin-bottom: 48px; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; margin-top: 56px; }
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(6,182,212,0.6); }
.trust-item span { color: rgba(255,255,255,0.3); font-size: 0.8rem; font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--slate-50);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 80px 0 40px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), rgba(6,182,212,0.2), transparent);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-desc { font-size: 0.86rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 24px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.footer-social:hover {
  color: var(--blue);
  border-color: rgba(37,99,235,0.25);
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
  transform: translateY(-3px);
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 24px;
}
.footer-link {
  display: block;
  font-size: 0.88rem;
  color: var(--slate-500);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.25s ease;
  position: relative;
}
.footer-link:hover { color: var(--blue); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-text { font-size: 0.85rem; color: var(--slate-500); line-height: 1.6; white-space: pre-line; }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 48px;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy { font-size: 0.84rem; color: var(--slate-400); }
.footer-links-bottom { display: flex; gap: 28px; }
.footer-links-bottom a { font-size: 0.84rem; color: var(--slate-500); text-decoration: none; transition: color 0.2s; }
.footer-links-bottom a:hover { color: var(--blue); }

/* Scroll-to-top */
#scrollTop {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 32px rgba(37,99,235,0.35);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  transition: all 0.3s ease;
  pointer-events: none;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#scrollTop:hover { transform: translateY(-4px) scale(1.1); }

/* ── About Page ──────────────────────────────────────────────── */
.about-overview { padding: 100px 0; background: #fff; }
.overview-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
}
.overview-image img { width: 100%; height: 480px; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 12px;
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mission & Vision */
.mission-section {
  padding: 100px 0;
  background: var(--slate-50);
}
.mv-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 48px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.mv-card .card-number {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(37,99,235,0.05);
  line-height: 1;
}

/* Values */
.values-section { padding: 100px 0; background: #fff; }
.value-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 36px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ── Contact Page ────────────────────────────────────────────── */
.contact-page {
  min-height: 100vh;
  background: #1636da;
  padding: 130px 0 100px;
  position: relative;
  overflow: hidden;
}
.contact-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.8) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.018;
}
.contact-info-card, .contact-hours-card, .contact-form-card {
  border-radius: 20px;
  overflow: hidden;
}
.contact-info-card { background: #fff; padding: 36px; border: 1px solid rgba(0,0,0,0.06); }
.contact-hours-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0284c7 100%);
  padding: 36px;
}
.contact-form-card { background: #fff; border: 1px solid rgba(0,0,0,0.07); }
.form-header {
  padding: 28px 36px;
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(6,182,212,0.02) 100%);
}
.form-body { padding: 36px; }
.form-label-custom {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  margin-bottom: 8px;
  display: block;
}
.form-control-custom {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: rgba(248,250,252,0.6);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  transition: all 0.2s ease;
}
.form-control-custom::placeholder { color: var(--slate-400); }
.form-control-custom:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Services Page ───────────────────────────────────────────── */
.services-grid-section { padding: 100px 0; background: var(--slate-50); }
.services-grid-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}
.services-grid-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--service-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.services-grid-card:hover::before { transform: scaleX(1); }
.services-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  color: inherit;
}

/* ── Service Detail ──────────────────────────────────────────── */
.service-detail-hero {
  background: var(--accent-color, #1636da);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}
.service-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: all 0.3s ease;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.benefit-card {
  text-align: center;
  padding: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  height: 100%;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  background: rgba(37,99,235,0.1);
  transform: translateY(-4px);
}
.benefit-stat {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0;
}
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; font-size: 12px; color: var(--slate-400); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.82;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; padding-top: 12px; }

/* ── Thank You Page ──────────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  background: #1636da;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thankyou-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.8) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.04;
}

/* ── Animations ──────────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }

/* ── Section Headings ────────────────────────────────────────── */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto;
}
.section-sub.light { color: rgba(255,255,255,0.5); }

/* ── Process Steps ───────────────────────────────────────────── */
.process-step {
  text-align: center;
  padding: 32px;
}
.process-number {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ── Responsive Helpers ──────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .about-section, .services-section, .why-section,
  .tech-section, .clients-section, .about-overview,
  .mission-section, .values-section, .services-grid-section { padding: 70px 0; }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: 2rem; }
  .cta-title { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
  footer { padding: 60px 0 32px; }
  .contact-page { padding: 110px 0 80px; }
}
