/* 
  Polynex Design System — Refined Industrial Precision
  Theme: Dark aerospace with heritage gold accents
  Typography: Plus Jakarta Sans (headings) + Inter (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Inter:wght@100..900&display=swap');

:root {
  /* ── Backgrounds ── */
  --bg-deep: #060D19;
  --bg-base: #0B1121;
  --bg-surface: #131D2F;
  --bg-surface-hover: #1A2740;
  --bg-elevated: #1E2D45;
  --bg-section-alt: #0F1A2E;

  /* ── Brand Colors ── */
  --gold: #C9A96E;
  --gold-light: #E2D1A8;
  --gold-dark: #A68B4B;
  --gold-rgb: 201, 169, 110;
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-rgb: 59, 130, 246;
  --accent-warm: #D4A574;

  /* ── Text ── */
  --text-primary: #F1F5F9;
  --text-body: #94A3B8;
  --text-muted: #64748B;
  --text-faint: #475569;

  /* ── Borders ── */
  --border: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(201, 169, 110, 0.3);
  --border-subtle: rgba(148, 163, 184, 0.06);

  /* ── Fonts ── */
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* ── Transitions & Shadows ── */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 32px rgba(201, 169, 110, 0.1);
  --shadow-elevated:
    0 1px 2px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.25);

  /* ── Layout ── */
  --header-height: 80px;
  --container-max: 1200px;
  --section-gap: 100px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  font-size: 16px;
  /* zoom: 90%; */
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 3px;
}

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

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */

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

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

a:hover {
  color: var(--gold-light);
}

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
}

/* Alternating section backgrounds */
.section-alt {
  background: var(--bg-section-alt);
}

/* ═══════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════ */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header.site-header.scrolled {
  background: rgba(6, 13, 25, 0.95);
  height: 68px;
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo i {
  color: var(--gold);
  font-size: 1.35rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.logo a:hover i {
  color: var(--text-primary);
  transform: translate(2px, -2px) rotate(45deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s ease;
}

.logo a:hover .logo-text {
  opacity: 0.9;
}

/* Dropdown Navigation Styles */
nav.main-nav>ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  height: 80px;
  transition: height 0.3s ease;
}

header.site-header.scrolled nav.main-nav>ul {
  height: 68px;
}

nav.main-nav>ul>li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

nav.main-nav>ul>li.has-dropdown>a {
  display: flex;
  align-items: center;
}

nav.main-nav>ul>li.has-dropdown>a::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.6rem;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
  transform-origin: center;
}

nav.main-nav>ul>li.has-dropdown:hover>a::after {
  transform: rotate(180deg);
}

nav.main-nav>ul>li .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
  list-style: none !important;
}

nav.main-nav>ul>li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav.main-nav>ul>li .dropdown-menu li {
  width: 100%;
}

nav.main-nav>ul>li .dropdown-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 0.72rem;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 100%;
  transition: color 0.15s ease, background-color 0.15s ease;
}

nav.main-nav>ul>li .dropdown-menu a::after {
  display: none !important;
}

nav.main-nav>ul>li .dropdown-menu a:hover {
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
}

nav.main-nav>ul>li>a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-fast);
  display: block;
}

nav.main-nav>ul>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

nav.main-nav>ul>li>a:hover,
nav.main-nav>ul>li.active>a {
  color: var(--text-primary);
}

nav.main-nav>ul>li>a:hover::after,
nav.main-nav>ul>li.active>a::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* ═══════════════════════════════════════
   SURFACE PANELS (replaces glass-panel)
   ═══════════════════════════════════════ */

.glass-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-elevated);
  transition: var(--transition);
  position: relative;
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-elevated), var(--shadow-gold);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--bg-deep);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.4);
}

.btn-outline:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.1);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */

.hero {
  /* margin-top: 5rem; */
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* 3D Gyroscope Tilt Cards */
.glass-panel {
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(6, 13, 25, 0.5) 0%,
      rgba(11, 17, 33, 0.7) 50%,
      rgba(6, 13, 25, 0.95) 100%);
  z-index: 1;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.35) contrast(1.1) saturate(0.8);
}

