/* ==========================================================================
   MegabyteSolu — Main Stylesheet
   Design System: Premium Vibrant Blue & Cyan (Framer/Spline Inspired)
   ========================================================================== */

/* ---------- CSS Variables (Vibrant Blue & Cyan Palette) ---------- */
:root {
  --bg-primary: #fafdfe;         /* Icy/Crystal Blue White */
  --bg-secondary: #ffffff;       /* Pure white for cards & layers */
  --bg-card: rgba(255, 255, 255, 0.75); /* Blue-cyan glassmorphism */
  
  --accent-primary: #0284c7;     /* Vibrant Blue (Sky 600) */
  --accent-primary-hover: #0369a1;
  --accent-primary-light: rgba(2, 132, 199, 0.05);
  --accent-secondary: #06b6d4;   /* Cyan (Cyan 500) */
  --accent-secondary-hover: #0891b2;
  --accent-secondary-light: rgba(6, 182, 212, 0.08);
  --accent-violet: #38bdf8;      /* Sky Blue */
  --accent-violet-light: rgba(56, 189, 248, 0.05);
  
  --text-primary: #0f172a;       /* Slate Black (Slate 900) */
  --text-secondary: #334155;     /* Slate Gray (Slate 700 - readable body text) */
  --text-muted: #64748b;         /* Slate Muted (Slate 500) */
  
  --border-light: rgba(2, 132, 199, 0.06); /* Clean blue border */
  --border-hover: rgba(2, 132, 199, 0.2);
  
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.01), 0 10px 40px rgba(15, 23, 42, 0.02); /* Soft shadow */
  --shadow-glow: 0 15px 40px rgba(2, 132, 199, 0.06); /* Blue/Cyan soft glow */
  --shadow-nav: 0 1px 0 rgba(15, 23, 42, 0.03), 0 4px 20px rgba(15, 23, 42, 0.01);
  
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  /* Organic Fluid Mesh Gradients + Dotted Matrix Blueprint + Grid Lines */
  background-image: 
    linear-gradient(135deg, rgba(250, 253, 254, 0.92) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(240, 249, 255, 0.92) 100%),
    radial-gradient(circle at 1.5px 1.5px, rgba(2, 132, 199, 0.08) 1.5px, transparent 0),
    linear-gradient(rgba(2, 132, 199, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 166, 212, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Premium Dynamic Background Ambient Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  will-change: transform;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(2, 132, 199, 0) 70%);
  top: -10%;
  left: -10%;
  animation: orbFloatOne 30s ease-in-out infinite;
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -15%;
  right: -10%;
  animation: orbFloatTwo 40s ease-in-out infinite;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 70%);
  top: 40%;
  left: 45%;
  animation: orbFloatThree 35s ease-in-out infinite;
}

.glow-orb-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: 30%;
  left: -5%;
  animation: orbFloatFour 45s ease-in-out infinite;
}

.glow-orb-5 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 70%);
  top: 15%;
  right: 15%;
  animation: orbFloatFive 25s ease-in-out infinite;
}

