/* ============================================================
   FinAdvantage Theme — main.css
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --indigo:   #6617FF;
  --midnight: #0A0A56;
  --gold:     #FFBB4E;
  --sky:      #1A6DFF;
  --silver:   #EAEAEA;
  --charcoal: #151516;
  --white:    #ffffff;
  --indigo-t1:#9B54FF;
  --indigo-t2:#B885FF;
  --indigo-t3:#D4B6FF;
  --indigo-t4:#F1E7FF;
  --grad-dark: linear-gradient(160deg, #6617FF 0%, #0A0A56 100%);
  --grad-blue: linear-gradient(160deg, #1A6DFF 0%, #6617FF 60%, #3D04AE 100%);
}

html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}


/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes gentleSpin {
  from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}
@keyframes superSpin {
  from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.22; }
  50%       { transform: scale(1.12); opacity: 0.32; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatTag {
  0%   { opacity: 0; transform: translateY(10px); }
  10%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
@keyframes barFill {
  from { width: 0; } to { width: 78%; }
}
@keyframes marqueeRoll {
  from { transform: translateX(0); } to { transform: translateX(-50%); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}


/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 301;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 55px;
  transition: all 0.4s ease;
  background: var(--white);
}
nav.scrolled {
  background: var(--midnight);
  backdrop-filter: blur(16px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(102,23,255,0.12);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { width: 100%; display: block; }
.nav-links { display: flex; gap: 60px; list-style: none; align-items: center; }
.nav-links li {position: relative;}
.nav-links a {
  font-family: 'Roboto', sans-serif; font-size: 1rem;
  color: var(--midnight); text-decoration: none;
  transition: color 0.25s; text-decoration: none; position: relative;
}

/* Create the underline using a pseudo-element */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0); /* Hide initially */
    height: 2px; /* Thickness of underline */
    bottom: -2px; /* Position below text */
    left: 0;
    background-color: var(--gold); /* Change to your theme color */
    transform-origin: bottom right;
    transition: transform 0.3s ease-out; /* Smooth animation */
}

/* Animate the underline on hover and Active page state  */
.nav-links a:hover::after, .nav-links li.current-menu-item > a::after,
.nav-links li.current-page-item > a::after {
    transform: scaleX(1); 
    transform-origin: bottom left;
}


nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: #0A0A56 !important; }
.nav-cta {
  padding: 10px 26px; background: var(--indigo);
  color: var(--white) !important; border-radius: 4px;
  font-weight: 500 !important; font-size: 0.83rem !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--midnight) !important; }

.get-in-touch{ padding: 12px 30px; background: var(--gold);
  color: #000; font-size: 0.88rem; font-weight:500; border:1px solid #fff;
  border-radius: 20px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;}

  .get-in-touch:hover{ background: var(--midnight); border: 1px solid white; color: white;}

/* ── Tighten nav at medium-wide viewports so the CTA always fits ── */
/* NOTE: these MUST live after the base .nav-links a and .get-in-touch rules
   so the media-query overrides actually win (later = higher priority at equal specificity) */
@media (max-width: 1440px) {
  nav { padding: 10px 40px; }
  nav.scrolled { padding: 14px 40px; }
  .nav-links { gap: 40px; }
}
@media (max-width: 1320px) {
  nav { padding: 10px 28px; }
  nav.scrolled { padding: 12px 28px; }
  .nav-links { gap: 28px; }
  .nav-links a { font-size: 1rem; }
  .get-in-touch { padding: 10px 20px; font-size: 0.82rem; }
}
@media (max-width: 1150px) {
  nav { padding: 10px 20px; }
  nav.scrolled { padding: 10px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.88rem; }
  .get-in-touch { padding: 9px 16px; font-size: 0.78rem; gap: 5px; }
}

/* ══════════════════════════════════════════
   HERO CAROUSEL
══════════════════════════════════════════ */

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102,23,255,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(102,23,255,0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0A0A56; padding: 0px;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
  padding: 88px 60px;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 10;
}

/* Dark overlay on top of background image */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,10,86,0.92) 0%,
    rgba(102,23,255,0.12) 100%);
  z-index: 1;
}

