/* ============================================================
   HERO — Full-Screen Video Background
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---- Video layer ---- */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Fallback background while video loads */
  background: #0D1B2A;
}

/* Dark gradient overlay — keeps text legible over any footage */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 18, 28, 0.55) 0%,
    rgba(10, 18, 28, 0.65) 50%,
    rgba(10, 18, 28, 0.75) 100%
  );
}

/* ---- Content layer ---- */
.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--container-pad);
  max-width: 960px;
  width: 100%;
}

/* ---- Headline block ---- */
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  margin: 0 0 var(--space-10);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* Static white line */
.hero__title-static {
  display: block;
  font-size: clamp(2.25rem, 5vw, 4rem);
  color: #ffffff;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Rotating block — uses CSS Grid to stack elements perfectly */
.hero__title-rotating {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
}

/* Each rotating phrase stacked in the same grid cell */
.hero__rotating-item {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  /* Solid green color — matches brand */
  color: var(--color-green);
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.hero__rotating-item.active {
  animation: rotateIn 0.6s ease forwards;
}

.hero__rotating-item.leaving {
  animation: rotateOut 0.5s ease forwards;
}

@keyframes rotateIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rotateOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-30px); }
}

/* CTA button */
.hero__cta {
  font-size: var(--text-base);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(255,107,43,0.4);
  animation: fadeInUp 0.8s 0.6s ease forwards;
  opacity: 0;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,43,0.5);
}

/* Scroll cue — bouncing chevron at bottom center */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  animation: scrollBounce 2s ease-in-out infinite;
  text-decoration: none;
  transition: color 0.2s;
}
.hero__scroll-cue:hover { color: #ffffff; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Fade-in-up utility */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero__title-static { font-size: clamp(1.875rem, 7vw, 2.75rem); }
  .hero__rotating-item { font-size: clamp(1.875rem, 7vw, 3rem); }
  .hero__cta { padding: 0.9rem 2rem; font-size: var(--text-sm); }
}
@media (max-width: 480px) {
  .hero__title-static { font-size: 1.75rem; }
  .hero__rotating-item { font-size: 1.875rem; }
  .hero__title { gap: 0.2em; margin-bottom: var(--space-8); }
}

/* ============================================================
   CLIENT LOGO BAR
   ============================================================ */
.clients-bar {
  background: #ffffff;
  border-top: 1px solid var(--color-border, #E5E7EB);
  border-bottom: 1px solid var(--color-border, #E5E7EB);
  padding: var(--space-8) 0;
}

.clients-bar__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted, #9CA3AF);
  margin-bottom: var(--space-6);
}

.clients-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.clients-bar__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #9CA3AF;
  background: #F9FAFB;
  transition: border-color 0.2s, color 0.2s;
  min-width: 130px;
}
.clients-bar__pill:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

.clients-bar__more {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted, #9CA3AF);
  text-decoration: none;
  transition: color 0.2s;
}
.clients-bar__more:hover { color: var(--color-green); }

/* ============================================================
   STATEMENT SECTION — Two-column bold value prop
   ============================================================ */
.statement-section {
  background: #ffffff;
  border-bottom: 1px solid #F0F0F0;
}

.statement-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset;
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: var(--space-12) var(--container-pad, 1.5rem);
  gap: var(--space-12);
  align-items: center;
}

/* Left column */
.statement-section__left {
  padding: 0;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.statement-section__headline {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0D1B2A;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.statement-section__headline em {
  font-style: normal;
  color: var(--color-green);
}

/* Right column */
.statement-section__right {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
}

.statement-section__body {
  font-size: var(--text-base);
  color: #6B7280;
  line-height: 1.8;
  margin: 0;
}

/* Outline button — light version for white bg */
.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: transparent;
  border: 1.5px solid #0D1B2A;
  color: #0D1B2A;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}
.btn--outline-dark:hover {
  background: #0D1B2A;
  color: #ffffff;
  gap: var(--space-4);
}

/* Responsive */
@media (max-width: 900px) {
  .statement-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-10) var(--container-pad);
  }
}
@media (max-width: 640px) {
  .statement-section__headline { font-size: 1.5rem; }
  .statement-section__inner { padding: var(--space-8) var(--container-pad); }
}

