/* ============================================================
   MATRIX TEST LABS - Main Stylesheet
   Primary: #88a121 (Olive Green) | Secondary: #434341 (Charcoal)
   ============================================================ */

:root {
  --primary:        #88a121;
  --primary-dark:   #6b7d1a;
  --primary-light:  #a3ba28;
  --primary-pale:   #f0f4e3;
  --secondary:      #434341;
  --secondary-dark: #2a2a28;
  --secondary-light:#6b6b69;
  --white:  #ffffff;
  --light:  #f8f9fa;
  --light2: #f1f3f0;
  --dark:   #1a1a18;
  --text:   #2c2c2a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --radius:    10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
  background: var(--secondary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 7px 0;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--primary-light); }
.top-bar .tbi { color: var(--primary-light); margin-right: 5px; }
.top-bar-item { margin-right: 20px; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.main-nav {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.main-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.14); }
.navbar { padding: 10px 0; }
.brand-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--secondary) !important;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.brand-name .brand-accent { color: var(--primary); }
.brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}
.navbar .nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 13px !important;
  border-radius: 7px;
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--primary) !important;
  background: var(--primary-pale);
}
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 215px;
  margin-top: 6px;
}
.dropdown-item {
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--primary-pale);
  color: var(--primary-dark);
}
.dropdown-item i { color: var(--primary); margin-right: 8px; }
.btn-nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 9px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-left: 6px;
  border: none;
  transition: var(--transition);
}
.btn-nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* ── NEWS TICKER ──────────────────────────────────────────── */
.ticker-wrap {
  background: var(--primary);
  padding: 7px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; overflow: hidden; }
.ticker-label {
  background: var(--secondary-dark);
  color: #fff;
  padding: 3px 14px;
  border-radius: 30px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 24px;
}
.ticker-track {
  display: flex;
  animation: ticker 45s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 500;
  padding: 0 48px 0 0;
  white-space: nowrap;
}
.ticker-item i { opacity: 0.75; margin-right: 6px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HOME HERO ────────────────────────────────────────────── */
.hero-home {
  min-height: 88vh;
  background: linear-gradient(130deg, #161b09 0%, var(--secondary) 55%, #303030 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1600&q=55&auto=format') center/cover;
  opacity: 0.10;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(136,161,33,0.18);
  border: 1px solid rgba(163,186,40,0.4);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-home h1 {
  font-size: clamp(2rem, 5.5vw, 3.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.hero-home h1 .accent { color: var(--primary-light); }
.hero-home .hero-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.38);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(130deg, var(--secondary-dark) 0%, #3a3a38 100%);
  padding: 70px 0 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.page-hero .page-subtitle {
  color: rgba(255,255,255,0.68);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.55); font-size: 13px; }
.breadcrumb-item a:hover { color: var(--primary-light); }
.breadcrumb-item.active { color: rgba(255,255,255,0.88); font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar { background: var(--primary); padding: 44px 0; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 7px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.22);
  height: 48px;
  margin: auto;
}

/* ── ACCREDITATION STRIP ──────────────────────────────────── */
.accred-strip {
  background: var(--light);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.accred-badge { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.accred-icon {
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  transition: var(--transition);
}
.accred-badge:hover .accred-icon {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.accred-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── SECTION UTILITIES ────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.65;
}
.section-pad   { padding: 80px 0; }
.section-pad-sm{ padding: 56px 0; }

/* ── SERVICE CARDS ────────────────────────────────────────── */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card-img-wrap {
  height: 196px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light2);
  position: relative;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img { transform: scale(1.07); }
.service-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.service-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 14px;
  transition: var(--transition);
}
.service-card-link:hover { color: var(--primary-dark); gap: 10px; }

/* ── FILTER PILLS ─────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 24px; }
.filter-pill {
  background: #fff;
  border: 2px solid var(--border);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  user-select: none;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── FEATURE CARDS ────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  height: 100%;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.feature-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── CERT GALLERY ─────────────────────────────────────────── */
.cert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cert-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--light2);
}
.cert-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cert-card:hover .cert-img { transform: scale(1.05); }
.cert-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(136,161,33,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.cert-card:hover .cert-overlay { opacity: 1; }
.cert-overlay i { color: #fff; font-size: 2.2rem; }
.cert-body { padding: 1.2rem; }
.cert-name { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 3px; }
.cert-number { font-size: 12px; color: var(--primary); font-weight: 600; }
.cert-desc { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }

/* ── TEAM CARDS ───────────────────────────────────────────── */
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-img-wrap { height: 256px; overflow: hidden; background: var(--light2); }
.team-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.4s ease; }
.team-card:hover .team-img { transform: scale(1.04); }
.team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-pale), var(--light2));
  font-size: 4.5rem;
  color: var(--primary);
}
.team-body { padding: 1.35rem; }
.team-name { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 3px; }
.team-role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-dept {
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--light);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.team-expertise { font-size: 13px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }

/* ── BLOG CARDS ───────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-img-wrap { height: 206px; overflow: hidden; flex-shrink: 0; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.blog-title { font-size: 16px; font-weight: 700; color: var(--secondary); line-height: 1.3; flex: 1; margin-bottom: 10px; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--primary); }
.blog-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.blog-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.blog-read-more {
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-read-more:hover { color: var(--primary-dark); gap: 10px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-custom {
  background: transparent;
  color: var(--secondary);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover { border-color: var(--primary); color: var(--primary); }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(130deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 72px 0;
}
.cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.02rem; margin-bottom: 30px; }
.btn-cta-white {
  background: #fff;
  color: var(--primary-dark);
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-cta-white:hover { background: transparent; color: #fff; }
.btn-cta-outline-white {
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-cta-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ── CONTACT ──────────────────────────────────────────────── */
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); }
.info-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 4px; }
.info-value { font-size: 14px; color: var(--secondary); font-weight: 500; line-height: 1.55; }
.info-value a { color: var(--secondary); }
.info-value a:hover { color: var(--primary); }

