/*
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; }
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:        #B6D18F;
  --green-dark:   #8fb86a;
  --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       { color: var(--text); }
[data-theme="dark"] .about-intro-text p,
[data-theme="dark"] .careers-intro p,
[data-theme="dark"] .contact-sidebar 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 { background: var(--gray-mid); color: #fff; }
[data-theme="dark"] .sub-menu              { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .sub-menu li a         { color: #CBD5E1; }
[data-theme="dark"] .sub-menu li a:hover   { background: var(--gray-mid); }
[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; }

/* 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 { color: #CBD5E1; }
.topbar a:hover { color: #fff; }

/* ============================================================
   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 img { height: 44px; width: auto; 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,
.primary-nav > li.current-menu-item > a,
.primary-nav > li.current-menu-ancestor > a { color: var(--navy); 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 */
.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;
}
.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 {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
  color: #fff;
}
.testimonial-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.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-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.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); }

/* 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; }
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar { background: var(--blue-light); padding: 28px 0; }
.stats-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.stat-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.3);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: #fff;
}
.stat-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }

/* ============================================================
   SERVICE CARDS GRID
============================================================ */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 48px;
}
.services-grid .service-card { flex: 0 1 calc(20% - 18px); min-width: 200px; }

.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 */
.lab-categories { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.lab-cat {
  padding: 7px 16px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   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;
}
.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; }
.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-meta h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.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 > p { font-size: 14px; color: var(--text-mid); margin-top: 8px; line-height: 1.6; max-width: 560px; }

/* ============================================================
   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: center;
  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 auto 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; }

/* ============================================================
   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); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services-grid .service-card { flex: 0 1 calc(33.333% - 16px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-teaser-inner,
  .about-intro,
  .contact-cta-inner,
  .contact-page-grid,
  .tech-grid,
  .careers-intro-inner { 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;
    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 > a { border-radius: var(--radius); }
  .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;
  }
  .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; }
  .services-grid .service-card { flex: 0 1 calc(50% - 12px); }
}
@media (max-width: 480px) {
  .services-grid .service-card { flex: 0 1 100%; }
}
