/* ═══════════════════════════════════════════════════════
   ANTIGRAVITY v2.1 — CodeLume Solutions Stylesheet
   V2.1: section dividers, section glows, cursor glow trail,
   testimonial slider carousel, enhanced card hover depth,
   layered parallax speeds.
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── ROOT ─── */
:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #0f172a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --accent: #2563EB;
  --accent2: #06B6D4;
  --accent-gradient: linear-gradient(135deg, #2563EB, #06B6D4);
  --text-main: #ffffff;
  --text-primary: #ffffff;
  --text-muted: #94a3b8;
  --border: rgba(37, 99, 235, 0.25);
  --glow: rgba(37, 99, 235, 0.35);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

section {
  scroll-margin-top: 90px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button {
  cursor: none;
}

input,
textarea,
select {
  cursor: none;
}

:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ─── CURSOR SYSTEM ─── */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  pointer-events: none;
  transition: transform .15s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.5);
  pointer-events: none;
  transition: transform .08s ease, width .3s, height .3s, border-color .3s;
  transform: translate(-50%, -50%);
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: var(--accent2);
  background: rgba(6, 182, 212, 0.08);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9990;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .6s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: shimmer 3s infinite alternate;
  background-size: 200% auto;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* ─── SECTION DIVIDERS (Gradient Breaks) ─── */
.section-divider {
  height: 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 2px;
  background: var(--accent-gradient);
  transform: translate(-50%, -50%);
  opacity: .25;
  border-radius: 1px;
}

/* ─── SECTION GLOW (Floating Spotlight) ─── */
.section-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.section-glow-right {
  left: auto;
  right: -100px;
  transform: translateY(-50%);
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.logo-text em {
  font-style: normal;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header {
  position: sticky;
  top: 0;
  z-index: 900;
}

.navbar {
  position: relative;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: 100%;
  transition: box-shadow .3s, background .3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.15);
  background: rgba(11, 15, 25, 0.95);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.5px;
  transition: all .3s;
}

.logo:hover {
  filter: drop-shadow(0 0 12px var(--glow));
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px var(--glow);
}

.logo em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navmenu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
}

.navmenu>li>a {
  display: block;
  padding: 0 17px;
  line-height: 76px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
  white-space: nowrap;
}

.navmenu>li>a:hover,
.navmenu>li>a.active {
  color: #fff;
}

.nav-btn {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  padding: 11px 26px !important;
  border-radius: 7px;
  line-height: normal !important;
  font-weight: 600 !important;
  margin-left: 10px;
  box-shadow: 0 4px 15px var(--glow);
  transition: transform .2s, box-shadow .2s !important;
}

.nav-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 25px var(--glow) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  min-width: 44px;
  min-height: 44px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .93rem;
  font-family: var(--font-body);
  border: none;
  box-shadow: 0 4px 18px var(--glow);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px var(--glow);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .93rem;
  border: 2px solid rgba(255, 255, 255, .2);
  transition: all .3s ease;
  min-height: 44px;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(37, 99, 235, .1);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
  transform: scale(1.02);
}

.btn-ghost .ghost-sub {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
  transition: background 1s ease;
}

.glow-morning {
  background: radial-gradient(circle at 30% 30%, rgba(253, 184, 19, 0.12) 0%, var(--bg-primary) 70%);
}

.glow-afternoon {
  background: radial-gradient(circle at 50% 10%, rgba(255, 140, 0, 0.1) 0%, var(--bg-primary) 70%);
}

.glow-evening {
  background: radial-gradient(circle at 70% 20%, rgba(138, 43, 226, 0.12) 0%, var(--bg-primary) 70%);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-spotlight {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
  top: -150px;
  right: -100px;
  z-index: 1;
  will-change: transform;
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 120px 6% 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border);
  color: var(--accent2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 56px);
  /* Reduced size, better responsive scale */
  line-height: 1.25;
  /* Improved line height */
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 540px;
}

