/* =================================================================
   A-CORP TECH — PREMIUM ENTERPRISE CSS DESIGN SYSTEM
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Custom Properties ---- */
:root {
  /* Core Brand Colors */
  --primary:        #0A0F1E;
  --primary-light:  #0F172A;
  --navy:           #1E293B;
  --secondary:      #0EA5E9;
  --secondary-dark: #0284C7;
  --secondary-glow: rgba(14,165,233,0.25);
  --accent:         #6366F1;
  --accent-light:   rgba(99,102,241,0.15);
  --gold:           #F59E0B;

  /* Neutrals */
  --white:     #FFFFFF;
  --light:     #F8FAFC;
  --grey-50:   #F8FAFC;
  --grey-100:  #F1F5F9;
  --grey-200:  #E2E8F0;
  --grey-300:  #CBD5E1;
  --grey-400:  #94A3B8;
  --grey-500:  #64748B;
  --grey-700:  #334155;
  --grey-800:  #1E293B;
  --grey-900:  #0F172A;
  --dark:      #020617;

  /* Glass */
  --glass-bg:     rgba(255,255,255,0.06);
  --glass-bg-md:  rgba(255,255,255,0.10);
  --glass-border: rgba(255,255,255,0.12);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --nav-height:  88px;
  --max-width:   1280px;
  --section-pad: 7rem;

  /* Easings */
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elegant: cubic-bezier(0.23, 1, 0.32, 1);
  --transition:   all 0.45s var(--ease-smooth);
  --transition-fast: all 0.25s var(--ease-smooth);

  /* Radii */
  --radius-xs:   0.375rem;
  --radius-sm:   0.625rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.16), 0 16px 32px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(14,165,233,0.20);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--grey-700);
  background-color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-light);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); }

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  margin-bottom: 4.5rem;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary-light);
}

.section-title span {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--grey-500);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.text-white   { color: var(--white); }
.text-secondary { color: var(--secondary); }
.text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,0.50);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-light);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}
.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--grey-300);
}
.btn-ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth), height 0.45s var(--ease-smooth);
  display: flex;
  align-items: center;
  /* Always-visible gradient so text/logo readable over any hero image */
  background: linear-gradient(to bottom, rgba(5,10,25,0.70) 0%, rgba(5,10,25,0.20) 80%, transparent 100%);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-sm);
  height: 72px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  /* Premium white/silver treatment for transparent header state */
  filter: brightness(0) invert(1);
  display: block;
}

.navbar.scrolled .logo img {
  height: 38px;
  filter: none; /* Revert to original brand colors on white sticky header */
}

@media (max-width: 768px) {
  .logo img { height: 38px; }
  .navbar.scrolled .logo img { height: 32px; }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9375rem;
  /* Always crisp white with soft shadow — readable on any hero background */
  color: rgba(255,255,255,1);
  text-shadow: 0 1px 5px rgba(0,0,0,0.35);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: -0.01em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }

.nav-links a:hover {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(14,165,233,0.4);
}

/* Once scrolled, switch to dark text — no shadow needed */
.navbar.scrolled .nav-links a {
  color: var(--grey-700);
  text-shadow: none;
  font-weight: 500;
}
.navbar.light-bg .nav-links a {
  color: var(--grey-700);
  text-shadow: none;
  font-weight: 500;
}

.navbar.scrolled .nav-links a:hover,
.navbar.light-bg .nav-links a:hover { color: var(--secondary); }

.nav-cta {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(14,165,233,0.45); }
.nav-cta::after { display: none !important; }

/* Mobile Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  /* Always white — switch to dark on scroll */
  background: var(--white);
  border-radius: 2px;
  margin: 5px 0;
  transition: var(--transition);
  /* Subtle shadow keeps it visible on light backgrounds */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.navbar.scrolled .mobile-menu-btn span,
.navbar.light-bg  .mobile-menu-btn span  {
  background: var(--primary-light);
  filter: none;
}

/* ===================== HERO ===================== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-elegant);
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide.prev   { opacity: 0; z-index: 1; }

/* Overlay */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,15,30,0.88) 0%,
    rgba(10,15,30,0.60) 60%,
    rgba(10,15,30,0.40) 100%
  );
  z-index: 1;
}

.hero-slide > .container { position: relative; z-index: 2; }

.hero-content {
  max-width: 780px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.7s var(--ease-elegant) both;
}

.hero-tag i { font-size: 0.75rem; }

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: fadeSlideUp 0.8s 0.15s var(--ease-elegant) both;
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #38BDF8, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.175rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.75rem;
  max-width: 620px;
  animation: fadeSlideUp 0.8s 0.25s var(--ease-elegant) both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.35s var(--ease-elegant) both;
}

/* Hero Indicators */
.hero-dots {
  position: absolute;
  bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.625rem;
}

.hero-dot {
  width: 30px; height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--secondary);
  width: 50px;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

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

/* ===================== TRUST BAND ===================== */
.trust-band {
  background: var(--white);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--grey-200);
  overflow: hidden;
}

.trust-band-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.trust-band:hover .trust-band-inner { animation-play-state: paused; }

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

.trust-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--grey-400);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.trust-logo i { font-size: 1.375rem; }
.trust-logo:hover { color: var(--grey-600); }

/* ===================== GLASS CARDS ===================== */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,0,0,0.03);
}

/* ===================== SERVICE CARDS ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  padding: 2.75rem 2.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, #0F2450 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(14,165,233,0.15);
  border-color: transparent;
}

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

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(99,102,241,0.12));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  transition: var(--transition);
}

.service-card p {
  color: var(--grey-500);
  font-size: 0.9375rem;
  line-height: 1.75;
  transition: var(--transition);
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link { color: var(--white); }

.service-link:hover { gap: 0.625rem; }

/* ===================== COUNTERS ===================== */
.counters-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0F2450 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.counters-section::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 70%);
  pointer-events: none;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-item {
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.counter-item:last-child { border-right: none; }

.counter-value-wrap {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

.counter-suffix {
  font-size: 0.55em;
  color: var(--secondary);
}

.counter-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
  background: var(--grey-50);
  padding: var(--section-pad) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.2);
}

