/* ==========================================================================
   PetroQuip Oil & Gas Services Limited
   Enterprise Design System — Official Brand Colours
   Version 4.0 | 2025
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette — Official PetroQuip Identity (Revised Logo 2025) */
  --pq-navy:          #0A1F44;   /* deep corporate navy (hero, dark sections) */
  --pq-navy-mid:      #0D2756;
  --pq-navy-light:    #14336B;
  --pq-blue:          #2A3B9F;   /* logo cobalt blue — "PETRO" + icon ring */
  --pq-blue-light:    #3D50C3;

  /* Official Teal — "QUIP" + subtitle + triangle (from revised logo 2025) */
  --pq-teal:          #1CB8A6;   /* primary brand teal */
  --pq-teal-dark:     #17998A;   /* hover state */
  --pq-teal-mid:      #22CDB9;   /* mid teal highlight */
  --pq-teal-light:    #44D9C8;   /* light teal */
  --pq-teal-pale:     #E0F7F5;   /* pale teal background tint */

  /* Secondary — teal mapped for UI consistency */
  --pq-green:         #1CB8A6;   /* = teal (logo uses teal not green) */
  --pq-green-dark:    #17998A;
  --pq-green-light:   #44D9C8;
  --pq-green-pale:    #E0F7F5;

  /* Legacy gold kept for subtle accents only */
  --pq-gold:          #E8A020;
  --pq-gold-dark:     #C8841A;
  --pq-gold-light:    #F5C842;
  --pq-gold-pale:     #FDF3DC;

  /* Neutral Scale */
  --pq-white:         #FFFFFF;
  --pq-off-white:     #F8FAFC;
  --pq-gray-50:       #F1F5F9;
  --pq-gray-100:      #E2E8F0;
  --pq-gray-200:      #CBD5E1;
  --pq-gray-400:      #94A3B8;
  --pq-gray-600:      #475569;
  --pq-gray-800:      #1E293B;
  --pq-gray-900:      #0F172A;

  /* Semantic */
  --color-success:    #059669;
  --color-warning:    #D97706;
  --color-danger:     #DC2626;
  --color-info:       #0284C7;

  /* Typography */
  --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:     'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;

  /* Layout */
  --container:        1320px;
  --container-narrow: 960px;
  --nav-h:            76px;
  --section-pad:      100px;

  /* Elevation / Shadows */
  --shadow-xs:   0 1px 2px rgba(10,31,68,.08);
  --shadow-sm:   0 2px 8px rgba(10,31,68,.10), 0 1px 3px rgba(10,31,68,.06);
  --shadow-md:   0 4px 20px rgba(10,31,68,.12), 0 2px 8px rgba(10,31,68,.08);
  --shadow-lg:   0 12px 40px rgba(10,31,68,.15), 0 4px 12px rgba(10,31,68,.10);
  --shadow-xl:   0 24px 64px rgba(10,31,68,.20), 0 8px 24px rgba(10,31,68,.12);
  --shadow-teal: 0 4px 20px rgba(28,184,166,.30);
  --shadow-gold: 0 4px 20px rgba(232,160,32,.30);

  /* Radii */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 9999px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0.0, 0, 0.2, 1);
  --t-fast:     150ms;
  --t-base:     250ms;
  --t-slow:     400ms;
  --t-slower:   600ms;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--pq-gray-800);
  background: var(--pq-white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pq-gray-100); }
::-webkit-scrollbar-thumb { background: var(--pq-navy-light); border-radius: var(--r-pill); }

/* Selection */
::selection { background: var(--pq-teal); color: var(--pq-white); }

/* Focus */
:focus-visible { outline: 2px solid var(--pq-teal); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--pq-teal), var(--pq-teal-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   4. PRELOADER
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--pq-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity var(--t-slower) var(--ease), visibility var(--t-slower) var(--ease);
}

#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner {
  text-align: center;
  animation: fadeInUp 0.5s var(--ease) forwards;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.preloader-logo .p1 { color: #fff; }
.preloader-logo .p2 { color: var(--pq-green-light); }

.preloader-tagline {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.preloader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pq-teal-dark), var(--pq-teal-light));
  border-radius: var(--r-pill);
  animation: barLoad 1.8s var(--ease) forwards;
}

