/* ============================================================
   VERTEST PPE TESTING LABORATORY
   Professional Light Theme — Production Ready
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif; color: #1a2332; background: #ffffff; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- CSS VARIABLES ---------- */
:root {
  --blue-900: #0a2550;
  --blue-800: #0d3068;
  --blue-700: #1040a0;
  --blue-600: #1a5dc8;
  --blue-500: #2b78e4;
  --blue-400: #4f96ef;
  --blue-300: #80b8f8;
  --blue-100: #daeafe;
  --blue-50:  #eff6ff;
  --sky-400:  #38bdf8;
  --sky-100:  #e0f2fe;
  --sky-50:   #f0f9ff;
  --slate-900:#0f172a;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-300:#cbd5e1;
  --slate-100:#f1f5f9;
  --slate-50: #f8fafc;
  --white:    #ffffff;
  --success:  #16a34a;
  --warning:  #d97706;
  --danger:   #dc2626;

  --grad-main: linear-gradient(135deg, #1040a0 0%, #2b78e4 60%, #38bdf8 100%);
  --grad-soft: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  --grad-hero: linear-gradient(160deg, #0a2550 0%, #1040a0 45%, #2b78e4 100%);

  --shadow-xs: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 4px 6px rgba(15,23,42,0.05), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-md: 0 10px 25px rgba(15,23,42,0.08), 0 4px 10px rgba(15,23,42,0.05);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12), 0 8px 20px rgba(15,23,42,0.06);
  --shadow-xl: 0 32px 72px rgba(15,23,42,0.16);
  --shadow-blue: 0 8px 32px rgba(43,120,228,0.28);
  --shadow-blue-lg: 0 16px 48px rgba(43,120,228,0.36);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- UTILITIES ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-blue { color: var(--blue-600); }
.text-muted { color: var(--slate-500); }
.bg-light { background: var(--slate-50); }
.bg-sky { background: var(--sky-50); }

/* ---------- SECTION HEADER ---------- */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-600);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-eyebrow::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--blue-500); }
.section-title {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.15; color: var(--slate-900);
  margin-bottom: 16px;
}
.section-title span { color: var(--blue-600); }
.section-lead { font-size: 17px; color: var(--slate-500); max-width: 580px; line-height: 1.75; }
.section-header-center { text-align: center; }
.section-header-center .section-lead { margin: 0 auto; }
.section-header { margin-bottom: 60px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.3px;
  padding: 13px 28px; border-radius: var(--radius-full);
  transition: var(--transition); border: 2px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--grad-main); color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue-lg); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--blue-600);
  border-color: var(--blue-300);
}
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-500); }

.btn-white {
  background: var(--white); color: var(--blue-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12); color: var(--white);
  border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.7); }