.hero-greeting-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.greeting-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Time animations */
.greeting-icon-sun {
  color: #FDB813;
  animation: pulseSun 3s infinite alternate;
}

@keyframes pulseSun {
  from {
    text-shadow: 0 0 5px rgba(253, 184, 19, 0.4);
    transform: scale(1);
  }

  to {
    text-shadow: 0 0 15px rgba(253, 184, 19, 0.8);
    transform: scale(1.1);
  }
}

.greeting-icon-afternoon {
  color: #FF8C00;
  animation: warmLight 4s infinite alternate ease-in-out;
}

@keyframes warmLight {
  from {
    filter: drop-shadow(0 0 2px rgba(255, 140, 0, 0.5));
    transform: translateY(0);
  }

  to {
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.9));
    transform: translateY(-2px);
  }
}

.greeting-icon-evening {
  color: #8A2BE2;
  animation: starGlow 3s infinite alternate;
}

@keyframes starGlow {
  from {
    filter: drop-shadow(0 0 2px rgba(138, 43, 226, 0.5));
    opacity: 0.8;
  }

  to {
    filter: drop-shadow(0 0 12px rgba(138, 43, 226, 1));
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.hero-right {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 80px rgba(37, 99, 235, 0.12);
  overflow: hidden;
  position: relative;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: var(--accent-gradient);
  opacity: .12;
  z-index: -1;
  filter: blur(12px);
}

.hero-right img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 3;
  animation: scrollFloat 2.5s ease-in-out infinite;
}

@keyframes scrollFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

.hero-scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 14px 6%;
  text-align: center;
}

.trust-text {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.trust-text i {
  color: var(--accent2);
  margin-right: 6px;
}

/* ─── SECTION HEADERS ─── */
.s-label {
  display: inline-block;
  color: var(--accent2);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.s-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.s-sub {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.85;
  max-width: 580px;
}

.center-header {
  text-align: center;
  position: relative;
  z-index: 1;
}

.center-header .s-sub {
  margin: 0 auto;
}

/* ─── ABOUT ─── */
.about {
  padding: 100px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 34px 28px 30px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform .5s;
}

.about-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
  transform: translateY(-10px);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent2);
  margin: 0 auto 18px;
  transition: transform .4s;
}

.about-card:hover .about-card-icon {
  transform: scale(1.12);
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
}

.about-card>p {
  color: var(--text-muted);
  font-size: .87rem;
  line-height: 1.75;
}

.card-click-hint {
  display: block;
  margin-top: 14px;
  font-size: .72rem;
  color: var(--accent2);
  font-weight: 600;
  letter-spacing: .05em;
  opacity: 0;
  transition: opacity .4s;
  transform: translateY(4px);
}

.about-card:hover .card-click-hint {
  opacity: 1;
  transform: translateY(0);
}

.about-cta {
  text-align: center;
  margin-top: 42px;
  position: relative;
  z-index: 1;
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 44px;
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: scale(0.92) translateY(24px);
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(37, 99, 235, 0.08);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all .2s;
  min-width: 44px;
  min-height: 44px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px var(--glow);
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.modal-content p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.modal-features {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--accent2);
  font-size: .85rem;
  font-weight: 600;
}

.modal-process {
  margin-top: 24px;
}

.modal-process h4 {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.modal-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform .3s ease;
}

.modal-step:hover {
  transform: translateX(6px);
}

.modal-step:last-child {
  border-bottom: none;
}

.modal-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent2);
  flex-shrink: 0;
}

.modal-step strong {
  display: block;
  color: #fff;
  font-size: .9rem;
  margin-bottom: 4px;
}

.modal-step p {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── SERVICES ─── */
.services {
  padding: 100px 6%;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.srv-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 34px 28px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  /* --border-subtle or --border */
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: auto;
}

.srv-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform .5s;
}

.srv-item:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
  transform: translateY(-10px);
}

.srv-item:hover::before {
  transform: scaleX(1);
}

.srv-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent2);
  margin-bottom: 18px;
  transition: transform .4s;
}