@keyframes barLoad {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* --------------------------------------------------------------------------
   5. NAVIGATION — White Professional Theme
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease);
  padding: 0;
}

/* On hero pages the navbar starts transparent/white-tinted then becomes solid white */
.navbar.transparent {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 0 var(--pq-gray-100), var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar.solid {
  background: var(--pq-white);
  box-shadow: 0 1px 0 var(--pq-gray-100), var(--shadow-sm);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--pq-gray-100), var(--shadow-md);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Brand / Logo */
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo { height: 44px; width: auto; }
.nav-logo-full {
  height: 52px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  /* Clean logo display — no border, no box, blends with white navbar */
  mix-blend-mode: normal;
  filter: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.nav-logo-text .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: var(--pq-white);
  line-height: 1;
}
.nav-logo-text .brand-name span { color: var(--pq-green-light); }
.nav-logo-text .brand-sub {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--pq-navy);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pq-blue);
  background: rgba(43,59,159,.06);
}

.nav-link i { font-size: 0.6rem; transition: transform var(--t-fast) var(--ease); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 580px;
  background: var(--pq-white);
  border: 1px solid var(--pq-gray-100);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-size: 0.8rem;
  color: var(--pq-gray-800);
  transition: all var(--t-fast) var(--ease);
  border-bottom: 1px solid var(--pq-gray-100);
}
.dropdown-item:hover { background: var(--pq-teal-pale); color: var(--pq-blue); }
.dropdown-item i { width: 16px; font-size: 0.75rem; color: var(--pq-teal); opacity: 0.8; }
.dropdown-item:hover i { opacity: 1; color: var(--pq-blue); }
.dropdown-col {
  display: flex;
  flex-direction: column;
}
.dropdown-col + .dropdown-col {
  border-left: 1px solid var(--pq-gray-100);
}
.dropdown-category {
  padding: 8px 18px 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pq-blue);
  background: var(--pq-gray-50);
  border-bottom: 1px solid var(--pq-gray-100);
}
.dropdown-item-sub {
  font-size: 0.72rem;
  color: var(--pq-gray-400);
  padding: 0 18px 8px 46px;
  line-height: 1.5;
  border-bottom: 1px solid var(--pq-gray-100);
}

/* Blue accent bar under active page */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--pq-blue);
  border-radius: var(--r-pill);
}

/* CTA Button */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pq-navy);
  border-radius: var(--r-pill);
  transition: all var(--t-base) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--r-sm);
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--pq-teal);
  color: var(--pq-white);
  border-color: var(--pq-teal);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  background: var(--pq-teal-mid);
  border-color: var(--pq-teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,127,110,.45);
}

.btn-outline {
  background: transparent;
  color: var(--pq-blue);
  border-color: var(--pq-blue);
}
.btn-outline:hover {
  background: var(--pq-blue);
  color: var(--pq-white);
  border-color: var(--pq-blue);
  transform: translateY(-2px);
}
/* Inside dark sections, use white outline variant */
.bg-navy .btn-outline,
.bg-pattern .btn-outline,
.hero .btn-outline {
  color: var(--pq-white);
  border-color: rgba(255,255,255,.55);
}
.bg-navy .btn-outline:hover,
.bg-pattern .btn-outline:hover,
.hero .btn-outline:hover {
  border-color: var(--pq-teal-light);
  color: var(--pq-teal-light);
  background: transparent;
}

.btn-outline-dark {
  background: transparent;
  color: var(--pq-navy);
  border-color: var(--pq-navy);
}
.btn-outline-dark:hover {
  background: var(--pq-navy);
  color: var(--pq-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--pq-white);
  border-color: transparent;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 0.78rem; }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-xl { padding: 18px 44px; font-size: 1rem; }

.btn i { font-size: 0.9em; }

/* --------------------------------------------------------------------------
   7. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--section-pad) 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 140px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pq-teal);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pq-teal);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--pq-navy);
  margin-bottom: 20px;
}

.section-title-light { color: var(--pq-white); }
.section-title em { color: var(--pq-teal); font-style: normal; }

.section-desc {
  font-size: 1.05rem;
  color: var(--pq-gray-600);
  line-height: 1.75;
  max-width: 640px;
}
.section-desc-light { color: rgba(255,255,255,.7); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Flex helpers */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* Text */
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }

/* --------------------------------------------------------------------------
   8. HERO — Full-Screen, SLB-Grade
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pq-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 8s ease;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,31,68,.90) 0%,
    rgba(10,31,68,.75) 40%,
    rgba(10,31,68,.45) 100%
  );
}

.hero-bg-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--pq-navy), transparent);
}

/* Particle canvas */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,127,110,.15);
  border: 1px solid rgba(27,127,110,.35);
  color: var(--pq-teal-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 0.9em; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--pq-white);
  margin-bottom: 28px;
  max-width: 800px;
}

.hero-title .accent { color: var(--pq-teal-light); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Hero Stats Strip */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  flex: 1;
  min-width: 120px;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-stat:last-child { border-right: none; padding-right: 0; }

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pq-teal-light);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll i { color: var(--pq-teal-light); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --------------------------------------------------------------------------
   9. TRUST BAR / CLIENTS
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--pq-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--pq-gray-100);
  overflow: hidden;
}

.trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pq-gray-400);
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--pq-gray-200);
  flex-shrink: 0;
}

.trust-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scrollTrack 30s linear infinite;
  width: max-content;
}

.trust-track:hover { animation-play-state: paused; }

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
  white-space: nowrap;
}
.trust-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.trust-item img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}
.trust-item-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pq-navy);
  white-space: nowrap;
  padding: 4px 0;
}

@keyframes scrollTrack {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Client logo cards — projects page */
.client-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px 18px;
  min-height: 110px;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  cursor: default;
}
.client-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-3px);
  border-color: rgba(27,127,110,.25);
}
.client-item img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--t-base) var(--ease);
}
.client-item:hover img {
  filter: grayscale(0%);
}
.client-item-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--pq-gray-500);
  text-align: center;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   10. SERVICE CARDS — SLB-style
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--pq-gray-100);
  border: 1px solid var(--pq-gray-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.service-card {
  background: var(--pq-white);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--pq-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.service-card:hover {
  background: var(--pq-off-white);
  transform: translateY(-4px);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--pq-teal-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--t-base) var(--ease);
}
.service-icon i { font-size: 1.4rem; color: var(--pq-teal-dark); }
.service-card:hover .service-icon { background: var(--pq-teal); }
.service-card:hover .service-icon i { color: var(--pq-white); }

.service-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pq-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--pq-gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pq-teal-dark);
  transition: gap var(--t-fast) var(--ease);
}
.service-card:hover .service-link { gap: 10px; }

/* --------------------------------------------------------------------------
   11. FEATURE CARDS / STAT CARDS
   -------------------------------------------------------------------------- */
.stat-card {
  text-align: center;
  padding: 40px 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(28,184,166,.4);
}

.stat-unit {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pq-teal-light);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}

/* Individual stat card with subtle glass border */
.bg-pattern .stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 40px 24px;
  backdrop-filter: blur(4px);
  transition: all var(--t-base) var(--ease);
}
.bg-pattern .stat-card:hover {
  background: rgba(28,184,166,.12);
  border-color: rgba(28,184,166,.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}

.feature-card {
  background: var(--pq-white);
  border: 1px solid var(--pq-gray-100);
  border-radius: var(--r-md);
  padding: 32px;
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.feature-card:hover {
  border-color: var(--pq-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   12. SECTION BACKGROUNDS — White/Light Theme
   -------------------------------------------------------------------------- */
.bg-navy   { background: var(--pq-navy); }        /* kept for footer/CTA only */
.bg-navy-mid { background: var(--pq-navy-mid); }  /* kept for footer */
.bg-dark   { background: var(--pq-gray-900); }    /* kept for footer */
.bg-light  { background: var(--pq-gray-50); }     /* alternating light section */
.bg-white  { background: var(--pq-white); }
/* bg-pattern: rich branded gradient for KPI/stats sections — cobalt-blue to deep teal */
.bg-pattern {
  background-color: var(--pq-navy-mid);
  background-image:
    linear-gradient(135deg, #1a2d82 0%, #0d2756 45%, #0e5a50 100%);
  position: relative;
}
/* subtle decorative dot overlay on top of gradient */
.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(28,184,166,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.bg-pattern > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   13. PAGE HERO / INNER PAGES
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--pq-navy);
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pq-navy) 0%, var(--pq-navy-mid) 100%);
}

.page-hero-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.18;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,31,68,.95), rgba(10,31,68,.5));
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--pq-teal-light); }
.breadcrumb i { font-size: 0.6rem; }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--pq-white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-title em { color: var(--pq-teal-light); font-style: normal; }

