/* ─── ENTERPRISE SAAS DESIGN TOKENS (LIGHT THEME FIRST) ─── */
:root {
  /* Core Palette */
  --navy: #1b263b;
  --ink: #152033;
  --white: #ffffff;
  --paper: #f6f8f9;

  /* Accents */
  --blue: #005092;
  --green: #3f5b5a;
  --purple: #392c77;

  /* Utilities */
  --muted: #5c6878;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Soft Backgrounds for Cards */
  --soft-blue: #f0f7fc;
  --soft-green: #f2f7f6;
  --soft-purple: #f3f0fa;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(27, 38, 59, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(27, 38, 59, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(27, 38, 59, 0.1);
  --shadow-glow: 0 0 30px rgba(0, 80, 146, 0.15);
  --orbit-radius: 260px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}

p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.125rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-py {
  padding: 120px 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

/* Background Utilities */
.bg-white {
  background-color: var(--white);
}

.bg-paper {
  background-color: var(--paper);
}

.bg-navy {
  background-color: var(--navy);
  color: var(--white);
}

.bg-ink {
  background-color: var(--ink);
  color: var(--white);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-ink h1,
.bg-ink h2,
.bg-ink h3,
.bg-ink h4 {
  color: var(--white);
}

.bg-navy p,
.bg-ink p {
  color: rgba(255, 255, 255, 0.7);
}

.bg-navy .label,
.bg-ink .label {
  color: #60a5fa;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--paper);
  border-color: var(--blue);
}

/* Dark Section Buttons */
.bg-navy .btn-primary,
.bg-ink .btn-primary,
.cta-section .btn-primary,
.transformation .btn-primary {
  background: var(--white);
  color: var(--navy);
}

.bg-navy .btn-primary:hover,
.bg-ink .btn-primary:hover,
.cta-section .btn-primary:hover,
.transformation .btn-primary:hover {
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* ─── 1. NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo i {
  color: var(--blue);
  font-size: 1.4rem;
}

.logo-footer {
  color: var(--white);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

/* ─── 2. HERO (SPLIT LAYOUT) ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  background: linear-gradient(135deg, var(--soft-blue) 0%, var(--paper) 100%);
  overflow: hidden;
}

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

/* Beautiful Ambient Backdrop Glow Orb behind the browser mockup */
.hero-grid::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 80, 146, 0.16) 0%, rgba(57, 44, 119, 0.1) 40%, rgba(63, 91, 90, 0.03) 65%, transparent 80%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
}

.hero-dashboard {
  position: relative;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  outline: 1px solid rgba(0, 80, 146, 0.06);
  box-shadow: 0 30px 60px -12px rgba(27, 38, 59, 0.12), 0 0 40px -10px rgba(0, 80, 146, 0.25), 0 0 30px -15px rgba(57, 44, 119, 0.2);
  background: var(--white);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 480px;
  display: flex;
  z-index: 3;
}

.hero-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
  box-shadow: 0 40px 80px -15px rgba(27, 38, 59, 0.18), 0 0 60px -8px rgba(0, 80, 146, 0.35), 0 0 40px -10px rgba(57, 44, 119, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-dashboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 32px;
}

.hero-dashboard::before {
  display: none;
}

.hero-dashboard::after {
  display: none;
}

/* ─── 3. TRUST MARQUEE ─── */
.marquee {
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  overflow: hidden;
  background: var(--white);
}

.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scroll 35s linear infinite;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  font-size: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  color: var(--navy);
}

/* ─── 4. OPERATIONAL PAINS (BENTO) ─── */

.bento-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bento-card:nth-child(3n+1) {
  border-top: 4px solid var(--blue);
}

.bento-card:nth-child(3n+1):hover {
  border-color: var(--blue);
}

.bento-card:nth-child(3n+2) {
  border-top: 4px solid var(--purple);
}

.bento-card:nth-child(3n+2):hover {
  border-color: var(--purple);
}

.bento-card:nth-child(3n) {
  border-top: 4px solid var(--green);
}

.bento-card:nth-child(3n):hover {
  border-color: var(--green);
}

.bento-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.bento-cta i {
  font-size: 11px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.bento-card:hover .bento-cta i {
  transform: translateX(4px);
}

.bento-card:nth-child(3n+1) .bento-cta {
  color: var(--blue);
}

.bento-card:nth-child(3n+2) .bento-cta {
  color: var(--purple);
}

.bento-card:nth-child(3n) .bento-cta {
  color: var(--green);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.bento-card:nth-child(3n+1) .bento-icon {
  background: var(--soft-blue);
  color: var(--blue);
}

.bento-card:nth-child(3n+2) .bento-icon {
  background: var(--soft-purple);
  color: var(--purple);
}

.bento-card:nth-child(3n) .bento-icon {
  background: var(--soft-green);
  color: var(--green);
}

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

.proof-card {
  background: var(--navy);
  border-radius: 32px;
  padding: 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.proof-card p,
.proof-card .metric p {
  color: var(--white);
}

.proof-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.proof-visual {
  flex: 1;
  position: relative;
  z-index: 1;
  display: none;
}

@media (min-width: 992px) {
  .proof-visual {
    display: block;
  }
}

.proof-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-15deg) translateY(0);
  transition: transform 0.5s ease;
}

.proof-card:hover .proof-visual img {
  transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

/* ─── 5. AI TRANSFORMATION (STICKY SCROLL - DARK RHYTHM BREAK) ─── */
.transformation {
  background: var(--purple);
  padding: 120px 0 240px;
  position: relative;
}

.step-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.step-left {
  width: 45%;
  position: sticky;
  top: 160px;
}

.step-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--white);
}

.step-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── 6. SOLUTIONS (INTERACTIVE HOVER - Light) ─── */
.solutions {
  background: var(--white);
  margin-top: -80px;
  border-radius: 40px 40px 0 0;
  position: relative;
  z-index: 10;
  padding-top: 120px;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* ── sol-card: used by legacy page templates (digital-work, service, product_detail, etc.) ── */
.sol-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sol-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

/* Icon container pill */
.sol-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.sol-card-header i,
.sol-card-header img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-blue);
  border-radius: 12px;
  font-size: 1.4rem;
  color: var(--blue);
  padding: 10px;
  box-sizing: border-box;
  object-fit: contain;
}

.sol-card-header h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.sol-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 20px;
}

.sol-card .btn {
  margin-top: auto;
}


.sol-item {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  background: var(--white);
  z-index: 1;
}

.sol-item::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.sol-item:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

/* Soft accent hovers */
.sol-item:nth-child(4n+1)::before {
  background: var(--soft-blue);
}

.sol-item:nth-child(4n+2)::before {
  background: var(--soft-green);
}

.sol-item:nth-child(4n+3)::before {
  background: var(--soft-purple);
}

.sol-item:nth-child(4n)::before {
  background: var(--paper);
}

.sol-item i {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 20px;
  transition: color 0.3s;
}