/* ============================================================
   CHALLENGES SECTION
   ============================================================ */
.challenges-section {
  background: #0D1B2A;
  padding: var(--space-20) 0;
}

.challenges-section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.challenges-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.challenges-section__title em {
  font-style: normal;
  color: var(--color-green);
}

/* 3×2 bordered grid */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.challenge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s ease;
}

/* Remove right border on last column */
.challenge-card:nth-child(3n) { border-right: none; }
/* Remove bottom border on last row */
.challenge-card:nth-last-child(-n+3) { border-bottom: none; }

.challenge-card:hover {
  background: rgba(255,255,255,0.04);
}

.challenge-card__icon {
  font-size: 2rem;
  color: var(--color-green);
  line-height: 1;
}

.challenge-card__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

/* Footer — subtext + CTA */
.challenges-section__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
  text-align: center;
}

.challenges-section__subtext {
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.challenges-section__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 28px rgba(255,107,43,0.35);
}
.challenges-section__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,107,43,0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .challenges-grid { grid-template-columns: repeat(2, 1fr); max-width: 580px; }
  .challenge-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.12); }
  .challenge-card:nth-child(2n) { border-right: none; }
  .challenge-card:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .challenge-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .challenges-grid { max-width: 100%; }
  .challenge-card { padding: var(--space-6) var(--space-3); }
  .challenge-card__label { font-size: 0.85rem; }
  .challenge-card__icon { font-size: 1.5rem; }
  .challenges-section__title { font-size: 1.625rem; }
}

/* ============================================================
   CLIENTS TICKER SECTION
   ============================================================ */
.clients-ticker-section {
  background: #ffffff;
  padding: var(--space-12) 0;
  border-top: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
  overflow: hidden;
}

/* Centered dark pill badge */
.clients-ticker-section__head {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-10);
}

/* Ticker strip */
.logo-ticker {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  /* Fade masks on edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Both the original and cloned track side by side */
.logo-ticker__track {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: 0 var(--space-6);
  flex-shrink: 0;
  animation: logoScroll 60s linear infinite;
}

/* Pause on hover for accessibility */
.logo-ticker:hover .logo-ticker__track {
  animation-play-state: paused;
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Each logo item */
.logo-ticker__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 220px;
  height: 100px;
  padding: 0 var(--space-6);
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #9CA3AF;
  background: #F9FAFB;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.logo-ticker__item img {
  max-height: 70px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.2s ease;
  mix-blend-mode: multiply;
}

.logo-ticker__item:hover img {
  transform: scale(1.05);
}

.logo-ticker__item:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}


/* ============================================================
   WHO WE'RE FOR
   ============================================================ */
.who-section {
  background: #0D1B2A;
  padding: 6rem 0;
}

/* Force heading colours on dark bg */
.who-section .section-header { text-align: center; }
.who-section .section-header__title { color: #ffffff !important; }
.who-section .section-header__desc  { color: rgba(255,255,255,0.6) !important; }

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.who-card {
  position: relative;
  background: linear-gradient(140deg, #132436 0%, #1E3F5E 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Subtle orange glow at bottom-right */
.who-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,107,43,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,107,43,0.2);
}

.who-card__icon {
  font-size: 2.25rem;
  color: var(--color-green);
  margin-bottom: var(--space-6);
  line-height: 1;
}

.who-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 var(--space-3);
  line-height: 1.25;
}

.who-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

/* CTA footer */
.who-section__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  text-align: center;
}

.who-section__cta-text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  margin: 0;
  white-space: nowrap;
}

.who-section__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: 0 8px 28px rgba(255,107,43,0.35);
}
.who-section__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,107,43,0.45);
  gap: var(--space-4);
}

