/*
Theme Name: Assertiv Logix
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A custom modern WordPress theme for Assertiv Logix.
Version: 1.0
License: GPL2
Text Domain: assertiv-logix
*/

/* ============================================
   ASSERTIV LOGIX — Premium Light Theme
   WordPress Development Agency
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ============================================================
   CSS DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --primary: #004F61;
  --primary-dark: #003845;
  --primary-light: #00738E;
  --secondary: #0284C7;
  --accent: #0EA5E9;
  --accent-dark: #0369A1;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Backgrounds */
  --bg: #FFFFFF;
  --bg-alt: #F5F3FF;
  /* light lavender */
  --bg-card: #FFFFFF;
  --bg-section: #FAFAFA;
  --bg-dark: #0F0A1E;
  /* for footer */

  /* Text */
  --text-primary: #0F0A1E;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-white: #FFFFFF;

  /* Borders */
  --border: rgba(79, 70, 229, 0.14);
  --border-strong: rgba(79, 70, 229, 0.3);
  --border-light: rgba(0, 0, 0, 0.06);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #004F61 0%, #00738E 100%);
  --grad-hero: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #BAE6FD 100%);
  --grad-text: linear-gradient(135deg, #004F61 0%, #00738E 60%, #0EA5E9 100%);
  --grad-card: linear-gradient(145deg, rgba(0, 79, 97, 0.04) 0%, rgba(0, 115, 142, 0.02) 100%);
  --grad-footer: linear-gradient(135deg, #001A20 0%, #003845 100%);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 79, 97, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 16px rgba(0, 79, 97, 0.10);
  --shadow-md: 0 8px 32px rgba(0, 79, 97, 0.14);
  --shadow-lg: 0 20px 60px rgba(0, 79, 97, 0.16);
  --shadow-hover: 0 24px 64px rgba(0, 79, 97, 0.22);
  --shadow-btn: 0 8px 24px rgba(0, 79, 97, 0.35);

  /* Spacing & Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: all 0.2s var(--ease);
  --t-base: all 0.3s var(--ease);
  --t-slow: all 0.6s var(--ease);
}

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: 'Roboto', sans-serif;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f0eeff;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::selection {
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-dark);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 72px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: var(--t-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  background: rgba(79, 70, 229, 0.06);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.83rem;
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 1002;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--t-slow);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.05em;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
  flex-shrink: 0;
}

.logo-text .name {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1;
  display: block;
}

.logo-text .tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links li a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--t-fast);
  display: block;
  position: relative;
}

.nav-links li a:hover {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
}

.nav-links li a.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(79, 70, 229, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--t-base);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 1005;
}

.mobile-menu.open {
  display: flex;
}

/* Mobile Header */
.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.mob-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Body */
.mob-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu .mob-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.mobile-menu .mob-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .mob-links li {
  margin: 0;
}

.mobile-menu .mob-links a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  transition: var(--t-fast);
  display: block;
}

.mobile-menu .mob-links a:hover,
.mobile-menu .mob-links a.active {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
}

.mob-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mob-close:hover {
  background: rgba(79, 70, 229, 0.06);
  color: var(--primary);
}

.mob-cta {
  margin-top: 20px;
}

/* Mobile Submenu */
.mobile-menu .mob-links .sub-menu {
  position: static;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: none;
  margin-left: 0;
  margin-top: 8px;
  margin-bottom: 8px;
}

.mobile-menu .mob-links li.menu-item-has-children > a {
  position: relative;
}

.mobile-menu .mob-links li.menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid var(--text-primary);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transition: var(--t-fast);
}

.mobile-menu .mob-links li.menu-item-has-children.active > a::after {
  transform: translateY(-50%) rotate(90deg);
  border-left-color: var(--primary);
}