.sol-item:hover i {
  color: var(--blue);
}

.sol-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* ─── 7. INDUSTRIES (ALTERNATING SPLIT - White) ─── */
.industries {
  background: var(--white);
}

.industry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.industry-row:last-child {
  margin-bottom: 0;
}

.industry-row:nth-child(even) {
  direction: rtl;
}

.industry-row:nth-child(even)>* {
  direction: ltr;
}

.ind-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ind-list {
  list-style: none;
  margin-top: 24px;
}

.ind-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--navy);
}

.ind-list i {
  color: var(--blue);
  margin-top: 4px;
}

/* ─── SPLIT ROW (For Governance Section) ─── */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}

/* ─── 8. CASE STUDIES & AI READINESS (Light) ─── */
.cases-readiness {
  background: var(--white);
  overflow: hidden;
}

.cr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Assessment Accordion */
.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-btn i {
  color: var(--blue);
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding-bottom: 24px;
  font-family: 'Manrope', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-item.active .accordion-btn i {
  transform: rotate(180deg);
}

/* Case Study Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  background: var(--paper);
  height: 100%;
  border: 1px solid var(--line);
}

.carousel-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.case-card {
  width: 33.333%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-metrics {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metric h4 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 4px;
}

.metric p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.carousel-nav {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
}

.c-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s;
}

.c-dot.active {
  background: var(--blue);
}

/* ─── 9. RESOURCES GRID ─── */
.resources {
  background: var(--green);
  color: var(--white);
}

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

.res-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s;
  display: block;
}

.res-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.res-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.res-content {
  padding: 24px;
}

.res-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.res-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* ─── 10. ENTERPRISE CTA & FOOTER (DARK) ─── */
.cta-section {
  background: var(--blue);
  text-align: center;
  padding: 120px 5%;
  border-bottom: 1px solid var(--line-dark);
}

.footer {
  background: var(--ink);
  padding: 80px 0 40px;
  color: var(--white);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: inherit;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  font-size: 0.95rem;
}

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

/* ─── 11. GOVERNANCE FEATURE LIST ─── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.6;
}

.feature-list i {
  margin-top: 4px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {

  .hero-grid,
  .industry-row,
  .cr-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .industry-row:nth-child(even) {
    direction: ltr;
  }

  .bento-grid,
  .sol-grid,
  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-container {
    flex-direction: column;
  }

  .step-left {
    position: static;
    width: 100%;
    margin-bottom: 40px;
  }

  .step-right {
    width: 100%;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .bento-grid,
  .sol-grid,
  .res-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .section-py {
    padding: 80px 0;
  }

  .transformation {
    padding: 80px 0 120px;
  }

  .cta-section {
    padding: 80px 16px;
  }

  .hero {
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .section-header h2 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .step-number {
    font-size: 3rem;
  }

  .hiring-step-card {
    padding: 24px;
  }

  .case-card {
    padding: 24px;
  }
}

/* ─── NEW CAPABILITIES BENTO GRID ─── */
.cap-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(240px, auto);
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

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

.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.cap-card:hover::before {
  opacity: 1;
}

.cap-card i {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 24px;
  transition: color 0.4s;
}

.cap-card:hover i {
  color: var(--blue);
}

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

.cap-card p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Bento Spans & Hover Accents */
.cap-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.cap-1::before {
  background: linear-gradient(135deg, var(--white) 0%, var(--soft-blue) 100%);
}

.cap-1 h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cap-1 p {
  font-size: 1.15rem;
}

.cap-1 i {
  font-size: 40px;
  margin-bottom: 32px;
  background: var(--soft-blue);
  padding: 20px;
  border-radius: 16px;
  color: var(--blue);
  display: inline-block;
}

.cap-2 {
  grid-column: span 2;
  grid-row: span 1;
}

.cap-2::before {
  background: var(--soft-purple);
}

.cap-3 {
  grid-column: span 1;
  grid-row: span 1;
}

.cap-3::before {
  background: var(--soft-green);
}

.cap-4 {
  grid-column: span 1;
  grid-row: span 1;
}

.cap-4::before {
  background: var(--paper);
}

.cap-5 {
  grid-column: span 2;
  grid-row: span 1;
}

.cap-5::before {
  background: var(--soft-blue);
}

.cap-6 {
  grid-column: span 2;
  grid-row: span 1;
}

.cap-6::before {
  background: var(--soft-blue);
}

@media (max-width: 1024px) {
  .cap-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-1,
  .cap-2,
  .cap-5,
  .cap-6 {
    grid-column: span 2;
  }

  .cap-3,
  .cap-4 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .cap-bento {
    grid-template-columns: 1fr;
  }

  .cap-1,
  .cap-2,
  .cap-3,
  .cap-4,
  .cap-5,
  .cap-6 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ─── OPERATIONAL PAINS (3-COLUMN HIGHLIGHT) ─── */
.pain-section {
  background: var(--white);
}

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

.pain-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pain-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height 0.3s ease;
}

.pain-card:nth-child(3n+1)::after {
  background: var(--blue);
}

.pain-card:nth-child(3n+2)::after {
  background: var(--purple);
}

.pain-card:nth-child(3n)::after {
  background: var(--green);
}

.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.pain-card:hover::after {
  height: 6px;
}

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.pain-card:hover .pain-icon {
  transform: scale(1.1) rotate(-5deg);
}

.pain-card:nth-child(3n+1) .pain-icon {
  background: var(--soft-blue);
  color: var(--blue);
}

.pain-card:nth-child(3n+2) .pain-icon {
  background: var(--soft-purple);
  color: var(--purple);
}

.pain-card:nth-child(3n) .pain-icon {
  background: var(--soft-green);
  color: var(--green);
}

.pain-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.pain-card p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── 7. INDUSTRIES (INTERACTIVE TABS - NAVY) ─── */
.industries-navy {
  background: var(--navy);
  color: var(--white);
}

