/* ============================================
   WebBuddy Designs — Global Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --primary: #1B4DFF;
  --primary-dark: #0037D5;
  --primary-light: #EBF0FF;
  --primary-bg: #EFF6FF;
  --dark: #0F172A;
  --dark-blue: #0F1B4C;
  --heading: #111827;
  --text: #4B5563;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --white: #FFFFFF;
  --light-bg: #F8FAFC;
  --light-gray: #F3F4F6;
  --border: #E5E7EB;
  --border-light: #F0F0F0;
  --green: #16A34A;
  --green-light: #DCFCE7;
  --red: #EF4444;
  --red-light: #FEE2E2;
  --blue-light: #DBEAFE;
  --orange: #F97316;
  --orange-light: #FFF7ED;
  --purple: #8B5CF6;
  --purple-light: #F3E8FF;

  /* Typography (Fluid Sizing via clamp) */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  /* 12px - 13px */
  --fs-sm: clamp(0.8125rem, 0.78rem + 0.25vw, 0.875rem);
  /* 13px - 14px */
  --fs-base: clamp(0.875rem, 0.84rem + 0.3vw, 1rem);
  /* 14px - 16px */
  --fs-md: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  /* 16px - 18px */
  --fs-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  /* 18px - 20px */
  --fs-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  /* 20px - 24px */
  --fs-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
  /* 24px - 30px */
  --fs-3xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  /* 28px - 36px */
  --fs-4xl: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  /* 32px - 44px */
  --fs-5xl: clamp(2.25rem, 1.8rem + 2.5vw, 3.25rem);
  /* 36px - 52px */

  /* Spacing & Layout Tokens */
  --container-width: 1400px;
  --section-padding: clamp(45px, 5vw + 20px, 85px) 0;
  --section-padding-sm: clamp(30px, 3vw + 15px, 50px) 0;
  --grid-gap-desktop: 30px;
  --grid-gap-tablet: 20px;
  --grid-gap-mobile: 16px;

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  opacity: 0;
  animation: pageFadeIn 0.45s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

body.page-transition-out {
  opacity: 0 !important;
  transform: translateY(-6px);
  transition: opacity 0.22s ease-in, transform 0.22s ease-in !important;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-family);
  transition: var(--transition);
}

input,
textarea,
select {
  font-family: var(--font-family);
  outline: none;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width, 1400px);
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 32px;
  }
}

@media (min-width: 1440px) {
  .container {
    padding-inline: 40px;
  }
}

.section {
  padding: var(--section-padding);
}

.section--gray {
  background-color: var(--light-bg) !important;
}

.section--white {
  background-color: var(--white) !important;
}

/* --- Alternating Section Background System --- */
main>section:nth-of-type(even):not(.cta-banner):not(.value-bar):not(.hero) {
  background-color: var(--light-bg);
}

main>section:nth-of-type(odd):not(.cta-banner):not(.value-bar) {
  background-color: var(--white);
}

/* --- Reusable Flexbox Layout Primitives --- */
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media (min-width: 768px) {

}

@media (max-width: 374px) {

}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: var(--fs-5xl);
  line-height: 1.15;
}

h2 {
  font-size: var(--fs-3xl);
  line-height: 1.2;
}

h3 {
  font-size: var(--fs-xl);
  line-height: 1.3;
}

h4 {
  font-size: var(--fs-lg);
  line-height: 1.4;
}

p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* --- Section Labels / Badges --- */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: var(--fs-3xl);
  color: var(--heading);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text);
  font-size: var(--fs-base);
  max-width: 600px;
  margin: 0 auto 40px;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--outline {
  background-color: var(--white);
  color: var(--heading);
  border-color: var(--heading);
}

.btn--outline:hover {
  background-color: var(--heading);
  color: var(--white);
}

.btn--white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--white:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn--outline-blue {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline-blue:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn--sm {
  padding: 8px 18px;
  font-size: var(--fs-sm);
}

.btn .arrow {
  font-size: 1.1em;
}

/* Link style buttons */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: var(--transition);
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow--red {
  color: var(--red);
}

.link-arrow--green {
  color: var(--green);
}

.link-arrow--orange {
  color: var(--orange);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: 160px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.logo svg {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-cubic), left 0.3s var(--ease-out-cubic);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
  left: 0;
}

.nav__cta {
  margin-left: 16px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background-color: var(--heading);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #e8eeff 50%, #f8faff 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero__content {
  flex: 1;
  max-width: 500px;
  width: 100%;
  min-width: 0;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__title .highlight {
  color: var(--primary);
}

.hero__desc {
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.hero__visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 45dvh;
  width: 100%;
  min-width: 0;
}

.hero__laptop-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

/* Floating stat badges on hero */
.stat-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: floatBadge 5s ease-in-out infinite;
}

.stat-badge__label {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-bottom: 2px;
}

.stat-badge__value {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--green);
}

