/* ==========================================================================
   NKEM GLOBAL SERVICES LIMITED (NGS) — CORPORATE DESIGN SYSTEM & STYLESHEET
   2026 Qualification Edition | Industrial Engineering & Manpower
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary Colors (Deep Industrial Navy) */
  --color-primary-darkest: #050e1a;
  --color-primary-dark: #0A192F;
  --color-primary: #0E223D;
  --color-primary-medium: #132b4c;
  --color-primary-light: #1E3A63;
  
  /* Brand Accent Colors (Metallic Gold & Engineering Amber) */
  --color-accent-gold: #D4AF37;
  --color-accent-gold-light: #F3E5AB;
  --color-accent-gold-dark: #B8860B;
  --color-accent-bronze: #C5A059;
  --color-accent-ochre: #E5B842;
  --color-accent-hover: #DFB847;

  /* Neutrals & Slate */
  --color-slate-900: #0F172A;
  --color-slate-800: #1E293B;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748B;
  --color-slate-400: #94A3B8;
  --color-slate-300: #CBD5E1;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-slate-50: #F8FAFC;
  --color-white: #FFFFFF;

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #0284C7;

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Layout & Elevations */
  --container-max-width: 1280px;
  --container-narrow-width: 1040px;
  --header-height: 84px;
  --topbar-height: 40px;
  --header-total-height: 124px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-gold: none;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--color-slate-400) var(--color-slate-100);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-padding-top: var(--header-total-height, 124px);
}

/* Custom Scrollbar for Browser Windows */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #F1F5F9;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-gold);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-slate-700);
  background-color: var(--color-slate-50);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-total-height, 124px);
}

img, picture, video, canvas, iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  max-width: 100%;
}

.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, a, span, li, td, th {
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Container & Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.bg-dark {
  background-color: var(--color-primary-dark);
  color: var(--color-slate-200);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--color-white);
}

.bg-medium {
  background-color: var(--color-primary-medium);
  color: var(--color-slate-200);
}

.bg-light {
  background-color: var(--color-slate-100);
}

.bg-white {
  background-color: var(--color-white);
}

.text-gold {
  color: var(--color-accent-gold) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.text-center {
  text-align: center;
}

/* Section Headers */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C620B; /* Brightened rich antique gold text */
  background: rgba(212, 175, 55, 0.22); /* Darkened pill container background */
  border: 1px solid rgba(212, 175, 55, 0.4); /* Original border color preserved */
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Tagline badge inside dark backgrounds (hero, bg-medium, bg-dark, dark cards) */
.bg-dark .tagline-badge,
.bg-medium .tagline-badge,
.card-dark .tagline-badge,
.hero .tagline-badge,
.page-hero .tagline-badge,
.section-padding-sm.bg-medium .tagline-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-accent-gold);
  box-shadow: none;
}

.tagline-badge-dark {
  background: rgba(10, 25, 47, 0.06);
  border-color: rgba(10, 25, 47, 0.15);
  color: var(--color-primary-medium);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-500);
  line-height: 1.6;
}

.bg-dark .section-subtitle {
  color: var(--color-slate-300);
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-bronze) 100%);
  color: var(--color-primary-darkest);
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-accent-ochre) 0%, var(--color-accent-gold) 100%);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary-darkest);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-white);
  border-color: var(--color-accent-ochre);
}

.btn-navy {
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
}

.btn-navy:hover {
  background: var(--color-primary-medium);
  border-color: var(--color-primary-medium);
  color: var(--color-accent-gold);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-navy:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-icon {
  font-size: 1.15em;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: none;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--color-accent-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.badge-navy {
  background-color: rgba(10, 25, 47, 0.08);
  color: var(--color-primary-dark);
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
}

/* Discipline Directory Filter Pills */
.filter-pill {
  cursor: pointer;
  border-radius: var(--radius-full) !important;
  transition: all var(--transition-fast);
}

.filter-pill.active {
  background-color: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary-dark) !important;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.25);
}