.page-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. CARDS — General
   -------------------------------------------------------------------------- */
.card {
  background: var(--pq-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.card-img-wrap { position: relative; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card:hover .card-img-wrap img { transform: scale(1.05); }

.card-body { padding: 28px; }
.card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pq-teal-dark); margin-bottom: 10px; }
.card-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--pq-navy); margin-bottom: 10px; line-height: 1.3; }
.card-desc { font-size: 0.85rem; color: var(--pq-gray-600); line-height: 1.65; }

/* --------------------------------------------------------------------------
   15. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--pq-white);
  border: 1px solid var(--pq-gray-100);
  border-radius: var(--r-md);
  padding: 36px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; left: 32px;
  font-size: 5rem;
  line-height: 1;
  color: var(--pq-teal);
  opacity: 0.2;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.95rem; color: var(--pq-gray-600); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--pq-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pq-teal);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.875rem; color: var(--pq-navy); }
.testimonial-role { font-size: 0.75rem; color: var(--pq-gray-400); }

/* --------------------------------------------------------------------------
   16. TABS
   -------------------------------------------------------------------------- */
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--pq-gray-100);
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 14px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pq-gray-600);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--pq-navy); }
.tab-btn.active { color: var(--pq-teal-dark); border-bottom-color: var(--pq-teal); }

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s var(--ease); }

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

/* --------------------------------------------------------------------------
   17. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.accordion-item {
  border: 1px solid var(--pq-gray-100);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease);
}
.accordion-item.open { box-shadow: var(--shadow-md); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--pq-white);
  transition: background var(--t-fast) var(--ease);
}
.accordion-header:hover { background: var(--pq-gray-50); }

.accordion-title { font-weight: 600; font-size: 0.925rem; color: var(--pq-navy); }

.accordion-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pq-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base) var(--ease);
}
.accordion-icon i { font-size: 0.7rem; color: var(--pq-gray-600); transition: transform var(--t-base) var(--ease); }
.accordion-item.open .accordion-icon { background: var(--pq-teal); }
.accordion-item.open .accordion-icon i { color: var(--pq-white); transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}
.accordion-body-inner { padding: 0 24px 20px; font-size: 0.875rem; color: var(--pq-gray-600); line-height: 1.75; }

/* --------------------------------------------------------------------------
   18. FORM ELEMENTS
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--pq-gray-800); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-label span { color: var(--color-danger); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--pq-gray-800);
  background: var(--pq-white);
  border: 1.5px solid var(--pq-gray-200);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
  outline: none;
}
.form-control:focus { border-color: var(--pq-blue-light); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-control.error { border-color: var(--color-danger); }
.form-control::placeholder { color: var(--pq-gray-400); }

textarea.form-control { resize: vertical; min-height: 130px; }

select.form-control { cursor: pointer; }

/* --------------------------------------------------------------------------
   19. BADGES & TAGS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.badge-gold { background: var(--pq-teal-pale); color: var(--pq-teal-dark); }
.badge-navy { background: rgba(10,31,68,.1); color: var(--pq-navy); }
.badge-success { background: rgba(5,150,105,.1); color: var(--color-success); }
.badge-light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------------------
   20. CERTIFICATIONS / ICON BLOCKS
   -------------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.cert-item {
  background: var(--pq-white);
  border: 1px solid var(--pq-gray-100);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
  transition: all var(--t-base) var(--ease);
}
.cert-item:hover { border-color: var(--pq-teal); box-shadow: var(--shadow-teal); }

.cert-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: var(--pq-teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-icon i { color: var(--pq-teal-dark); font-size: 1.2rem; }

.cert-name { font-weight: 700; font-size: 0.85rem; color: var(--pq-navy); margin-bottom: 4px; }
.cert-body { font-size: 0.72rem; color: var(--pq-gray-400); }

/* --------------------------------------------------------------------------
   21. TIMELINE
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pq-teal), var(--pq-navy-light));
}

.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 18px; height: 18px;
  background: var(--pq-teal);
  border: 3px solid var(--pq-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--pq-teal);
}
.timeline-year { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; color: var(--pq-teal); margin-bottom: 6px; }
.timeline-title { font-weight: 700; font-size: 0.95rem; color: var(--pq-navy); margin-bottom: 6px; }
.timeline-desc { font-size: 0.85rem; color: var(--pq-gray-600); line-height: 1.65; }

/* --------------------------------------------------------------------------
   22. CONTACT / MAP SECTION
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

.contact-info {
  background: var(--pq-navy);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,160,32,.08), transparent 70%);
  pointer-events: none;
}

.contact-form-wrap { padding: 64px; background: var(--pq-white); }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(232,160,32,.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon i { color: var(--pq-teal); font-size: 1rem; }
.contact-detail-title { font-weight: 700; font-size: 0.8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-detail-value { font-size: 0.875rem; color: var(--pq-white); line-height: 1.6; }

/* --------------------------------------------------------------------------
   23. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--pq-gray-900);
  color: rgba(255,255,255,.65);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.footer-brand .footer-logo { height: 52px; width: auto; max-width: 260px; object-fit: contain; margin-bottom: 24px; display: block; background: transparent; padding: 0; border-radius: 0; mix-blend-mode: normal; filter: none; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  transition: all var(--t-fast) var(--ease);
}
.social-link:hover { background: var(--pq-teal); color: var(--pq-white); }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pq-white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 0.825rem; color: rgba(255,255,255,.5); transition: color var(--t-fast) var(--ease); }
.footer-link:hover { color: var(--pq-teal-light); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,.35); transition: color var(--t-fast) var(--ease); }
.footer-legal a:hover { color: var(--pq-teal-light); }

/* CTA section override — cobalt-blue to teal gradient */
.cta-section {
  background: linear-gradient(135deg, var(--pq-blue) 0%, var(--pq-teal-dark) 100%) !important;
}