.srv-item:hover .srv-icon {
  transform: scale(1.12);
}

.srv-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
}

.srv-item>p {
  color: var(--text-muted);
  font-size: .87rem;
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}

.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap .3s;
  cursor: pointer;
}

.srv-item:hover .srv-link {
  gap: 8px;
}

/* ─── INDUSTRIES ─── */
.industries {
  padding: 100px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.ind-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 34px 28px 30px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
  position: relative;
  overflow: hidden;
}

.ind-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform .5s;
}

.ind-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
  transform: translateY(-10px);
}

.ind-card:hover::before {
  transform: scaleX(1);
}

.ind-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent2);
  margin: 0 auto 18px;
  transition: transform .4s;
}

.ind-card:hover .ind-icon {
  transform: scale(1.12);
}

.ind-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
}

.ind-card p {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.75;
}

/* ─── PROCESS ─── */
.process {
  padding: 100px 6%;
  background: var(--bg-primary);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: .25;
}

.process-grid::after {
  content: '';
  position: absolute;
  top: 51px;
  left: 12%;
  height: 4px;
  width: 30px;
  background: var(--accent-gradient);
  border-radius: 2px;
  animation: connectorPulse 2.5s ease-in-out infinite;
}

@keyframes connectorPulse {
  0% {
    left: 12%;
    opacity: 1;
  }

  100% {
    left: calc(88% - 30px);
    opacity: .4;
  }
}

.p-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-num {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
  transition: all .4s;
}

.p-num-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent2);
  transition: all .4s;
}

.p-step:hover .p-num {
  border-color: var(--accent);
  box-shadow: 0 8px 30px var(--glow);
}

.p-step:hover .p-num-inner {
  background: var(--accent-gradient);
  transform: scale(1.05);
  color: #fff;
}

.p-step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.p-step p {
  color: var(--text-muted);
  font-size: .83rem;
  line-height: 1.65;
  max-width: 220px;
}

.p-step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .75rem;
  color: var(--accent2);
  margin-bottom: 6px;
  letter-spacing: .1em;
}

/* ─── PORTFOLIO ─── */
.portfolio {
  padding: 100px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.portfolio-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
  position: relative;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform .5s;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(37, 99, 235, 0.15);
}

.portfolio-card:hover::before {
  transform: scaleX(1);
}

.portfolio-card-visual {
  height: 180px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

.portfolio-card-icon {
  font-size: 3rem;
  color: var(--accent2);
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3));
  transition: transform .5s;
  z-index: 1;
}

.portfolio-card:hover .portfolio-card-icon {
  transform: scale(1.15) rotate(-5deg);
}

.portfolio-card-body {
  padding: 26px 24px 28px;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent2);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.portfolio-card-body p {
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.75;
}

/* ─── IMPACT ─── */
.impact {
  padding: 100px 6%;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.impact-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}

.impact-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1.1;
}

.impact-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.impact-card p {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.75;
}

/* ─── STATS ─── */
.stats {
  padding: 60px 6%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-number::after {
  content: '+';
  font-size: 1.6rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── WHY CHOOSE ─── */
.why-choose {
  padding: 100px 6%;
  background: var(--bg-secondary);
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}

.compare-col {
  border-radius: 18px;
  padding: 38px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
}

.compare-old {
  background: rgba(248, 113, 113, 0.04);
}

.compare-old::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #f87171, #ef4444);
}

.compare-new {
  background: rgba(52, 211, 153, 0.05);
}

.compare-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.compare-new:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
  transform: translateY(-6px);
}

.compare-col h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.compare-col ul {
  list-style: none;
}

.compare-col li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: .9rem;
  color: var(--text-muted);
  transition: transform .3s ease;
}

.compare-col li:hover {
  transform: translateX(6px);
}

.compare-col li:last-child {
  border-bottom: none;
}

.compare-old li i {
  color: #f87171;
  font-size: .85rem;
}

