/*
Theme Name:  HC Logik
Theme URI:   https://hclogik.com
Author:      HC Logik
Description: Custom WordPress theme for HC Logik healthcare logistics.
Version:     1.0.0
License:     Proprietary
Text Domain: hclogik
*/

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   CSS VARIABLES — LIGHT MODE
============================================================ */
:root {
  --navy:         #0B3D7A;
  --navy-dark:    #072C5A;
  --blue:         #2580d4;
  --blue-light:   #3D9BE9;
  --green:        #A8D068;
  --green-dark:   #8CB84E;
  --bg:           #ffffff;
  --bg-card:      #ffffff;
  --gray-light:   #F5F7FA;
  --gray-mid:     #E2E8F0;
  --text:         #1E293B;
  --text-mid:     #475569;
  --text-light:   #64748B;
  --border:       #E2E8F0;
  --radius:       6px;
  --shadow:       0 2px 12px rgba(11,61,122,.10);
  --shadow-md:    0 4px 24px rgba(11,61,122,.14);
}

/* ============================================================
   DARK MODE
============================================================ */
[data-theme="dark"] {
  --bg:           #0F172A;
  --bg-card:      #1E293B;
  --gray-light:   #162032;
  --gray-mid:     #2D3A4F;
  --border:       #2D3A4F;
  --text:         #E2E8F0;
  --text-mid:     #94A3B8;
  --text-light:   #64748B;
  --shadow:       0 2px 12px rgba(0,0,0,.35);
  --shadow-md:    0 4px 24px rgba(0,0,0,.45);
}
[data-theme="dark"] body                   { background: var(--bg); color: var(--text); }
[data-theme="dark"] .site-header           { background: var(--bg-card); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .section-title         { color: var(--text); }
[data-theme="dark"] .service-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .form-card,
[data-theme="dark"] .job-listing,
[data-theme="dark"] .team-card,
[data-theme="dark"] .all-service-card      { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .form-card h3,
[data-theme="dark"] .job-meta h3,
[data-theme="dark"] .team-card h4,
[data-theme="dark"] .all-service-card h3,
[data-theme="dark"] .about-intro-text h2,
[data-theme="dark"] .careers-intro h2,
[data-theme="dark"] .contact-sidebar h2,
[data-theme="dark"] .jobs-section h2,
[data-theme="dark"] .careers-apply-grid > div:first-child h2 { color: var(--text); }
[data-theme="dark"] .about-intro-text p,
[data-theme="dark"] .careers-intro p,
[data-theme="dark"] .contact-sidebar p,
[data-theme="dark"] .careers-apply-grid > div:first-child p  { color: var(--text-mid); }
[data-theme="dark"] .primary-nav > li > a  { color: #CBD5E1; }
[data-theme="dark"] .primary-nav > li > a:hover,
[data-theme="dark"] .primary-nav > li.current-menu-item > a,
[data-theme="dark"] .primary-nav > li.current-menu-ancestor > a { background: var(--gray-mid); color: #fff; }
[data-theme="dark"] .primary-nav .sub-menu              { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .primary-nav .sub-menu li a         { color: #CBD5E1; }
[data-theme="dark"] .primary-nav .sub-menu li a:hover   { background: var(--gray-mid); color: #fff; }
[data-theme="dark"] .topbar                { background: #0B1526; }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select     { background: var(--bg); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .form-group label      { color: #CBD5E1; }
[data-theme="dark"] .about-img-placeholder,
[data-theme="dark"] .careers-img-placeholder { background: linear-gradient(135deg, var(--bg-card), var(--gray-mid)); border-color: var(--border); }
[data-theme="dark"] .tech-section          { background: #0B1526; }
[data-theme="dark"] .why-item h3           { color: var(--blue-light); }
[data-theme="dark"] .nav-toggle span       { background: #fff; }

/* Smooth theme transitions */
body, .site-header, .service-card, .feature-card, .form-card,
.job-listing, .team-card, .all-service-card, .sub-menu,
.form-group input, .form-group textarea, .topbar {
  transition: background-color .25s ease, border-color .25s ease, color .18s ease;
}

/* ============================================================
   DARK MODE TOGGLE BUTTON
============================================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-mid);
  background: var(--gray-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s, background .2s, transform .15s;
}
.theme-toggle:hover { border-color: var(--blue-light); transform: scale(1.08); }
.theme-toggle svg { width: 18px; height: 18px; fill: var(--text); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideDown{ from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }

.hero-eyebrow { animation: slideDown .55s cubic-bezier(.22,1,.36,1) both; }
.hero-home h1 { animation: fadeUp .65s .1s cubic-bezier(.22,1,.36,1) both; }
.hero-home > .container > p { animation: fadeUp .65s .2s cubic-bezier(.22,1,.36,1) both; }
.hero-actions { animation: fadeUp .65s .32s cubic-bezier(.22,1,.36,1) both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed { opacity:1; transform:translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay:.05s; opacity:1; transform:translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay:.13s; opacity:1; transform:translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay:.21s; opacity:1; transform:translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay:.29s; opacity:1; transform:translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay:.37s; opacity:1; transform:translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay:.45s; opacity:1; transform:translateY(0); }

/* ============================================================
   UTILITY
============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-gray { background: var(--gray-light); }

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s, border-color .2s, color .15s, transform .15s, box-shadow .2s;
}
.btn-primary {
  background: var(--blue-light);
  color: #fff;
  border-color: var(--blue-light);
  box-shadow: 0 4px 14px rgba(61,155,233,.35);
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 4px 18px rgba(61,155,233,.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.7;
}

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--navy-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #CBD5E1; }
.topbar a:hover { color: #fff; }
.topbar-icon { display: inline-flex; }
.topbar-icon svg { display: block; fill: currentColor; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.site-logo { display: flex; align-items: center; min-width: 180px; }
.site-logo img { height: 44px; width: auto; display: block; }
.site-logo .logo-dark                { display: none; }
[data-theme="dark"] .site-logo .logo-light { display: none; }
[data-theme="dark"] .site-logo .logo-dark  { display: block; }
.header-right { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   PRIMARY NAVIGATION
============================================================ */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: block;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  position: relative;
}
.primary-nav > li > a:hover { color: var(--green); background: var(--gray-light); }
.primary-nav > li.current-menu-item > a,
.primary-nav > li.current-menu-ancestor > a { color: var(--text); background: var(--gray-light); }

/* Dropdown arrow */
.primary-nav > li.menu-item-has-children > a::after { content: '▾'; margin-left: 4px; font-size: 11px; }

/* Hover bridge — prevents gap from breaking hover */
.primary-nav > li.menu-item-has-children > a::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

/* Sub-menu (dropdown) */
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 6px 0 8px;
  border: 1px solid var(--border);
  z-index: 200;
}
.primary-nav > li.menu-item-has-children:hover .sub-menu { display: block; }
.primary-nav .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background .15s, color .15s;
}
.primary-nav .sub-menu li a:hover { background: var(--gray-light); color: var(--navy); }

/* Mobile hamburger */
.submenu-toggle { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}

/* ============================================================
   ALERTS (contact form feedback)
============================================================ */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ============================================================
   HERO — HOME
============================================================ */
.hero-home {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--blue) 100%);
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-home .container { position: relative; z-index: 1; }

/* Background video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 44, 90, 0.72);
  z-index: 1;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* keep 16:9 and always cover the container */
  width: 100vw;
  height: 56.25vw;   /* 16/9 = 1.777 → height = width ÷ 1.777 */
  min-height: 100%;
  min-width: 177.78vh; /* width = height × 1.777 */
  pointer-events: none;
}
/* When video is present, lighten the dot pattern so it reads over the overlay */
.hero-has-video::before { opacity: 0.4; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-home h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 720px;
}
.hero-home > .container > p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   INNER PAGE HERO
============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 70%, var(--blue) 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,44,90,.88) 0%, rgba(11,61,122,.82) 100%);
  z-index: 0;
}
.page-hero.service-page-hero.has-bg-image::before {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { margin: 0 6px; opacity: .5; }
.page-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-bottom: 14px; }
.page-hero .hero-sub { font-size: 17px; opacity: .85; max-width: 580px; line-height: 1.7; }

/* ============================================================
   HOME PAGE — IMAGE LAYOUTS
============================================================ */

/* Hero background image (when no video) */
.hero-home[style*="background-image"] {
  background-size: cover;
  background-position: center;
}

/* Services section: intro text + feature photo side by side */
.section-intro-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.section-intro-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 360px;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   TESTIMONIALS SECTION
============================================================ */
.testimonials-section {
  position: relative;
  padding: 90px 0;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax */
  overflow: hidden;
}
.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,44,90,.92) 0%, rgba(11,61,122,.88) 100%);
  z-index: 0;
}
.testimonials-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.testimonials-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.testimonials-eyebrow::before,
.testimonials-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  opacity: .6;
}
.testimonials-slider { position: relative; min-height: 220px; }
.testimonial-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .6s ease, visibility 0s linear .6s;
  color: #fff;
}
.testimonial-slide.active {
  position: static;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear 0s;
}
.testimonial-quote-mark {
  font-size: 96px;
  line-height: .6;
  color: var(--blue-light);
  opacity: .5;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  select: none;
}
.testimonial-text {
  font-size: clamp(17px, 2.5vw, 22px);
  font-style: italic;
  line-height: 1.65;
  color: rgba(255,255,255,.92);
  margin-bottom: 28px;
  font-family: 'Open Sans', sans-serif;
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.testimonial-person {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.testimonial-sep { color: var(--blue-light); font-size: 18px; }
.testimonial-business {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  font-style: italic;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.testimonial-dot.active,
.testimonial-dot:hover { background: var(--blue-light); transform: scale(1.25); }

.testimonial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.testimonial-arrow svg { width: 22px; height: 22px; fill: currentColor; }
.testimonial-arrow:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: scale(1.08);
}

/* Mobile: disable parallax (it looks bad on iOS) */
@media (max-width: 768px) {
  .testimonials-section { background-attachment: scroll; padding: 60px 0; }
  .testimonials-slider  { min-height: 280px; }
}

/* About teaser with photo */
.about-teaser-inner.has-image {
  grid-template-columns: 1fr 1fr 1fr;
}
.about-teaser-photo {
  border-radius: 12px;
  overflow: hidden;
  max-height: 340px;
}
.about-teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .section-intro-with-image { grid-template-columns: 1fr; }
  .about-teaser-inner.has-image { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPLIANCE TICKER
============================================================ */
.compliance-section {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
[data-theme="dark"] .compliance-section { background: var(--bg); border-color: var(--border); }
.compliance-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}
.compliance-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: compliance-scroll 40s linear infinite;
}
.compliance-bar:hover .compliance-track { animation-play-state: paused; }
@keyframes compliance-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.compliance-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
}
.compliance-logo img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.55);
  transition: filter .3s;
}
.compliance-bar:hover .compliance-logo img { filter: grayscale(100%) opacity(.8); }
[data-theme="dark"] .compliance-bar { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .compliance-logo img { filter: grayscale(100%) opacity(.4) invert(1); }
[data-theme="dark"] .compliance-bar:hover .compliance-logo img { filter: grayscale(100%) opacity(.65) invert(1); }

/* ============================================================
   CREDIBILITY BAR
============================================================ */
.credibility-bar {
  background: var(--blue-light);
  border-top: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  padding: 22px 0;
  text-align: center;
}
.credibility-bar p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}