.hero-slide:nth-child(2)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(26,109,255,0.12) 100%); }
.hero-slide:nth-child(3)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(255,187,78,0.08) 100%); }
.hero-slide:nth-child(4)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(102,23,255,0.15) 100%); }
.hero-slide:nth-child(5)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(26,109,255,0.12) 100%); }
.hero-slide:nth-child(6)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(255,187,78,0.08) 100%); }
.hero-slide:nth-child(7)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(102,23,255,0.15) 100%); }
.hero-slide:nth-child(8)::after { background: linear-gradient(135deg, rgba(10,10,86,0.92) 0%, rgba(26,109,255,0.12) 100%); }

/* Content sits above the overlay */
.hero-slide-content,
.hero-slide-visual {
  position: relative;
  z-index: 5;
}

.hero-slide-content {
  max-width: 600px;
  animation: slideInUp 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}

.hero-slide-visual {
  width: 35%;
  height: 80%;
  margin-left: 5%;
  animation: slideInRight 0.8s cubic-bezier(0.4,0,0.2,1) 0.4s both;
}

.hero-visual-frame {
  width: 100%; height: 100%;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.15);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* AI badge */
.hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102,23,255,0.2);
  border: 1px solid #6617FF;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-ai-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #6617FF;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Eyebrow */
.hero-eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFBB4E;
  margin-bottom: 16px;
  animation: fadeInDown 0.8s cubic-bezier(0.4,0,0.2,1) 0.1s both;
}

/* Headline */
.hero-headline {
  font-family: 'Archivo', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s cubic-bezier(0.4,0,0.2,1) 0.15s both;
}