.ind-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.ind-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ind-tab {
  font-size: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 32px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.ind-tab:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.ind-tab.active {
  color: var(--white);
  background: rgba(0, 80, 146, 0.2);
  border-color: rgba(0, 80, 146, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ind-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ind-tab.active::after {
  transform: scaleX(1);
}

.ind-content-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  padding: 0;
  min-height: 580px;
  display: flex;
}

.ind-content {
  display: none;
  width: 100%;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  animation: slideIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.ind-content.active {
  display: grid;
}

@media (max-width: 991px) {
  .ind-content.active {
    display: flex;
    flex-direction: column;
  }

  .ind-visual {
    height: 300px;
  }

  .ind-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .ind-tab {
    padding: 12px 20px;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ind-visual {
  position: relative;
  overflow: hidden;
}

.ind-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ind-details {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.ind-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.ind-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.ind-content ul {
  list-style: none;
  padding: 0;
}

.ind-content li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 500;
}

.ind-content li i {
  color: var(--blue);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .ind-content {
    grid-template-columns: 1fr;
  }

  .ind-details {
    padding: 40px;
  }
}

/* ─── 12. COMPARISON TABLE ─── */
.comp-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 40px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.comp-table th,
.comp-table td {
  padding: 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comp-table th {
  background: var(--paper);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comp-table td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table .inevia-col {
  background: rgba(0, 102, 204, 0.05);
  font-weight: 700;
  color: var(--blue);
}

.comp-table i.fa-check {
  color: #10b981;
}

.comp-table i.fa-xmark {
  color: #ef4444;
  opacity: 0.5;
}

/* ─── 13. STEP VISUAL ─── */
.step-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.sv-item {
  position: relative;
  padding: 32px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.sv-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.sv-icon {
  width: 56px;
  height: 56px;
  background: var(--soft-blue);
  color: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.sv-item h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.sv-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── 14. PROBLEM BENTO ─── */
.problem-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.pb-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.pb-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
}

.pb-card i {
  font-size: 28px;
  color: #60a5fa;
  margin-bottom: 24px;
}

.pb-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--white);
}

.pb-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (max-width: 1024px) {

  .step-visual,
  .problem-bento {
    grid-template-columns: 1fr;
  }
}

/* ─── HERO ORBIT ANIMATION ─── */
.hero-orbit-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center-img {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  width: 90%;
  max-width: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  /* Removed padding and background to let the image fill the space completely */
}

.orbit-center-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  /* Moved shadow directly to image */
}

.orbit-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(0, 80, 146, 0.15);
  /* Ring is static, items orbit along it */
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  /* Wider cards */
  height: auto;
  margin-left: -110px;
  /* Half of width */
  margin-top: -60px;
  /* Half of height approx */
  z-index: 5;
}

/* Mathematical pure orbit: guarantees cards never tilt! */
.orbit-item:nth-child(1) {
  animation: orbit-1 40s linear infinite;
}

.orbit-item:nth-child(2) {
  animation: orbit-2 40s linear infinite;
}

.orbit-item:nth-child(3) {
  animation: orbit-3 40s linear infinite;
}

.orbit-item:nth-child(4) {
  animation: orbit-4 40s linear infinite;
}

.orbit-item:nth-child(5) {
  animation: orbit-5 40s linear infinite;
}

.orbit-item:nth-child(6) {
  animation: orbit-6 40s linear infinite;
}

@keyframes orbit-1 {
  0% {
    transform: rotate(0deg) translateX(260px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(var(--orbit-radius)) rotate(-360deg);
  }
}

@keyframes orbit-2 {
  0% {
    transform: rotate(60deg) translateX(var(--orbit-radius)) rotate(-60deg);
  }

  100% {
    transform: rotate(420deg) translateX(var(--orbit-radius)) rotate(-420deg);
  }
}

@keyframes orbit-3 {
  0% {
    transform: rotate(120deg) translateX(var(--orbit-radius)) rotate(-120deg);
  }

  100% {
    transform: rotate(480deg) translateX(var(--orbit-radius)) rotate(-480deg);
  }
}

@keyframes orbit-4 {
  0% {
    transform: rotate(180deg) translateX(var(--orbit-radius)) rotate(-180deg);
  }

  100% {
    transform: rotate(540deg) translateX(var(--orbit-radius)) rotate(-540deg);
  }
}

@keyframes orbit-5 {
  0% {
    transform: rotate(240deg) translateX(var(--orbit-radius)) rotate(-240deg);
  }

  100% {
    transform: rotate(600deg) translateX(var(--orbit-radius)) rotate(-600deg);
  }
}

@keyframes orbit-6 {
  0% {
    transform: rotate(300deg) translateX(var(--orbit-radius)) rotate(-300deg);
  }

  100% {
    transform: rotate(660deg) translateX(var(--orbit-radius)) rotate(-660deg);
  }
}

.orbit-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-orbit-wrapper:hover .orbit-item {
  animation-play-state: paused;
}

.orbit-card:hover,
.orbit-card.auto-hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  transform: scale(1.15);
  z-index: 100;
}

/* Redesigned Card Internals */
.oc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 0;
}

.oc-header i {
  color: var(--white);
  font-size: 14px;
  background: var(--blue);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.oc-header span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.oc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.oc-metric {
  background: var(--paper);
  padding: 10px 6px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oc-metric .label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.oc-metric .value {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
}

/* Full width metric for charts */
.oc-metric.full-width {
  grid-column: span 2;
}

.oc-chart-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
  width: 100%;
}

.oc-chart-fill {
  height: 100%;
  border-radius: 3px;
}



/* Dropdown Menu CSS */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.nav-dropdown-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-dropdown-header:hover .nav-dropdown-link {
  color: var(--blue);
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 6px !important;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s, transform 0.2s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--blue);
}

.nav-dropdown-toggle i {
  font-size: 10px;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--white);
  min-width: 260px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -15px;
  /* Bridge hover gap for standard dropdowns */
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown-content .sub-link-item {
  color: var(--navy);
  padding: 8px 12px;
  text-decoration: none;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  margin: 2px 0;
}

.nav-dropdown-content .sub-link-item:hover {
  background-color: rgba(0, 80, 146, 0.05);
  color: var(--blue);
}

@media (max-width: 1024px) {
  :root {
    --orbit-radius: 220px;
  }

  .hero-orbit-wrapper {
    transform: scale(0.8);
    margin-top: -20px;
  }
}

@media (max-width: 768px) {
  :root {
    --orbit-radius: 200px;
  }

  .hero-orbit-wrapper {
    transform: scale(0.7);
    margin: 20px auto;
  }

  .hero-content h1 {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 480px) {
  :root {
    --orbit-radius: 180px;
  }

  .hero-orbit-wrapper {
    transform: scale(0.5);
    margin: -40px auto;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
  }
}

/* Ensure grids stack correctly */
@media (max-width: 768px) {
  .split-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .nav-links {
    display: none;
    /* In a real app we'd add a hamburger menu, but for now hide on tiny screens to prevent overlap */
  }

  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-grid .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-content p {
    text-align: center;
  }

  .breadcrumbs,
  .breadcrumbs p,
  #breadcrumbs,
  .rank-math-breadcrumb {
    justify-content: center !important;
  }
}

/* ─── CASE STUDIES & DETAIL PAGES STYLES ─── */

.cases-filter-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cases-filter-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cases-filter-btn:hover {
  color: var(--navy);
  border-color: var(--blue);
  background: var(--soft-blue);
}

.cases-filter-btn.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  transition: all 0.4s ease;
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 80, 146, 0.15);
}

.case-study-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: var(--soft-blue);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.case-study-card.manufacturing .case-study-tag {
  color: var(--blue);
  background: var(--soft-blue);
}

.case-study-card.industrial .case-study-tag {
  color: var(--green);
  background: var(--soft-green);
}

.case-study-card.legal .case-study-tag {
  color: var(--purple);
  background: var(--soft-purple);
}

.case-study-card h3 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--navy);
}