.mobile-menu .mob-links li.menu-item-has-children.active > .sub-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-menu .mob-links .sub-menu li a {
  font-size: 1.2rem;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

.mobile-menu .mob-links .sub-menu li a:hover {
  color: var(--primary);
  background: transparent;
  padding-left: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  padding: 140px 0 90px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  justify-content: center;
}

.breadcrumb a {
  color: var(--primary);
  transition: var(--t-fast);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   HERO (Home Page)
   ============================================================ */
#home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-hero-left {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
  animation: fadeInUp 0.7s ease both;
}

.hero-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
  }
}

.home-hero-left h1 {
  font-size: clamp(2.8rem, 2.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.home-hero-left .hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
  margin-bottom: 48px;
}

.hero-trustline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  animation: fadeInUp 0.7s 0.4s ease both;
}

.trustline-avatars {
  display: flex;
}

.trustline-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  color: white;
  margin-left: -8px;
}

.trustline-avatar:first-child {
  margin-left: 0;
}

.trustline-stars {
  color: #F59E0B;
  letter-spacing: 1px;
  font-size: 0.78rem;
}

/* Hero Right — Visual */
.home-hero-right {
  position: relative;
  animation: fadeInRight 0.8s 0.2s ease both;
}

.hero-visual {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.hero-visual-dots {
  display: flex;
  gap: 5px;
}

.hvd {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hvd-r {
  background: #EF4444;
}

.hvd-y {
  background: #F59E0B;
}

.hvd-g {
  background: #10B981;
}

.hero-visual-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.hsg-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  transition: var(--t-base);
}

.hsg-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.hsg-card .num {
  font-family: 'Roboto', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.hsg-card .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hsg-card .trend {
  font-size: 0.72rem;
  color: var(--success);
  font-weight: 600;
}

.hero-mini-chart {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}

.chart-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}

.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--grad-primary);
  opacity: 0.7;
  transition: var(--t-base);
}

.bar:hover {
  opacity: 1;
}

.bar-active {
  opacity: 1;
  box-shadow: 0 -2px 8px rgba(79, 70, 229, 0.3);
}

/* Floating Cards on Hero Right */
.hero-float-1,
.hero-float-2 {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatBob 4s ease-in-out infinite;
}

.hero-float-1 {
  top: -18px;
  left: -30px;
  color: var(--success);
  animation-delay: 0s;
  z-index: 99;
}

.hero-float-2 {
  bottom: -18px;
  right: -24px;
  color: var(--primary);
  animation-delay: 2s;
}

.float-icon {
  font-size: 1.1rem;
}

@keyframes floatBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}

.stats-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-block {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid var(--border-light);
}

.stat-block:last-child {
  border-right: none;
}

.stat-block .num {
  font-family: 'Roboto', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-block .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--primary);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tickerMove 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 36px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  background: var(--grad-primary);
  border: none;
  box-shadow: var(--shadow-lg);
}

.service-card.featured::before {
  display: none;
}

.service-card.featured:hover {
  box-shadow: 0 28px 70px rgba(79, 70, 229, 0.35);
}

.svc-icon {
  width: 56px;
  height: 56px;
  background: rgba(79, 70, 229, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--t-base);
}

.service-card:hover .svc-icon {
  background: rgba(79, 70, 229, 0.14);
  transform: scale(1.08);
}

.service-card.featured .svc-icon {
  background: rgba(255, 255, 255, 0.2);
}

.svc-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
}

.service-card.featured .svc-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card.featured h3 {
  color: white;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.svc-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L3.5 6L9 1' stroke='%234F46E5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.service-card.featured .svc-list li {
  color: rgba(255, 255, 255, 0.85);
}

.service-card.featured .svc-list li::before {
  background-color: rgba(255, 255, 255, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L3.5 6L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--t-fast);
}

.svc-link:hover {
  gap: 10px;
}

.service-card.featured .svc-link {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   ABOUT / SPLIT SECTION
   ============================================================ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-img-wrap {
  position: relative;
}

.split-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
  border: 1px solid var(--border);
}

.split-img-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
  text-align: center;
}