.hero-headline .accent {
  background: linear-gradient(135deg, #6617FF, #FFBB4E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subheading */
.hero-subheading {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1) 0.25s both;
}

.btn-hero {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Archivo', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary {
  background: #FFBB4E;
  color: #0A0A56;
  box-shadow: 0 8px 24px rgba(255,187,78,0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,187,78,0.4);
  background: #ffc966;
  color: #0A0A56;
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff !important;
  color: #fff;
}

/* Navigation dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
}

.hero-dot.active {
  background: #FFBB4E;
  width: 30px;
  border-radius: 5px;
}

.hero-dot:hover {
  background: rgba(255,255,255,0.5);
}

/* Arrow buttons */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

.hero-arrow-prev { left: 30px; }
.hero-arrow-next { right: 30px; }

/* Slide counter */
.hero-counter {
  position: absolute;
  top: 95px; right: 50px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  z-index: 20;
  background: rgba(0,0,0,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-slide { flex-direction: column; justify-content: center; padding: 60px 40px; }
  .hero-slide-visual { width: 70%; height: 50%; margin-left: 0; margin-top: 40px; }
  .hero-headline { font-size: 42px; }
}

@media (max-width: 768px) {
  .hero-carousel { min-height: 100vh; height: 100vh; }
  .hero-slides-wrapper { height: 100%; }
  .hero-slide { flex-direction: column; padding: 40px 24px; height: 100%; }
  .hero-slide::after,
  .hero-slide:nth-child(2)::after,
  .hero-slide:nth-child(3)::after,
  .hero-slide:nth-child(4)::after,
  .hero-slide:nth-child(5)::after,
  .hero-slide:nth-child(6)::after,
  .hero-slide:nth-child(7)::after,
  .hero-slide:nth-child(8)::after {
    background: linear-gradient(180deg, rgba(10,10,86,0.7) 0%, rgba(10,10,86,0.5) 100%);
  }
  .hero-slide-content { max-width: 100%; }
  .hero-slide-visual { width: 100%; height: 300px; margin-left: 0; margin-top: 30px; }
  .hero-headline { font-size: 32px; }
  .hero-subheading { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
  .btn-hero { padding: 12px 24px; font-size: 15px; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow-prev { left: 15px; }
  .hero-arrow-next { right: 15px; }
  .hero-counter { top: 20px; right: 20px; font-size: 14px; }
  .hero-dots { bottom: 20px; }
}

@media (max-width: 480px) {
  .hero-slide { padding: 30px 16px; }
  .hero-headline { font-size: 24px; margin-bottom: 16px; }
  .hero-subheading { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-hero { width: 100%; justify-content: center; }
  .hero-slide-visual { height: 250px; }
  .hero-dots { gap: 8px; }
  .hero-dot { width: 8px; height: 8px; }
  .hero-dot.active { width: 24px; }
  .hero-arrow { display: none; }
}


/* ── MARQUEE ── */
.marquee-band { background: var(--gold); padding: 30px 0; overflow: hidden; }
.marquee-inner { display: inline-flex; animation: marqueeRoll 30s linear infinite; white-space: nowrap; }
.m-item { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--midnight); padding: 0 25px; display: inline-flex; align-items: center; gap: 40px; text-decoration: none !important; cursor: pointer; }
.m-item:hover { color:white; }
.m-sep { width: 5px; height: 5px; background: var(--charcoal); border-radius: 50%; display: inline-block; }

/* ── SHARED ── */
section { padding: 50px 60px; }
.label-tag { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; display: block; }
h2.sh { font-family: 'Archivo', sans-serif; font-size: clamp(32px,3.5vw,48px); font-weight: 700; line-height: 1.12; color: var(--midnight); margin-bottom: 16px; }
h2.sh .ac { color: var(--indigo); }
h2.sh.light { color: var(--white); }
h2.sh.light .ac { color: var(--gold); }
p.sh-sub { font-size: 1rem; line-height: 1.75; font-weight: 300; color: rgba(21,21,22,0.6); max-width: 540px; }
p.sh-sub.light { color: rgba(255,255,255,0.65); }

/* ══════════════════════════════════
   WHO WE SERVE
══════════════════════════════════ */

.wws-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height:640px;
  /* max-width: 1200px; margin: 0 auto; */
  border: 1px solid var(--silver);
  border-radius: 12px; overflow: hidden;
}

/* ── Left panel ── */
.wws-left {
  padding: 48px 40px;
  border-right: 1px solid var(--silver);
}

.wws-left .sh .ac, .wws-left .label-tag{ color: var(--gold);}

.wws-intro {
  font-size: 0.88rem; color: rgba(21,21,22,0.5);
  line-height: 1.65; margin-bottom: 28px;
}

/* Group labels — Industries / Clients */
.wws-group-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--indigo); margin: 28px 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.wws-group-label::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(102,23,255,0.15);
}
.wws-group-label:first-of-type { margin-top: 0; }

/* Accordion */
.wws-acc-item { border-bottom: 1px solid var(--silver); }
.wws-acc-item:first-of-type { border-top: 1px solid var(--silver); }

.wws-acc-header {
  display: flex; justify-content: space-between;
  align-items: center; padding: 18px 0;
  cursor: pointer; gap: 12px;
}
.wws-acc-title a {
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  color: var(--charcoal); transition: color 0.2s;
}
.wws-acc-icon {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(21,21,22,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.25s;
  color: var(--charcoal);
}
.wws-acc-item.open .wws-acc-icon {
  background: var(--midnight); border-color: var(--midnight);
  color: var(--white); transform: rotate(45deg);
}
.wws-acc-item.open .wws-acc-title a { color: var(--midnight); }

.wws-acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.wws-acc-item.open .wws-acc-body { max-height: 280px; }

.wws-acc-body-inner { padding: 0 0 16px; }
.wws-acc-body-inner p {
  font-size: 0.8rem; color: rgba(21,21,22,0.58);
  line-height: 1.75; margin-bottom: 12px;
}

/* Sub links */
.wws-sub-links { display: flex; flex-wrap:wrap; gap: 15px; }
.wws-sub-link {
  display: flex; justify-content: space-between; align-items: center;background: var(--midnight); border-color: var(--indigo-t3);
  padding: 7px 10px; border-radius: 5px;
  font-size: 0.8rem; font-weight: 500;
  color: #FFFFFF; cursor: pointer; text-decoration: none;
  border: 1px solid transparent; transition: all 0.15s;
}
.wws-sub-link:hover { background: var(--gold); border-color: var(--indigo-t3);color: var(--charcoal); }

/* ── Right image panel ── */
.wws-right {
  position: relative; overflow: hidden;
  background: var(--midnight);
}
.wws-img {
  object-position: center;
  width: 100%; height: 100%; object-fit: cover;
}
.wws-img-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to top,
    rgba(10,10,86,0.92) 0%,
    rgba(10,10,86,0.3) 55%,
    transparent 100%
  );
}