.case-study-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-study-meta-item {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.case-study-meta-item strong {
  font-weight: 600;
}

.case-study-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}

.case-study-metric-item {
  text-align: left;
}

.case-study-metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.case-study-card.industrial .case-study-metric-value {
  color: var(--green);
}

.case-study-card.legal .case-study-metric-value {
  color: var(--purple);
}

.case-study-metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Detail page structures */
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span,
.rank-math-breadcrumb,
.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem !important;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Ensure Rank Math breadcrumbs align perfectly with theme content */
.breadcrumbs p,
#breadcrumbs,
.rank-math-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-math-breadcrumb span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs i {
  font-size: 0.7rem;
}

.case-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 60px;
}

.case-content-section {
  margin-bottom: 48px;
}

.case-content-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.case-content-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

.case-detail-card.industrial .case-content-section h2::after {
  background: var(--green);
}

.case-detail-card.legal .case-content-section h2::after {
  background: var(--purple);
}

.detail-metrics-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.detail-metric-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
}

.detail-metric-card .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1;
}

.detail-metric-card.industrial .num {
  color: var(--green);
}

.detail-metric-card.legal .num {
  color: var(--purple);
}

.detail-metric-card .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0;
}

.methodology-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.methodology-timeline-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.methodology-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 80, 146, 0.1);
}

.methodology-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 80, 146, 0.08);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 24px;
}

.methodology-timeline-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.methodology-timeline-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Sidebar styles */
.sidebar-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 20px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.sidebar-widget p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.sidebar-resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.sidebar-resource-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sidebar-resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--blue);
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-form input {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.sidebar-form input:focus {
  border-color: var(--blue);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .sidebar-widget {
    position: static;
  }
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .detail-metrics-summary {
    grid-template-columns: 1fr;
  }

  .methodology-timeline {
    grid-template-columns: 1fr;
  }
}

/* ─── WHITEPAPERS HUB & DOWNLOAD MODAL STYLES ─── */

.featured-wp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 80px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.featured-wp-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 80, 146, 0.15);
}

.featured-wp-card::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 80, 146, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.featured-wp-content {
  position: relative;
  z-index: 2;
}

.featured-wp-cover {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(27, 38, 59, 0.15), 0 0 0 1px rgba(0, 80, 146, 0.05);
  background: var(--navy);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.featured-wp-card:hover .featured-wp-cover {
  transform: translateY(-8px) scale(1.02);
}

.featured-wp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.wp-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wp-meta-divider {
  width: 4px;
  height: 4px;
  background: var(--line);
  border-radius: 50%;
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.wp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.wp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 80, 146, 0.15);
}

.wp-card-cover {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}

.wp-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wp-card:hover .wp-card-cover img {
  transform: scale(1.05);
}

.wp-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--navy);
}

.wp-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.wp-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Modal overlays and boxes */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 32, 51, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: 28px;
  padding: 48px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(21, 32, 51, 0.25);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--paper);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: all 0.2s;
  border: 1px solid var(--line);
}

.modal-close-btn:hover {
  background: var(--soft-blue);
  color: var(--blue);
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.modal-form-group input,
.modal-form-group select {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.modal-form-group input:focus,
.modal-form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 80, 146, 0.1);
}

/* Related Case Studies Strip */
.related-cases-strip-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.related-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.related-case-strip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.related-case-strip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.related-case-strip-card .tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--soft-blue);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.related-case-strip-card.industrial .tag {
  color: var(--green);
  background: var(--soft-green);
}

.related-case-strip-card.legal .tag {
  color: var(--purple);
  background: var(--soft-purple);
}

.related-case-strip-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy);
  line-height: 1.4;
}

.related-case-strip-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.related-case-strip-card .link-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.related-case-strip-card:hover .link-text i {
  transform: translateX(3px);
  transition: transform 0.2s;
}

/* Responsive updates for whitepapers */
@media (max-width: 1024px) {
  .featured-wp-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .wp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wp-grid {
    grid-template-columns: 1fr;
  }

  .related-cases-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 32px 24px;
  }
}

/* ─── WEBINARS HUB & SPEAKERS STYLES ─── */

.webinar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.webinar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 80, 146, 0.15);
}

.webinar-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--navy);
  overflow: hidden;
}

.webinar-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.webinar-card:hover .webinar-thumbnail-wrapper img {
  transform: scale(1.05);
}

.webinar-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 32, 51, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.webinar-card:hover .webinar-play-overlay {
  opacity: 1;
}

.webinar-play-btn-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.webinar-card:hover .webinar-play-btn-circle {
  transform: scale(1);
}

.webinar-duration-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(21, 32, 51, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.webinar-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.webinar-card-content h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--navy);
}

.webinar-speaker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  margin-top: 12px;
}

.webinar-speaker-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.webinar-speaker-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webinar-speaker-name-mini {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* Speaker Grid and Cards styling */
.speakers-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.speaker-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.1);
}

.speaker-avatar {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
/*   image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges; */
}

.speaker-card h4 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.speaker-card .speaker-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.speaker-card .speaker-bio {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Styled Read More/Less Toggle Button */
.speaker-card .bio-toggle-btn {
  display: inline-block;
  margin-top: 12px;
  background: transparent;
  border: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.speaker-card .bio-toggle-btn:hover {
  color: var(--navy);
}

/* Responsive updates for webinars and speakers */
@media (max-width: 1200px) {
  .speaker-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

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

@media (max-width: 576px) {
  .speaker-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── ABOUT US PAGE STYLES ─── */

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.story-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.about-value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.1);
}

.about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
  background: var(--soft-blue);
  color: var(--blue);
}

.about-value-card:nth-child(2) .about-value-icon {
  background: var(--soft-purple);
  color: var(--purple);
}

.about-value-card:nth-child(3) .about-value-icon {
  background: var(--soft-green);
  color: var(--green);
}

.about-value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.about-value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CONTACT US PAGE STYLES ─── */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-form-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.calendar-booking-card {
  background: var(--soft-blue);
  border: 1px solid rgba(0, 80, 146, 0.15);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.calendar-booking-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 80, 146, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.calendar-booking-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.calendar-booking-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.audit-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  position: relative;
  z-index: 1;
}

.audit-checklist li {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.audit-checklist li i {
  color: var(--blue);
  margin-top: 4px;
}

.direct-details-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.direct-details-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--navy);
}

.direct-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.direct-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.direct-details-list li:last-child {
  margin-bottom: 0;
}

.direct-details-list li i {
  font-size: 1.2rem;
  color: var(--blue);
  margin-top: 4px;
}

.direct-details-list li strong {
  color: var(--navy);
  display: block;
  font-size: 1rem;
}

.direct-details-list li span {
  color: var(--muted);
}

@media (max-width: 1024px) {
  .contact-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
  }

  .contact-left-col {
    display: contents !important;
  }

  .contact-header-block {
    order: 1 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .contact-form-col {
    order: 2 !important;
    width: 100% !important;
  }

  .contact-form-card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 24px !important;
  }

  .direct-details-card {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 24px !important;
    margin-bottom: 0 !important;
  }

  .contact-map-block {
    order: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
  }

  .contact-map-block iframe {
    width: 100% !important;
    display: block !important;
  }
}