.sib-num {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.sib-lbl {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.img-deco {
  position: absolute;
  inset: -16px;
  border-radius: calc(var(--radius-xl) + 16px);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(14, 165, 233, 0.05));
  z-index: -1;
  filter: blur(20px);
}

.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 36px;
}

.about-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--t-base);
}

.about-feat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.afc-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.afc-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.afc-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-grid::after {
  content: '';
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 20%, var(--border-strong) 80%, transparent 100%);
}

.process-step {
  text-align: center;
  position: relative;
}

.ps-num-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
}

.ps-num {
  width: 76px;
  height: 76px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: var(--t-base);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xs);
}

.process-step:hover .ps-num {
  background: var(--grad-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.ps-emoji {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  z-index: 2;
  box-shadow: var(--shadow-xs);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: white;
  border: 1px solid var(--border);
  transition: var(--t-base);
}

.portfolio-card:first-child {
  grid-column: span 2;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.portfolio-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: var(--t-slow);
}

.portfolio-card:first-child .portfolio-img {
  height: 300px;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.04);
}

.portfolio-body {
  padding: 22px;
}

.portfolio-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ptag {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
}

.portfolio-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-body p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.portfolio-link-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--t-base);
  box-shadow: var(--shadow-xs);
}

.portfolio-card:hover .portfolio-link-btn {
  opacity: 1;
  transform: scale(1);
}

/* Filter Buttons */
.filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--t-fast);
  font-family: 'Roboto', sans-serif;
  box-shadow: var(--shadow-xs);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   TECH LOGOS
   ============================================================ */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.tech-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--t-base);
  min-width: 100px;
  box-shadow: var(--shadow-xs);
}

.tech-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tech-item .ti-icon {
  font-size: 1.8rem;
}

.tech-item .ti-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: var(--t-base);
  box-shadow: var(--shadow-xs);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.testi-card.featured {
  background: var(--grad-primary);
  border: none;
  box-shadow: var(--shadow-lg);
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testi-stars span {
  color: #F59E0B;
  font-size: 0.88rem;
}

.testi-quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-style: italic;
}

.testi-card.featured .testi-quote {
  color: rgba(255, 255, 255, 0.82);
}

.testi-q-icon {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  color: rgba(79, 70, 229, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  user-select: none;
}

.testi-card.featured .testi-q-icon {
  color: rgba(255, 255, 255, 0.1);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testi-card.featured .testi-avatar {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.testi-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.testi-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testi-card.featured .testi-info h4 {
  color: white;
}

.testi-card.featured .testi-info p {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: var(--t-base);
  box-shadow: var(--shadow-xs);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  background: var(--grad-primary);
  border: none;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pc-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-card.popular .pc-name {
  color: rgba(255, 255, 255, 0.7);
}

.pc-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}

.pc-cur {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
}

.pc-num {
  font-family: 'Roboto', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card.popular .pc-cur,
.pricing-card.popular .pc-num {
  color: white;
}

.pc-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card.popular .pc-period {
  color: rgba(255, 255, 255, 0.6);
}

.pc-divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 22px;
}

.pricing-card.popular .pc-divider {
  background: rgba(255, 255, 255, 0.15);
}

.pc-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.pricing-card.popular .pc-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pc-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(79, 70, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--primary);
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-card.popular .pc-check {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--t-base);
  box-shadow: var(--shadow-xs);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--t-fast);
}

.faq-q:hover {
  color: var(--primary);
}

.faq-item.open .faq-q {
  color: var(--primary);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--t-base);
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 250px;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 72px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  right: -80px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT ELEMENTS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: var(--t-base);
}