/* Responsive */
@media (max-width: 900px) {
  .wws-section { padding: 72px 24px; }
  .wws-inner { grid-template-columns: 1fr; }
  .wws-left { max-height: none; }
  .wws-right { display: none; }
  .wws-acc-item.open .wws-acc-body { max-height: 320px; overflow-y: auto; }
  .wws-sub-links { gap: 8px; }
  .wws-sub-link { font-size: 0.7rem; padding: 5px 8px; }
}

/* ══════════════════════════════════
   WHY FINADVANTAGE — FLIP CARDS
══════════════════════════════════ */
.wf-section {
  /* padding: 100px 64px; */
  background: white;          
  position: relative;
  overflow: hidden;
}

.wf-header { position: relative; z-index: 2; margin-bottom: 56px; }

/* Override label-tag and sh colors for dark background */
.wf-section .label-tag { color: var(--gold);  text-align: center;}
.wf-section .sh        { color: var(--midnight); text-align: center; }
.wf-section .sh .ac    { color: var(--gold); }
.wf-section .sh-sub    { color: var(--midnight); }

.wf-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px; margin: 0 auto;
}

/* ── Card shell ── */
.wf-card { height: 340px; perspective: 1000px; cursor: pointer; background: var(--midnight) }

.wf-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.wf-card:hover .wf-inner,
.wf-card.flipped .wf-inner { transform: rotateX(-180deg); }

/* ── Shared front/back ── */
.wf-front, .wf-back {
   background: var(--midnight);
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 32px 26px;
  display: flex; flex-direction: column;
}

/* ── FRONT — glassy dark card ── */
.wf-front {
 
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  align-items: center; justify-content: center; text-align: center;
  transition: border-color 0.3s;
}
.wf-card:hover .wf-front { border-color: rgba(255,187,78,0.3); }

.wf-front-icon {
  width: 58px; height: 58px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
#logoWhite{ height:60px; object-fit:contain;}

.wf-front-title {
  font-family: 'Archivo', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  color: var(--white); line-height: 1.25; margin-bottom: 10px;
}
.wf-front-desc {
  font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.72;
}

/* ── BACK — deep midnight with beam ── */
.wf-back {
  border: 1px solid rgba(255,187,78,0.2);
  transform: rotateX(180deg);
  justify-content: flex-start; overflow: hidden;
}


.wf-back-tag {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
  position: relative; z-index: 1;
}
.wf-back-title {
  font-family: 'Archivo', sans-serif;
  font-size: 0.97rem; font-weight: 800;
  color: var(--white); margin-bottom: 14px; line-height: 1.3;
  position: relative; z-index: 1;
}
.wf-back-items {
  display: flex; flex-direction: column; gap: 7px;
  flex: 1; position: relative; z-index: 1;
}
.wf-back-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 10px; border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.07);
}
.wf-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-top: 5px; flex-shrink: 0;
}
.wf-item-title {
  font-size: 0.80rem; font-weight: 700;
  color: var(--midnight); margin-bottom: 2px;
}
.wf-item-desc {
  font-size: 0.7rem; color: var(--midnight); line-height: 1.55;
}

/* Responsive */
@media (max-width: 900px) {
  .wf-section { padding: 72px 24px; }
  .wf-grid { grid-template-columns: 1fr; }
  .wf-card { height: 300px; }
  .wf-front, .wf-back { padding: 20px 18px; }
  .wf-front-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .wf-front-title { font-size: 0.9rem; }
  .wf-front-desc { font-size: 0.75rem; }
  .wf-back-tag { font-size: 0.6rem; margin-bottom: 4px; }
  .wf-back-title { font-size: 0.82rem; margin-bottom: 8px; }
  .wf-back-items { gap: 4px; }
  .wf-back-item { padding: 4px 8px; }
  .wf-item-title { font-size: 0.68rem; }
}