.stat-badge--leads {
  top: 10px;
  left: 20px;
  animation-delay: 0s;
}

.stat-badge--speed {
  top: 10px;
  right: 0;
  border: 2px solid var(--green);
  animation-delay: 1.5s;
}

.stat-badge--speed .stat-badge__value {
  font-size: var(--fs-2xl);
  color: var(--heading);
}

.stat-badge--speed .stat-badge__check {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.stat-badge--speed .excellent {
  color: var(--green);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.stat-badge--conversion {
  bottom: 60px;
  left: 40px;
  animation-delay: 0.7s;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.stat-badge__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-badge__icon svg {
  width: 28px;
  height: 28px;
}

/* Hero mug image */
.hero__mug {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 140px;
  z-index: 1;
}

/* ============================================
   SECTION 2: INFINITY TECH LOGO SLIDER
   ============================================ */
.infinity-slider-section {
  background: var(--light-bg);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.infinity-slider-section::before,
.infinity-slider-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.infinity-slider-section::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg), transparent);
}

.infinity-slider-section::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.infinity-slider-track-container {
  overflow: hidden;
  width: 100%;
}

.infinity-slider-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: infinityMarquee 45s linear infinite;
  will-change: transform;
}

.infinity-slider-track:hover {
  animation-play-state: paused;
}

.infinity-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.infinity-logo-item:hover {
  border-color: var(--primary-light, #1B4DFF);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 77, 255, 0.12);
}

.infinity-logo-item svg,
.infinity-logo-img {
  height: 36px;
  width: auto;
  max-width: 50px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

@keyframes infinityMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   VALUE PROPOSITIONS BAR
   ============================================ */
.value-bar {
  background: linear-gradient(135deg, #1a3fd4 0%, #1B4DFF 50%, #2e5bff 100%);
  padding: 40px 0;
  color: #ffffff;
}

.value-bar .section-title {
  color: #ffffff !important;
  margin-bottom: 8px;
}

.value-bar h3.value-bar__subtitle {
  color: #ffffff !important;
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 10px;
}

.value-bar .value-bar__desc {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 820px;
  margin-inline: auto;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.value-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.value-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-item__text h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.value-item__text p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
  max-width: 200px;
}

/* White version for pages that have it on white bg */
.value-bar--white {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.value-bar--white .value-item {
  color: var(--heading);
}

.value-bar--white .value-item__icon {
  background: var(--light-gray);
  color: var(--text);
}

.value-bar--white .value-item__text h4 {
  color: var(--heading);
  font-size: var(--fs-sm);
}

.value-bar--white .value-item__text p {
  color: var(--text-light);
  font-size: var(--fs-xs);
}

/* ============================================
   PROBLEM / "YOUR WEBSITE SHOULD..." SECTION
   ============================================ */
.problem-section {
  padding: var(--section-padding);
}

.problem-section .container {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}

.problem-section__visual {
  flex: 0 0 340px;
  max-width: 360px;
  width: 100%;
  background: linear-gradient(135deg, #e8eeff, #dbeafe);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problem-section__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.problem-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.problem-checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-base);
  color: var(--heading);
  font-weight: 500;
}

.problem-checklist__item .x-icon {
  width: 20px;
  height: 20px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.problem-section__content {
  flex: 1;
  min-width: 0;
}

.problem-section__content h2 {
  font-size: var(--fs-3xl);
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 720px;
}

.problem-section__content p {
  color: var(--text);
  line-height: 1.7;
  font-size: var(--fs-base);
  margin-bottom: 16px;
}

.problem-section__content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: 40px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  height: auto;
  width: 100%;
  min-width: 0;
}

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 12px;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.service-card__icon--blue {
  background: var(--blue-light);
  color: var(--primary);
}

.service-card__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.service-card__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.service-card__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.service-card__icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.service-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card__list {
  margin-bottom: 16px;
}

.service-card__list li {
  font-size: var(--fs-sm);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.service-card__list li .check {
  width: 16px;
  height: 16px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.service-card__list li .check--green {
  background: var(--green-light);
  color: var(--green);
}

.service-card__list li .check--red {
  background: var(--red-light);
  color: var(--red);
}

.service-card__list li .check--purple {
  background: var(--purple-light);
  color: var(--purple);
}

/* ============================================
   MORE THAN WEBSITE / ADDITIONAL SERVICES
   ============================================ */
.additional-services {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  margin-top: 36px;
  max-width: 1100px;
  margin-inline: auto;
}

.additional-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--heading);
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.additional-service-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ============================================
   PROCESS STEPS (4-COLUMN VISUAL TIMELINE)
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 50px;
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.process-step__number--blue {
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.process-step__number--green {
  background: var(--green-light);
  color: var(--green);
  border: 2px solid var(--green);
}

.process-step__number--red {
  background: var(--red-light);
  color: var(--red);
  border: 2px solid var(--red);
}

.process-step__number--dark {
  background: var(--heading);
  color: var(--white);
  border: 2px solid var(--heading);
}

/* Connecting dashed horizontal line between step circles */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 55%;
  width: 90%;
  height: 2px;
  border-top: 2px dashed #BFDBFE;
  z-index: 1;
}

.process-step__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: var(--primary);
}

.process-step h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading);
}

.process-step p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.5;
  max-width: 200px;
}

/* ============================================
   PORTFOLIO / SEE OUR WORK
   ============================================ */
.portfolio-section {
  background: var(--light-bg);
  padding: var(--section-padding);
}

/* Portfolio Carousel Wrapper & Track */
.portfolio-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 30px;
  padding: 0 50px;
}

@media (max-width: 640px) {
  .portfolio-carousel-wrapper {
    padding: 0 35px;
  }
}

.portfolio-carousel-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 10px 0;
}