.contact-info-item:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.cii-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cii-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.cii-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Roboto', sans-serif;
  outline: none;
  transition: var(--t-fast);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-select option {
  background: white;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--t-base);
  box-shadow: var(--shadow-xs);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card .bio {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.team-social {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.team-soc-link {
  width: 30px;
  height: 30px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--t-fast);
}

.team-soc-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ============================================================
   VALUES CARDS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--t-base);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t-base);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.vc-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--grad-footer);
  padding: 70px 0 0;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-about .logo .name {
  color: white;
}

.footer-about .logo .tag {
  color: var(--primary-light);
}

.footer-about p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 16px 0 22px;
}

.social-links {
  display: flex;
  gap: 8px;
}

.soc-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--t-fast);
}

.soc-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  text-decoration: none;
  transition: var(--t-fast);
}

.footer-list a:hover {
  color: white;
  padding-left: 4px;
}

.footer-newsletter {
  display: flex;
  gap: 0;
  margin-top: 10px;
}

.fnl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 14px;
  color: white;
  font-size: 0.83rem;
  font-family: 'Roboto', sans-serif;
  outline: none;
  transition: var(--t-fast);
}

.fnl-input:focus {
  border-color: var(--primary-light);
}

.fnl-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.fnl-btn {
  background: var(--primary);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 16px;
  color: white;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t-fast);
  font-family: 'Roboto', sans-serif;
}

.fnl-btn:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--t-fast);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 900;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--t-base);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: waRipple 2s ease-out infinite;
}

@keyframes waRipple {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.wa-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-primary);
  color: white;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--t-fast);
}