/* ─── CAREERS PAGE STYLES ─── */

.roles-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 24px;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.12);
}

.role-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-info h3 {
  font-size: 1.35rem;
  color: var(--navy);
}

.role-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.role-meta-item {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
}

.role-tag-badge.engineering {
  color: var(--blue);
  background: var(--soft-blue);
}

.role-tag-badge.solutions-dept {
  color: var(--purple);
  background: var(--soft-purple);
}

.role-tag-badge.product {
  color: var(--green);
  background: var(--soft-green);
}

.culture-quote-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.culture-quotes-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}

.culture-quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.culture-quote-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--soft-blue);
}

.culture-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culture-quote-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 12px;
}

.culture-quote-content cite {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
}

.general-app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.general-app-card h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.general-app-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .role-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .role-card .btn {
    width: 100%;
    justify-content: center;
  }

  .culture-quote-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

/* ─── OPERATIONS AUDIT PAGE ─── */
.audit-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.audit-benefits {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.audit-benefit-item {
  display: flex;
  gap: 20px;
}

.audit-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--soft-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.audit-benefit-item:nth-child(2) .audit-benefit-icon {
  background: var(--soft-purple);
  color: var(--purple);
}

.audit-benefit-item:nth-child(3) .audit-benefit-icon {
  background: var(--soft-green);
  color: var(--green);
}

.audit-benefit-text h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.audit-benefit-text p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.booking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

/* Step tracker */
.booking-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.booking-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.booking-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.booking-step.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 10px rgba(0, 80, 146, 0.3);
}

.booking-step.completed {
  background: #10b981;
  border-color: #10b981;
  color: var(--white);
}

/* Calendar elements */
.calendar-widget {
  margin-bottom: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-header h4 {
  font-size: 1.1rem;
  color: var(--navy);
}

.calendar-days-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.calendar-day-btn {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-day-btn:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--soft-blue);
}

.calendar-day-btn.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.calendar-day-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--paper);
}

.calendar-day-btn span {
  display: block;
}

.calendar-day-btn .day-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.calendar-day-btn.selected .day-name {
  color: rgba(255, 255, 255, 0.8);
}

.calendar-day-btn .day-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.calendar-day-btn.selected .day-num {
  color: var(--white);
}

/* Time slots */
.slots-header {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.slot-btn {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s ease;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--soft-blue);
  color: var(--blue);
}

.slot-btn.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.slot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--paper);
}

/* Responsive updates for Audit */
@media (max-width: 1024px) {
  .audit-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
  }

  .audit-left-col {
    display: contents !important;
  }

  .audit-header-block {
    order: 1 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .booking-card {
    order: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .audit-benefits {
    order: 3 !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .audit-trust-badges {
    order: 4 !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}


/* ─── INSIGHTS SUB-NAVIGATION STYLES ─── */
.insights-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.insights-nav-tab {
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--white);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insights-nav-tab i {
  font-size: 0.9rem;
}

.insights-nav-tab:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--soft-blue);
  transform: translateY(-1px);
}

.insights-nav-tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 80, 146, 0.2);
}

/* ─── BLOG HOME PAGE STYLES ─── */
.blog-filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.blog-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: 1px solid transparent;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-cat-btn:hover {
  color: var(--blue);
  background: var(--soft-blue);
  text-decoration: none;
}
.blog-cat-btn.active {
  background: var(--blue);
  color: var(--white);
}

.blog-search-wrapper {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--navy);
  background: var(--white);
}

.blog-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 80, 146, 0.1);
}

.blog-search-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.15);
}

.blog-featured-image {
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-image img {
  transform: scale(1.02);
}

.blog-featured-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--navy);
}

.blog-featured-info p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.15);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body h3 {
  font-size: 1.35rem;
  margin: 12px 0;
  line-height: 1.3;
  color: var(--navy);
}

.blog-card-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.blog-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-author-info {
  display: flex;
  flex-direction: column;
}

.blog-author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.blog-meta-details {
  font-size: 0.75rem;
  color: var(--muted);
}

.blog-cat-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
  align-self: flex-start;
}

.blog-cat-badge.ai-automation {
  color: var(--purple);
  background: var(--soft-purple);
}

.blog-cat-badge.integration {
  color: var(--blue);
  background: var(--soft-blue);
}

.blog-cat-badge.manufacturing {
  color: var(--green);
  background: var(--soft-green);
}

.blog-cat-badge.legal {
  color: #b45309;
  background: #fef3c7;
}

/* ─── BLOG SINGLE PAGE STYLES ─── */
.blog-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.career-single-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 60px;
}

.blog-content-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink);
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.blog-content-body a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-content-body a:hover {
  color: var(--navy);
  text-decoration: none;
}

.blog-content-body h2 {
  font-size: 1.85rem;
  margin: 40px 0 20px;
  color: var(--navy);
}

.blog-content-body h3 {
  font-size: 1.45rem;
  margin: 32px 0 16px;
  color: var(--navy);
}

.blog-content-body p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.blog-content-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--soft-blue);
  padding: 28px 36px;
  margin: 36px 0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}

.blog-content-body blockquote p {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.7;
}

.blog-content-body ul,
.blog-content-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-content-body li {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1.1rem;
}

.blog-content-body code {
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: Consolas, Monaco, monospace;
  border: 1px solid var(--line);
  color: var(--purple);
}

.blog-content-body pre {
  background: var(--navy);
  color: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 32px 0;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-content-body pre code {
  background: none;
  padding: 0;
  border: none;
  color: inherit;
  font-size: inherit;
}

.blog-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 36px 0 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.blog-content-body figure {
  max-width: 100%;
  margin: 36px 0;
}

.blog-content-body figure img {
  margin: 0;
  max-width: 100%;
  height: auto;
}

.blog-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-content-body table th,
.blog-content-body table td {
  padding: 14px 18px;
  border: 1px solid var(--line);
  text-align: left;
}

.blog-content-body table th {
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
}

.blog-content-body table tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.4);
}

@media (max-width: 768px) {
  .blog-content-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


.blog-img-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 36px;
  display: block;
}

.blog-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px 0;
}

.blog-toc h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.blog-toc-list {
  list-style: none;
  padding: 0;
}

.blog-toc-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 16px;
}

.blog-toc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.blog-toc-list a {
  color: var(--muted);
  transition: color 0.2s;
  font-weight: 500;
}