/* Responsive */
@media (max-width: 900px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .who-section { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .who-section__cta-text { white-space: normal; padding: 0 var(--space-4); line-height: 1.5; }
  .who-card { 
    padding: var(--space-6) var(--space-4); 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    word-break: break-word;
  }
  .who-card__title { font-size: 0.95rem; }
  .who-card__icon { font-size: 1.5rem; margin-bottom: var(--space-3); }
  .who-card__desc { font-size: 0.75rem; }
  .who-section { padding: 3rem 0; }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: #ffffff;
  padding: 6rem 0;
}

.services-sym-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.sym-card {
  position: relative;
  background: #0D1B2A;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sym-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-green);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2), 0 0 20px rgba(180, 212, 41, 0.15);
}

.sym-card__icon {
  font-size: 2rem;
  color: var(--color-green);
  margin-bottom: var(--space-4);
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.sym-card:hover .sym-card__icon {
  transform: scale(1.1) rotate(-5deg);
  opacity: 1;
}

.sym-card__subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-2);
}

.sym-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 var(--space-3) 0;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.sym-card:hover .sym-card__title {
  color: var(--color-green);
}

.sym-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin: 0 0 var(--space-4) 0;
}

.sym-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  flex-grow: 1;
}

.sym-card__list li {
  position: relative;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  padding-left: 1.25rem;
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.sym-card__list li::before {
  content: '→';
  color: var(--color-green);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.sym-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
}

.sym-card:hover .sym-card__link {
  background: var(--color-green);
  color: #0D1B2A;
  border-color: var(--color-green);
}

@media (max-width: 1100px) {
  .services-sym-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-sym-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- PROBLEM SECTION ---- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--ease-base);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,86,219,0.2);
}

.problem-card__icon {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(26,86,219,0.07);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.problem-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
}

.problem-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: 1.75;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--space-5);
}

.service-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  position: relative;
  transition: all var(--ease-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(26,86,219,0.2);
}

.service-card--featured {
  background: var(--color-navy);
  border-color: transparent;
  grid-column: span 1;
}

.service-card--featured:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(13,27,42,0.3);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-pale);
  border-radius: var(--radius-lg);
  transition: all var(--ease-base);
}

.service-card--featured .service-card__icon {
  background: rgba(255,107,43,0.15);
}

.service-card:hover .service-card__icon {
  background: var(--color-blue);
  transform: scale(1.05);
}

.service-card--featured:hover .service-card__icon {
  background: var(--color-green);
}

.service-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--color-green);
  color: white;
  margin-bottom: var(--space-3);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
}

.service-card--featured .service-card__title { color: white; }

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  flex: 1;
}

.service-card--featured .service-card__desc { color: rgba(255,255,255,0.65); }

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-body);
}

.service-card__features li i {
  color: var(--color-blue);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-card--featured .service-card__features li { color: rgba(255,255,255,0.65); }
.service-card--featured .service-card__features li i { color: var(--color-green); }

.service-card__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  transition: gap var(--ease-base);
  margin-top: auto;
}

.service-card--featured .service-card__link { color: var(--color-green); }
.service-card:hover .service-card__link { gap: var(--space-3); }

/* ---- METRICS BAR ---- */
.metrics-section {
  background: #ffffff;
  border-top: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
  padding: var(--space-16) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border-right: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.metric:last-child { border-right: none; }

.metric__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  color: #0D1B2A;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
}

.metric__label {
  font-size: var(--text-base);
  font-weight: 700;
  color: #0D1B2A;
  line-height: 1.3;
}

.metric__desc {
  font-size: var(--text-sm);
  color: #6B7280;
  line-height: 1.5;
  margin-top: var(--space-1);
}

/* Responsive */
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid #E5E7EB; }
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-last-child(-n+2) { border-bottom: none; }
  
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid #E5E7EB; padding: var(--space-6) 0; }
  .metric:last-child { border-bottom: none; }
  
  .metric__number { font-size: 3.5rem; }
}

/* ============================================================
   CASE STUDIES SECTION
   ============================================================ */
.case-studies-section {
  background: #f8fafc;
  padding: 6rem 0;
}

.case-studies__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: var(--space-12);
}

.filter-btn {
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0D1B2A;
  color: #ffffff;
  border-color: #0D1B2A;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  /* This enables the dimming effect on siblings */
}

/* Hover effect container logic */
.case-studies__grid:hover .case-study-card:not(:hover) {
  opacity: 0.4;
  filter: grayscale(80%);
}