/* ── MISSION / VISION ── */
.mv-section { background: white }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #ffffff; }
.mv-card { background: #FFFFFF; padding: 56px 48px; transition: background 0.3s; position: relative; overflow: hidden; }
.mv-card:hover { background: var(--midnight); cursor: pointer;}
/* .reveal-r::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--midnight); } */
.reveal-l{border-right: 4px solid #0A0A56; margin-right:-2px;}
.mv-badge { display: inline-block; padding: 4px 12px; background: #ffbb4e; color: var(--white); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 2px; margin-bottom: 20px; }
.mv-title { font-family: 'Archivo', sans-serif; font-size: 1.0rem; font-weight: 600; color: var(--midnight); margin-bottom: 16px; line-height: 1.8; }
.mv-body { font-size: 0.95rem; line-height: 1.8; color: rgba(21,21,22,0.65); }
.ac-mv { color: #FFBB4E; }
.mv-card:hover .mv-title, .mv-card:hover .mv-body { color: #FFFFFF !important;}


/* ══════════════════════════════════
   TESTIMONIALS — DUAL SCROLL STRIP
══════════════════════════════════ */
.ts-section {
  padding: 100px 0;
  background: #0A0A56;
  overflow: hidden;
  position: relative;
}


.ts-bg-ind {
  position: absolute; bottom: -60px; left: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle at 40% 60%, rgba(80,20,200,0.4) 0%, transparent 65%);
  border-radius: 50%; filter: blur(32px); pointer-events: none;
}

/* Header */
.ts-head {
  position: relative; z-index: 2;
  padding: 0 64px; margin-bottom: 48px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.ts-eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.ts-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 800; color: var(--white); line-height: 1.1;
}
.ts-title span { color: var(--gold); }

.ts-tag { height: 50px; object-fit: contain;}
.ts-company { font-size: 0.69rem; font-weight: 500; color: var(--indigo); }
/* Track */
.ts-wrap { position: relative; z-index: 2; }
.ts-wrap::before,
.ts-wrap::after {
  content: ''; position: absolute;
  top: 0; bottom: 0; width: 120px; z-index: 3; pointer-events: none;
}
.ts-wrap::before { left: 0; background: linear-gradient(90deg, #06062e, transparent); }
.ts-wrap::after  { right: 0; background: linear-gradient(270deg, #06062e, transparent); }

.ts-row {
  display: flex; gap: 18px;
  width: max-content;
  padding: 8px 64px 16px;
}
.ts-row1 { animation: tsLeft 40s linear infinite; }
.ts-row1:hover { animation-play-state: paused; }

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

/* Card */
.ts-card {
  width: 395px;
  border-radius: 16px; padding: 28px 26px 24px;
  position: relative; overflow: hidden; cursor: pointer;
  background: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.09);
  transition: transform 0.3s, border-color 0.3s;
  display:flex; flex-direction:column; height:100%; min-height:400px; box-sizing: border-box;
  justify-content: flex-start; text-decoration: none !important; color: inherit;
}
.ts-card:hover { transform: translateY(-5px); border-color: rgba(255,187,78,0.35); }

.ts-card-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,187,78,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

/* Card top row */
.ts-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 14px;
}
.ts-stars { display: flex; gap: 3px; }
.ts-star  { width: 13px; height: 13px; fill: var(--gold); }

/* Quote text */
.ts-text {
  font-size: 0.89rem; font-style: italic;
  color: var(--midnight); line-height: 1.8; margin-bottom: 18px;margin-top:20px;
}
.ts-text em { font-style: normal; color: var(--midnight); font-weight: 600; }

/* Divider */
.ts-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,187,78,0.3), transparent);
  margin-bottom: 16px; display:flex; margin-top:auto;
}

/* Author */
.ts-author { display: flex; align-items: center; gap: 12px; }
.ts-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-size: 0.78rem; font-weight: 800;
  color: var(--white); flex-shrink: 0; position: relative;
}
.ts-avatar-ring {
  position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid rgba(255,187,78,0.4);
}
.av1 { background: linear-gradient(135deg, #6617FF, #0A0A56); }

.ts-name {
  font-family: 'Archivo', sans-serif;
  font-size: 0.82rem; font-weight: 700; color: var(--midnight); margin-bottom: 2px;
}
.ts-role { font-size: 0.7rem; color: var(--midnight); line-height: 1.4; }

@media (max-width: 768px) {
  .ts-head { padding: 0 24px; flex-direction: column; gap: 16px; align-items: flex-start; }
  .ts-row  { padding: 8px 24px 16px; }
  .ts-card { width: 300px; }
}

/* ==========================================================================
   FinAdvantage — Resource Hub: Split Image Panels
   ========================================================================== */
/* ══════════════════════════════════
   RESOURCE PANELS
══════════════════════════════════ */
.rp-section {
  position: relative;
  height: 380px;
  display: flex;
  overflow: hidden;
  margin:40px 0px;
}

/* Background layers */
.rp-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.55s ease;
  z-index: 0;
}
.rp-bg.active { opacity: 1; }

/* Dark overlay on top of bg */
.rp-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
  transition: background 0.4s ease;
}

/* Panel grid */
.rp-panels {
  position: relative; z-index: 2;
  display: flex; width: 100%; height: 100%;
}

/* Individual panel */
.rp-panel {
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 32px 24px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  cursor: pointer; text-decoration: none;
  position: relative; overflow: hidden;
  transition: flex 0.45s cubic-bezier(0.4,0.2,0.2,1),
              background 0.3s ease;
}
.rp-panel:last-child { border-right: none; }
.rp-panel:hover,
.rp-panel.active { 
  /* flex: 1.6;  */
  background: rgba(255,187,78,0.05); }

/* Gold underline on active/hover */
.rp-panel::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px; 
  /* background: var(--gold); */
   transform: scaleX(0); 
  transform-origin: left;
  transition: transform 0.35s ease; 
}
.rp-panel:hover::after,
.rp-panel.active::after { transform: scaleX(1); }

/* Large background number */
.rp-num {
  font-size: 52px; font-weight: 900;
  color: rgba(255,255,255,0.04);
  position: absolute; bottom: 12px; right: 16px;
  line-height: 1; pointer-events: none;
  transition: color 0.3s;
}
.rp-panel:hover .rp-num,
.rp-panel.active .rp-num { color: rgba(255,187,78,0.07); }

/* Top content */
.rp-top { display: flex; flex-direction: column; }

.rp-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,187,78,0.6); margin-bottom: 10px;
  opacity: 0; transition: opacity 0.3s ease;
}
.rp-panel:hover .rp-label,
.rp-panel.active .rp-label { opacity: 1; }