.blog-toc-list a:hover {
  color: var(--blue);
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.blog-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.blog-widget input,
.blog-widget textarea,
.blog-widget select,
.blog-widget form {
  max-width: 100%;
  box-sizing: border-box;
}

.blog-widget input[type="text"],
.blog-widget input[type="email"],
.blog-widget input[type="tel"],
.blog-widget input[type="url"],
.blog-widget input[type="file"],
.blog-widget textarea,
.blog-widget select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background: var(--white);
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.blog-widget input[type="text"]:focus,
.blog-widget input[type="email"]:focus,
.blog-widget input[type="tel"]:focus,
.blog-widget textarea:focus,
.blog-widget select:focus {
  border-color: var(--blue);
}

.blog-widget input[type="submit"] {
  width: 100%;
  box-sizing: border-box;
}


.blog-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--navy);
}

.author-widget {
  text-align: center;
}

.author-widget-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--soft-blue);
  box-shadow: var(--shadow-sm);
}

.author-widget-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-widget h5 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}

.author-widget .author-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.author-widget p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.widget-related-posts {
  list-style: none;
  padding: 0;
}

.widget-related-posts li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.widget-related-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-related-posts a {
  display: block;
  text-decoration: none;
}

.widget-related-posts h5 {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 6px;
  transition: color 0.2s;
}

.widget-related-posts a:hover h5 {
  color: var(--blue);
}

.widget-related-posts span {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
}

.blog-share-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 48px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-share-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.blog-share-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.share-btn:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-btn.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

.share-btn.twitter:hover {
  background: #15202b;
  border-color: #15202b;
}

.share-btn.email:hover {
  background: #ea4335;
  border-color: #ea4335;
}

.share-btn.copy:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.copy-feedback {
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-left: 8px;
}

.copy-feedback.show {
  opacity: 1;
}

.compliance-callout {
  background: var(--soft-blue);
  border: 1px solid rgba(0, 80, 146, 0.12);
  border-radius: 16px;
  padding: 24px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.compliance-callout-icon {
  font-size: 1.8rem;
  color: var(--blue);
  line-height: 1;
}

.compliance-callout-text h5 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}

.compliance-callout-text p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
  color: var(--muted);
}

.newsletter-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 60px 40px;
  color: var(--white);
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 80, 146, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-card h3 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.newsletter-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-input:focus {
  border-color: #60a5fa;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── RESPONSIVE BLOG MEDIA QUERIES ─── */
@media (max-width: 1024px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-featured-image {
    height: 300px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-single-layout,
  .career-single-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 48px;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-widget {
    padding: 20px !important;
  }

  .blog-filters-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .blog-search-wrapper {
    max-width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .blog-share-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── INEVIA CO PERFORMANCE UTILITY CLASSES ─── */
.wpo-bg-gradient-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--soft-blue) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.wpo-breadcrumbs-span {
  color: var(--navy);
  font-weight: 500;
}

.wpo-text-clamp-h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.wpo-text-muted-p {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.wpo-textarea-custom {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  min-height: 120px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.wpo-textarea-custom:focus {
  border-color: var(--blue);
}

.wpo-submit-btn-custom {
  margin-top: 12px;
  padding: 14px;
  cursor: pointer;
  border: none;
  width: 100%;
  justify-content: center;
}

.wpo-success-state-box {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.wpo-success-state-box i {
  font-size: 4.5rem;
  color: #10b981;
  margin-bottom: 24px;
}

.wpo-success-state-box h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.wpo-success-state-box p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 1.05rem;
}

.wpo-booking-btn-custom {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

.wpo-faq-section-border {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wpo-faq-container-width {
  max-width: 800px;
}

.wpo-faq-label-color {
  color: var(--blue);
}

.wpo-faq-accordion-container {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.wpo-faq-icon-active-rotation {
  transform: rotate(180deg);
}

.wpo-faq-content-maxheight {
  max-height: 200px;
}



/* ─── CF7 Contact Form — matches modal-form design exactly ─── */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Group wrapper each CF7 field generates */
.wpcf7 .modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

/* Label */
.wpcf7 .modal-form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

/* All inputs, email, textarea, select */
.wpcf7 .modal-input,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}

.wpcf7 .modal-input:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 100, 255, 0.08);
  background: var(--white);
}

/* Textarea */
.wpcf7 textarea {
  min-height: 100px;
  resize: vertical;
}

/* Select */
.wpcf7 select.modal-input {
  appearance: auto;
  cursor: pointer;
}

/* Submit button */
.wpcf7 input[type="submit"],
.wpcf7 [type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

/* Validation errors */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 4px;
  display: block;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #e53e3e !important;
}

/* Response output */
.wpcf7 .wpcf7-response-output {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: #f0fdf4;
  color: #166534;
  border-left: 4px solid #22c55e;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}


/* ─── Team Box Grid and Styling ─── */
.team-wrap {
  margin-top: 50px;
}

.team-wrap .f-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  gap: 30px 0;
}

.team-wrap .f-col {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Default widths for grid columns */
.team-wrap .f-3 .f-col {
  width: 33.3333%;
}

.team-wrap .f-4 .f-col {
  width: 25%;
}

@media (max-width: 1200px) {
  .team-wrap .f-3 .f-col {
    width: 33.3333%;
  }
}

@media (max-width: 990px) {
  .team-wrap .f-990-2 .f-col {
    width: 50% !important;
  }
}

@media (max-width: 640px) {
  .team-wrap .f-640-1 .f-col {
    width: 100% !important;
  }
}

.team-box {
  height: 590px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.team-top {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.team-img {
  width: 100%;
  height: 100%;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  z-index: 2;
  border-bottom: none;
  background: #392c77;
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.team-box.active .team-detail {
  transform: translateY(0);
}

.team-detail p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  height: 100%;
  overflow-y: auto;
  margin: 0;
  padding-right: 10px;
}

.team-btm {
  height: 100px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-top: 1px solid var(--line);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.team-box.active .team-btm {
  background: #1b263b;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.team-member {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.team-box.active .team-member {
  color: #fff;
}

.team-designation {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
  transition: color 0.3s ease;
}

.team-box.active .team-designation {
  color: rgba(255, 255, 255, 0.7);
}

.detail-btn {
  cursor: pointer;
  background: #005092;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.team-box.active .detail-btn {
  transform: rotate(90deg);
  background: var(--blue);
}

.detail-btn i {
  color: #fff;
  font-size: 1rem;
}


/* WordPress Admin Bar and Fixed Header Mobile Adjustments */
body.admin-bar .nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .nav {
    top: 46px;
  }
}

/* Mobile Navigation Hamburger Menu Overlay */
@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;
    padding: 8px !important;
    margin-right: -4px !important;
    line-height: 1 !important;
  }

  .nav-cta {
    display: none !important;
    /* Hide CTA text on very small screens to fit logo and toggle */
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--white) !important;
    /* Force solid white background to hide page content */
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    z-index: 99;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a:not(.mobile-menu-cta):not(.mega-cta-btn) {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    width: auto !important;
    flex-grow: 1;
  }

  .nav-dropdown-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-top: 12px;
    justify-content: space-between;
  }

  .nav-links>a:not(.mobile-menu-cta) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-top: 12px;
    width: 100% !important;
  }

  .nav-dropdown-content {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 16px !important;
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    opacity: 1 !important;
    /* Override desktop opacity: 0 */
    transform: none !important;
    /* Override desktop transform */
  }

  .nav-dropdown.active .nav-dropdown-content {
    display: flex !important;
  }
}


/* Desktop: Hide Mobile Menu CTA */
.mobile-menu-cta {
  display: none !important;
}

@media (max-width: 768px) {

  /* Mobile: Show Mobile Menu CTA */
  .nav-links .mobile-menu-cta {
    display: flex !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    border-bottom: none !important;
    padding: 12px 24px !important;
    width: 100% !important;
    justify-content: center !important;
    background: var(--blue) !important;
  }
}




/* Mobile active menu rotates chevron icon */
.nav-dropdown.active .nav-dropdown-toggle i {
  transform: rotate(180deg);
}


/* Mobile optimizations for Hero Orbit Illustration (Desktop Orbit layout but scaled down) */
@media (max-width: 768px) {
  :root {
    --orbit-radius: 200px !important;
    /* Match tablet-scale orbit radius */
  }

  .hero-orbit-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 320px !important;
    /* Small physical width for standard centering */
    height: 320px !important;
    aspect-ratio: 1/1 !important;
    transform: scale(0.72) !important;
    /* Scale entire illustration down to 72% */
    transform-origin: center center !important;
    margin: -20px auto -40px !important;
    /* Center perfectly using auto margins, collapse vertical space */
  }

  .orbit-ring {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px dashed rgba(0, 80, 146, 0.15) !important;
  }

  .orbit-card-container {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
  }

  .orbit-item {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 220px !important;
    /* Identical to desktop */
    height: auto !important;
    margin-left: -110px !important;
    margin-top: -60px !important;
    z-index: 5 !important;
  }

  .orbit-card {
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .orbit-card .oc-body {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    margin-top: 8px !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .oc-metric {
    display: block !important;
  }

  .oc-metric .label {
    font-size: 0.75rem !important;
    color: var(--muted) !important;
  }

  .oc-metric .value {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }

  .oc-header {
    gap: 8px !important;
  }

  .oc-header span {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    white-space: normal !important;
  }

  .oc-header i {
    font-size: 14px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
  }

  .orbit-center-img {
    position: absolute !important;
    z-index: 10 !important;
    width: 90% !important;
    max-width: 450px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .orbit-center-img img {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
  }
}

/* ─── PREMIUM CAREERS COMPONENTS ─── */

/* 1. Tech Stack Grid */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  width: 100%;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.12);
}

.tech-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--soft-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-box {
  background: var(--blue);
  color: var(--white);
}

.tech-card h4 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.tech-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* 2. Hiring Process Timeline */
.hiring-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hiring-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  width: 2px;
  height: 100%;
  background: var(--line);
  z-index: 1;
}

.timeline-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.step-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.step-badge span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
}

.hiring-step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
  transition: all 0.3s ease;
}

.timeline-step:hover .hiring-step-card {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.12);
}