.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- PRELOADER ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}
/* Fall-from-height SVG background illustration */
#preloader::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cg opacity='0.055'%3E%3C!-- Building/tower structure --%3E%3Crect x='320' y='80' width='160' height='480' fill='%231040a0' rx='4'/%3E%3Crect x='280' y='120' width='240' height='20' fill='%231040a0'/%3E%3Crect x='280' y='180' width='240' height='20' fill='%231040a0'/%3E%3Crect x='280' y='240' width='240' height='20' fill='%231040a0'/%3E%3Crect x='280' y='300' width='240' height='20' fill='%231040a0'/%3E%3Crect x='280' y='360' width='240' height='20' fill='%231040a0'/%3E%3Crect x='280' y='420' width='240' height='20' fill='%231040a0'/%3E%3C!-- Worker figure at top --%3E%3Ccircle cx='400' cy='55' r='22' fill='%232b78e4'/%3E%3Crect x='388' y='78' width='24' height='50' fill='%232b78e4' rx='8'/%3E%3Crect x='365' y='85' width='30' height='12' fill='%232b78e4' rx='6'/%3E%3Crect x='405' y='85' width='30' height='12' fill='%232b78e4' rx='6'/%3E%3Crect x='385' y='125' width='14' height='40' fill='%232b78e4' rx='7'/%3E%3Crect x='401' y='125' width='14' height='40' fill='%232b78e4' rx='7'/%3E%3C!-- Harness lines --%3E%3Cpath d='M385 85 Q360 110 345 150' stroke='%2338bdf8' stroke-width='3' fill='none' stroke-dasharray='6,4'/%3E%3Cpath d='M415 85 Q440 110 455 150' stroke='%2338bdf8' stroke-width='3' fill='none' stroke-dasharray='6,4'/%3E%3Ccircle cx='345' cy='155' r='8' fill='%2338bdf8'/%3E%3Ccircle cx='455' cy='155' r='8' fill='%2338bdf8'/%3E%3C!-- Anchor point at top --%3E%3Crect x='390' y='30' width='20' height='28' fill='%2338bdf8' rx='4'/%3E%3Cellipse cx='400' cy='28' rx='14' ry='10' fill='none' stroke='%2338bdf8' stroke-width='4'/%3E%3C!-- Safety rope going down --%3E%3Cpath d='M400 58 L400 560' stroke='%232b78e4' stroke-width='4' stroke-dasharray='10,6'/%3E%3C!-- Shield/check mark --%3E%3Ccircle cx='640' cy='200' r='60' fill='none' stroke='%232b78e4' stroke-width='6'/%3E%3Cpath d='M615 200 L632 218 L668 182' stroke='%232b78e4' stroke-width='8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C!-- Certificate/document --%3E%3Crect x='80' y='160' width='120' height='160' fill='none' stroke='%232b78e4' stroke-width='5' rx='8'/%3E%3Cline x1='100' y1='200' x2='180' y2='200' stroke='%232b78e4' stroke-width='4'/%3E%3Cline x1='100' y1='225' x2='180' y2='225' stroke='%232b78e4' stroke-width='3'/%3E%3Cline x1='100' y1='248' x2='160' y2='248' stroke='%232b78e4' stroke-width='3'/%3E%3Ccircle cx='120' cy='285' r='16' fill='none' stroke='%232b78e4' stroke-width='5'/%3E%3Cpath d='M110 285 L118 293 L132 277' stroke='%232b78e4' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-logo-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pre-logo-wrap img.pre-main { height: 96px; width: auto; animation: preFloat 2s ease-in-out infinite; filter: drop-shadow(0 4px 16px rgba(43,120,228,0.18)); }
.pre-logo-wrap img.pre-text { height: 44px; width: auto; opacity: 0.9; }
.pre-track { position: relative; z-index: 1; width: 240px; height: 4px; background: var(--slate-100); border-radius: 4px; overflow: hidden; }
.pre-fill { height: 100%; background: var(--grad-main); border-radius: 4px; animation: preLoad 2s ease-in-out infinite; }
.pre-label { position: relative; z-index: 1; font-size: 11px; color: var(--slate-400); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
@keyframes preFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes preLoad { 0%{width:0;opacity:1} 80%{width:100%;opacity:1} 100%{width:100%;opacity:0} }

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--blue-900); color: rgba(255,255,255,0.85);
  padding: 9px 0; font-size: 13px; font-weight: 500;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-contacts { display: flex; align-items: center; gap: 24px; }
.topbar-contacts a {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
}
.topbar-contacts a:hover { color: var(--sky-400); }
.topbar-contacts a i { font-size: 14px; color: var(--sky-400); }
.topbar-socials { display: flex; align-items: center; gap: 14px; }
.topbar-socials a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.65); font-size: 14px;
  transition: var(--transition);
}
.topbar-socials a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ---------- NAVBAR ---------- */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: 1240px; margin: 0 auto;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.nav-logo img.logo-icon { height: 58px; width: auto; display: block; }
.nav-logo img.logo-wordmark { height: 52px; width: auto; display: block; margin-left: -2px; }

/* Nav Links */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  font-size: 14px; font-weight: 600; color: var(--slate-700);
  padding: 9px 16px; border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}