/* ============================================================
   SERVICE CARDS GRID
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; fill: #fff; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-light);
}
.card-link::after { content: '→'; }

/* ============================================================
   WHY SECTION
============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 48px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; fill: var(--navy); }
.why-item h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-item p  { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ============================================================
   ABOUT TEASER
============================================================ */
.about-teaser {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: 80px 0;
}
.about-teaser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-teaser h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.about-teaser p  { font-size: 16px; opacity: .88; line-height: 1.7; margin-bottom: 28px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-stat {
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.15);
}
.about-stat .num { font-size: 32px; font-weight: 800; margin-bottom: 4px; }
.about-stat .lbl { font-size: 13px; opacity: .8; }

/* ============================================================
   SERVICE FEATURES GRID
============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.feature-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue-light);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--blue-light);
  border-radius: 50%;
}
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* Lab categories */

/* ============================================================
   CONTACT CTA
============================================================ */
.contact-cta { background: var(--gray-light); padding: 80px 0; }
.contact-cta-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-cta h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.contact-cta p  { font-size: 16px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-info-item svg { min-width: 20px; fill: var(--blue-light); margin-top: 2px; }
.contact-info-item span { font-size: 15px; color: var(--text-mid); }
.contact-info-item strong { color: var(--text); }

/* ============================================================
   FORM CARD
============================================================ */
.form-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); font-family: 'Montserrat', sans-serif; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus  { border-color: var(--blue-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .5px;
}
.form-submit:hover { background: var(--navy-dark); }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.about-intro-text p  { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--gray-light), var(--gray-mid));
  border-radius: 16px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px dashed var(--border);
}

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: 48px; }
.team-card {
  text-align: center;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  display: block;
}
.team-avatar-initial {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--blue-light));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.employee-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.employee-card h4 { margin-bottom: 2px; }
.employee-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin: 2px 0 6px;
}
.employee-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-top: 12px;
}
[data-theme="dark"] .employee-title { color: var(--blue-light); }
.team-card h4   { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--text-light); }