.hero-content {
  position: relative;
  z-index: 3;
  /* above canvas (z:2) */
  text-align: center;
  max-width: 820px;
  /* margin-top: -5rem; */
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 50%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 44px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1.4s ease;
}

/* Ken Burns effect on hero bg */
.hero[style*="background-image"] {
  animation: kenBurns 25s ease-in-out infinite alternate;
}

/* ═══════════════════════════════════════
   PAGE BANNER (Subpages)
   ═══════════════════════════════════════ */

.page-banner {
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: var(--header-height);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.page-banner-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 60%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
  text-align: center;
}

.breadcrumbs {
  position: absolute;
  bottom: 28px;
  z-index: 2;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-heading);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs span {
  color: var(--gold);
  margin-left: 8px;
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.02em;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   FEATURE CARDS (Home)
   ═══════════════════════════════════════ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  text-align: left;
}

.feature-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.12);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════ */

.services-section {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  text-align: center;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card>i {
  font-size: 1.8rem;
  color: var(--gold);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.12);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover>i {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  margin-top: 16px;
}

.service-card a i {
  font-size: 0.9rem;
  color: var(--gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.1);
  transition: var(--transition-fast);
}

.service-card a:hover {
  color: var(--text-primary);
}

.service-card a:hover i {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   RADAR SECTION
   ═══════════════════════════════════════ */

.radar-section {
  position: relative;
  overflow: hidden;
}

#radar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* Client logo ping animation triggered by radar sweep */
.client-logo {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%) opacity(35%) brightness(1.5);
  transition: filter 0.4s ease, transform 0.3s ease;
  position: relative;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin-top: 48px;
  padding: 32px;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* Radar ping glow — added/removed by JS */
.client-logo.radar-ping {
  filter: grayscale(0%) opacity(100%) drop-shadow(0 0 14px rgba(201, 169, 110, 0.9));
  transform: scale(1.08);
}

@keyframes radarPingRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(201, 169, 110, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0);
  }
}

/* ═══════════════════════════════════════
   STATS COUNTERS
   ═══════════════════════════════════════ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
  margin: 60px 0;
}

.stat-item {
  padding: 32px 24px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.3;
  border-radius: 1px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ═══════════════════════════════════════
   LEADER CARD
   ═══════════════════════════════════════ */

.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 700px;
  margin: 48px auto 0;
  text-align: center;
}

@media (min-width: 768px) {
  .leader-card {
    flex-direction: row;
    text-align: left;
  }
}

.leader-image {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  filter: grayscale(20%);
  transition: var(--transition);
}

.leader-card:hover .leader-image {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: var(--shadow-gold);
  filter: grayscale(0%);
}