.nav-menu a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-menu a.active { color: var(--blue-600); background: var(--blue-50); }
.nav-menu a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue-600);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 24px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--slate-100); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: var(--transition); }
.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); }

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--slate-100);
  padding: 16px 28px 24px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px; font-weight: 600; color: var(--slate-700);
  padding: 12px 16px; border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--blue-600); background: var(--blue-50); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 92vh;
  display: flex; align-items: center;
  background: var(--grad-hero);
}
/* Decorative geometric shapes */
.hero::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; left: -80px; bottom: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,120,228,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  padding: 80px 0;
}
.hero-content {}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: heroFadeUp 0.8s ease both;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-400); }
.hero-h1 {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.5vw, 62px); font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
  animation: heroFadeUp 0.8s 0.15s ease both;
}
.hero-h1 em { font-style: normal; color: var(--sky-400); }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.78);
  max-width: 520px; line-height: 1.8; margin-bottom: 40px;
  animation: heroFadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px;
  animation: heroFadeUp 0.8s 0.45s ease both;
}
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12);
  animation: heroFadeUp 0.8s 0.6s ease both;
}
.h-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 36px; font-weight: 900; color: var(--white); line-height: 1;
}
.h-stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 500; }

/* Hero Right: Accreditation Card */
.hero-right { animation: heroFadeUp 0.8s 0.3s ease both; }
.hero-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px); border-radius: var(--radius-xl);
  padding: 36px;
}
.hero-card-title {
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--sky-400); margin-bottom: 24px;
}
.accred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.accred-item {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 18px 16px; text-align: center;
}
.accred-item .ai-icon { font-size: 26px; color: var(--sky-400); margin-bottom: 8px; }
.accred-item .ai-label { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.accred-item .ai-sub { font-size: 11px; color: rgba(255,255,255,0.55); }
.hero-clients-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 12px; font-weight: 600; letter-spacing: 0.5px; }
.hero-client-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-client-chip {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: var(--radius-full);
}

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

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--white); border-bottom: 1px solid var(--slate-100);
  padding: 20px 0;
}
.trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 28px;
  border-right: 1px solid var(--slate-100);
}
.trust-chip:last-child { border-right: none; }
.trust-chip i { font-size: 22px; color: var(--blue-500); }
.trust-chip-text { line-height: 1.3; }
.trust-chip-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--slate-900); }
.trust-chip-text span { font-size: 11px; color: var(--slate-500); }

/* ---------- WHY VERTEST ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main); opacity: 0; transition: opacity 0.3s;
}
.why-card:hover::before { opacity: 1; }
.why-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue-600);
  margin-bottom: 22px; transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--slate-500); line-height: 1.75; }

/* ---------- SERVICES GRID ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blue-100); }
.svc-img-wrap { position: relative; height: 220px; overflow: hidden; }
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-img-wrap img { transform: scale(1.07); }
.svc-standard-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-600); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.svc-body { padding: 24px; }
.svc-body h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.svc-body p { font-size: 14px; color: var(--slate-500); line-height: 1.7; margin-bottom: 16px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--blue-600);
  transition: gap 0.2s;
}
.svc-card:hover .svc-link { gap: 10px; }

/* ---------- STANDARDS BANNER ---------- */
.standards-banner {
  background: var(--grad-main);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.standards-banner::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='none' fill-rule='evenodd'%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/g%3E%3C/svg%3E");
}
.standards-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.standards-text h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  color: var(--white); margin-bottom: 10px;
}
.standards-text h2 span { color: var(--sky-400); }
.standards-text p { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 440px; }
.standards-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.standards-tags .tag {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: var(--white); font-size: 13px; font-weight: 700;
  padding: 8px 20px; border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* ---------- PPE MATTERS ---------- */
.matters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.matters-img-col { position: relative; }
.matters-img-frame {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.matters-img-frame img { width: 100%; height: 480px; object-fit: cover; }
.matters-badge {
  position: absolute; bottom: 28px; right: -24px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; min-width: 210px;
}
.matters-badge-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue-600); flex-shrink: 0;
}
.matters-badge-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--slate-900); }
.matters-badge-text span { font-size: 12px; color: var(--slate-500); }
.matters-content {}
.matters-list { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.matters-item { display: flex; gap: 18px; align-items: flex-start; }
.matters-icon {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.matters-icon.red { background: #fef2f2; color: #dc2626; }
.matters-icon.blue { background: var(--blue-50); color: var(--blue-600); }
.matters-icon.green { background: #f0fdf4; color: #16a34a; }
.matters-item-text h4 { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 5px; }
.matters-item-text p { font-size: 14px; color: var(--slate-500); line-height: 1.75; }

/* ---------- CLIENTS STRIP ---------- */
.clients-ticker-wrap { overflow: hidden; position: relative; padding: 12px 0; }
.clients-ticker-wrap::before,
.clients-ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.clients-ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.clients-ticker-wrap::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.clients-ticker-inner {
  display: flex; gap: 20px; animation: ticker 28s linear infinite; width: max-content;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.client-chip {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius); padding: 14px 28px;
  font-size: 15px; font-weight: 800; color: var(--blue-700);
  white-space: nowrap; box-shadow: var(--shadow-xs);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--blue-900);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; right: -150px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,120,228,0.2) 0%, transparent 70%);
}
.cta-banner-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3vw, 38px); font-weight: 900; color: var(--white); margin-bottom: 12px;
}
.cta-banner h2 span { color: var(--sky-400); }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 460px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- FOOTER ---------- */
#footer { background: var(--slate-50); border-top: 1px solid var(--slate-100); }
.footer-top { padding: 72px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; }