.compare-new li i {
  color: #34d399;
  font-size: .85rem;
}

/* ─── TECH STACK ─── */
.tech-section {
  padding: 80px 6%;
  background: var(--bg-primary);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: all .4s cubic-bezier(.25, .8, .25, 1);
  animation: techFloat 3s ease-in-out infinite;
}

.tech-card:nth-child(1) {
  animation-delay: 0s;
}

.tech-card:nth-child(2) {
  animation-delay: 0.3s;
}

.tech-card:nth-child(3) {
  animation-delay: 0.6s;
}

.tech-card:nth-child(4) {
  animation-delay: 0.9s;
}

.tech-card:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes techFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.tech-card:hover {
  transform: scale(1.1) !important;
  border-color: var(--accent);
  box-shadow: 0 12px 36px var(--glow);
  background: rgba(37, 99, 235, 0.08);
  animation-play-state: paused;
}

.tech-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent2);
  transition: transform .3s;
}

.tech-card:hover .tech-card-icon {
  transform: scale(1.1);
}

.tech-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  color: #fff;
}

/* ─── TESTIMONIALS SLIDER ─── */
.testi {
  padding: 100px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.testi-header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.testi-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
}

.testi-track {
  display: flex;
  transition: transform .7s cubic-bezier(.25, .8, .25, 1), opacity .5s ease;
}

.t-card {
  min-width: 100%;
  padding: 38px 34px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid var(--border);
  margin: 0 12px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
  transform: translateY(30px) scale(0.95);
}

.t-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.t-stars {
  color: #f5a623;
  font-size: .9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.t-card>p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 24px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 13px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.t-name {
  font-weight: 700;
  color: #fff;
  font-size: .91rem;
}

.t-role {
  color: var(--text-muted);
  font-size: .77rem;
  font-weight: 500;
}

/* Slider Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  font-size: .9rem;
  transition: all .3s;
  min-width: 44px;
  min-height: 44px;
}

.testi-arrow:hover {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 20px var(--glow);
  transform: scale(1.1);
}

.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all .4s;
  padding: 0;
}

.testi-dot.active {
  background: var(--accent2);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

/* ─── CTA BANNER ─── */
.cta-band {
  padding: 90px 6%;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #0d1b3a 50%, #0f2847 100%);
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232563EB' fill-opacity='0.06'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
  will-change: transform;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(20px);
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-band>p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.85;
  position: relative;
}

.cta-band .btn-primary {
  position: relative;
  font-size: 1rem;
  padding: 16px 40px;
}

/* ─── CONTACT ─── */
.contact {
  padding: 100px 6%;
  background: var(--bg-primary);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 44px;
}

.c-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid var(--border);
  transition: all .4s cubic-bezier(.25, .8, .25, 1);
}

.c-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
  transform: translateY(-6px);
}

.c-card-ico {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent2);
}

.c-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 5px;
}

.c-card p {
  font-size: .92rem;
  font-weight: 500;
  color: #fff;
}

.c-cta {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

.contact-location {
  text-align: center;
  margin-bottom: 52px;
  font-size: 1rem;
  color: var(--text-muted);
}

.contact-location .gradient-text {
  font-weight: 600;
}

.c-form-box {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 40px;
  border: 1px solid var(--border);
}

.c-form-box h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 13px;
}

.cform input,
.cform select,
.cform textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: #fff;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  min-height: 44px;
}

.cform select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 34px;
}

.cform select option {
  background: var(--bg-secondary);
  color: #fff;
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cform input::placeholder,
.cform textarea::placeholder {
  color: var(--text-muted);
}

.cform textarea {
  min-height: 118px;
  resize: vertical;
  margin-bottom: 13px;
}

.cform .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 15px;
}

.cform .btn-primary:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 16px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  padding: 0;
  border-radius: 8px;
  transition: all .3s;
}