/* ── Teal accent rule for section labels on white backgrounds ── */
.section-label { color: var(--pq-teal-dark); }

/* ── Cohesive brand tint on alternating sections ── */
.bg-light {
  background: linear-gradient(180deg, var(--pq-off-white) 0%, #eaf6f5 100%);
}

/* ── Service section: light teal-tinted background for service overview grid ── */
.services-overview-bg {
  background: linear-gradient(180deg, var(--pq-white) 0%, var(--pq-teal-pale) 100%);
}

/* ── Section title accent em tag (brand teal) ── */
.section-title em {
  color: var(--pq-teal-dark);
  font-style: normal;
}
.section-title-light em {
  color: var(--pq-teal-light);
  font-style: normal;
}

/* ── Section accent bar (replaces gold-line for brand consistency) ── */
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--pq-teal), var(--pq-blue));
  border-radius: var(--r-pill);
  margin: 14px 0 28px;
}
.gold-line.center { margin: 14px auto 28px; }

/* ── Teal highlight-bar ── */
.highlight-bar {
  background: linear-gradient(90deg, var(--pq-teal), var(--pq-blue));
}

/* --------------------------------------------------------------------------
   Certifications strip in footer — ISO seal style */
.footer-certs {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Each cert badge is a small vertical seal card */
.footer-cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 68px;
  padding: 10px 6px 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(28,184,166,.25);
  border-top: 2px solid var(--pq-teal);
  border-radius: var(--r-sm);
  cursor: default;
  transition: all var(--t-fast) var(--ease);
  text-align: center;
  text-decoration: none;
}
.footer-cert-badge:hover {
  background: rgba(28,184,166,.12);
  border-color: var(--pq-teal-light);
  transform: translateY(-2px);
}
.footer-cert-badge .cert-icon-wrap {
  width: 30px;
  height: 30px;
  background: rgba(28,184,166,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-cert-badge .cert-icon-wrap i {
  font-size: 0.85rem;
  color: var(--pq-teal-light);
}
.footer-cert-badge .cert-name {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.footer-cert-badge .cert-sub {
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   24. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* AOS fallback when not loaded */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   25. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-gold   { color: var(--pq-teal); }
.text-navy   { color: var(--pq-navy); }
.text-white  { color: var(--pq-white); }
.text-muted  { color: var(--pq-gray-400); }
.text-light  { color: rgba(255,255,255,.65); }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.font-display { font-family: var(--font-display); }

.divider {
  height: 1px;
  background: var(--pq-gray-100);
  margin: 48px 0;
}
.divider-light {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 48px 0;
}

.highlight-bar {
  display: inline-block;
  background: linear-gradient(90deg, var(--pq-teal), var(--pq-teal-light));
  height: 4px;
  width: 48px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--pq-teal);
  border-radius: var(--r-pill);
  margin: 16px 0 28px;
}
.gold-line.center { margin: 16px auto 28px; }

/* Numbered list */
.numbered-list { counter-reset: item; }
.numbered-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--pq-gray-600);
  line-height: 1.65;
  counter-increment: item;
}
.numbered-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pq-teal-dark);
  line-height: 1.8;
}