.hiring-step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.hiring-step-card-header h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}

.step-duration-badge {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--soft-blue);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 99px;
}

.hiring-step-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* 3. Perks Grid */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
}

.perk-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.perk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 80, 146, 0.1);
}

.perk-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(57, 44, 119, 0.08);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.perk-card:hover .perk-icon-wrapper {
  background: var(--purple);
  color: var(--white);
}

.perk-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.perk-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {

  .tech-stack-grid,
  .perks-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hiring-timeline::before {
    left: 20px !important;
  }

  .step-badge {
    width: 42px !important;
    height: 42px !important;
  }

  .step-badge span {
    font-size: 0.9rem !important;
  }

  .hiring-step-card {
    padding: 20px !important;
  }
}


/* Tech Pill Badges */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 80, 146, 0.15);
  box-shadow: var(--shadow-md);
  color: var(--blue) !important;
}

.tech-pill i {
  font-size: 14px;
}

\n
/* media-max-width-perks */
@media (max-width: 1024px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .perks-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   MEGA MENU & SOCIAL MEDIA ICON STYLING
   ========================================== */

/* Footer Social Links */
.footer-social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social-icon:hover {
  background: var(--blue);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 80, 146, 0.3);
}

/* Standard Dropdown Icons & Hovers */
.sub-link-icon {
  color: var(--blue) !important;
  background: var(--soft-blue) !important;
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-right: 0 !important;
  transition: all 0.2s ease;
}

.nav-dropdown-content a:hover .sub-link-icon,
.nav-dropdown-content a.active .sub-link-icon {
  background: #ffffff !important;
}

.nav-dropdown:hover .nav-dropdown-link,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-link,
.nav-dropdown.active .nav-dropdown-toggle {
  color: var(--blue) !important;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown-toggle {
    transform: rotate(180deg);
  }
}

/* Resources Dropdown (Blue Accent) */
.nav-links>.nav-dropdown:nth-of-type(3) .sub-link-icon {
  color: var(--blue) !important;
  background: var(--soft-blue) !important;
}

.nav-links>.nav-dropdown:nth-of-type(3) .nav-dropdown-content .sub-link-item:hover,
.nav-links>.nav-dropdown:nth-of-type(3) .nav-dropdown-content .sub-link-item.active {
  background-color: var(--soft-blue) !important;
  color: var(--blue) !important;
}
.nav-links>.nav-dropdown:nth-of-type(3) .nav-dropdown-content .sub-link-item:hover .sub-link-icon,
.nav-links>.nav-dropdown:nth-of-type(3) .nav-dropdown-content .sub-link-item.active .sub-link-icon {
  background: #ffffff !important;
}

/* Company Dropdown (Blue Accent) */
.nav-links>.nav-dropdown:nth-of-type(4) .sub-link-icon {
  color: var(--blue) !important;
  background: var(--soft-blue) !important;
}

.nav-links>.nav-dropdown:nth-of-type(4) .nav-dropdown-content .sub-link-item:hover,
.nav-links>.nav-dropdown:nth-of-type(4) .nav-dropdown-content .sub-link-item.active {
  background-color: var(--soft-blue) !important;
  color: var(--blue) !important;
}
.nav-links>.nav-dropdown:nth-of-type(4) .nav-dropdown-content .sub-link-item:hover .sub-link-icon,
.nav-links>.nav-dropdown:nth-of-type(4) .nav-dropdown-content .sub-link-item.active .sub-link-icon {
  background: #ffffff !important;
}