/* ============================================================
   CAREERS PAGE
============================================================ */
.careers-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.careers-intro h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.careers-intro p  { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.careers-img-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jobs-section h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 32px; }

.wylf-block { max-width: 820px; }
.wylf-block h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.wylf-block p  { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
[data-theme="dark"] .wylf-block h2 { color: var(--text); }
[data-theme="dark"] .wylf-block p  { color: var(--text-mid); }

.careers-apply-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.careers-apply-grid > div:first-child h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.careers-apply-grid > div:first-child p  { font-size: 16px; color: var(--text-mid); line-height: 1.75; }

.file-input-wrap { position: relative; }
.file-input-wrap input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-input-label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-card); color: var(--text-mid);
  font-size: 14px; font-family: 'Inter', sans-serif; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.file-input-label:hover { border-color: var(--green); background: var(--bg); }
.file-input-wrap input[type="file"]:focus-visible + .file-input-label { outline: 2px solid var(--green); outline-offset: 2px; }
.file-input-label svg { flex-shrink: 0; color: var(--green); }
.job-listing {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.job-listing:hover { box-shadow: var(--shadow-md); }
.job-listing .btn { flex-shrink: 0; }
.job-meta h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.job-meta h3 a { color: inherit; text-decoration: none; transition: color .15s; }
.job-meta h3 a:hover { color: var(--blue); }
.job-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-blue  { background: #EFF6FF; color: var(--blue); }
.badge-green { background: #F0FDF4; color: #16A34A; }
.badge-gray  { background: var(--gray-light); color: var(--text-mid); }
.job-listing > .job-meta > p { font-size: 14px; color: var(--text-mid); margin-top: 8px; line-height: 1.6; max-width: 560px; }
.job-detail { margin-top: 36px; max-width: 560px; }
.job-detail-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); margin-bottom: 4px; }
[data-theme="dark"] .job-detail-label { color: var(--text); }
.job-detail p { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin: 0; }
.job-bullet-list { margin: 0; padding-left: 20px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.job-bullet-list li { margin-bottom: 4px; }

/* ============================================================
   BLOG — archive feed + single post
============================================================ */

/* Filter bar */
.blog-filter-bar {
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.blog-filter-bar .container { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
  text-decoration: none;
}
.blog-filter-btn:hover,
.blog-filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
[data-theme="dark"] .blog-filter-btn { background: var(--bg-card); color: var(--text-mid); }
[data-theme="dark"] .blog-filter-btn:hover,
[data-theme="dark"] .blog-filter-btn.active { background: var(--blue-light); border-color: var(--blue-light); color: #fff; }

/* Post card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.blog-card-body { padding: 22px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.blog-card-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--blue-light); }
.blog-card-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.6; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: var(--blue-light);
  text-decoration: none;
  transition: gap .15s;
}
.blog-card-link:hover { gap: 7px; }
.blog-card-link svg { width: 15px; height: 15px; fill: currentColor; }

/* Dark mode card overrides */
[data-theme="dark"] .blog-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .blog-card-title { color: var(--text); }

/* Pagination */
.blog-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.blog-pagination .page-numbers svg { width: 18px; height: 18px; fill: currentColor; }
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Single post layout */
.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.blog-post-content { min-width: 0; }

/* Hero category + meta on single post */
.blog-hero-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.blog-hero-meta { font-size: 14px; opacity: .75; margin-top: 10px; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.blog-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.blog-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  margin-bottom: 14px;
}
.blog-author { display: flex; gap: 14px; align-items: flex-start; }
.blog-author-avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.blog-author strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.blog-author p { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin: 0; }
.blog-sidebar-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-related-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .15s;
}
.blog-related-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-related-item:hover { color: var(--blue-light); }
.blog-related-thumb { width: 54px; height: 54px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.blog-related-thumb img { width: 100%; height: 100%; object-fit: cover; }

[data-theme="dark"] .blog-sidebar-card { background: var(--bg-card); border-color: var(--border); }

/* ============================================================
   ENTRY CONTENT — generic styling for rich-text page content
   (privacy policy, terms, etc.) so pasted/editor markup
   (incl. Lexical__* classes) inherits the site's look & feel
   ============================================================ */
.entry-content { font-size: 16px; line-height: 1.75; color: var(--text-mid); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 18px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 36px 0 14px;
}
[data-theme="dark"] .entry-content h1,
[data-theme="dark"] .entry-content h2,
[data-theme="dark"] .entry-content h3,
[data-theme="dark"] .entry-content h4 { color: var(--text); }
.entry-content h1 { font-size: 30px; }
.entry-content h2 { font-size: 24px; }
.entry-content h3 { font-size: 19px; }
.entry-content h4 { font-size: 16px; }
.entry-content strong, .entry-content b { color: var(--text); font-weight: 700; }
.entry-content a { color: var(--blue-light); text-decoration: underline; }
.entry-content a:hover { color: var(--blue); }
.entry-content ul, .entry-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
  list-style: disc outside;
}
.entry-content ol { list-style: decimal outside; }
.entry-content ul ul, .entry-content ol ul { list-style: circle outside; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote {
  margin: 0 0 18px;
  padding: 12px 20px;
  border-left: 3px solid var(--blue-light);
  background: var(--gray-light);
  color: var(--text-mid);
  font-style: italic;
}
.entry-content hr { border: none; border-top: 1px solid var(--gray-mid); margin: 32px 0; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15px;
}
.entry-content th, .entry-content td {
  border: 1px solid var(--gray-mid);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.entry-content th, .entry-content td > p:last-child { margin-bottom: 0; }
.entry-content thead th, .entry-content tr:first-child th {
  background: var(--gray-light);
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
}
[data-theme="dark"] .entry-content thead th,
[data-theme="dark"] .entry-content tr:first-child th { color: var(--text); }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.job-expiration { font-size: 13px; color: var(--text-mid); margin-top: 14px; font-style: italic; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-sidebar h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-sidebar p  { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: #fff; }
.contact-detail-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-detail-item p  { font-size: 14px; color: var(--text-mid); margin: 0; }

/* ============================================================
   SERVICES OVERVIEW PAGE
============================================================ */
.tech-section { background: var(--navy); color: #fff; padding: 80px 0; }
.tech-section .section-label { color: var(--blue-light); }
.tech-section .section-title { color: #fff; }
.tech-section .section-sub   { color: rgba(255,255,255,.8); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px; }
.tech-points { display: flex; flex-direction: column; gap: 20px; }
.tech-point { display: flex; gap: 14px; align-items: flex-start; }
.tech-point-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-point-icon svg { width: 20px; height: 20px; fill: var(--blue-light); }
.tech-point h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.tech-point p  { font-size: 14px; opacity: .8; line-height: 1.6; }
.tech-img-placeholder {
  background: rgba(255,255,255,.06);
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: 16px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.all-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 48px; }
.all-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 22px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.all-service-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.all-service-card .as-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--blue-light));
  border-radius: 10px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.all-service-card .as-icon svg { width: 24px; height: 24px; fill: #fff; }
.all-service-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.all-service-card p  { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.all-service-card .as-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
  transition: gap .15s;
}
.all-service-card .as-link svg { width: 15px; height: 15px; fill: currentColor; }
.all-service-card:hover .as-link { gap: 9px; }

/* ============================================================
   SERVICES COMBINED PAGE
============================================================ */
.services-jumpnav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
[data-theme="dark"] .services-jumpnav { background: var(--bg-card); }
.services-jumpnav .container { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; padding-top: 0; padding-bottom: 0; }
.services-jumpnav .container::-webkit-scrollbar { display: none; }
.services-jumpnav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.services-jumpnav-link svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.services-jumpnav-link:hover { color: var(--navy); }
.services-jumpnav-link.active { color: var(--navy); border-bottom-color: var(--navy); }
[data-theme="dark"] .services-jumpnav-link:hover,
[data-theme="dark"] .services-jumpnav-link.active { color: var(--blue-light); border-bottom-color: var(--blue-light); }

.service-section-header { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.service-section-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-section-icon svg { width: 28px; height: 28px; fill: #fff; }

/* offset for sticky header + jump nav */
.services-jumpnav ~ section[id] { scroll-margin-top: 125px; }

@media (max-width: 768px) {
  .services-jumpnav { position: relative; }
  .services-jumpnav .container { justify-content: flex-start; }
  .services-jumpnav::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 48px;
    background: linear-gradient(to right, transparent, var(--bg-card));
    pointer-events: none;
  }
  .services-jumpnav-link { padding: 12px 16px; font-size: 12px; }
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--navy-dark); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.social-btn:hover { background: var(--blue-light); color: #fff; }
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item svg { min-width: 16px; fill: var(--blue-light); margin-top: 2px; }
.footer-contact-item span { font-size: 14px; color: rgba(255,255,255,.7); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   OUR ADVANTAGE PAGE — ACCORDION
============================================================ */
.adv-accordion { border-top: 1px solid var(--border); }

.adv-acc-item { border-bottom: 1px solid var(--border); }

.adv-acc-header {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.adv-acc-header:hover .adv-acc-title { color: var(--navy); }
[data-theme="dark"] .adv-acc-header:hover .adv-acc-title { color: var(--blue-light); }

.adv-acc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .2s;
}
.adv-acc-icon svg { width: 22px; height: 22px; fill: #fff; }

.adv-acc-title {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  transition: color .2s;
}

.adv-acc-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .35s cubic-bezier(.22,1,.36,1);
}
.adv-acc-chevron svg { width: 16px; height: 16px; fill: var(--text-mid); }
[data-theme="dark"] .adv-acc-chevron { background: var(--gray-mid); }
.adv-acc-item.open .adv-acc-chevron { transform: rotate(180deg); background: var(--navy); }
.adv-acc-item.open .adv-acc-chevron svg { fill: #fff; }
[data-theme="dark"] .adv-acc-item.open .adv-acc-chevron { background: var(--blue); }

.adv-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.adv-acc-item.open .adv-acc-body { max-height: 600px; }

.adv-acc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  padding: 4px 0 36px 66px;
}

.adv-acc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.adv-acc-label { display: flex; align-items: center; gap: 6px; }
.adv-acc-label svg { width: 14px; height: 14px; flex-shrink: 0; }
.adv-acc-label-challenge { color: #c0392b; }
.adv-acc-label-challenge svg { fill: #c0392b; }
.adv-acc-label-advantage { color: #3a7d28; }
.adv-acc-label-advantage svg { fill: #3a7d28; }
[data-theme="dark"] .adv-acc-label-challenge { color: #e05555; }
[data-theme="dark"] .adv-acc-label-challenge svg { fill: #e05555; }
[data-theme="dark"] .adv-acc-label-advantage { color: var(--green); }
[data-theme="dark"] .adv-acc-label-advantage svg { fill: var(--green); }

.adv-acc-challenge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adv-acc-challenge-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.adv-acc-challenge-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-mid);
}

.adv-acc-advantage-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .adv-acc-content { grid-template-columns: 1fr; gap: 24px; padding-left: 0; }
}
@media (max-width: 900px) {
  .about-teaser-inner,
  .about-intro,
  .contact-cta-inner,
  .contact-page-grid,
  .tech-grid,
  .careers-intro-inner,
  .careers-apply-grid { grid-template-columns: 1fr; }
  .about-img-placeholder,
  .careers-img-placeholder,
  .tech-img-placeholder { height: 220px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .job-listing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 16px;
    gap: 2px;
    border-top: 1px solid var(--border);
  }
  .primary-nav.open > li { display: flex; flex-direction: column; }
  .primary-nav.open > li > a { flex: 1; border-radius: var(--radius); text-align: left; }
  .primary-nav > li.menu-item-has-children { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .primary-nav > li.menu-item-has-children > a { display: block; }
  .primary-nav > li.menu-item-has-children > a::after { display: none; }
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    transition: background .15s, transform .2s;
  }
  .submenu-toggle svg { fill: currentColor; }
  .submenu-toggle:hover { background: var(--gray-light); }
  .menu-item-has-children.open .submenu-toggle { transform: rotate(180deg); }
  .primary-nav .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin-left: 16px;
    padding: 4px 0;
    width: 100%;
  }
  .primary-nav > li.menu-item-has-children:hover .sub-menu { display: none; }
  .primary-nav > li.menu-item-has-children.open .sub-menu  { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.25); width: 100%; }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-home { padding: 60px 0; }
  .section { padding: 50px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
  .adv-acc-title { font-size: 15px; }
  .adv-acc-header { gap: 12px; padding: 18px 0; }
}