/* Check list */
.check-list { }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--pq-gray-600);
  line-height: 1.65;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--pq-teal-pale);
  border: 2px solid var(--pq-teal);
}
.check-list li::after {
  content: '✓';
  position: absolute;
  left: 2px; top: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--pq-teal-dark);
}

/* --------------------------------------------------------------------------
   26. MOBILE-FIRST RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 72px; --nav-h: 70px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--pq-white);
    border-top: 1px solid var(--pq-gray-100);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--t-slow) var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0;
  }

  .nav-item { width: 100%; }

  .nav-link {
    padding: 14px 24px;
    width: 100%;
    font-size: 0.95rem;
    border-radius: 0;
  }

  .dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--pq-gray-50);
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .nav-dropdown.open .dropdown-panel { display: grid; }

  .dropdown-col + .dropdown-col { border-left: none; border-top: 1px solid var(--pq-gray-100); }
  .dropdown-item { padding: 10px 40px; font-size: 0.85rem; }
  .dropdown-item-sub { padding: 0 24px 8px 56px; }

  .nav-link.active::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 48px 32px; }
  .contact-form-wrap { padding: 48px 32px; }

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

@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .hero-stat { flex: 0 0 calc(50% - 12px); border-right: none; padding-right: 0; }

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

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

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

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

  .section-title { font-size: 2rem; }
  .page-hero-title { font-size: 2.2rem; }
  .hero-title { font-size: 2.4rem; }

  .trust-bar-inner { flex-direction: column; gap: 16px; }

  .tabs-nav { gap: 0; overflow-x: auto; }
  .tab-btn { padding: 12px 16px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-xl, .btn-lg { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-logo-full { height: 36px; max-width: 200px; }
}

/* --------------------------------------------------------------------------
   27. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  .navbar, #preloader, #scroll-progress, .hero-scroll, .footer { display: none !important; }
  body { padding-top: 0; }
  .hero { min-height: auto; height: auto; padding: 40px 0; }
  .hero-bg { display: none; }
}

/* ==========================================================================
   28. BRAND POLISH — Cohesive Logo-Matched Color Theme
   ========================================================================== */