.case-study-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.case-study-card.hidden {
  display: none;
}

/* Unique view-transition-names for buttery smooth grid re-ordering */
.case-study-card:nth-child(1) { view-transition-name: case-card-1; }
.case-study-card:nth-child(2) { view-transition-name: case-card-2; }
.case-study-card:nth-child(3) { view-transition-name: case-card-3; }
.case-study-card:nth-child(4) { view-transition-name: case-card-4; }

.case-study-card:hover {
  transform: translateY(-8px);
}

.case-study-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-card__bg {
  transform: scale(1.05);
}

.case-study-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.4) 50%, transparent 100%);
  z-index: 2;
}

.case-study-card__content {
  position: relative;
  z-index: 3;
  padding: var(--space-8);
}

.case-study-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-green);
  margin-bottom: var(--space-3);
}

.case-study-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.case-study-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   INSIGHTS SECTION
   ============================================================ */
.insights-section {
  background: #ffffff;
  padding: 6rem 0;
}

.insights__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: var(--space-12);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  background: #0D1B2A;
}

.blog-card.hidden {
  display: none;
}

/* Unique view-transition-names for buttery smooth grid re-ordering */
.blog-card:nth-child(1) { view-transition-name: blog-card-1; }
.blog-card:nth-child(2) { view-transition-name: blog-card-2; }
.blog-card:nth-child(3) { view-transition-name: blog-card-3; }

.blog-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .blog-card__bg {
  transform: scale(1.08);
}

/* Normal Gradient (Subtle) */
.blog-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0, 0.8) 0%, rgba(0,0,0, 0.2) 50%, transparent 100%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

/* Darker Gradient on Hover */
.blog-card__overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0, 0.98) 0%, rgba(0,0,0, 0.6) 60%, transparent 100%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover .blog-card__overlay {
  opacity: 0;
}

.blog-card:hover .blog-card__overlay-dark {
  opacity: 1;
}