/* Footer About Col */
.footer-brand { margin-bottom: 20px; }
.footer-brand-logo { display: flex; align-items: center; gap: 0; }
.footer-brand-logo img.fbl-icon { height: 60px; width: auto; }
.footer-brand-logo img.fbl-word { height: 52px; width: auto; margin-left: -2px; }
.footer-about-text { font-size: 14px; color: var(--slate-500); line-height: 1.8; margin-bottom: 24px; max-width: 300px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list a,
.footer-contact-list p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--slate-600);
  transition: color 0.2s;
}
.footer-contact-list a { font-weight: 500; }
.footer-contact-list a:hover { color: var(--blue-600); }
.footer-contact-list i { color: var(--blue-500); font-size: 15px; flex-shrink: 0; margin-top: 2px; }

.footer-col-title {
  font-size: 14px; font-weight: 800; color: var(--slate-900);
  margin-bottom: 20px; letter-spacing: 0.3px;
  padding-bottom: 12px; border-bottom: 2px solid var(--blue-100);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: var(--slate-500);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition); padding: 2px 0;
}
.footer-links a i { font-size: 11px; color: var(--blue-400); }
.footer-links a:hover { color: var(--blue-600); padding-left: 4px; }
.footer-links .std-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--slate-500); line-height: 1.5; padding: 2px 0;
}
.footer-links .std-item i { color: var(--blue-500); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--slate-200);
  padding: 20px 0;
  background: var(--white);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--slate-500); }
.footer-copy a { color: var(--blue-600); font-weight: 600; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--slate-100); border: 1px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-600); font-size: 15px;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

/* ---------- FAB BUTTONS ---------- */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 990; transition: var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }

#scroll-top-btn {
  position: fixed; bottom: 100px; right: 30px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--blue-600);
  border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow-md);
  z-index: 990; opacity: 0; visibility: hidden;
  transition: var(--transition);
}
#scroll-top-btn.show { opacity: 1; visibility: visible; }
#scroll-top-btn:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

/* ---------- PAGE TITLE BAR ---------- */
.page-banner {
  background: var(--grad-hero);
  padding: 100px 0 64px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-banner-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .cur { color: rgba(255,255,255,0.9); font-weight: 600; }
.page-banner h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 5vw, 54px); font-weight: 900;
  color: var(--white); line-height: 1.15;
}
.page-banner p { color: rgba(255,255,255,0.72); font-size: 17px; margin-top: 12px; max-width: 560px; }