/* ── Navbar: crisp white with cobalt-blue nav links ── */
.navbar.transparent,
.navbar.solid,
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--pq-gray-100), 0 2px 12px rgba(42,59,159,.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-link {
  color: var(--pq-navy);
  font-weight: 600;
}
.nav-link:hover,
.nav-link.active {
  color: var(--pq-blue);
  background: rgba(42,59,159,.07);
}
.nav-link.active::after {
  background: var(--pq-teal);
}

/* ── Logo: no box, no border, no background — blends naturally ── */
.nav-logo-full {
  height: 48px;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.footer-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  display: block;
  margin-bottom: 24px;
  object-fit: contain;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── Hero bottom gradient: fade to white (not navy) for clean transition ── */
.hero-bg-overlay-bottom {
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

/* ── Section titles: navy for headings, teal em accent ── */
.section-title { color: var(--pq-navy); }
.section-title em { color: var(--pq-teal); font-style: normal; }
.section-label {
  color: var(--pq-teal-dark);
}
.section-label::before {
  background: var(--pq-teal);
}

/* ── Gold-line (brand accent bar): teal gradient ── */
.gold-line {
  background: linear-gradient(90deg, var(--pq-teal), var(--pq-blue));
}

/* ── Trust / client bar: very subtle teal tint ── */
.trust-bar {
  background: linear-gradient(180deg, var(--pq-white) 0%, #f0fbfa 100%);
  border-bottom: 1px solid rgba(28,184,166,.12);
}

/* ── Service cards: teal top stripe on hover, teal icon bg ── */
.service-card::before { background: var(--pq-teal); }
.service-icon { background: rgba(28,184,166,.1); }
.service-icon i { color: var(--pq-teal); }
.service-card:hover .service-icon { background: var(--pq-teal); }
.service-card:hover .service-icon i { color: #fff; }
.service-link { color: var(--pq-teal-dark); }

/* ── Feature / cert cards: teal accent on hover ── */
.feature-card:hover { border-color: var(--pq-teal); }
.cert-item:hover { border-color: var(--pq-teal); box-shadow: 0 4px 20px rgba(28,184,166,.2); }

/* ── Buttons: vibrant teal primary ── */
.btn-primary {
  background: linear-gradient(135deg, var(--pq-teal) 0%, var(--pq-teal-dark) 100%);
  border-color: var(--pq-teal);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--pq-teal-mid) 0%, var(--pq-teal) 100%);
  border-color: var(--pq-teal-mid);
  box-shadow: 0 8px 28px rgba(28,184,166,.45);
}

/* ── CTA sections: cobalt-blue to teal gradient ── */
[style*="pq-navy) 0%,var(--pq-navy-mid)"],
[style*="pq-navy) 0%, var(--pq-navy-mid)"] {
  background: linear-gradient(135deg, var(--pq-blue) 0%, var(--pq-teal-dark) 100%) !important;
}

/* ── Footer: keep dark with teal accents ── */
.footer { background: var(--pq-gray-900); }
.footer-link:hover { color: var(--pq-teal-light); }
/* footer-cert-badge hover teal (see full definition above) */
.social-link:hover { background: var(--pq-teal); color: #fff; }

/* ── Scrollbar: teal thumb ── */
::-webkit-scrollbar-thumb { background: var(--pq-teal-dark); }

/* ── Page hero: keep dark with subtle teal glow ── */
.page-hero {
  background: linear-gradient(135deg, var(--pq-navy) 0%, #0d2756 60%, #0e5a50 100%);
}
.page-hero-bg {
  background: linear-gradient(135deg, var(--pq-navy) 0%, #0d2756 60%, #0e5a50 100%);
}
.page-hero-title em { color: var(--pq-teal-light); font-style: normal; }

/* ── Tab components: teal active state ── */
.tab-btn.active {
  color: var(--pq-teal);
  border-bottom-color: var(--pq-teal);
}

/* ── Timeline: teal dot + line ── */
.timeline::before {
  background: linear-gradient(to bottom, var(--pq-teal), var(--pq-blue));
}
.timeline-dot { background: var(--pq-teal); box-shadow: 0 0 0 2px var(--pq-teal); }
.timeline-year { color: var(--pq-teal); }

/* ── Breadcrumb hover ── */
.breadcrumb a:hover { color: var(--pq-teal-light); }

/* ── Hero badge: teal border ── */
.hero-badge {
  background: rgba(28,184,166,.15);
  border-color: rgba(28,184,166,.4);
  color: var(--pq-teal-light);
}

/* ── Hero stat numbers: bright teal ── */
.hero-stat-number { color: var(--pq-teal-light); }

/* ── Accordion / FAQ: teal active ── */
.faq-question { color: var(--pq-navy); }
.faq-item.open .faq-question { color: var(--pq-teal); }
.faq-icon { color: var(--pq-teal); }

/* ── Contact info side: teal glow instead of gold ── */
.contact-info::before {
  background: radial-gradient(circle, rgba(28,184,166,.10), transparent 70%);
}
.contact-detail-icon {
  background: rgba(28,184,166,.14);
}
.contact-detail-icon i { color: var(--pq-teal-light); }

/* ── Form focus ring: teal ── */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--pq-teal) !important;
  box-shadow: 0 0 0 3px rgba(28,184,166,.18) !important;
}

/* ── Scroll progress bar: teal ── */
#scroll-progress {
  background: linear-gradient(90deg, var(--pq-teal), var(--pq-blue));
}

/* ── Mobile nav: white bg, blue text ── */
@media (max-width: 1024px) {
  .nav-menu {
    background: var(--pq-white);
    border-top: 2px solid var(--pq-teal);
  }
}