.blog-card__content {
  position: relative;
  z-index: 4;
  padding: var(--space-8);
  transform: translateY(16px);
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__content {
  transform: translateY(0);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.blog-card__date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(13, 27, 42, 0.95);
  color: white;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  min-width: 60px;
}

.blog-card__date-badge .day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.blog-card__date-badge .month {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 2px;
}

.blog-card__meta-badge {
  display: inline-block;
  background: rgba(13, 27, 42, 0.95);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.blog-card__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.blog-card__readmore {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  padding-bottom: 4px; /* Space for the underline */
}

/* Blue line animation */
.blog-card__readmore::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #3B82F6; /* Blue line */
  transition: width 0.3s ease;
}

.blog-card:hover .blog-card__readmore::after {
  width: 100%;
}

/* ---- TESTIMONIALS ---- */
.testimonials-ticker {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  margin-top: var(--space-12);
  /* Fade masks on edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonials-ticker__track {
  display: flex;
  align-items: stretch;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  flex-shrink: 0;
  animation: logoScroll 35s linear infinite;
}

.testimonials-ticker:hover .testimonials-ticker__track {
  animation-play-state: paused;
}

.testimonial-card {
  flex-shrink: 0;
  width: 500px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-base);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,86,219,0.15);
}

.testimonial-card__stars {
  color: #F59E0B;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-card__text {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-6);
  position: relative;
}

.testimonial-card__text::before {
  content: '\201C';
  font-size: 5rem;
  color: rgba(26,86,219,0.05);
  line-height: 0;
  z-index: -1;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}

.testimonial-card__title {
  font-size: var(--text-sm);
  color: var(--color-text-body);
}

.testimonial-card__logo {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: filter var(--ease-base);
}

.testimonial-card:hover .testimonial-card__logo {
  filter: grayscale(0%) opacity(1);
}


/* ==============================
   RESPONSIVE — Homepage
   ============================== */

/* Tablet (1024px and below) */
/* ============================================================
   FAQ & CONTACT SECTION
   ============================================================ */
.faq-contact-section {
  background: #ffffff;
  padding: 6rem 0;
  border-top: 1px solid #E5E7EB;
}

.faq-contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.faq-accordion {
  margin-bottom: 3rem;
  border-top: 1px solid #E5E7EB;
}

.faq-accordion__item {
  border-bottom: 1px solid #E5E7EB;
}

.faq-accordion__btn {
  width: 100%;
  text-align: left;
  background: #0D1B2A;
  color: white;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-accordion__btn:hover {
  background: #1a2a40;
}

.faq-accordion__btn i {
  transition: transform 0.3s;
}

.faq-accordion__btn.active i {
  transform: rotate(180deg);
}

.faq-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: #f8fafc;
  color: #4B5563;
}

.faq-accordion__content.open {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-contact__subtext {
  font-size: 1rem;
  color: #4B5563;
  margin-bottom: 1.5rem;
}

.faq-contact__methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #0D1B2A;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  border-color: #0D1B2A;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateX(4px);
}

.contact-method-card__icon {
  width: 40px;
  height: 40px;
  background: #0D1B2A;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 1.25rem;
}

.contact-method-card__text {
  font-weight: 600;
  flex-grow: 1;
}

.contact-method-card__arrow {
  color: #0D1B2A;
}

/* Form Column */
.contact-form-card {
  background: #09131e;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow/pattern */
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-form-card__arrow {
  text-align: center;
}

.contact-form {
  position: relative;
  z-index: 2;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
}

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

.contact-form .custom-select .select-arrow {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  pointer-events: none;
}

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

.contact-form option {
  color: #0D1B2A;
  background: #ffffff;
}

@media (max-width: 900px) {
  .faq-contact__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-form-card {
    padding: 3rem 2rem;
  }
}

@media (max-width: 1024px) {
  .hero { min-height: auto; padding-top: 100px; }
  .hero__container { padding-top: var(--space-16); padding-bottom: var(--space-16); }
  .hero__content { max-width: 600px; }
  .hero__title { font-size: clamp(2rem, 4vw, 3.25rem); }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card--featured {
    grid-column: span 2;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-10) var(--space-6);
  }
  .metric:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .metric:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .metric:last-child { border-bottom: none; }

  .problem-grid { grid-template-columns: 1fr 1fr; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .logo-strip__grid { gap: var(--space-6); }
}

/* Large Mobile / Small Tablet (768px and below) */
@media (max-width: 768px) {
  .hero { padding-top: 80px; }
  .hero__container { padding-top: var(--space-12); padding-bottom: var(--space-12); }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(1.875rem, 6vw, 2.75rem); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__trust { flex-direction: column; gap: var(--space-3); }

  .logo-strip__grid { gap: var(--space-3); }
  .logo-strip__item { font-size: var(--text-sm); padding: var(--space-2) var(--space-4); }

  .services-grid,
  .service-card--featured {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }

  .problem-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: var(--space-8) var(--space-4); }
  .metric__number { font-size: 3.5rem; }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
  .hero__title { font-size: 1.875rem; letter-spacing: -0.02em; }
  .hero__content .label { font-size: 0.65rem; }

  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: var(--space-6) var(--space-4); }
  .metric__number { font-size: 3rem; }
  .metric__label { font-size: var(--text-xs); }

  .testimonial-card { padding: var(--space-6); }
  .testimonial-card__text::before { font-size: 3.5rem; top: 16px; }

  .logo-strip { padding: var(--space-6) 0; }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .hero__title { font-size: 1.6rem; }
  .hero__trust-avatars img { width: 30px; height: 30px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric__number { font-size: 3.5rem; }
  .problem-card { padding: var(--space-6); }
  .service-card { padding: var(--space-6); }
}

/* Fix layout thrashing lag on accordion */
@media (min-width: 901px) {
  .service-card__body {
    width: 450px;
  }
}

@media (max-width: 768px) {
  .case-studies__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .case-studies__grid::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .case-study-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}
@media (max-width: 768px) {
  .insights__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .insights__grid::-webkit-scrollbar {
    display: none;
  }
  .blog-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  
  .services-section, 
  .case-studies-section, 
  .testimonials-section,
  .faq-contact-section {
    padding: 3rem 0;
  }
}