.form-status.success {
  color: #34d399;
  padding: 12px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.form-status.error {
  color: #f87171;
  padding: 12px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.form-status.warning {
  color: #fbbf24;
  padding: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-secondary);
  padding: 64px 6% 0;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.f-brand p {
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.85;
  max-width: 300px;
  margin-top: 16px;
}

.f-location {
  font-size: .8rem !important;
  margin-top: 8px !important;
  color: var(--accent2) !important;
}

.f-location i {
  margin-right: 4px;
}

.f-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .86rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.f-col a,
.f-col span {
  display: block;
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 10px;
  transition: all .2s;
}

.f-col a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bot {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bot p {
  color: var(--text-muted);
  font-size: .8rem;
}

.f-socials {
  display: flex;
  gap: 9px;
}

.f-soc {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  transition: all .3s;
  min-width: 44px;
  min-height: 44px;
}

.f-soc:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px var(--glow);
}

/* ─── SCROLL ANIMATIONS (Smooth, calm) ─── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.in,
.fade-left.in,
.fade-right.in {
  opacity: 1;
  transform: translate(0);
}

/* ─── REDUCED MOTION ─── */
@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up,
  .fade-left,
  .fade-right {
    opacity: 1;
    transform: none;
  }

  .hero-scroll,
  .tech-card {
    animation: none;
  }

  .cursor-glow {
    display: none;
  }
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {

  .srv-grid,
  .ind-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-table {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  }

  .section-divider {
    height: 60px;
  }
}

@media(max-width:768px) {

  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    display: none;
  }

  body,
  a,
  button,
  input,
  textarea,
  select {
    cursor: auto;
  }

  .navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    flex-wrap: wrap;
    height: auto;
    min-height: 76px;
  }

  .navmenu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    padding: 0 0 20px 0;
    border-bottom: none;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .navmenu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .navmenu>li>a {
    line-height: 3;
    padding: 0 10px;
  }

  .nav-btn {
    margin-left: 0 !important;
    margin-top: 10px;
    text-align: center;
    display: block !important;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 70px 5% 50px;
  }

  .hero-right-col {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .srv-grid,
  .about-highlights,
  .portfolio-grid,
  .ind-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .compare-table {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .frow {
    grid-template-columns: 1fr;
  }

  .services,
  .about,
  .portfolio,
  .testi,
  .process,
  .contact,
  .cta-band,
  .industries,
  .impact,
  .why-choose {
    padding: 70px 5%;
  }

  .tech-section {
    padding: 50px 5%;
  }

  .stats {
    padding: 40px 5%;
  }

  .footer-bot {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal-content {
    padding: 32px 24px;
  }

  .modal-features {
    flex-direction: column;
  }

  .section-divider {
    height: 40px;
  }

  .t-card {
    padding: 28px 20px;
    margin: 0 6px;
    min-width: calc(100% - 12px);
  }

  .testi-slider {
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
  }

  .testi-track {
    gap: 0;
  }

  .testi-controls {
    gap: 10px;
    margin-top: 24px;
  }
}

@media(max-width:480px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   V3 PREMIUM ANIMATION SYSTEM
   ═══════════════════════════════════════════════════════ */

/* ─── AURORA BACKGROUND GLOW ─── */
.aurora-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  animation: auroraPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auroraPulse {
  0% {
    opacity: .7;
    transform: scale(1) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: scale(1.05) rotate(1deg);
  }
}

/* ─── WORD-BY-WORD REVEAL (Hero H1) ─── */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordUp .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes wordUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── HERO SEQUENCE TIMELINE ─── */
.hero-seq {
  opacity: 0;
  transform: translateY(20px);
  animation: heroSeqIn .6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.hero-seq[data-seq="0"] {
  animation-delay: .8s;
}

.hero-seq[data-seq="1"] {
  animation-delay: 1.4s;
}

.hero-seq[data-seq="2"] {
  animation-delay: 1.8s;
}

.hero-seq[data-seq="3"] {
  animation-delay: 2.2s;
}

@keyframes heroSeqIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── HERO IMAGE FLOAT ─── */
.hero-float {
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ─── CLIP-PATH SECTION TITLE REVEAL ─── */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  animation: none;
  transition: clip-path .8s cubic-bezier(.25, .8, .25, 1);
}

.clip-reveal.in {
  clip-path: inset(0 0% 0 0);
}

/* ─── 3D TILT CARD EFFECT ─── */
.tilt-card {
  perspective: 800px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

/* ─── CARD SPOTLIGHT (mouse glow inside card) ─── */
.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  z-index: 1;
  background: radial-gradient(300px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(37, 99, 235, 0.12), transparent 60%);
}

.tilt-card:hover .card-spotlight {
  opacity: 1;
}

/* ─── MAGNETIC BUTTON ─── */
.btn-magnetic {
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}

/* ─── SHIMMER SWEEP ON HOVER ─── */
.btn-magnetic::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(60deg, transparent 20%, rgba(255, 255, 255, 0.15) 50%, transparent 80%);
  transition: none;
  pointer-events: none;
}

.btn-magnetic:hover::after {
  animation: shimmerSweep .6s ease forwards;
}

@keyframes shimmerSweep {
  to {
    left: 120%;
  }
}

/* ─── CLICK RIPPLE ─── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: rippleEffect .5s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ─── NAVBAR: blur increase, underline grow, logo hover ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  transition: box-shadow .3s, background .3s, backdrop-filter .4s;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.navbar.scrolled {
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
}

.navmenu>li>a {
  position: relative;
}

.navmenu>li>a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width .3s ease, left .3s ease;
}

.navmenu>li>a:hover::after,
.navmenu>li>a.active::after {
  width: 60%;
  left: 20%;
}

.logo {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), filter .3s;
}

.logo:hover {
  transform: rotate(-10deg) scale(1.08);
  filter: drop-shadow(0 0 16px var(--glow));
}

/* ─── TESTIMONIAL SLIDER: inactive styling + pause on hover ─── */
.t-card {
  opacity: .45;
  transform: scale(0.94);
}

.t-card.active {
  opacity: 1;
  transform: scale(1);
}

.testi-slider:hover .testi-track {
  animation-play-state: paused;
}

/* ─── FOOTER SOCIAL ICONS HOVER ─── */
.f-soc {
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}

.f-soc:hover {
  transform: translateY(-5px) scale(1.15);
}

/* ─── FOOTER BORDER GRADIENT SWEEP ─── */
.footer-bot {
  position: relative;
}

.footer-bot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  background-size: 200% 100%;
  animation: gradientSweep 4s linear infinite;
}

@keyframes gradientSweep {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ─── INPUT FOCUS GLOW ─── */
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 0 20px rgba(37, 99, 235, 0.1);
}

/* ─── MODAL SPRING ENTRANCE ─── */
.modal-content {
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease;
  transform: scale(0.88) translateY(32px);
  opacity: 0;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* ─── V3 REDUCED MOTION OVERRIDES ─── */
@media (prefers-reduced-motion: reduce) {

  .aurora-glow,
  .hero-float {
    animation: none;
  }

  .word-reveal .word {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-seq {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .clip-reveal {
    clip-path: none;
  }

  .btn-magnetic::after {
    animation: none;
  }

  .ripple {
    animation: none;
  }

  .footer-bot::before {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════
   CSS CODE EDITOR HERO VISUAL
   ═══════════════════════════════════════════════════════ */
.code-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.code-editor {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.08);
}

.editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ed-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ed-dot.red {
  background: #f87171;
}

.ed-dot.yellow {
  background: #fbbf24;
}

.ed-dot.green {
  background: #34d399;
}

.ed-title {
  margin-left: auto;
  font-size: .7rem;
  color: var(--text-muted);
  font-family: 'Space Grotesk', monospace;
}

.editor-body {
  padding: 16px 18px;
  font-family: 'Space Grotesk', monospace;
  font-size: .82rem;
  line-height: 1.8;
}

.code-line {
  white-space: nowrap;
  color: var(--text-muted);
}

.code-line .ln {
  display: inline-block;
  width: 22px;
  color: rgba(148, 163, 184, 0.35);
  margin-right: 12px;
  text-align: right;
  user-select: none;
}

.code-line .kw {
  color: #c084fc;
}

.code-line .fn {
  color: #38bdf8;
}

.cursor-blink {
  animation: cursorBlink 1s step-end infinite;
  color: var(--accent);
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Floating nodes */
.floating-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  animation: floatNode 4s ease-in-out infinite alternate;
}

.n1 {
  top: -10px;
  right: 30px;
  animation-delay: 0s;
}

.n2 {
  bottom: 20px;
  left: -15px;
  animation-delay: 1.2s;
}

.n3 {
  top: 40%;
  right: -20px;
  animation-delay: 2.4s;
  width: 8px;
  height: 8px;
}

@keyframes floatNode {
  0% {
    transform: translateY(0) scale(1);
    opacity: .8;
  }

  100% {
    transform: translateY(-15px) scale(1.2);
    opacity: 1;
  }
}

/* Connecting lines */
.connect-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .3;
  animation: linePulse 3s ease-in-out infinite;
}

.l1 {
  top: 20px;
  right: -30px;
  width: 60px;
  transform: rotate(30deg);
}

.l2 {
  bottom: 40px;
  left: -25px;
  width: 50px;
  transform: rotate(-20deg);
  animation-delay: 1.5s;
}

@keyframes linePulse {

  0%,
  100% {
    opacity: .2;
  }

  50% {
    opacity: .6;
  }
}

@media (max-width: 768px) {
  .code-visual {
    max-width: 100%;
  }

  .editor-body {
    font-size: .72rem;
    padding: 12px;
  }
}

/* ═══════════════════════════════════════════════════════
   INNER PAGE STYLES (multi-page structure)
   ═══════════════════════════════════════════════════════ */
.page-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  justify-content: center;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  opacity: .5;
}

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-section {
  margin-bottom: 60px;
}

.page-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.page-section p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform .4s cubic-bezier(.25, .8, .25, 1), box-shadow .4s, border-color .4s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(37, 99, 235, 0.4);
}

.blog-card .blog-tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.blog-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card .blog-link {
  color: var(--accent);
  font-weight: 500;
  font-size: .85rem;
  text-decoration: none;
  transition: color .3s;
}

.blog-card .blog-link:hover {
  color: var(--accent2);
}

/* Service page sections */
.srv-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.srv-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: transform .35s ease, border-color .35s;
}

.srv-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
}

.srv-detail-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-main);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.srv-detail-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.6;
}