/* --------------------------------------------------------------------------
   5. Top Announcement / Pre-qualification Bar
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   5. Top Announcement / Pre-qualification Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-primary-darkest);
  color: var(--color-slate-300);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-slate-300);
  white-space: nowrap;
}

.top-bar-item a:hover {
  color: var(--color-accent-gold);
}

.top-bar-item .icon {
  color: var(--color-accent-gold);
}

.top-bar-rc {
  color: var(--color-accent-gold);
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
  white-space: nowrap;
}

/* Visibility helpers for responsive text */
.show-mobile {
  display: none !important;
}
.hide-mobile {
  display: inline !important;
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
    --header-total-height: 118px;
  }

  .show-mobile {
    display: inline !important;
  }
  .hide-mobile {
    display: none !important;
  }

  .top-bar {
    padding: 0.35rem 0;
  }

  /* Continuous flex flow from left: fills each line to the end before wrapping */
  .top-bar-inner {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 0.35rem 0.75rem;
    text-align: left !important;
    width: 100%;
  }

  .top-bar-left,
  .top-bar-right {
    display: contents !important;
  }

  .top-bar-rc {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap !important;
    line-height: 1.25;
    flex-shrink: 0;
  }

  .top-bar-item {
    font-size: 0.7rem;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
  }

  .top-bar-item .svg-icon {
    width: 12px;
    height: 12px;
  }
}

/* ≤ 480px: scale slightly for small phones */
@media (max-width: 480px) {
  .top-bar {
    padding: 0.3rem 0;
  }

  .top-bar-inner {
    gap: 0.25rem 0.6rem;
  }

  .top-bar-rc {
    font-size: 0.64rem;
    padding: 0.12rem 0.45rem;
  }

  .top-bar-item {
    font-size: 0.67rem;
    gap: 0.25rem;
  }
}



/* --------------------------------------------------------------------------
   6. Main Navigation Header & Sticky Wrapper
   -------------------------------------------------------------------------- */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  background-color: var(--color-primary-darkest);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.site-header {
  background-color: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  max-width: 100%;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1360px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-white);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 1.5rem;
  }
}

.nav-link {
  color: var(--color-slate-200);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 1120px) {
  .header-cta {
    display: block;
  }
}

.header-cta .btn {
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-accent-gold);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer & Body Open State */
body.mobile-nav-open {
  overflow-y: hidden;
}

.mobile-drawer {
  position: fixed;
  top: var(--header-total-height, 120px);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-total-height, 120px));
  height: calc(100dvh - var(--header-total-height, 120px));
  background-color: var(--color-primary-darkest);
  padding: 1.25rem 1.25rem 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  z-index: 999;
  box-sizing: border-box;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer .nav-link:first-of-type {
  margin-top: 0.25rem;
}

.mobile-drawer .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  flex-shrink: 0;
  display: block;
}

.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-link.active {
  color: var(--color-accent-gold);
  border-bottom-color: rgba(212, 175, 55, 0.35);
}

.mobile-drawer > div {
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   7. Hero Section (Home & Subpages)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--color-primary-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(30, 58, 99, 0.5) 0%, transparent 50%);
  color: var(--color-white);
  padding: 5rem 0 6rem;
  overflow: hidden;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-accent-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.15rem;
  }
}

.hero-title .highlight {
  color: var(--color-accent-gold);
  display: block;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-slate-300);
  margin-bottom: 2rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-accent-gold);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--color-slate-300);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Subpage Hero */
.page-hero {
  background-color: var(--color-primary-dark);
  background-image: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(19, 43, 76, 0.95) 100%);
  color: var(--color-white);
  padding: 4rem 0;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.page-hero-title {
  font-size: 2.25rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--color-slate-400);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--color-accent-gold);
}

.breadcrumbs .sep {
  color: var(--color-accent-gold);
}

.page-hero-lead {
  font-size: 1.05rem;
  color: var(--color-slate-300);
  max-width: 800px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Cards & Grid Layouts
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Industrial Feature Cards */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-accent-gold);
  transition: height var(--transition-normal);
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--color-primary-dark);
}