.testimonial-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--grey-600);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-100);
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary-light);
  margin-bottom: 0.125rem;
}

.author-title {
  font-size: 0.8125rem;
  color: var(--grey-500);
}

.stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

.process-grid::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.step-number {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ===================== CTA BLOCK ===================== */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, #0F2450 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 65%);
  pointer-events: none;
}

.cta-block h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-block p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  position: relative;
}

.cta-block .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===================== JOB CARDS ===================== */
.job-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary), var(--accent));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.2);
  transform: translateX(4px);
}

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

.job-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.badge-full { background: rgba(16,185,129,0.1); color: #059669; }
.badge-contract { background: rgba(245,158,11,0.1); color: #B45309; }
.badge-remote { background: rgba(99,102,241,0.1); color: var(--accent); }

.job-info h3 {
  font-size: 1.175rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--grey-500);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.job-meta i { color: var(--secondary); font-size: 0.8125rem; }

.job-salary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-light);
  white-space: nowrap;
}

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 1.625rem; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--grey-700);
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--grey-800);
  background: var(--white);
  transition: var(--transition-fast);
  line-height: 1.5;
}

.form-control::placeholder { color: var(--grey-400); }

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
  background: var(--white);
}

select.form-control { cursor: pointer; }

textarea.form-control { resize: vertical; min-height: 130px; }

/* ===================== PAGE HEADER ===================== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0F2450 60%, #1a1040 100%);
  padding: calc(var(--nav-height) + 5rem) 0 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(14,165,233,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 40%, rgba(99,102,241,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.page-header-content { position: relative; }

.page-header .section-tag { margin-bottom: 1.5rem; }

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.page-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1.175rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 6rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 4.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo { color: var(--white); }

.footer-brand-desc {
  color: var(--grey-400);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.875rem; }

.footer-links a {
  color: var(--grey-500);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
  color: var(--grey-500);
  font-size: 0.9375rem;
}

.footer-contact-icon {
  width: 30px; height: 30px;
  background: rgba(14,165,233,0.12);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.875rem 0;
  color: var(--grey-600);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.75rem;
}

.footer-bottom-links a {
  color: var(--grey-600);
  font-size: 0.875rem;
}
.footer-bottom-links a:hover { color: var(--secondary); }

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Keyframes */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ===================== ABOUT PAGE ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  /* stretch makes both columns equal height */
  align-items: stretch;
}

.about-img-wrap {
  position: relative;
  /* fill 100% of grid cell height */
  display: flex;
  flex-direction: column;
}

.about-img-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  /* flex-grow fills remaining height; object-fit crops cleanly */
  flex: 1;
  object-fit: cover;
  /* ensure no fixed height fights the stretch */
  height: 0;
  min-height: 420px;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.about-badge-text strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.about-badge-text span {
  font-size: 0.8rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--grey-200);
}

.about-stat h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.about-stat p {
  font-size: 0.875rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ===================== MISC ===================== */

/* Tag pill */
.tag-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--grey-100);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-600);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--grey-200), transparent);
  margin: 1rem 0;
}

/* Icon list */
.icon-list { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 1.75rem; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--grey-600);
}
.icon-list li i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .services-grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
  .counters-grid        { grid-template-columns: repeat(2, 1fr); }
  .process-grid         { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .about-grid           { gap: 3rem; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 5rem;
    --nav-height: 72px;
  }

  .container { padding: 0 1.5rem; }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 3rem;
    gap: 0.25rem;
    box-shadow: var(--glass-shadow);
    transition: right 0.4s var(--ease-elegant);
    z-index: 999;
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    color: var(--grey-700) !important;
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-cta { margin-top: 1rem; }

  .mobile-menu-btn { display: block; z-index: 1001; }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-overlay.active { opacity: 1; pointer-events: all; }

  .hero-content h1  { font-size: 2.25rem; }
  .hero-content p   { font-size: 1rem; }
  .hero-btns        { flex-direction: column; align-items: flex-start; }

  .services-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .counters-grid     { grid-template-columns: repeat(2, 1fr); }
  .process-grid      { grid-template-columns: 1fr 1fr; }
  .about-grid        { grid-template-columns: 1fr; }
  .about-badge       { display: none; }
  .footer-grid       { grid-template-columns: 1fr; gap: 2.5rem; }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .cta-block { padding: 3.5rem 2rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links { justify-content: center; }

  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .counters-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .counter-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.75rem; }
  .process-grid  { grid-template-columns: 1fr; }
}

/* ===================== COOKIE CONSENT POPUP ===================== */
#cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  width: calc(100% - 3rem);
  max-width: 880px;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(14,165,233,0.10);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transition: transform 0.55s var(--ease-spring), opacity 0.45s var(--ease-smooth);
  pointer-events: none;
}

#cookie-consent.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

#cookie-consent.hiding {
  transform: translateX(-50%) translateY(130%);
  opacity: 0;
  pointer-events: none;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-body {
  flex: 1;
  min-width: 0;
}

.cookie-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.cookie-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
  margin: 0;
}

.cookie-body p a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition-fast);
}

.cookie-body p a:hover {
  color: #38BDF8;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn-accept {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(14,165,233,0.40);
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,165,233,0.55);
}

.cookie-btn-reject {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn-reject:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 700px) {
  #cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
    border-radius: var(--radius-lg);
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