/* Desktop Mega Menu */
@media (min-width: 769px) {
  .nav-container {
    position: relative;
  }

  .nav-links {
    height: 100%;
    align-items: center;
  }

  .nav-dropdown {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .nav-dropdown-header {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .nav-dropdown.nav-mega {
    position: static;
    /* Make static so child aligns to .nav-container */
  }

  .nav-dropdown.nav-mega:hover .nav-mega-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-dropdown-content.nav-mega-content {
    position: absolute;
    top: 100%;
    /* Sits exactly at the bottom of the 72px navbar */
    left: 24px;
    right: 24px;
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 32px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(27, 38, 59, 0.15);
    background: var(--white);
    border: 1px solid var(--line);
    box-sizing: border-box;
    z-index: 1000;
  }

  .nav-dropdown-content.nav-mega-content::before {
    content: '';
    position: absolute;
    top: -20px;
    /* Bridge hover gap completely */
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
  }

  .nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .mega-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mega-column:not(:last-child) {
    border-right: 1px solid var(--line);
    padding-right: 40px;
  }

  .mega-column-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 8px;
  }

  .mega-column-title a {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: inherit !important;
    letter-spacing: inherit !important;
    color: var(--blue) !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
    transition: all 0.2s ease;
  }

  .mega-column-title a:hover,
  .mega-column-title a.active {
    color: var(--navy) !important;
    text-decoration: underline !important;
  }

  .mega-column-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Specificity override to force display: flex and overwrite display: block from global links */
  .nav-dropdown-content .mega-link-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border-radius: 8px;
    transition: background 0.2s ease;
    text-decoration: none;
  }

  .mega-link-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-top: 0 !important;
    transition: all 0.2s ease;
  }

  /* Active states for top-level menu items */
  .nav-links a.active,
  .nav-links .nav-dropdown-link.active {
    color: var(--blue) !important;
  }

  /* Column 1: Blue Accent */
  .mega-column:nth-child(1) .mega-link-icon {
    color: var(--blue) !important;
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(1) .mega-link-item:hover,
  .mega-column:nth-child(1) .mega-link-item.active {
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(1) .mega-link-item:hover .mega-link-label,
  .mega-column:nth-child(1) .mega-link-item.active .mega-link-label {
    color: var(--blue) !important;
  }

  .mega-column:nth-child(1) .mega-link-item:hover .mega-link-icon,
  .mega-column:nth-child(1) .mega-link-item.active .mega-link-icon {
    background: #ffffff !important;
  }

  /* Column 2: Blue Accent */
  .mega-column:nth-child(2) .mega-link-icon {
    color: var(--blue) !important;
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(2) .mega-link-item:hover,
  .mega-column:nth-child(2) .mega-link-item.active {
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(2) .mega-link-item:hover .mega-link-label,
  .mega-column:nth-child(2) .mega-link-item.active .mega-link-label {
    color: var(--blue) !important;
  }

  .mega-column:nth-child(2) .mega-link-item:hover .mega-link-icon,
  .mega-column:nth-child(2) .mega-link-item.active .mega-link-icon {
    background: #ffffff !important;
  }

  /* Column 3: Blue Accent */
  .mega-column:nth-child(3) .mega-link-icon {
    color: var(--blue) !important;
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(3) .mega-link-item:hover,
  .mega-column:nth-child(3) .mega-link-item.active {
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(3) .mega-link-item:hover .mega-link-label,
  .mega-column:nth-child(3) .mega-link-item.active .mega-link-label {
    color: var(--blue) !important;
  }

  .mega-column:nth-child(3) .mega-link-item:hover .mega-link-icon,
  .mega-column:nth-child(3) .mega-link-item.active .mega-link-icon {
    background: #ffffff !important;
  }

  .mega-link-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mega-link-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s ease;
    display: inline-block;
  }

  .mega-link-item:hover .mega-link-label {
    color: var(--blue);
  }

  .mega-link-desc {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
    display: block;
  }
}

.nav-dropdown-content .mega-cta-btn {
  align-self: flex-start;
  margin-top: 12px;
}

.nav-dropdown-content .mega-cta-btn.btn-primary {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.nav-dropdown-content .mega-cta-btn.btn-primary:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-dropdown-content .mega-cta-btn.btn-secondary {
  background: var(--white) !important;
  color: var(--navy) !important;
  border-color: var(--line) !important;
}

.nav-dropdown-content .mega-cta-btn.btn-secondary:hover {
  background: var(--paper) !important;
  color: var(--blue) !important;
  border-color: var(--blue) !important;
}

.nav-dropdown-content .mega-cta-btn i {
  color: inherit !important;
}

/* Mobile Mega Menu */
@media (max-width: 768px) {
  .nav-dropdown-content .sub-link-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 6px 0 !important;
    background: transparent !important;
  }
  .sub-link-icon {
    font-size: 0.85rem;
    width: 32px;
    height: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 0 !important;
    flex-shrink: 0;
  }

  .nav-mega-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .mega-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mega-column:not(:last-child) {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
  }

  .mega-column-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }

  .mega-column-title a {
    color: var(--blue) !important;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .mega-column-title a:hover,
  .mega-column-title a.active {
    color: var(--navy) !important;
    text-decoration: underline !important;
  }

  .mega-column-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nav-dropdown-content .mega-link-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .mega-link-icon {
    font-size: 0.85rem;
    width: 32px;
    height: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-top: 0 !important;
    flex-shrink: 0;
  }

  .mega-column:nth-child(1) .mega-link-icon {
    color: var(--blue) !important;
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(2) .mega-link-icon {
    color: var(--blue) !important;
    background: var(--soft-blue) !important;
  }

  .mega-column:nth-child(3) .mega-link-icon {
    color: var(--blue) !important;
    background: var(--soft-blue) !important;
  }

  .mega-link-info {
    display: flex;
    flex-direction: column;
  }

  .mega-link-label {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
  }

  .mega-link-desc {
    display: none !important;
  }

  .mega-cta-btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
  }

  .footer-social-links {
    justify-content: center;
  }
}





/* ─── INEVIA PAGINATION (SEO & USER NAVIGATION) ─── */
.inevia-pagination {
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.inevia-pagination ul.page-numbers {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.inevia-pagination li {
  margin: 0;
  padding: 0;
  display: inline-flex;
}

.inevia-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  gap: 6px;
}

.inevia-pagination a.page-numbers:hover {
  background: var(--soft-blue);
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.inevia-pagination .page-numbers.current {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 80, 146, 0.28);
  cursor: default;
}

.inevia-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-weight: 700;
  cursor: default;
  min-width: 32px;
  padding: 0 4px;
}

.inevia-pagination .prev.page-numbers,
.inevia-pagination .next.page-numbers {
  font-weight: 600;
  padding: 0 18px;
}

@media (max-width: 640px) {
  .inevia-pagination {
    margin-top: 36px;
  }
  .inevia-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    font-size: 0.85rem;
    padding: 0 12px;
    border-radius: 8px;
  }
  .inevia-pagination ul.page-numbers {
    gap: 6px;
  }
}



/* Prevent Complianz Cookie Banner & Close Icon FOUC */
.cmplz-cookiebanner:not(.cmplz-show),
.cmplz-cookiebanner.cmplz-dismissed,
#cmplz-manage-consent .cmplz-manage-consent.cmplz-dismissed {
  display: none !important;
}

.cmplz-cookiebanner.cmplz-show {
  display: grid !important;
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-show {
  display: block !important;
}