.feature-text {
  color: var(--color-slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Dark Card Variant */
.card-dark {
  background: var(--color-primary-medium);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-slate-200);
}

.card-dark .feature-title {
  color: var(--color-white);
}

.card-dark .feature-text {
  color: var(--color-slate-300);
}

/* Division Cards */
.division-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.division-card:hover {
  border-color: var(--color-accent-gold);
}

.division-header {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 2rem;
  position: relative;
  border-bottom: 3px solid var(--color-accent-gold);
}

.division-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.division-title {
  font-size: 1.65rem;
  color: var(--color-white);
}

.division-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.division-lead {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

.division-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.division-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--color-slate-700);
}

.division-list-item::before {
  content: '✓';
  color: var(--color-accent-gold-dark);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}

/* Services Sub-Navigation Bar */
.services-subnav-bar {
  background-color: var(--color-primary-darkest);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.85rem 0;
  position: sticky;
  top: var(--header-total-height, 120px);
  z-index: 900;
  backdrop-filter: blur(8px);
}

.services-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
}

.services-subnav-item {
  color: var(--color-slate-300);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.services-subnav-item:hover,
.services-subnav-item.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

@media (max-width: 768px) {
  .services-subnav-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.6rem 0.75rem;
  }
  .services-subnav-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .services-subnav-item {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
}

/* Service Callout Box */
.service-callout-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--color-accent-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 2rem;
}