@keyframes orbFloatOne {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 100px) scale(1.1); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloatTwo {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, -60px) scale(0.9); }
  66% { transform: translate(50px, -110px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloatThree {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 60px) scale(1.15); }
  66% { transform: translate(80px, -40px) scale(0.88); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloatFour {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -50px) scale(0.95); }
  66% { transform: translate(-60px, 60px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloatFive {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -40px) scale(1.08); }
  66% { transform: translate(40px, 40px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #bae6fd;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7dd3fc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Common ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: inset 0 30px 100px rgba(2, 132, 199, 0.015), inset 0 -30px 100px rgba(2, 132, 199, 0.015);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-primary-light);
  border: 1px solid rgba(2, 132, 199, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  /* Premium blue gradient text */
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ======== 1. Navigation ======== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 253, 254, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 253, 254, 0.9);
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition);
}

.navbar.scrolled .nav-container {
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  display: flex;
  align-items: center;
}

/* Override Logo color to Blue */
.logo-icon svg rect {
  fill: var(--accent-primary) !important;
}

.logo-text {
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-mobile-only-footer {
  display: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.02);
}

/* CTA button inside Nav */
.nav-cta {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.nav-cta:hover {
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ======== 2. Hero ======== */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-primary-light);
  border: 1px solid rgba(2, 132, 199, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

.hero-stats-mini {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
}

.stat-mini-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-mini-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-image {
  width: 100%;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.1);
  border: 1px solid var(--border-light);
}

@keyframes heroFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.hero-bg-decor {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ======== 3. Client Marquee ======== */
.clients {
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(250, 253, 254, 0.45);
}

.clients-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.marquee-item {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity var(--transition), color var(--transition);
}

.marquee-item:hover {
  opacity: 1;
  color: var(--accent-primary);
}

.marquee-dot {
  color: var(--border-light);
  font-size: 1.5rem;
  line-height: 1;
}

/* ======== 4. About ======== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 40px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(2, 132, 199, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.15);
  box-shadow: var(--shadow-glow);
  background: var(--bg-secondary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline;
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* ======== 5. Services ======== */
.services {
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.02) 0%, transparent 70%);
}

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

.service-card {
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(2, 132, 199, 0.2);
  background: var(--bg-secondary);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

/* Dynamic custom SVG icons colors inside service cards */
.service-icon svg [stroke="#FF6B35"] { stroke: var(--accent-secondary) !important; }
.service-icon svg [fill="#FF6B35"] { fill: var(--accent-secondary) !important; }
.service-icon svg [fill="#1A2B4B"] { fill: var(--accent-primary) !important; }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ======== 6. Process ======== */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: var(--shadow-glow);
  background: var(--bg-secondary);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  margin-top: 56px;
  flex-shrink: 0;
}

/* Animate the pipeline connectors */
.process-connector svg path {
  stroke: var(--accent-secondary) !important;
  stroke-opacity: 0.8 !important;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: laserPulse 2s linear infinite;
}

@keyframes laserPulse {
  to {
    stroke-dashoffset: -40;
  }
}

/* ======== 7. Case Studies ======== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(2, 132, 199, 0.15);
  box-shadow: var(--shadow-glow);
  background: var(--bg-secondary);
}

.case-image {
  aspect-ratio: 5/3;
  overflow: hidden;
  background: #fafdfe;
  border-bottom: 1px solid var(--border-light);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(2, 132, 199, 0.04);
  color: var(--accent-primary);
  border: 1px solid rgba(2, 132, 199, 0.12);
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.case-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.case-highlights {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-highlights li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.case-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 4px var(--accent-primary);
}

/* ======== 8. Testimonials ======== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.15);
  box-shadow: var(--shadow-glow);
  background: var(--bg-secondary);
}

.testimonial-stars {
  color: #0284c7;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 28px;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--accent-primary);
  opacity: 0.08;
  position: absolute;
  top: -24px;
  left: -12px;
  line-height: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.author-name {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ======== 9. Team ======== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 40px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.15);
  box-shadow: var(--shadow-glow);
  background: var(--bg-secondary);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.team-role {
  display: block;
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======== 10. Contact ======== */
.contact-card-hero {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 80px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.contact-card-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(2, 132, 199, 0.02) 0%, transparent 60%),
              radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.contact-card-hero .contact-info-text {
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.contact-grid-horizontal {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  cursor: default;
}

a.contact-info-card {
  cursor: pointer;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: var(--shadow-glow);
  background: var(--bg-secondary);
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-primary-light);
  border: 1px solid rgba(2, 132, 199, 0.15);
  color: var(--accent-primary);
  margin-bottom: 24px;
  transition: all var(--transition);
}

.contact-info-card:hover .contact-card-icon {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.3);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-card-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  word-break: break-all;
}

.contact-card-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======== 11. Footer (Deep Ocean Navy contrast anchor) ======== */
.footer {
  background: #0b1329; /* Deep ocean navy contrast anchor */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 80px 0 40px;
  margin-top: 120px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 20px;
  max-width: 300px;
  line-height: 1.65;
}

.footer .nav-logo {
  color: #fff;
}

.footer .logo-text {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #ffffff !important;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-secondary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.social-link svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  display: block;
}

.social-link:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   RESPONSIVE — Tablet (768px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats-mini {
    justify-content: center;
  }

  .hero-image {
    max-width: 520px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    gap: 20px;
  }

  .process-step {
    min-width: 180px;
    max-width: none;
    flex: 1 1 calc(50% - 20px);
  }

  .process-connector {
    display: none;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-card:last-child {
    grid-column: 1 / -1;
    max-width: 440px;
    justify-self: center;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 440px;
    justify-self: center;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card-hero {
    padding: 60px 32px;
  }

  .contact-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   RESPONSIVE — Mobile (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  /* Nav — mobile overlay styling */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    overflow-y: auto;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger fade delay */
  .nav-links.active li:nth-child(1) { transition-delay: 0.04s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.08s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.12s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.16s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.20s; }
  .nav-links.active li:nth-child(6) { transition-delay: 0.24s; }
  .nav-links.active li:nth-child(7) { transition-delay: 0.28s; }
  .nav-links.active li:nth-child(8) { transition-delay: 0.32s; }

  .nav-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 12px 0;
    width: 100%;
    color: var(--text-primary);
    transition: color var(--transition);
  }

  .nav-link:hover {
    color: var(--accent-primary);
    background: none;
  }

  .nav-cta {
    display: inline-block;
    margin-left: 0;
    margin-top: 16px;
    width: 80%;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: var(--accent-primary);
    color: #fff !important;
    font-weight: 600;
  }

  .nav-mobile-only-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    width: 80%;
  }

  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .nav-mobile-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .nav-mobile-email {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
  }

  .nav-mobile-email:hover {
    color: var(--accent-primary);
  }

  .nav-mobile-socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
  }

  .nav-mobile-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all var(--transition);
  }

  .nav-mobile-socials a:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
  }

  /* Hero */
  .hero {
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 32px 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-steps {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .process-step {
    min-width: 0;
    max-width: none;
    flex: none;
  }

  /* Cases */
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .case-card:last-child {
    max-width: none;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card:last-child {
    max-width: none;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-card-hero {
    padding: 48px 20px;
  }

  .contact-grid-horizontal {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