/* ---------- ABOUT PAGE ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-col { position: relative; }
.about-img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-badge-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 20px 24px; box-shadow: var(--shadow-lg);
}
.about-badge-row { display: flex; gap: 28px; }
.about-badge-item { text-align: center; }
.about-badge-item strong { display: block; font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 900; color: var(--blue-600); }
.about-badge-item span { font-size: 12px; color: var(--slate-500); }
.about-text {}
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--slate-600); }
.check-list li i { color: var(--blue-600); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.stat-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-xs); transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.stat-num { font-family: 'Manrope', sans-serif; font-size: 40px; font-weight: 900; color: var(--blue-600); line-height: 1; }
.stat-label { font-size: 13px; color: var(--slate-500); margin-top: 6px; font-weight: 500; }

/* Vision Cards */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vision-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-xs); transition: var(--transition);
}
.vision-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); transform: translateY(-3px); }
.vision-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--blue-600); margin: 0 auto 22px;
}
.vision-card h3 { font-size: 18px; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; }
.vision-card p { font-size: 14px; color: var(--slate-500); line-height: 1.75; }

/* ---------- SERVICES PAGE ---------- */
.svc-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-full-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: var(--transition);
}
.svc-full-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.sfc-img { height: 230px; overflow: hidden; position: relative; }
.sfc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.svc-full-card:hover .sfc-img img { transform: scale(1.06); }
.sfc-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-600); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.sfc-body { padding: 24px; }
.sfc-body h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.sfc-body p { font-size: 14px; color: var(--slate-500); line-height: 1.75; }

/* ---------- CONTACT PAGE ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.ci-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); padding: 22px; display: flex; gap: 16px;
  align-items: flex-start; box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.ci-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.ci-card-icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--blue-600); flex-shrink: 0;
}
.ci-card-body h4 { font-size: 14px; font-weight: 700; color: var(--slate-900); margin-bottom: 5px; }
.ci-card-body p, .ci-card-body a { font-size: 14px; color: var(--slate-500); }
.ci-card-body a { color: var(--blue-600); font-weight: 600; }

.contact-form-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl); padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 { font-size: 26px; font-weight: 800; color: var(--slate-900); margin-bottom: 6px; }
.contact-form-card .sub { font-size: 14px; color: var(--slate-500); margin-bottom: 32px; }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--slate-700); }
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--slate-200); border-radius: var(--radius);
  padding: 12px 16px; font-size: 14px; font-family: inherit;
  color: var(--slate-900); background: var(--white);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43,120,228,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form-success-msg {
  display: none; background: #f0fdf4; border: 1px solid #bbf7d0;
  color: var(--success); padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
  align-items: center; gap: 10px;
}
.form-success-msg.show { display: flex; }
.form-submit { width: 100%; justify-content: center; }

/* ---------- CAREER PAGE ---------- */
.jobs-grid { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; box-shadow: var(--shadow-xs); transition: var(--transition);
  flex-wrap: wrap;
}
.job-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); }
.job-card-left h3 { font-size: 18px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }
.job-meta { display: flex; flex-wrap: wrap; gap: 18px; }
.job-meta span { font-size: 13px; color: var(--slate-500); display: flex; align-items: center; gap: 5px; }
.job-meta span i { color: var(--blue-500); }

/* Apply Form */
.apply-section { background: var(--sky-50); border-radius: var(--radius-xl); padding: 56px; margin-top: 56px; }
.apply-section-header { text-align: center; margin-bottom: 40px; }
.apply-section-header h2 { font-size: 30px; font-weight: 900; color: var(--slate-900); margin-bottom: 8px; }
.apply-section-header p { color: var(--slate-500); }
.apply-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- BLOG PAGE ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-img { height: 210px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-600); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full);
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 14px; font-size: 12px; color: var(--slate-400); margin-bottom: 12px; }
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-body h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); line-height: 1.4; margin-bottom: 10px; }
.blog-body h3 a { color: inherit; transition: color 0.2s; }
.blog-body h3 a:hover { color: var(--blue-600); }
.blog-body p { font-size: 14px; color: var(--slate-500); line-height: 1.7; margin-bottom: 18px; }
.blog-read { font-size: 13px; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-card:hover .blog-read { gap: 10px; }

/* Blog CTA */
.blog-cta {
  background: var(--grad-main); border-radius: var(--radius-xl);
  padding: 56px; text-align: center; color: var(--white); margin-top: 64px;
}
.blog-cta h2 { font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.blog-cta p { color: rgba(255,255,255,0.78); font-size: 16px; margin-bottom: 28px; }
.blog-external-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--blue-700);
  font-weight: 800; font-size: 15px; padding: 14px 32px;
  border-radius: var(--radius-full); box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.blog-external-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- ANIMATIONS ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="100"] { transition-delay: 0.1s; }