/* Page CTA band */
.page-cta {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.page-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.page-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Inner page services grid (reuse srv-item style) */
.page-srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

/* Tech icons grid for service pages */
.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.tech-icon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .85rem;
  color: var(--text-main);
}

.tech-icon-item i {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Process steps for service pages */
.process-steps {
  margin-top: 24px;
}

.process-step-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.process-step-item:last-child {
  border-bottom: none;
}

.step-num {
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.5;
}

/* Contact page form (inner page variant) */
.page-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .page-contact-grid {
    grid-template-columns: 1fr;
  }

  .srv-detail-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── TESTIMONIAL MOBILE FIX ─── */
@media (max-width: 600px) {
  .testi {
    padding: 60px 4%;
  }

  .testi-header {
    margin-bottom: 34px;
  }

  .t-card {
    min-width: 100%;
    margin: 0;
    padding: 30px 20px;
  }

  .t-card>p {
    font-size: .95rem;
    line-height: 1.7;
  }

  .testi-slider {
    padding: 0 4px;
  }
}

.srv-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}



/* Phase 5: Trust bar colors */
.trust-bar p {
  color: var(--text-muted, #8896b3);
}

.trust-bar i,
.trust-bar svg {
  color: var(--accent2, #3b82f6);
}



/* Phase 5: Blog Listing Layout */
.blog-grid.fixed-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.blog-card {
  padding: 28px !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem !important;
  color: #f0f4ff !important;
  font-weight: 700 !important;
}

.blog-card p {
  color: #8896b3 !important;
  font-size: 0.88rem !important;
  line-height: 1.75 !important;
  flex-grow: 1;
}

.blog-tag {
  color: var(--accent2) !important;
  font-size: 0.72rem !important;
}

.blog-card-meta {
  color: var(--text-muted) !important;
  font-size: 0.78rem !important;
}

.blog-card-breadcrumb {
  color: var(--text-muted) !important;
  font-size: 0.78rem !important;
}

/* Phase 6: Blog Post Legibility Improvements */
.blog-post-content.fixed-colors p,
.blog-post-content.fixed-colors li {
  color: #d1d5db !important;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-post-content.fixed-colors h1 {
  color: #f8fafc !important;
}

.blog-post-content.fixed-colors h2 {
  color: #f8fafc !important;
  margin-top: 2.5rem;
}

.blog-post-content.fixed-colors h3 {
  color: #e2e8f0 !important;
  margin-top: 2rem;
}

.blog-post-content.fixed-colors strong,
.blog-post-content.fixed-colors b {
  color: #fff !important;
}

.blog-post-content.fixed-colors a {
  color: var(--accent2) !important;
  text-decoration: underline !important;
  font-weight: 600;
}

.blog-post-content.fixed-colors blockquote {
  color: #cbd5e1 !important;
  border-left: 4px solid var(--accent2) !important;
  padding: 1.5rem 2rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  margin: 2rem 0;
}


/* Service Page Grid Responsive */
@media (max-width: 1024px) {
  .srv-detail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .srv-detail-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Phase 5.1: Trust bar visibility */
.trust-bar p {
  color: #8896b3 !important;
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-bar i,
.trust-bar svg {
  color: var(--accent2, #3b82f6) !important;
}

/* ─── BLOG POST CONTENT TYPOGRAPHY ─── */
.blog-post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 6%;
}

.blog-post-content h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #ffffff;
  /* Professional high contrast color */
}

.blog-post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: #f1f5f9;
  /* Soft white for readability */
}

.blog-post-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  /* Maintained from design system */
}

.blog-post-content p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.blog-post-content p strong,
.blog-post-content p b,
.blog-post-content strong {
  font-weight: 600;
  color: #e2e8f0;
  /* Slightly brighter than text-muted for emphasis */
}

.blog-post-content ul,
.blog-post-content ol {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-muted);
}