.service-callout-box p {
  margin: 0;
  color: var(--color-slate-800);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.bg-dark .service-callout-box p,
.bg-medium .service-callout-box p {
  color: var(--color-slate-200);
}

/* --------------------------------------------------------------------------
   Five Core Service Lines Showcase Grid & Cards
   -------------------------------------------------------------------------- */
.services-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-showcase-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-showcase-card:hover {
  border-color: var(--color-accent-gold);
  transform: none;
  box-shadow: var(--shadow-lg);
}

.service-showcase-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

.service-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-showcase-card:hover .service-showcase-img {
  transform: none;
}

.service-showcase-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(4px);
  color: var(--color-accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.725rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-showcase-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-showcase-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.service-showcase-title {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-showcase-desc {
  font-size: 0.925rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-showcase-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-slate-700);
  line-height: 1.45;
}

.service-showcase-item::before {
  content: '✓';
  color: var(--color-accent-gold-dark);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1.2;
}


/* --------------------------------------------------------------------------
   9. Technical Data Tables & Matrix Views
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-slate-200);
  background: var(--color-white);
  margin-bottom: 2rem;
}

.data-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.data-table th {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-accent-gold);
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-slate-200);
  color: var(--color-slate-700);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) {
  background-color: var(--color-slate-50);
}

.data-table tbody tr:hover {
  background-color: rgba(212, 175, 55, 0.05);
}

.data-table td strong {
  color: var(--color-primary-dark);
  display: block;
  margin-bottom: 0.2rem;
}

/* --------------------------------------------------------------------------
   10. 6-Stage Delivery Workflow Stepper
   -------------------------------------------------------------------------- */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.workflow-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.workflow-card:hover {
  border-color: var(--color-accent-gold);
}

.workflow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.workflow-step {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent-gold);
  font-family: var(--font-heading);
}

.workflow-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-slate-100);
  color: var(--color-slate-600);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.workflow-name {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.workflow-focus {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.workflow-desc {
  font-size: 0.925rem;
  color: var(--color-slate-600);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Photo Gallery & Facility Showcases
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  border-color: var(--color-accent-gold);
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-slate-900);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-img {
  transform: none;
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.gallery-caption {
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  flex-grow: 1;
}

.gallery-title {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
}

.gallery-text {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Executive Leadership & Profile Callout
   -------------------------------------------------------------------------- */
.leadership-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .leadership-card {
    grid-template-columns: 50% 50%;
  }
}

.leadership-img-wrap {
  position: relative;
  background-color: #0b1422;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 991px) {
  .leadership-img-wrap {
    min-height: auto;
    aspect-ratio: 1280 / 853;
  }
}

.leadership-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.leadership-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leadership-name {
  font-size: 1.85rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.leadership-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.leadership-bio {
  font-size: 1rem;
  color: var(--color-slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.leadership-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.leadership-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--color-slate-700);
  font-weight: 500;
}

.leadership-bullet-item .icon {
  color: var(--color-accent-gold-dark);
}

/* --------------------------------------------------------------------------
   13. Call-to-Action (CTA) Banners
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-medium) 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::after {
  display: none;
}

.cta-banner h2 {
  font-size: 2.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--color-slate-300);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
}

.cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 2.25rem 1.25rem 2.5rem;
  }

  .cta-banner h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 0.85rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  .cta-banner .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: stretch;
  }

  .cta-banner .cta-buttons .btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }
}


/* --------------------------------------------------------------------------
   14. Forms & Inquiries
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-800);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-slate-800);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-slate-700);
  cursor: pointer;
  line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   15. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary-darkest);
  color: var(--color-slate-300);
  padding-top: 4.5rem;
  border-top: 3px solid var(--color-accent-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand p {
  color: var(--color-slate-400);
  font-size: 0.925rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 1.05rem;
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--color-slate-400);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-gold);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--color-slate-400);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item .icon {
  color: var(--color-accent-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Footer Social Channels */
.footer-social-section {
  margin-top: 1.5rem;
}

.footer-social-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: 0.75rem;
}

.footer-social-grid {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #fff;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary-darkest);
  border-color: var(--color-accent-gold);
  transform: none;
}

.footer-social-btn.linkedin-btn {
  border-color: rgba(0, 119, 181, 0.5);
}

.footer-social-btn.linkedin-btn:hover {
  background: #0077b5;
  color: #fff;
  border-color: #0077b5;
}

/* Video Showcase Styles */
.site-video-card {
  position: relative;
  background: #0a1420;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-video-card video {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.site-video-overlay-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 20, 30, 0.85);
  border: 1px solid var(--color-accent-gold);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}

/* Compliance Badges Row in Footer */
.footer-compliance {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.compliance-badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.compliance-badge-item {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-accent-gold-light);
  letter-spacing: 0.04em;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-slate-500);
}

.footer-bottom a {
  color: var(--color-slate-400);
}

.footer-bottom a:hover {
  color: var(--color-accent-gold);
}

/* --------------------------------------------------------------------------
   16. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 990;
  transition: background-color var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: #1eb956;
  color: #ffffff;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp svg,
.floating-whatsapp .svg-icon {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  display: block;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }

  .floating-whatsapp svg,
  .floating-whatsapp .svg-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .whatsapp-tooltip {
    display: none !important;
  }
}


/* --------------------------------------------------------------------------
   17. Modal Windows
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 14, 26, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid var(--color-slate-200);
  overflow: hidden; /* Header is pinned, body scrolls */
}

.modal-header {
  padding: 1.25rem 2rem;
  background: var(--color-primary-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-accent-gold);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 20;
}

.modal-title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin: 0;
  font-weight: 700;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--color-white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: var(--color-accent-gold);
  background: rgba(255, 255, 255, 0.15);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  /* Modern CSS standard scrollbar for Firefox & compliant engines */
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 34, 61, 0.28) transparent;
}

/* Custom Scrollbar for Modal Body (Chrome, Edge, Safari, WebKit) */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(14, 34, 61, 0.25);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.2s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-gold);
}


/* --------------------------------------------------------------------------
   SVG Icon System (Replacing Emojis)
   -------------------------------------------------------------------------- */
.svg-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  fill: currentColor;
}

.feature-icon-box .svg-icon {
  width: 32px;
  height: 32px;
}

.floating-whatsapp .svg-icon {
  width: 28px;
  height: 28px;
}

.top-bar-item .svg-icon {
  width: 14px;
  height: 14px;
  margin-right: 2px;
}

.footer-contact-item .svg-icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   18. COMPREHENSIVE RESPONSIVE OVERRIDES
   Mobile-first: 480px → 768px → 992px → 1200px
   ========================================================================== */

/* --------------------------------------------------------------------------
   18a. Global helpers for all screen sizes
   -------------------------------------------------------------------------- */