.portfolio-grid,
.portfolio-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  margin-top: 0;
  overflow-x: visible;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  user-select: none;
}

@media (min-width: 1024px) {
  .portfolio-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .portfolio-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  .portfolio-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Carousel Overlay Navigation Arrows (OUTSIDE Cards, centered on total card height) */
.portfolio-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--heading);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}

.portfolio-carousel__arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.portfolio-carousel__arrow--prev {
  left: 0px;
}

.portfolio-carousel__arrow--next {
  right: 0px;
}

.portfolio-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.portfolio-card__body .link-arrow {
  margin-top: auto;
  padding-top: 10px;
}

.portfolio-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.portfolio-card__category {
  font-size: var(--fs-sm);
  color: var(--primary);
  margin-bottom: 8px;
}

.portfolio-card__desc {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.portfolio-card__tag {
  font-size: var(--fs-xs);
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.portfolio-card__focus {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-bottom: 8px;
}

.portfolio-card__focus strong {
  color: var(--heading);
}

/* Home page portfolio row (5 items preview) */
.portfolio-scroll {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.portfolio-mini {
  flex: 0 0 200px;
  text-align: center;
}

.portfolio-mini__img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.portfolio-mini__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 2px;
}

.portfolio-mini__cat {
  font-size: var(--fs-xs);
  color: var(--text-light);
}

/* ============================================
   BUILT FOR BUSINESSES SECTION
   ============================================ */
.built-for {
  padding: 50px 0;
}

.built-for .container {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.built-for__left,
.built-for__right {
  flex: 1;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}

.built-for__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.built-for__left-content {
  flex: 1;
}

.built-for__left-content h3 {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 12px;
}

.built-for__left-content p {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 12px;
}

.built-for__checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.built-for__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text);
}

.built-for__checklist li .check-circle {
  width: 20px;
  height: 20px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.built-for__left-visual {
  flex: 0 0 180px;
}

.built-for__left-visual img {
  width: 100%;
  border-radius: var(--radius-md);
}

.built-for__right h3 {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 12px;
}

.built-for__right p {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.6;
}

.built-for__right-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  float: right;
  margin-left: 16px;
}

/* ============================================
   FAQ SECTION (ROUNDED PILL ACCORDION CARDS)
   ============================================ */
.faq-section {
  padding: var(--section-padding);
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  align-items: start;
  max-width: 1200px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(27, 77, 255, 0.3);
  box-shadow: 0 4px 16px rgba(27, 77, 255, 0.06);
}

.faq-item.active {
  border-color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(27, 77, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--heading);
  transition: color 0.25s ease;
  outline: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 12px;
  pointer-events: none;
  transition: transform 0.35s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-question:hover .faq-icon {
  background: var(--primary-light);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.faq-answer__content {
  padding: 0 26px 20px;
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.65;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #0f2d9e 0%, #1B4DFF 50%, #2563eb 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-banner__content h2 {
  color: var(--white);
  font-size: var(--fs-3xl);
  margin-bottom: 12px;
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-base);
  max-width: 580px;
  line-height: 1.6;
}

.cta-banner__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer>.container:first-of-type {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr 1.4fr 1.3fr;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand .logo {
  margin-bottom: 8px;
}

.footer .logo-img {
  filter: brightness(0) invert(1);
}

.footer__brand .logo .brand-name,
.footer__brand .logo .brand-sub {
  color: var(--white);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer__col h4 {
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact-icon {
  width: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__cta-col h4 {
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 10px;
}

.footer__cta-col p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer__divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal a:hover {
  color: var(--white);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
  padding: var(--section-padding);
}

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: var(--fs-2xl);
  margin-bottom: 6px;
}

.contact-info>p {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail__icon--blue {
  background: var(--primary-light);
  color: var(--primary);
}

.contact-detail__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.contact-detail__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.contact-detail__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.contact-detail__icon--dark {
  background: var(--light-gray);
  color: var(--heading);
}

.contact-detail h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.5;
}

.contact-detail a {
  color: var(--primary);
}

/* Form */
.contact-form h2 {
  font-size: var(--fs-2xl);
  margin-bottom: 6px;
}

.contact-form>p {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--heading);
}

.form-label .required {
  color: var(--red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  color: var(--heading);
  background: var(--white);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 77, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--fs-xs);
  color: var(--text-light);
}

.form-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   CARD GRIDS (various sections)
   ============================================ */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cards-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Generic card with icon */
.icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.icon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.icon-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}

.icon-card__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.icon-card__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.icon-card__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.icon-card__icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.icon-card h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 8px;
}

.icon-card p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.5;
}

/* ============================================
   SPLIT SECTIONS (2 col layouts)
   ============================================ */
.split-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.split-section>* {
  flex: 1;
  min-width: 0;
}

.split-section--reverse {
  flex-direction: row-reverse;
}

/* ============================================
   APPROACH / PROBLEM LIST (Services page)
   ============================================ */
.approach-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.approach-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.approach-item h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
}