.blog-post-content li {
  margin-bottom: 10px;
}

.blog-post-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent2, #3b82f6);
  /* Premium blue link color */
  transition: color 0.3s ease;
}

.blog-post-content a:hover {
  color: #60a5fa;
  /* Lighter on hover */
}

.blog-post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  font-style: italic;
  margin: 28px 0;
  color: #cbd5e1;
  /* Professional readable quote color */
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 0 12px 12px 0;
}

/* Blog Mobile Adjustments */
@media(max-width: 768px) {
  .blog-post-content {
    padding: 40px 5%;
  }

  .blog-post-content h1 {
    font-size: 1.5rem;
  }

  .blog-post-content h2 {
    font-size: 1.2rem;
  }
}

/* ─── FAQ ACCORDION STYLES ─── */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #f1f5f9;
  transition: color 0.3s ease;
}

.faq-card.active .faq-header h3 {
  color: var(--accent2);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.faq-card.active .faq-icon {
  background: var(--accent-gradient);
  color: #fff;
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 24px;
}

.faq-card.active .faq-body {
  max-height: 1000px;
  /* Large enough for content */
  padding: 0 24px 24px;
}

.faq-answer {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.faq-answer ul {
  margin: 15px 0 0 20px;
  padding: 0;
}

.faq-answer li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .faq-header {
    padding: 20px;
  }

  .faq-header h3 {
    font-size: 1rem;
    padding-right: 15px;
  }
}