/* ============================================================
   TEAM MOORE DIGITAL — MASTER STYLESHEET
   Brand: #0298FC (blue) / #000000 (black) / #FFFFFF (white)
   ============================================================ */

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

:root {
  --primary:        #0298FC;
  --primary-dark:   #0180d4;
  --primary-xdark:  #0165a8;
  --primary-light:  #e6f4ff;
  --primary-mid:    #b3dffe;
  --black:          #000000;
  --dark:           #0a0e17;
  --dark-2:         #131a27;
  --dark-3:         #1c2536;
  --heading:        #111827;
  --body:           #374151;
  --muted:          #6B7280;
  --light-muted:    #9CA3AF;
  --border:         #E5E7EB;
  --border-light:   #F3F4F6;
  --bg-light:       #F0F4FA;
  --bg-lighter:     #F5F7FC;
  --white:          #FAFCFF;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14), 0 8px 20px rgba(0,0,0,0.08);
  --shadow-blue: 0 8px 24px rgba(2,152,252,0.25);
  --shadow-blue-lg: 0 16px 48px rgba(2,152,252,0.30), 0 0 0 1px rgba(2,152,252,0.10);
  --shadow-glow: 0 0 60px rgba(2,152,252,0.12);

  --radius-sm:  6px;
  --radius:     10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 999px;

  --transition: 0.22s ease;
  --transition-slow: 0.38s ease;

  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%230298FC' fill-opacity='0.05'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='200' x2='200' y2='0' stroke='%230298FC' stroke-opacity='0.02' stroke-width='0.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%230298FC' stroke-opacity='0.015' stroke-width='0.5'/%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='%230298FC' stroke-opacity='0.012' stroke-width='0.5'/%3E%3C/svg%3E"),
    var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Creative background orbs — soft gradient blobs behind content */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -180px;
  right: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2,152,252,0.08) 0%, rgba(2,152,252,0.025) 40%, transparent 70%);
}

body::after {
  bottom: 30%;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(2,152,252,0.05) 0%, rgba(2,152,252,0.02) 35%, transparent 65%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-primary  { color: var(--primary); }
.text-muted    { color: var(--muted); }
.text-dark     { color: var(--heading); }
.text-center   { text-align: center; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

/* ===========================
   LAYOUT
=========================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

.section-sm {
  padding-block: 64px;
}

.section-lg {
  padding-block: 120px;
}

.section-bg-light {
  background: var(--bg-light);
  position: relative;
}

.section-bg-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='39' y='0' width='1' height='80' fill='%230298FC' fill-opacity='0.02'/%3E%3Crect x='0' y='39' width='80' height='1' fill='%230298FC' fill-opacity='0.02'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,10 190,150 10,150' fill='none' stroke='%230298FC' stroke-opacity='0.025' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.section-bg-lighter { background: var(--bg-lighter); }
.section-bg-dark  { background: var(--dark); color: var(--white); }
.section-bg-blue  { background: var(--primary); color: var(--white); }

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-mid));
  border-radius: 2px;
  margin-inline: auto;
}

/* Angled section transition */
.section-angle {
  position: relative;
}

.section-angle::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0; right: 0;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

/* Gradient accent line at top of sections */
.section-accent {
  position: relative;
}

.section-accent::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(200px, 30%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-4  { gap: 16px; }
.gap-8  { gap: 32px; }
.gap-12 { gap: 48px; }

/* ===========================
   SECTION HEADER
=========================== */
.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(2,152,252,0.35), 0 0 0 1px rgba(2,152,252,0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-xdark) 100%);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(2,152,252,0.45), 0 0 24px rgba(2,152,252,0.20);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2,152,252,0.12);
}

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

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
  font-size: 1em;
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ===========================
   NAVIGATION
=========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,252,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(2,152,252,0.06);
  box-shadow: 0 1px 4px rgba(2,152,252,0.04), 0 0 0 1px rgba(229,231,235,0.3);
  height: var(--nav-height);
}