.approach-item p {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================
   ECOMMERCE SECTION (Services page)
   ============================================ */
.ecommerce-section {
  padding: 20px 0;
  margin: 20px 0;
}

.ecommerce-section .container-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

.ecommerce-left,
.ecommerce-right {
  display: flex;
  background: #ffffff !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.ecommerce-left {
  gap: 24px;
  align-items: stretch;
}

.ecommerce-right {
  flex-direction: column;
}

.ecommerce-left__content {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ecommerce-left__visual {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecommerce-left__visual img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ============================================
   REMOTE / BASED IN FARIDABAD (used across pages)
   ============================================ */
.remote-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 24px;
}

.remote-box__content {
  flex: 1;
}

.remote-box h3 {
  color: var(--white);
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 12px;
}

.remote-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.remote-box__visual {
  flex: 0 0 160px;
}

.remote-box__visual img {
  width: 100%;
  border-radius: var(--radius-md);
}

.remote-box .location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--white);
  margin-top: 12px;
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.story-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: var(--section-padding);
}

.story-approach__col {
  padding: 0;
}

.strategy-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.strategy-item {
  text-align: center;
}

.strategy-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.strategy-item h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 4px;
}

.strategy-item p {
  font-size: 10px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Principles grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.principle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.principle-card:hover {
  box-shadow: var(--shadow-md);
}

.principle-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.principle-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 6px;
}

.principle-card p {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

/* About services grid (2 rows x 4) */
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.about-service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
}

.about-service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.about-service-card__icon--blue {
  background: var(--blue-light);
  color: var(--primary);
}

.about-service-card__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.about-service-card__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.about-service-card__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.about-service-card__icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.about-service-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 4px;
}

.about-service-card p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ============================================
   WORK PAGE SPECIFIC
   ============================================ */
.work-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.work-type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.work-type-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.work-type-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.work-type-card__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.work-type-card__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.work-type-card__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.work-type-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 8px;
}

.work-type-card p {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Before/After section */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.before-section,
.after-section {
  padding: 0;
}

/* Good Design section (6 cards) */
.design-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.design-principle-card {
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.design-principle-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.design-principle-card__icon--red {
  color: var(--red);
}

.design-principle-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 6px;
}

.design-principle-card p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.4;
}

/* Case Study structure */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

/* Services usage grid (right side of work page) */
.services-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.service-usage-item {
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.service-usage-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
}

.service-usage-item h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 4px;
}