/* ── FORM ─────────────────────────────────────────────────── */
.form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-wrap h3 { font-size: 1.35rem; font-weight: 700; color: var(--secondary); margin-bottom: 1.5rem; }
.form-label { font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 5px; }
.form-control, .form-select {
  border-radius: 8px;
  border: 1.5px solid var(--border);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(136,161,33,0.14);
  outline: none;
}
.form-response {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  margin-top: 14px;
}
.form-response.success { background: #f0f9f0; color: #166534; border: 1px solid #bbf7d0; display: block; }
.form-response.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; display: block; }

/* ── STANDARDS TABLE ──────────────────────────────────────── */
.filters-row {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.table-wrap {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.table-wrap table thead th {
  background: var(--secondary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 16px;
  border: none;
}
.table-wrap table tbody tr { transition: background 0.15s; }
.table-wrap table tbody tr:hover { background: var(--primary-pale); }
.table-wrap table tbody td { padding: 11px 16px; font-size: 14px; border-color: var(--border); vertical-align: middle; }
.std-num { font-weight: 700; color: var(--primary-dark); font-family: 'Courier New', monospace; font-size: 13px; }
.cat-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.cat-IS    { background: #e0f2fe; color: #0369a1; }
.cat-IEC   { background: #fef3c7; color: #92400e; }
.cat-CISPR { background: #f3e8ff; color: #7c3aed; }
.cat-EN    { background: #dcfce7; color: #166534; }
.cat-TEC   { background: var(--primary-pale); color: var(--primary-dark); }

/* ── TEC CHARGES ──────────────────────────────────────────── */
.tec-category-row td {
  background: var(--primary-pale) !important;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border: none;
}
.charge-val { font-weight: 700; color: var(--primary-dark); }
.notice-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #78350f;
  margin-bottom: 28px;
}
.notice-banner i { color: #f59e0b; margin-right: 8px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--secondary-dark);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 0;
}
.footer-logo-text { font-size: 22px; font-weight: 800; color: #fff; }
.footer-logo-text .fa { color: var(--primary-light); }
.footer-tagline { font-size: 11.5px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.footer-about { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.62); margin: 14px 0; }
.footer-social-links { display: flex; gap: 9px; }
.footer-social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  transition: var(--transition);
}
.footer-social-links a:hover { background: var(--primary); color: #fff; }
.footer-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 9px; }
.footer-list a {
  color: rgba(255,255,255,0.62);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-list a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-list a::before { content: '›'; color: var(--primary-light); font-weight: 700; }
.footer-ci { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; }
.footer-ci-icon { color: var(--primary-light); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.footer-ci-text { font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.55; }
.footer-ci-text a { color: rgba(255,255,255,0.68); }
.footer-ci-text a:hover { color: var(--primary-light); }
.footer-bottom {
  background: rgba(0,0,0,0.28);
  padding: 16px 0;
  margin-top: 48px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.42); margin: 0; }
.brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 16px;
  transition: var(--transition);
}
.brochure-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; align-items: center; }
.wa-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: wap 2.5s infinite;
  flex-shrink: 0;
}
.wa-btn:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37,211,102,0.55); animation: none; }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.wa-tip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.wa-float:hover .wa-tip { opacity: 1; }
@keyframes wap {
  0%,100%{ box-shadow: 0 4px 22px rgba(37,211,102,0.45); }
  50%    { box-shadow: 0 4px 32px rgba(37,211,102,0.72); }
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 9998;
  width: 42px;
  height: 42px;
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ── MISC UTILITIES ───────────────────────────────────────── */
.bg-light-custom { background: var(--light); }
.bg-pale { background: var(--primary-pale); }
.text-primary-c { color: var(--primary) !important; }
.text-secondary-c { color: var(--secondary) !important; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.badge-primary { background: var(--primary); color: #fff; }
.tag-pill { display: inline-block; background: var(--primary-pale); color: var(--primary-dark); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.card-plain { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.rounded-custom { border-radius: var(--radius-lg); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .top-bar .top-bar-social { display: none; }
  .stat-divider { display: none; }
  .hero-home { min-height: 72vh; }
}
@media (max-width: 767px) {
  .top-bar { display: none; }
  .section-pad { padding: 52px 0; }
  .section-pad-sm { padding: 40px 0; }
  .hero-home { min-height: 65vh; }
  .hero-home h1 { font-size: 2rem; letter-spacing: -0.5px; }
  .page-hero { padding: 48px 0 34px; }
  .page-hero h1 { font-size: 1.65rem; }
  .stats-bar .stat-item { margin-bottom: 20px; }
  .wa-float { bottom: 20px; right: 20px; }
  .back-top { bottom: 86px; right: 20px; }
}
@media (max-width: 575px) {
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { justify-content: center; text-align: center; }
  .form-wrap { padding: 1.4rem; }
}