[data-reveal][data-delay="200"] { transition-delay: 0.2s; }
[data-reveal][data-delay="300"] { transition-delay: 0.3s; }
[data-reveal][data-delay="400"] { transition-delay: 0.4s; }
[data-reveal][data-delay="500"] { transition-delay: 0.5s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .matters-grid { grid-template-columns: 1fr; gap: 48px; }
  .matters-badge { right: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge-card { right: 16px; }
  .contact-layout { grid-template-columns: 1fr; }
  .svc-full-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .standards-inner { flex-direction: column; text-align: center; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-inner p { margin: 0 auto; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .nav-menu { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-full-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .trust-chip { border-right: none; border-bottom: 1px solid var(--slate-100); width: 100%; justify-content: center; }
  .trust-strip-inner { flex-direction: column; }
  .accred-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .apply-form-grid { grid-template-columns: 1fr; }
  .apply-section { padding: 32px 24px; }
  .contact-form-card { padding: 28px 22px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .blog-cta { padding: 36px 24px; }
  .matters-img-frame img { height: 300px; }
  .about-img-main img { height: 300px; }
  .hero-stats { gap: 24px; }
  .standards-inner { gap: 28px; }
  .vision-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-grid { padding: 60px 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- CLIENT LOGO TICKER (real logos) ---------- */
.client-logo-chip {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: center;
  min-width: 160px; height: 72px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.client-logo-chip img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* ---------- CERT BADGE LINK STYLE ---------- */
a.accred-item {
  display: block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  transition: var(--transition);
}
a.accred-item:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(56,189,248,0.5);
  transform: translateY(-2px);
}

/* ---------- FORM ERROR & SPINNER ---------- */
.form-error-msg {
  display: none; background: #fef2f2; border: 1px solid #fecaca;
  color: var(--danger); padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
  align-items: center; gap: 10px;
}
.form-error-msg.show { display: flex; }
.btn-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO CERTIFICATE CARD (redesigned) ---------- */
.hero-cert-title {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--sky-400);
  margin-bottom: 16px; text-align: center;
}
.hero-cert-img-wrap {
  display: block; position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; margin-bottom: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-cert-img-wrap:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.hero-cert-img {
  width: 100%; height: 220px; object-fit: cover; object-position: center top;
  display: block; transition: transform 0.4s ease;
}
.hero-cert-img-wrap:hover .hero-cert-img { transform: scale(1.04); }
.hero-cert-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,80,0.85) 0%, rgba(10,37,80,0.1) 60%, transparent 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 18px; gap: 8px;
  color: var(--white); font-size: 13px; font-weight: 700;
  opacity: 0; transition: opacity 0.3s;
}
.hero-cert-img-wrap:hover .hero-cert-overlay { opacity: 1; }
.hero-cert-overlay i { font-size: 18px; color: var(--sky-400); }

.hero-cert-badges {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px;
}
.hcb-item {
  font-size: 11px; font-weight: 800; padding: 5px 12px;
  border-radius: var(--radius-full); display: flex; align-items: center; gap: 5px;
  letter-spacing: 0.3px;
}
.hcb-blue { background: rgba(16,64,160,0.7); color: #93c5fd; border: 1px solid rgba(147,197,253,0.25); }
.hcb-sky  { background: rgba(14,116,144,0.7); color: #7dd3fc; border: 1px solid rgba(125,211,252,0.25); }
.hcb-green{ background: rgba(20,83,45,0.7); color: #86efac; border: 1px solid rgba(134,239,172,0.25); }

/* Hero client logos grid - colored cards */
.hero-client-logos-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.hcl-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius); padding: 8px 6px;
  display: flex; align-items: center; justify-content: center;
  height: 48px; border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hcl-card:hover { transform: translateY(-2px); background: var(--white); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.hcl-card img {
  max-height: 30px; max-width: 100%; width: auto; object-fit: contain;
  filter: none; opacity: 1;
}