.service-usage-item p {
  font-size: 10px;
  color: var(--text-light);
  line-height: 1.3;
  margin: 0;
}

/* Business objectives (who we build for) */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.objective-card {
  text-align: center;
  padding: 16px;
}

.objective-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.objective-card__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.objective-card__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.objective-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 6px;
}

.objective-card p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.4;
}

/* Project comes together (work page timeline) */
.project-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 30px;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.timeline-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 10px;
}

.timeline-step__number--blue {
  background: var(--primary);
}

.timeline-step__number--green {
  background: var(--green);
}

.timeline-step__number--red {
  background: var(--red);
}

.timeline-step__number--orange {
  background: var(--orange);
}

.timeline-step__number--purple {
  background: var(--purple);
}

.timeline-step__number--dark {
  background: var(--heading);
}

.timeline-step h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-step p {
  font-size: 10px;
  color: var(--text-light);
  line-height: 1.3;
  max-width: 130px;
  margin: 0 auto;
}

/* ============================================
   CONTACT PAGE SPECIFIC
   ============================================ */
.trust-badges-row {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
}

.trust-badge-item svg {
  color: var(--green);
}

/* Start with problem cards */
.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
}

.problem-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.problem-card__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.problem-card__icon--red {
  background: var(--red-light);
  color: var(--red);
}

.problem-card__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.problem-card__icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.problem-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.4;
}

/* Project enquiries grid */
.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.enquiry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  transition: var(--transition);
}

.enquiry-card:hover {
  box-shadow: var(--shadow-md);
}

.enquiry-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.enquiry-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 6px;
}

.enquiry-card p {
  font-size: 11px;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

/* Simple start (3 steps on contact) */
.simple-steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
}

.simple-step {
  flex: 1;
  text-align: center;
}

.simple-step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 12px;
  font-size: var(--fs-base);
}

.simple-step__connector {
  display: flex;
  align-items: center;
  padding-top: 22px;
}

.simple-step__connector svg {
  color: var(--text-muted);
}

.simple-step h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 6px;
}

.simple-step p {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.4;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

/* ============================================
   SMOOTH ANIMATIONS & TRANSITIONS SYSTEM
   ============================================ */

:root {
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* 1. Scroll Reveal Animations (IntersectionObserver triggered) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-cubic), transform 0.7s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out-cubic), transform 0.7s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out-cubic), transform 0.7s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out-cubic), transform 0.7s var(--ease-out-cubic);
  will-change: opacity, transform;
}

/* Active reveal state when scrolled into view */
.reveal.active,
.reveal-fade.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delay Utilities for Cards & Grids */
.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.stagger-4 {
  transition-delay: 0.32s;
}

.stagger-5 {
  transition-delay: 0.40s;
}

.stagger-6 {
  transition-delay: 0.48s;
}

/* 2. Modern Interactive Elements & Micro-animations */

/* Header Glassmorphism & Transition */
.header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(229, 231, 235, 0.7);
}

/* Interactive Card Elevate Effects */
.service-card,
.portfolio-card,
.enquiry-card,
.problem-card,
.faq-item,
.remote-box,
.cta-banner {
  transition: transform 0.35s var(--ease-out-cubic), box-shadow 0.35s var(--ease-out-cubic), border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.service-card:hover,
.portfolio-card:hover,
.enquiry-card:hover,
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(27, 77, 255, 0.12);
  border-color: rgba(27, 77, 255, 0.3);
}

/* Button Micro-animations */
.btn {
  transition: transform 0.25s var(--ease-out-cubic), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 77, 255, 0.25);
}

.btn:active {
  transform: translateY(0);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-cubic);
}

.btn:hover .arrow {
  transform: translateX(4px);
}



/* FAQ Accordion Smooth Height Transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-cubic), opacity 0.35s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.35s var(--ease-out-cubic);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn,
  .service-card,
  .portfolio-card,
  .enquiry-card,
  .problem-card {
    transition: none !important;
    transform: none !important;
  }
}

/* --- Legal Content Section --- */
.container--narrow {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content {
  padding: 40px 0 80px;
}

.legal-content h2 {
  font-size: var(--fs-2xl);
  margin: 40px 0 16px;
  color: var(--heading);
}

.legal-content p {
  margin-bottom: 20px;
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 12px;
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.7;
}

.legal-content strong {
  color: var(--heading);
}

/* --- Responsive Table Primitive --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--fs-base);
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

th {
  background-color: var(--light-bg);
  color: var(--heading);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

/* Accessible focus ring for form fields and interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