.rp-title {
  font-family: 'Archivo', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--white); line-height: 1.2;
  letter-spacing: -0.01em;
}

.rp-desc {
  font-size: 0.88rem; color: transparent;
  line-height: 1.65; margin-top: 10px;
  max-width: 260px;
  transition: color 0.3s ease 0.1s;
}
.rp-panel:hover .rp-desc,
.rp-panel.active .rp-desc { color: rgba(255,255,255,0.55); }

.rp-panel:hover .rp-title,
.rp-panel.active .rp-title { color: var(--gold); }


/* Bottom row */
.rp-bottom {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}

.rp-count {
  font-size: 0.7rem; color: rgba(255,255,255,0.2);
  font-weight: 600;
  transition: color 0.3s;
}
.rp-panel:hover .rp-count,
.rp-panel.active .rp-count { color: rgba(255,187,78,0.55); }

.rp-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); flex-shrink: 0;
  transition: all 0.3s ease;
}
.rp-panel:hover .rp-arrow,
.rp-panel.active .rp-arrow {
  background: var(--gold); border-color: var(--gold);
  color: var(--midnight);
}
.rp-arrow svg { transition: transform 0.25s ease; }
.rp-panel:hover .rp-arrow svg,
.rp-panel.active .rp-arrow svg { transform: translateX(2px); }

/* Responsive */
@media (max-width: 768px) {
  .rp-section { height: auto; }
  .rp-panels  { flex-direction: column; }
  .rp-panel   { flex: none; min-height: 160px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .rp-panel:last-child { border-bottom: none; }
}

/* ══════════════════════════════════
   CTA BANNER
══════════════════════════════════ */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--gold); padding: 56px 64px;
}

.cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.cta-left { display: flex; align-items: center; gap: 32px; }
.cta-tag {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--midnight); margin-bottom: 8px;
}
.cta-headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800; color: var(--white); line-height: 1.25;
}
.cta-headline span { color: var(--midnight); }
.cta-sub { font-size: 0.94rem; color: var(--midnight); margin-top: 6px; line-height: 1.6; }

.cta-right { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 0;
  border-radius: 100px; padding: 0;
  border: 1px solid rgba(255,255,255,0.15); overflow: hidden;
  text-decoration: none; background: transparent;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(255,187,78,0.12);
}
/* .btn-cta:hover { border-color: rgba(255,187,78,0.4); box-shadow: 0 0 32px rgba(255,187,78,0.22); } */
.btn-cta-text {
  padding: 15px 50px; font-size: 0.95rem; font-weight: 600;
  color: rgba(255,255,255,0.9); white-space: nowrap; background: var(--midnight);
}
.btn-cta-text:hover, .btn-cta:hover { background: var(--gold); color: var(--midnight); border: 1px solid #fff; border-radius: 100px;}
.cta-contact-line {
  font-size: 0.72rem; color: var(--midnight);
  display: flex; align-items: center; gap: 6px;
}
.cta-contact-line a { color: var(--midnight); text-decoration: none; }
.cta-contact-line a:hover { color: var(--white); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: var(--midnight);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  padding-top: 56px;
}

.ft-main {
  position:relative;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 0px 0px 48px 90px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.certifications{ display:flex; grid-template-columns: 1fr 1fr }
/* ── Newsletter ── */
.ft-newsletter h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  color: #fff; line-height: 1.45; margin-bottom: 20px;
}
.ft-input-wrap { margin-bottom: 12px; }
.ft-input {
  width: 100%; padding: 11px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 0.82rem;
  outline: none; border-radius: 2px;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.2s;
}
.ft-input::placeholder { color: rgba(255,255,255,0.35); }
.ft-input:focus { border-color: rgba(255,255,255,0.5); }

.ft-checkbox-label {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 18px; cursor: pointer;
}
.ft-checkbox-label input {
  margin-top: 3px; flex-shrink: 0;
  accent-color: var(--gold);
  width: 13px; height: 13px; cursor: pointer;
}
.ft-checkbox-label span {
  font-size: 0.77rem; color: rgba(255,255,255,0.5); line-height: 1.55;
}
.ft-checkbox-label span em { color: var(--gold); font-style: normal; }

.ft-submit {
  padding: 11px 28px;
  background: var(--gold);
  color: #111; font-size: 0.82rem; font-weight: 700;
  border: none; cursor: pointer; border-radius: 2px;
  font-family: 'Archivo', sans-serif;
  transition: background 0.2s;
}
.ft-submit:hover { background: #ffd080; }

/* ── Column headings ── */
.ft-col-title {
  display: inline-block;
  font-size: 0.85rem; 
  color: #fff; margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

/* ── Nav links ── */
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.ft-links li a {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  text-decoration: none; line-height: 1.4;
  display: block; transition: color 0.2s;
}
.ft-links li a:hover { color: #fff; }
/* ── Offices sub-label ── */
.ft-sub-label {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700;
  color: #fff; margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}

.social-icon{ margin-right: 10px; text-decoration: none;}

/* ── Map hub links ── */
.ft-hub-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  text-decoration: none; padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.ft-hub-link:last-child { border-bottom: none; }
.ft-hub-link:hover { color: var(--gold); }
.ft-hub-link svg { flex-shrink: 0; opacity: 0.5; transition: all 0.2s; }
.ft-hub-link:hover svg { opacity: 1; transform: translateY(-1px); }

/* ── Bottom bar ── */
.ft-bottom {
  padding: 18px 20px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.ft-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); }
.ft-legal { display: flex; gap: 20px; list-style: none; }
.ft-legal li a {
  font-size: 0.72rem; color: rgba(255,255,255,0.2);
  text-decoration: none; transition: color 0.2s;
}
.ft-legal li a:hover { color: rgba(255,255,255,0.55); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ft-main { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-footer { padding: 40px 24px 0; }
  .ft-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .ft-main { grid-template-columns: 1fr; }
}

/* ========================Career page ===============================*/
.careers-section{
  padding: 125px 60px !important;
}

/* Hide Keka widget branding: company profile block and powered-by footer */
#khembedjobs .kh-company-info,
#khembedjobs .kh-company-footer,
#khembedjobs .kh-footer,
#khembedjobs .kh-powered-by,
#khembedjobs [class*="powered-by"],
#khembedjobs [class*="company-info"],
#khembedjobs [class*="company-footer"],
#khembedjobs [class*="kh-footer"] {
  display: none !important;
}

/* ══════════════════════════════════════════
   HAMBURGER / MOBILE NAV DRAWER
══════════════════════════════════════════ */

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 302;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--midnight);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
nav.scrolled .nav-hamburger span { background: #fff; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,86,0.55);
  z-index: 298;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.nav-overlay-active {
  opacity: 1;
  pointer-events: all;
}

/* Drawer head — visible only inside mobile drawer */
.nav-drawer-head { display: none; list-style: none; }
.nav-drawer-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  /* background: var(--midnight); */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 5;
}
.nav-drawer-logo { height: 44px; width: auto; }
.nav-drawer-close {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer-close:hover { background: rgba(255,255,255,0.15); }

/* Mobile CTA item — visible only inside mobile drawer */
.nav-mobile-cta-item { display: none; list-style: none; padding: 20px; }
.nav-mobile-cta-item .get-in-touch {
  display: inline-flex !important;
  width: 100%;
  justify-content: center;
  border-radius: 8px;
}

/* ── RESPONSIVE BREAKPOINTS ── */

@media (max-width: 900px) {
  /* Compact nav bar */
  nav { padding: 10px 20px; }
  nav.scrolled { padding: 10px 20px; }

  /* Show hamburger, hide desktop CTA */
  .nav-hamburger { display: flex; }
  .get-in-touch-desktop { display: none !important; }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    z-index: 300;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    box-shadow: -8px 0 48px rgba(0, 0, 0, 0.2);
    list-style: none;
  }
  .nav-links.nav-open { transform: translateX(0); }

  /* Every list item spans full width */
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }

  /* Links inside drawer */
  .nav-links > li > a,
  .nav-links > li > a.mega-trigger {
    padding: 15px 20px;
    display: flex;
    width: 100%;
    font-size: 1rem;
    color: var(--midnight) !important;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
  }
  /* Suppress desktop hover underline */
  .nav-links a::after { display: none !important; }
  .nav-links a:hover { color: var(--midnight) !important; }

  /* Show drawer head and mobile CTA */
  .nav-drawer-head { display: block; }
  .nav-mobile-cta-item { display: block; }

  /* Global section padding reduction */
  section { padding: 50px 24px; }

  /* Mission / Vision — single column */
  .mv-grid { grid-template-columns: 1fr; gap: 0; }
  .mv-card { padding: 40px 28px; }

  /* CTA Banner — stack vertically */
  .cta-banner { padding: 40px 24px; }
  .cta-inner { flex-direction: column; gap: 24px; text-align: center; }
  .cta-left { flex-direction: column; gap: 16px; align-items: center; }
  .cta-right { align-items: center; width: 100%; }
  .btn-cta { width: 100%; justify-content: center; }
  .btn-cta-text { text-align: center; flex: 1; }

  /* Who We Serve — remove max-height so content isn't clipped */
  .wws-inner { max-height: none; }

  /* Footer — remove left padding so content centres on mobile */
  .ft-main { padding: 0 0 40px; }
}

@media (max-width: 768px) {
  /* Testimonials — compact header row */
  .ts-section { padding: 60px 0; }
}

@media (max-width: 600px) {
  nav { padding: 10px 16px; }
  nav.scrolled { padding: 10px 16px; }

  section { padding: 40px 16px; }

  /* Careers page */
  .careers-section { padding: 100px 16px !important; }

  /* CTA banner — full-width button */
  .cta-contact-line { justify-content: center; flex-wrap: wrap; }
}