.whatsapp-fab:hover .wa-tip {
  opacity: 1;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.from-left {
  transform: translateX(-32px);
}

.reveal.from-right {
  transform: translateX(32px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

.stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.16s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.24s;
}

.stagger.visible>*:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}

.stagger.visible>*:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.40s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-hero-right {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-card:first-child {
    grid-column: span 2;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-grid::after {
    display: none;
  }

  .split-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .split-grid,
  .contact-grid,
  .about-feats {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonials-grid,
  .portfolio-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card:first-child {
    grid-column: span 1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner {
    padding: 48px 28px;
  }

  .stats-strip-inner {
    flex-wrap: wrap;
  }

  .stat-block {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }
  .contact-grid {
      display: block !important;
  }
  .reveal.from-right.visible {
      margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .split-img-badge {
    right: 0;
    bottom: -10px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }
}

/* ============================================================
   INLINE GRID RESPONSIVE OVERRIDES (pricing, about, services)
   ============================================================ */
@media (max-width: 900px) {

  /* Pricing maintenance inline grid */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Mission/Vision 2-col */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* WY-choose-us inner grid */
  [style*="grid-template-columns:1fr 1fr;gap:72px"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero stats grid inside hero visual */
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Case study grid inside white box */
  [style*="grid-template-columns:1fr 1fr;gap:56px"] {
    grid-template-columns: 1fr !important;
  }

  /* Trustline stats */
  [style*="display:flex;align-items:center;justify-content:center;gap:48px"] {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 640px) {

  /* Testimonial strip 3-col */
  [style*="grid-template-columns:repeat(3,1fr);gap:20px"] {
    grid-template-columns: 1fr !important;
  }

  /* About feat cards 2-col inline */
  .about-feats {
    grid-template-columns: 1fr !important;
  }

  /* Contact trust strip flex */
  [style*="display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap"] {
    flex-direction: column;
    gap: 12px !important;
    justify-content:flex-start;
  }

  /* Services hero stat 4-cards */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  /* Comparison table scroll */
  table {
    font-size: 0.8rem;
  }

  th,
  td {
    padding: 12px 14px !important;
  }
}

/* ============================================================
   ENHANCED ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

/* Smooth button press */
.btn:active {
  transform: scale(0.96) !important;
}

/* Logo hover */
.logo {
  transition: var(--t-fast);
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Nav link underline animation */
.nav-links li a {
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-links li a:hover::after,
.nav-links li.current-menu-item>a::after,
.nav-links li.current-menu-parent>a::after {
  transform: scaleX(1);
}



.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--t-base);
  z-index: 1001;
  display: none;
}

.nav-links li:hover {
  position: relative;
}

.nav-links li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

/* Card shine on hover */
.service-card,
.pricing-card,
.testi-card,
.team-card,
.value-card,
.portfolio-card {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.pricing-card::after,
.testi-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.5s ease, left 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after,
.pricing-card:hover::after,
.testi-card:hover::after {
  opacity: 1;
  left: 120%;
  transition: left 0.6s ease, opacity 0.1s;
}

/* Don't apply on featured purple cards */
.service-card.featured::after,
.pricing-card.popular::after,
.testi-card.featured::after {
  display: none;
}

/* Input focus animation */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  transform: translateY(-1px);
}

/* Section label entrance */
.section-label {
  animation: none;
  display: inline-flex;
  position: relative;
}

/* Floating ambient glow on hero */
#home-hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 55%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Pricing card popular scale fix on mobile */
@media (max-width: 768px) {
  .pricing-card.popular {
    transform: none !important;
    order: -1;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px) !important;
  }
}

/* ============================================================
   FOOTER ENHANCED
   ============================================================ */
#footer .logo-mark {
  background: var(--grad-primary);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
}

.footer-list a {
  position: relative;
  display: inline-block;
}

.footer-list a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.25s ease;
}

.footer-list a:hover::after {
  width: 100%;
}

/* ============================================================
   SCROLL TO TOP POSITION SAFE ZONE
   ============================================================ */
@media (max-width: 480px) {
  .whatsapp-fab {
    bottom: 76px;
    right: 16px;
    width: 46px;
    height: 46px;
  }

  .scroll-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   PRINT BASIC CLEANUP
   ============================================================ */
@media print {

  #navbar,
  .whatsapp-fab,
  .scroll-top,
  .ticker-wrap,
  .reading-progress {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .cta-banner {
    background: #4F46E5 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* ============================================================
   ENGINEERING EXCELLENCE SECTION
   ============================================================ */
.engineering-section {
  background: var(--bg-alt);
  color: var(--text-primary);
  overflow: hidden;
}

.engineering-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Reusing section-title and section-desc classes instead of custom ones,
   so we can just define specific card styles here */
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.eng-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--t-base);
}

.eng-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.eng-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.eng-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.eng-card-title {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.eng-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   OUR ARSENAL SECTION
   ============================================================ */
.arsenal-section {
  background: var(--bg);
}

.arsenal-header {
  text-align: center;
  margin-bottom: 60px;
}

.arsenal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.arsenal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  min-width: 156px;
  transition: var(--t-base);
}

.arsenal-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.ars-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  height: 48px;
}

.ars-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* Colors for specific icons to give branding hints */
.arsenal-item:nth-child(2) .ars-icon-wrap {
  color: #777BB4;
}

/* PHP */
.arsenal-item:nth-child(3) .ars-icon-wrap {
  color: #61DAFB;
}

/* React */
.arsenal-item:nth-child(4) .ars-icon-wrap {
  color: #96588A;
}

/* WooCommerce */
.arsenal-item:nth-child(5) .ars-icon-wrap span {
  background: #F7DF1E !important;
  color: #000 !important;
}

/* JS */
.arsenal-item:nth-child(6) .ars-icon-wrap {
  color: #E10098;
}

/* GraphQL */
.arsenal-item:nth-child(7) .ars-icon-wrap {
  color: #06B6D4;
}

/* Tailwind CSS */
.arsenal-item:nth-child(8) .ars-icon-wrap {
  color: #00758F;
}

/* MySQL */

/* ============================================================
   UTILITY HELPERS
   ============================================================ */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.gap-sm {
  gap: 8px !important;
}

.d-flex {
  display: flex;
}

.ai-center {
  align-items: center;
}

.jc-center {
  justify-content: center;
}

.w-full {
  width: 100%;
}