.navbar .container {
  height: 100%;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Actual logo image — nav */
.logo-img {
  height: 57px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer logo: white bg pill so logo stays readable on dark footer */
.footer .navbar-logo {
  display: inline-flex;
  background: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.footer .logo-img {
  height: 36px;
}

/* Nav Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown-toggle:hover { color: var(--primary); background: var(--primary-light); }

.nav-dropdown-toggle svg {
  width: 14px; height: 14px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229,231,235,0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

.nav-dropdown-icon {
  width: 30px; height: 30px;
  background: var(--primary-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.nav-dropdown-item:hover .nav-dropdown-icon { background: var(--primary); color: var(--white); }

/* Nav CTA */
.navbar-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Mobile Toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
}

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

.mobile-nav-link {
  display: block;
  padding: 13px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }

.mobile-nav-group { margin-top: 8px; }
.mobile-nav-group-label {
  padding: 8px 16px 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.mobile-nav-divider { height: 1px; background: var(--border); margin: 12px 0; }
.mobile-nav-cta { margin-top: 16px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* ===========================
   HERO — HOMEPAGE
=========================== */
.hero-home {
  padding-block: 88px 80px;
  background:
    linear-gradient(135deg, #f0f7ff 0%, #fafcff 30%, #f5f0ff 60%, #fafcff 100%);
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(2,152,252,0.12) 0%, rgba(2,152,252,0.04) 40%, transparent 65%);
  pointer-events: none;
  animation: float-orb 20s ease-in-out infinite;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(2,152,252,0.08) 0%, rgba(2,152,252,0.02) 35%, transparent 65%);
  pointer-events: none;
  animation: float-orb 25s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(30px, -20px); }
  66%      { transform: translate(-20px, 15px); }
}

@keyframes spin-slow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(8deg); }
}

@keyframes drift-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(15px) rotate(-6deg); }
}

/* ===========================
   FLOATING GEOMETRIC SHAPES
=========================== */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  pointer-events: none;
}

/* Ring — hollow circle */
.shape-ring {
  width: 120px; height: 120px;
  border: 2px solid rgba(2,152,252,0.10);
  border-radius: 50%;
  animation: drift 14s ease-in-out infinite;
}

.shape-ring-sm {
  width: 60px; height: 60px;
  border: 1.5px solid rgba(2,152,252,0.12);
  border-radius: 50%;
  animation: drift-reverse 12s ease-in-out infinite;
}

/* Triangle — CSS border trick */
.shape-triangle {
  width: 0; height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid rgba(2,152,252,0.06);
  animation: drift 18s ease-in-out infinite;
}

/* Diamond — rotated square */
.shape-diamond {
  width: 40px; height: 40px;
  background: rgba(2,152,252,0.05);
  transform: rotate(45deg);
  border-radius: 4px;
  animation: spin-slow 30s linear infinite;
}

/* Cross / plus sign */
.shape-cross {
  width: 30px; height: 30px;
  position: absolute;
  animation: drift-reverse 16s ease-in-out infinite;
}

.shape-cross::before,
.shape-cross::after {
  content: '';
  position: absolute;
  background: rgba(2,152,252,0.10);
  border-radius: 2px;
}

.shape-cross::before {
  width: 100%; height: 3px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}

.shape-cross::after {
  width: 3px; height: 100%;
  left: 50%; top: 0;
  transform: translateX(-50%);
}

/* Dot cluster — 3 dots */
.shape-dot-cluster {
  width: 50px; height: 50px;
  animation: drift 20s ease-in-out infinite;
}

.shape-dot-cluster::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: rgba(2,152,252,0.15);
  border-radius: 50%;
  top: 0; left: 20px;
  box-shadow:
    -14px 20px 0 rgba(2,152,252,0.10),
    14px 28px 0 rgba(2,152,252,0.08);
}