.overflow-x-hidden { overflow-x: hidden; }

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Ensure tables never break layout */
.table-responsive {
  -webkit-overflow-scrolling: touch;
}

/* --------------------------------------------------------------------------
   18b. ≤ 1024px  — tablet adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-padding-sm {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .leadership-body {
    padding: 2.25rem 2rem;
  }

  .cta-banner {
    padding: 2.75rem 2rem;
  }

  .modal-body {
    padding: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   18c. ≤ 768px  — tablet / large phone
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Container breathing room */
  .container,
  .container-narrow {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }

  /* Tone down heavy inline paddings and gaps on mobile cards */
  [style*="padding: 3rem 2.5rem"],
  [style*="padding: 2.5rem"],
  [style*="padding: 2rem"] {
    padding: 1.5rem 1.15rem !important;
  }

  [style*="gap: 3.5rem"],
  [style*="gap: 3rem"],
  [style*="gap: 2.5rem"] {
    gap: 1.5rem !important;
  }

  /* Section spacing */
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-padding-sm {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  /* Hero */
  .hero {
    padding: 3rem 0 3.75rem;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.975rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.75rem;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

  /* Page hero (sub-pages) */
  .page-hero {
    padding: 2.5rem 0;
  }

  .page-hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .page-hero-lead {
    font-size: 0.95rem;
  }

  /* Nav brand — shrink text on small tablets */
  .brand-name {
    font-size: 0.88rem;
  }

  .brand-sub {
    font-size: 0.52rem;
  }

  /* Section title */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Grids — stack to single column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Services showcase grid */
  .services-showcase-grid {
    grid-template-columns: 1fr;
  }

  /* Leadership card — stack image above text */
  .leadership-card {
    grid-template-columns: 1fr;
  }

  .leadership-img-wrap {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .leadership-body {
    padding: 1.75rem 1.25rem;
  }

  .leadership-name {
    font-size: 1.45rem;
  }

  .leadership-bio {
    font-size: 0.925rem;
  }

  /* Workflow grid */
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Feature cards */
  .feature-card {
    padding: 1.75rem 1.5rem;
  }

  /* Division cards */
  .division-header {
    padding: 1.5rem 1.25rem;
  }

  .division-body {
    padding: 1.5rem 1.25rem;
  }

  .division-title {
    font-size: 1.35rem;
  }

  /* Data tables — ensure horizontal scroll */
  .data-table th,
  .data-table td {
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
  }

  /* Forms */
  .form-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

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

  /* Modal */
  .modal-overlay {
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .modal-header {
    padding: 1rem 1.25rem;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .modal-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-compliance {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  /* CTA banner */
  .cta-banner h2 {
    font-size: 1.45rem;
  }

  /* Buttons — scale and wrap gracefully on mobile */
  .btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.25rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 0.85rem 1.4rem;
  }

  /* Service callout box */
  .service-callout-box {
    padding: 1rem 1.1rem;
  }

  /* Service showcase body */
  .service-showcase-body {
    padding: 1.35rem;
  }

  /* Services sub-nav already has its own rule above; reinforce */
  .services-subnav-bar {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-subnav-bar::-webkit-scrollbar {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   18d. ≤ 480px  — small phones
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  :root {
    --header-total-height: 114px;
  }

  html {
    font-size: 15px;
  }

  /* Container */
  .container,
  .container-narrow {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  /* Hero */
  .hero {
    padding: 2.25rem 0 3rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.78rem;
  }

  /* Nav brand — keep sub-tagline visible on small screens */
  .brand-sub {
    display: block;
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-logo-img {
    height: 34px;
  }

  /* Page hero */
  .page-hero {
    padding: 1.75rem 0;
  }

  .page-hero-title {
    font-size: 1.4rem;
  }

  /* Section */
  .section-padding {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Grids - always single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .services-showcase-grid,
  .workflow-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Footer two-column → single */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Data table cells more compact */
  .data-table th,
  .data-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Feature card */
  .feature-card {
    padding: 1.35rem 1.1rem;
  }

  /* Leadership */
  .leadership-body {
    padding: 1.35rem 1rem;
  }

  .leadership-name {
    font-size: 1.25rem;
  }

  /* CTA banner */
  .cta-banner {
    padding: 1.75rem 1rem 2rem;
    border-radius: var(--radius-lg);
  }

  .cta-banner h2 {
    font-size: 1.25rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  /* Buttons full width on tiny screens */
  .hero-actions .btn,
  .cta-banner .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Modal — mobile sheet with sticky header and scrollable body */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 16px 16px 0 0;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .modal-header {
    padding: 0.9rem 1.1rem;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-primary-dark);
    min-height: 52px;
  }

  .modal-title {
    font-size: 0.95rem;
    line-height: 1.3;
    padding-right: 0.5rem;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.75rem;
  }

  .modal-body {
    padding: 1.1rem 1rem 2rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  /* Form card */
  .form-card {
    padding: 1.1rem 0.85rem;
  }

  /* Checkbox grid — 1 column */
  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Footer bottom */
  .footer-bottom {
    font-size: 0.75rem;
  }

  /* Compliance badges wrap tightly */
  .compliance-badges {
    gap: 0.5rem;
  }

  /* Services subnav pill compact */
  .services-subnav-item {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  /* Tagline badges */
  .tagline-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  /* Gallery caption */
  .gallery-caption {
    padding: 1rem;
  }

  .gallery-title {
    font-size: 0.95rem;
  }

  /* Workflow card */
  .workflow-card {
    padding: 1.5rem 1.25rem;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 0.76rem;
    flex-wrap: wrap;
  }

  /* Division header/body compact */
  .division-header {
    padding: 1.1rem 1rem;
  }

  .division-title {
    font-size: 1.15rem;
  }

  .division-body {
    padding: 1.1rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   18e. ≤ 360px  — smallest phones (Galaxy Fold, etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .brand-logo-img {
    height: 30px;
  }

  .modal-title {
    font-size: 0.95rem;
  }
}

/* --------------------------------------------------------------------------
   18f. Filter pills & directory search — mobile
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Filter pill row: allow wrapping, reduce gap */
  [style*="flex-wrap: wrap"] {
    gap: 0.4rem !important;
  }

  .filter-pill.btn-sm {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }

  /* Directory search input row stacks on small screens */
  .grid-2.directory-search-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   19. Form Transmission Loading States
   -------------------------------------------------------------------------- */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.btn-submitting {
  opacity: 0.85;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   20. Submission Success Confirmation Modal
   -------------------------------------------------------------------------- */
.success-modal-dialog {
  max-width: 520px;
  border: 1px solid rgba(226, 179, 39, 0.45);
  box-shadow: 0 25px 50px -12px rgba(14, 34, 61, 0.35);
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-modal-body {
  padding: 1.75rem 2rem 2rem 2rem;
}

.success-ref-bar {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.success-ref-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.success-ref-id {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-white);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  letter-spacing: 0.04em;
}

.success-contractor-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.success-desc {
  color: var(--color-slate-600);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.success-sla-box {
  background: #f8fafc;
  border-left: 3px solid var(--color-accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.success-sla-item {
  font-size: 0.86rem;
  color: var(--color-slate-700);
  line-height: 1.4;
}

.success-sla-item strong {
  color: var(--color-primary-dark);
}

.success-contact-prompt {
  background: #fff;
  border: 1px dashed var(--color-slate-300);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.success-prompt-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-slate-600);
  margin-bottom: 0.75rem;
  display: block;
}

.success-action-btns {
  display: flex;
  gap: 0.75rem;
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s ease;
  flex: 1;
}

.btn-whatsapp-direct:hover {
  background: #1eb956;
}

.btn-phone-direct {
  border: 1px solid var(--color-primary-dark);
  color: var(--color-primary-dark) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  background: transparent;
  flex: 1;
}

.btn-phone-direct:hover {
  background: var(--color-primary-dark);
  color: #ffffff !important;
}

.success-modal-footer {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .success-modal-body {
    padding: 1.25rem 1.1rem 1.5rem 1.1rem;
  }
  .success-action-btns {
    flex-direction: column;
    gap: 0.5rem;
  }
  .success-ref-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}