.leader-card h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.leader-title {
  color: var(--gold);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.leader-card p {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════ */

.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 992px) {
  .contact-section-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control::placeholder {
  color: var(--text-faint);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
  background: var(--bg-surface);
}

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

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-card i {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 4px;
  width: 24px;
  flex-shrink: 0;
}

.info-card-text p {
  margin: 0;
  font-size: 0.95rem;
}

.info-card-text strong {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 600;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 300px;
  margin-top: 32px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  filter: invert(90%) hue-rotate(180deg) opacity(80%) saturate(0.3);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

footer.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-widget h4 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  position: relative;
  font-weight: 700;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-widget p {
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-widget li i {
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.footer-widget blockquote {
  font-style: italic;
  border-left: 2px solid var(--gold-dark);
  padding-left: 16px;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer-widget cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  color: var(--gold-dark);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   SPEC LISTS (Quality, Equipment, etc.)
   ═══════════════════════════════════════ */

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .spec-list {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.spec-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════
   PRODUCT SHOWCASE GRIDS
   ═══════════════════════════════════════ */

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.product-item {
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  cursor: pointer;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-item:hover .product-image-wrap {
  border-color: var(--border-hover);
}

.product-info {
  margin-top: 16px;
  padding: 0 4px;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   CERTIFICATE LAYOUT
   ═══════════════════════════════════════ */

.certificate-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
}

.certificate-item {
  width: 100%;
  max-width: 450px;
}

.certificate-img-wrap {
  aspect-ratio: 1/1.4;
}

/* ═══════════════════════════════════════
   QUOTE BANNER / VISION
   ═══════════════════════════════════════ */

.quote-banner {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quote-banner i.quote-icon {
  font-size: 2.5rem;
  color: rgba(201, 169, 110, 0.15);
  margin-bottom: 20px;
}

.quote-banner p {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.quote-banner cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* Vision list */
.vision-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.vision-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  text-align: left;
}

.vision-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.vision-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 13, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--text-body);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenBurns {
  0% {
    background-size: 100%;
    background-position: 50% 50%;
  }

  100% {
    background-size: 115%;
    background-position: 40% 40%;
  }
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children animation */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.visible>*:nth-child(1) {
  transition-delay: 0ms;
}

.reveal-stagger.visible>*:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-stagger.visible>*:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-stagger.visible>*:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-stagger.visible>*:nth-child(5) {
  transition-delay: 320ms;
}

.reveal-stagger.visible>*:nth-child(6) {
  transition-delay: 400ms;
}

.reveal-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
   ═══════════════════════════════════════ */

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  nav.main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    padding: 40px 24px;
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  nav.main-nav.active {
    left: 0;
  }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  nav.main-nav a {
    font-size: 0.9rem;
    width: 100%;
    display: block;
  }

  nav.main-nav>ul>li.has-dropdown>a::after {
    display: none;
  }

  nav.main-nav>ul>li .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 8px 0 0 16px;
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  nav.main-nav>ul>li .dropdown-menu a {
    padding: 4px 0;
    font-size: 0.8rem;
  }

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

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .page-banner-title {
    font-size: 2rem;
  }

  .section-padding {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .stat-number {
    font-size: 2.8rem;
  }

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

/* ---------------------------------------
   FORM VALIDATION & SUCCESS MODAL
   --------------------------------------- */

.form-control.valid-field {
  border-color: rgba(46, 204, 113, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.05);
}

.form-control.invalid-field {
  border-color: rgba(231, 76, 60, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.05);
  background: rgba(231, 76, 60, 0.02);
}

#scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.05) !important;
}

@keyframes scaleUp {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Certificate image hover overlay effects */
.certificate-item:hover .cert-overlay {
  opacity: 1 !important;
}

.certificate-item:hover .certificate-img-wrap img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.certificate-img-wrap img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* ---------------------------------------
   SCROLL DOWN INDICATOR & FULL SCREEN HERO
   --------------------------------------- */

header.site-header {
  /* Ensure header stands above full height hero */
  z-index: 10000;
}

.hero {
  height: 100vh !important;
  /* Force exact viewport height */
  min-height: 780px !important;
  /* Ensure content scaling leaves space for scroll indicator */
}

.hero-content {
  padding-bottom: 50px;
  /* Offset to prevent overlap with mouse scroll indicator */
}

.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.scroll-down-indicator:hover {
  opacity: 0.8;
}

.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 15px;
  position: relative;
  display: block;
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite ease-in-out;
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: arrowBounce 1.6s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    top: 18px;
    opacity: 0;
  }
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(4px, 4px);
  }
}

/* Our Leader background overlay image */
.leadership-section {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(6, 13, 25, 0.93), rgba(6, 13, 25, 0.93)), url('../wp-content/uploads/2021/12/Slide-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
}

/* ---------------------------------------
   HEIGHT-BASED RESPONSIVENESS FOR SHORT SCREENS
   --------------------------------------- */

@media (max-height: 720px) {
  .hero {
    min-height: unset !important;
    height: 100vh !important;
  }

  .hero-title {
    font-size: 2.6rem !important;
    margin-bottom: 12px !important;
  }

  .hero-desc {
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
    max-width: 620px !important;
    line-height: 1.5 !important;
  }

  .hero-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 8px !important;
  }

  .hero-content {
    padding-bottom: 30px !important;
  }

  .scroll-down-indicator {
    bottom: 12px !important;
  }

  .mouse-icon {
    width: 22px !important;
    height: 36px !important;
  }

  .mouse-icon .wheel {
    height: 6px !important;
  }
}