/* Placement for shapes on hero */
.shape-1 { top: 12%; right: 8%; }
.shape-2 { top: 25%; left: 5%; animation-delay: -3s; }
.shape-3 { bottom: 20%; right: 15%; animation-delay: -7s; }
.shape-4 { top: 60%; left: 12%; animation-delay: -5s; }
.shape-5 { bottom: 30%; left: 35%; animation-delay: -9s; }
.shape-6 { top: 15%; left: 42%; animation-delay: -2s; }
.shape-7 { bottom: 10%; right: 30%; width: 80px; height: 80px; animation-delay: -11s; }
.shape-8 { bottom: 45%; right: 5%; animation-delay: -6s;
  border-left-width: 20px; border-right-width: 20px; border-bottom-width: 35px;
}

@media (max-width: 768px) {
  .hero-shapes .shape { opacity: 0.5; }
  .shape-5, .shape-6, .shape-7, .shape-8 { display: none; }
}

.hero-home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-home h1 {
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-home h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-home .hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-trust-check {
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

/* Hero Visual — Results Dashboard */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.dashboard-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.dashboard-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dashboard-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.badge-green { background: #dcfce7; color: #16a34a; }
.badge-blue  { background: var(--primary-light); color: var(--primary-dark); }
.badge-orange{ background: #fff7ed; color: #c2410c; }

.dashboard-metric {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.dashboard-metric span { color: var(--primary); }

.dashboard-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-stat {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.mini-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.mini-stat-val .up { color: #16a34a; }

.mini-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
  margin-top: 12px;
}

.bar {
  flex: 1;
  background: var(--primary-light);
  border-radius: 3px 3px 0 0;
  transition: background var(--transition);
}

.bar.active { background: var(--primary); }
.bar:hover  { background: var(--primary); }

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 22px;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  color: var(--white);
  flex-shrink: 0;
}

/* ===========================
   PAIN POINTS
=========================== */
.pain-points {
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}

.pain-item:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.pain-x {
  width: 26px; height: 26px;
  background: #fef2f2;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pain-item-text { font-size: 0.9rem; font-weight: 500; color: var(--body); line-height: 1.5; }

.pain-icon {
  width: 28px; height: 28px;
  background: #fef2f2;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pain-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}

.pain-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.solution-box {
  background: linear-gradient(135deg, var(--bg-light), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  box-shadow: var(--shadow-sm);
}

.solution-box-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.solution-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}

.solution-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.solution-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.solution-box h3 { margin-bottom: 12px; }
.solution-box p  { color: var(--muted); margin-bottom: 24px; }

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.check-icon {
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 24px; flex: 1; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition);
}

.service-link:hover { gap: 10px; color: var(--primary-dark); }

/* Featured service card */
.service-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.service-card.featured::before { background: var(--white); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p  { color: rgba(255,255,255,0.8); }
.service-card.featured .service-icon { background: rgba(255,255,255,0.2); }
.service-card.featured:hover .service-icon { background: rgba(255,255,255,0.3); }
.service-card.featured .service-link { color: var(--white); }

/* ===========================
   WHY US
=========================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}

.why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-mid));
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity var(--transition);
}

.why-item:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-item:hover::before { opacity: 1; }

.why-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.why-item h4 { margin-bottom: 8px; }
.why-item p  { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ===========================
   STATS / RESULTS
=========================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-block {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
}

.stat-block:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.stat-block:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 19px);
  right: calc(12.5% + 19px);
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-mid));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-blue);
  flex-shrink: 0;
}

.process-step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p  { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* ===========================
   AI SECTION
=========================== */
.ai-section {
  background: var(--white);
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--transition);
}

.ai-feature:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.ai-feat-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.ai-feature:hover .ai-feat-icon { background: var(--primary); }

.ai-feat-title { font-size: 0.925rem; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.ai-feat-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.ai-visual {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border);
}

.workflow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.workflow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading);
  position: relative;
}

.workflow-node.trigger { border-color: var(--primary); }
.workflow-node.action  { margin-left: 24px; }

.workflow-connector {
  width: 2px;
  height: 16px;
  background: var(--primary-mid);
  margin-left: 32px;
}

.workflow-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.workflow-dot.gray { background: var(--light-muted); }

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background:
    linear-gradient(135deg, var(--dark) 0%, #0a1628 30%, #0d1f3c 60%, var(--dark) 100%);
  padding-block: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(2,152,252,0.20) 0%, rgba(2,152,252,0.05) 40%, transparent 65%);
  pointer-events: none;
  animation: float-orb 18s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(2,152,252,0.12) 0%, rgba(2,152,252,0.03) 40%, transparent 65%);
  pointer-events: none;
  animation: float-orb 24s ease-in-out infinite reverse;
}

/* CTA floating shapes — brighter on dark bg */
.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cta-shapes .shape-ring {
  border-color: rgba(2,152,252,0.18);
}

.cta-shapes .shape-ring-sm {
  border-color: rgba(2,152,252,0.22);
}

.cta-shapes .shape-diamond {
  background: rgba(2,152,252,0.10);
}

.cta-shapes .shape-cross::before,
.cta-shapes .shape-cross::after {
  background: rgba(2,152,252,0.16);
}

.cta-shape-1 { top: 15%; left: 8%; width: 100px; height: 100px; animation-delay: -4s; }
.cta-shape-2 { bottom: 20%; right: 10%; width: 50px; height: 50px; animation-delay: -8s; }
.cta-shape-3 { top: 30%; right: 18%; animation-delay: -2s; }
.cta-shape-4 { bottom: 25%; left: 25%; animation-delay: -6s; }

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #fafcff 40%, #f5f0ff 70%, #fafcff 100%);
  padding-block: 80px 72px;
  border-bottom: 1px solid rgba(2,152,252,0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(2,152,252,0.12) 0%, rgba(2,152,252,0.04) 40%, transparent 65%);
  pointer-events: none;
  animation: float-orb 22s ease-in-out infinite;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='0.8' fill='%230298FC' fill-opacity='0.06'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='150,20 280,240 20,240' fill='none' stroke='%230298FC' stroke-opacity='0.035' stroke-width='0.8'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%230298FC' stroke-opacity='0.025' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }

.page-hero .section-label { justify-content: center; }
.page-hero .section-label::before { display: none; }
.page-hero .section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero .hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 580px; margin-inline: auto; margin-bottom: 32px; }

/* ===========================
   SERVICE DETAIL PAGES
=========================== */
.service-detail-hero {
  padding-block: 64px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.detail-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.detail-two-col.reverse { direction: rtl; }
.detail-two-col.reverse > * { direction: ltr; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.feature-item .check-icon { margin-top: 2px; }

.feature-item-text { color: var(--body); font-weight: 500; line-height: 1.5; }
.feature-item-sub  { font-size: 0.825rem; color: var(--muted); font-weight: 400; }

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.benefit-card {
  padding: 22px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.benefit-card:hover {
  border-color: var(--primary-mid);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.benefit-card h4 { margin-bottom: 6px; font-size: 0.95rem; }
.benefit-card p  { font-size: 0.825rem; color: var(--muted); margin: 0; }

/* ===========================
   ABOUT PAGE
=========================== */
.about-mission {
  background: linear-gradient(135deg, var(--dark) 0%, #0c1a2e 50%, var(--dark) 100%);
  padding-block: 88px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-mission::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(2,152,252,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.about-mission h2 { color: var(--white); margin-bottom: 20px; position: relative; z-index: 1; }
.about-mission p  { color: rgba(255,255,255,0.82); font-size: 1.1rem; line-height: 1.8; position: relative; z-index: 1; }

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

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}

.value-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary-light), rgba(2,152,252,0.12));
  border: 1px solid rgba(2,152,252,0.10);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.value-card:hover .value-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.value-card h4 { margin-bottom: 10px; }
.value-card p  { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.6; }

.team-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}

.team-portrait {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 12px; }
.contact-info p  { color: var(--muted); margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-item-val   { font-weight: 600; color: var(--heading); font-size: 0.95rem; }

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
}

.form-label span { color: var(--primary); }

.form-input,
.form-textarea,
.form-select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.925rem;
  color: var(--heading);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--light-muted); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2,152,252,0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-select { appearance: none; cursor: pointer; }

.form-submit {
  margin-top: 8px;
  width: 100%;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: linear-gradient(180deg, var(--dark) 0%, #060a12 100%);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2,152,252,0.20), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .navbar-logo { margin-bottom: 16px; }
.footer-brand .logo-name  { color: var(--white); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--primary); }

/* ===========================
   ANIMATIONS / SCROLL REVEAL
=========================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* ===========================
   UTILITIES
=========================== */
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===========================
   RESPONSIVE — TABLET (1024px)
=========================== */
@media (max-width: 1024px) {
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }

  .hero-home-inner  { grid-template-columns: 1fr; gap: 48px; }
  .hero-home h1     { font-size: 2.8rem; }
  .hero-visual      { max-width: 560px; margin-inline: auto; }
  .dashboard-grid   { grid-template-columns: repeat(4, 1fr); }

  .pain-grid        { grid-template-columns: 1fr; }
  .solution-box     { position: static; }

  .services-grid    { grid-template-columns: 1fr 1fr; }
  .why-grid         { grid-template-columns: 1fr 1fr; }
  .stats-row        { grid-template-columns: 1fr 1fr; gap: 2px; }
  .stat-block:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .stat-block:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
  .stat-block:last-child   { border-radius: 0 0 var(--radius-lg) 0; }

  .process-steps    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .ai-inner         { grid-template-columns: 1fr; gap: 40px; }
  .detail-two-col   { grid-template-columns: 1fr; }
  .detail-two-col.reverse { direction: ltr; }

  .values-grid      { grid-template-columns: 1fr 1fr; }
  .team-intro       { grid-template-columns: 1fr; text-align: center; }
  .team-portrait    { max-width: 280px; margin-inline: auto; }

  .contact-layout   { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   RESPONSIVE — MOBILE (768px)
=========================== */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section    { padding-block: 64px; }
  .section-lg { padding-block: 80px; }

  .navbar-nav, .navbar-cta { display: none; }
  .nav-hamburger { display: flex; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .hero-home { padding-block: 56px 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust   { flex-wrap: wrap; gap: 12px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }

  .trust-bar-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-inline: 4px; }
  .trust-item      { flex-shrink: 0; padding: 8px 20px; }

  .grid-2  { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: 1fr 1fr; }
  .stat-block    { border-radius: 0; }
  .process-steps { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .benefit-grid  { grid-template-columns: 1fr; }
  .form-grid     { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-form-card { padding: 24px; }
  .cta-section       { padding-block: 56px; }
  .about-mission     { padding-block: 56px; }
  .page-hero         { padding-block: 56px 48px; }
  .section-header    { margin-bottom: 40px; }
  .section-header.text-center { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .stats-row { grid-template-columns: 1fr; }
  .grid-4    { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
}

/* ===========================
   NAV — GROUPED DROPDOWN
=========================== */
.nav-dropdown-menu.wide {
  min-width: 300px;
  left: 0;
  transform: translateX(0) translateY(-4px);
}

.nav-dropdown:hover .nav-dropdown-menu.wide {
  transform: translateX(0) translateY(0);
}

.nav-dropdown-group-label {
  padding: 6px 10px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 2px;
}

/* ===========================
   SERVICE PILLARS
=========================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

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

.pillar-card:hover {
  box-shadow: var(--shadow-lg), 0 0 30px rgba(2,152,252,0.08);
  transform: translateY(-6px);
  border-color: var(--primary-mid);
}

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

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 18px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-light), rgba(2,152,252,0.12));
  border: 1px solid rgba(2,152,252,0.10);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pillar-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.pillar-services {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  margin-bottom: 24px;
}

.pillar-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.835rem;
  color: var(--body);
  font-weight: 500;
}

.pillar-service-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.pillar-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.pillar-link:hover { gap: 9px; }
.pillar-link::after { content: '→'; }

/* ===========================
   INDUSTRY FOCUS SECTION
=========================== */
.industry-section {
  background: var(--dark);
  padding-block: 104px;
  position: relative;
  overflow: hidden;
}

.industry-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(2,152,252,0.12) 0%, rgba(2,152,252,0.03) 40%, transparent 65%);
  pointer-events: none;
}

.industry-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(2,152,252,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.industry-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.industry-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.industry-section h2 { color: var(--white); margin-bottom: 20px; }

.industry-section p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.industry-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.industry-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

.industry-check {
  width: 22px; height: 22px;
  background: rgba(2,152,252,0.2);
  border: 1px solid rgba(2,152,252,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.industry-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(2,152,252,0.10);
  border: 1px solid rgba(2,152,252,0.28);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  transition: all var(--transition);
}

.industry-badge:hover {
  background: rgba(2,152,252,0.18);
  border-color: rgba(2,152,252,0.40);
}

.industry-badge::before {
  content: none;
}

.industry-card {
  background: linear-gradient(145deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(2,152,252,0.3));
  border-radius: 3px 3px 0 0;
}

.industry-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.industry-service-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  margin-inline: -16px;
  transition: background var(--transition);
}

.industry-service-row:hover {
  background: rgba(255,255,255,0.03);
}

.industry-service-row:last-child { border-bottom: none; }

.industry-service-icon {
  width: 42px; height: 42px;
  background: rgba(2,152,252,0.15);
  border: 1px solid rgba(2,152,252,0.30);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.industry-service-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.industry-service-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
}

/* ===========================
   PAGE HERO — IT/CYBER VARIANT
=========================== */
.page-hero-it {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

/* ===========================
   IT / CYBER SERVICE DETAIL BLOCKS
=========================== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}

.service-detail-item:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-detail-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary-light), rgba(2,152,252,0.12));
  border: 1px solid rgba(2,152,252,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-detail-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 3px;
}

.service-detail-desc {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===========================
   RESPONSIVE — PILLARS / INDUSTRY
=========================== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .pillars-grid   { grid-template-columns: 1fr; }
  .industry-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-grid { grid-template-columns: 1fr; }
}

/* ===========================
   LAW FIRMS PAGE
=========================== */
.lf-service-block {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.lf-service-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lf-service-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.lf-service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-light), rgba(2,152,252,0.15));
  border: 1px solid rgba(2,152,252,0.10);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.lf-service-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.25;
}

/* Case Study Block */
.case-study-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.case-metric {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.case-metric:last-child { border-right: none; }

.case-metric-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.case-metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

.case-quote {
  padding: 36px 40px;
  margin: 0;
}

.case-quote p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.case-quote cite {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

@media (max-width: 768px) {
  .case-metrics { grid-template-columns: 1fr 1fr; }
  .case-metric { border-right: none; border-bottom: 1px solid var(--border); }
  .case-metric:nth-child(odd) { border-right: 1px solid var(--border); }
  .case-quote { padding: 28px 24px; }
  .lf-service-header { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .case-metrics { grid-template-columns: 1fr; }
  .case-metric:nth-child(odd) { border-right: none; }
}

/* ===========================
   INDUSTRIES OVERVIEW PAGE
=========================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.industry-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.industry-overview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.industry-overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.industry-overview-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.industry-overview-card:hover::before { opacity: 1; }

.industry-overview-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.industry-overview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.industry-overview-card p {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.industry-overview-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.industry-tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.industry-overview-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.industry-overview-card:hover .industry-overview-cta { gap: 10px; }

@media (max-width: 768px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry-overview-card { padding: 32px 24px; }
}

