/* ============================================================
   BENYA ENGINEERING — MAIN STYLESHEET
   Design: Industrial precision, confident blue & dark steel palette
   ============================================================ */

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

:root {
  --blue:       #0A2FC4;
  --blue-dark:  #071D8A;
  --blue-light: #2E56E8;
  --gold:       #C49A0A;
  --steel:      #1A2235;
  --steel-mid:  #2C3A52;
  --steel-light:#4A5568;
  --off-white:  #F7F8FC;
  --white:      #FFFFFF;
  --text:       #1A2235;
  --text-light: #4A5568;
  --border:     #E2E8F0;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:  8px;
  --radius-lg: 16px;
  --shadow:  0 4px 24px rgba(10,47,196,0.10);
  --shadow-lg: 0 12px 48px rgba(10,47,196,0.16);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; }

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

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

em { font-style: normal; color: var(--blue); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

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

.section-intro {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header.light .section-eyebrow { color: var(--gold); }
.section-header.light .section-title   { color: var(--white); }
.section-header.light .section-intro   { color: rgba(255,255,255,0.7); }

/* ---------- SECTION ---------- */
.section { padding: 96px 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.btn-whatsapp i { font-size: 1.2rem; }

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

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--steel);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contacts a {
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.topbar-contacts a:hover { color: var(--white); }
.topbar-contacts i { color: var(--gold); font-size: 0.75rem; }

.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  transition: var(--transition);
}
.topbar-social a:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(10,47,196,0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap { display: flex; align-items: center; }
.nav-logo { height: 52px; width: auto; object-fit: contain; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); background: rgba(10,47,196,0.05); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 640px; max-height: 900px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg-collage {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.col-img {
  background-size: cover;
  background-position: center;
  filter: saturate(0.7);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,29,138,0.92) 0%,
    rgba(10,47,196,0.75) 50%,
    rgba(7,29,138,0.88) 100%
  );
  z-index: 1;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 6px 16px;
  border: 1px solid rgba(196,154,10,0.4);
  border-radius: 2px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.hero-headline em {
  color: var(--gold);
  display: block;
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  line-height: 2;
}

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

.hero-scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-cue span {
  display: block;
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-cue span::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll-pulse 1.6s infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 1; top: 5px; }
  50%      { opacity: 0; top: 14px; }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--steel);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--steel);
  text-align: center;
  padding: 32px 16px;
  transition: background var(--transition);
}
.stat-item:hover { background: var(--steel-mid); }
.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  line-height: 1;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--blue);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 140px;
}
.about-badge img { width: 56px; height: auto; margin: 0 auto 8px; filter: brightness(0) invert(1); }
.about-badge p { color: var(--white); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }

.about-text p { color: var(--text-light); margin-bottom: 1rem; }
.about-text strong { color: var(--text); }

/* Vision/Mission/Values Tabs */
.vmv-tabs {
  display: flex;
  gap: 4px;
  margin: 1.5rem 0 0;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: var(--transition);
  border: none;
  background: none;
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

.tab-panels { padding-top: 1.2rem; }
.tab-panel { display: none; color: var(--text-light); }
.tab-panel.active { display: block; animation: fadein 0.3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.values-list { display: flex; flex-direction: column; gap: 8px; }
.values-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
}
.values-list .fa-check-circle { color: var(--blue); margin-top: 3px; flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img { transform: scale(1.04); }

.service-body { padding: 24px; }

.service-icon {
  width: 44px; height: 44px;
  background: rgba(10,47,196,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-icon i { color: var(--blue); font-size: 1.1rem; }

.service-body h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-body p  { color: var(--text-light); font-size: 0.875rem; line-height: 1.65; margin-bottom: 16px; }

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors-section { padding: 0; }

.sector-strip {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.sector-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.5) brightness(0.5);
}
.sector-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,29,138,0.92) 0%, rgba(10,47,196,0.85) 100%);
}
.sector-content { position: relative; z-index: 1; }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.sector-item {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.sector-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.sector-item i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.sector-item h4 { color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.sector-item p  { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.6; }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership-section { background: var(--off-white); }

.leadership-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.leader-image-wrap {
  background: var(--steel);
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
  padding: 32px;
}
.leader-image-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  filter: grayscale(0.15);
}

.leader-bio { padding: 48px 48px 48px 0; }
.leader-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.leader-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0;
}
.leader-divider {
  width: 48px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 14px 0 20px;
}
.leader-bio p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.leader-bio em { color: var(--blue); font-style: italic; }

.leader-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 1.5rem;
}
.leader-tags span {
  padding: 5px 14px;
  background: rgba(10,47,196,0.07);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--white); }
.gallery-section .container { margin-bottom: 2.5rem; }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 6px;
}
.g-item {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.g-item.large {
  grid-row: span 2;
}
.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,47,196,0.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.g-item:hover::after { opacity: 1; }
.g-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}
.g-item:hover .g-caption { opacity: 1; transform: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--steel);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-eyebrow { color: var(--gold); }
.contact-info .section-title   { color: var(--white); }
.contact-info > p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
}
.contact-details strong { display: block; color: var(--white); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.contact-details span, .contact-details a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.contact-details a:hover { color: var(--white); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.form-group label span { color: var(--blue); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,47,196,0.08);
}
.form-group input.error,
.form-group textarea.error { border-color: #e53e3e; }

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

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.form-message.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; display: block; }
.form-message.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; display: block; }

#submit-btn { padding: 15px; font-size: 1rem; letter-spacing: 0.06em; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0F1929;
  color: rgba(255,255,255,0.6);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 60px; width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-col address p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.footer-col address i { color: var(--gold); margin-top: 3px; flex-shrink: 0; font-size: 0.8rem; }
.footer-col address a { color: rgba(255,255,255,0.55); }
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe57; }

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--steel);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--steel);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 96px; right: 28px;
  z-index: 998;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: none; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img{ height: 360px; }
  .about-badge       { bottom: -16px; right: 16px; }

  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }

  .leadership-card   { grid-template-columns: 280px 1fr; }
  .leader-bio        { padding: 32px 32px 32px 0; }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 240px);
  }
  .g-item.large { grid-row: span 1; }

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

@media (max-width: 768px) {
  .topbar { display: none; }
  .section { padding: 64px 0; }

  .hamburger { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 16px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .hero-headline { font-size: 3rem; }
  .hero-actions { flex-direction: column; }

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

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

  .leadership-card { grid-template-columns: 1fr; }
  .leader-image-wrap { min-height: auto; padding: 24px; }
  .leader-image-wrap img { height: 220px; }
  .leader-bio { padding: 24px; }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row     { grid-template-columns: 1fr; }

  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

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

@media (max-width: 480px) {
  .hero { max-height: none; height: auto; padding: 120px 0 80px; }
  .hero-bg-collage { grid-template-columns: 1fr; }
  .col-img:not(:first-child) { display: none; }
  .sectors-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; grid-template-rows: repeat(6, 200px); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   ORG CHART
   ============================================================ */
.org-chart-wrap {
  margin-top: 72px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px 56px;
  overflow-x: auto;
}

.org-chart-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 860px;
}

/* Levels */
.org-level {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  position: relative;
}

/* Vertical connector lines */
.org-vline {
  width: 2px;
  height: 32px;
  background: var(--blue);
  margin: 0 auto;
  opacity: 0.4;
}
.org-vline-sm {
  width: 2px;
  height: 20px;
  background: var(--steel-light);
  margin: 0 auto;
  opacity: 0.3;
}

/* Horizontal bars between columns */
.org-hbar {
  height: 2px;
  background: var(--blue);
  opacity: 0.35;
  margin: 0 auto;
  position: relative;
}
.org-hbar-5 { width: 86%; margin-bottom: 0; }
.org-hbar-2 { width: 60%; }

/* Column containers */
.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.org-col-wide { flex: 2.2; }

/* L3 layout */
.org-l3 {
  align-items: flex-start;
  gap: 12px;
}

/* L4 inner split */
.org-l4 {
  gap: 12px;
  width: 100%;
  margin-top: 0;
}

/* Node base styles */
.org-node {
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.35;
  width: 100%;
  max-width: 180px;
  transition: var(--transition);
  position: relative;
}

/* Executive Director */
.node-exec {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue-dark);
  box-shadow: 0 6px 24px rgba(10,47,196,0.25);
  padding: 14px 20px;
  max-width: 260px;
}
.node-exec .node-role {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}
.node-exec .node-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* COO */
.node-coo {
  background: var(--steel);
  color: var(--white);
  border: 2px solid var(--steel-mid);
  box-shadow: 0 4px 16px rgba(26,34,53,0.2);
  padding: 12px 28px;
  max-width: 220px;
}
.node-coo .node-role {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
}
.node-coo .node-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

/* Department managers */
.node-dept {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--text);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 10px 12px;
  box-shadow: 0 2px 10px rgba(10,47,196,0.1);
}
.node-dept:hover { background: rgba(10,47,196,0.04); transform: translateY(-2px); }

/* Engineers */
.node-eng {
  background: rgba(10,47,196,0.06);
  border: 1.5px solid rgba(10,47,196,0.25);
  color: var(--text);
  font-weight: 600;
  font-size: 0.76rem;
}

/* Supervisors */
.node-sup {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Field workers */
.node-field {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.73rem;
}

/* Unskilled */
.node-unskilled {
  background: #f1f5f9;
  border: 1px dashed var(--border);
  color: var(--text-light);
  font-size: 0.71rem;
  font-style: italic;
}

/* Sub node (office assistant etc) */
.org-node.node-sub {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.73rem;
  max-width: 140px;
}

/* Responsive org chart */
@media (max-width: 960px) {
  .org-chart-wrap { padding: 32px 16px; }
  .org-tree { min-width: 720px; }
}
@media (max-width: 600px) {
  .org-chart-wrap {
    padding: 24px 12px 32px;
    -webkit-overflow-scrolling: touch;
  }
  .org-chart-wrap::after {
    content: '← Scroll to see full chart →';
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 16px;
    letter-spacing: 0.06em;
  }
}

/* ============================================================
   ORG CHART
   ============================================================ */
.org-chart-wrap {
  margin-top: 72px;
  padding: 56px 40px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow-x: auto;
}

.org-chart-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2.5rem;
}

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 860px;
}

/* Levels */
.org-level {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

/* Nodes */
.org-node {
  border-radius: var(--radius);
  padding: 10px 16px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
  position: relative;
}

.node-exec {
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(10,47,196,0.3);
  min-width: 240px;
}
.node-exec .node-role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}
.node-exec .node-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.node-coo {
  background: var(--steel);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  min-width: 200px;
}
.node-coo .node-role {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
}
.node-coo .node-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.node-dept {
  background: var(--blue-light);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius);
  min-width: 120px;
  white-space: normal;
}
.node-dept strong { color: var(--white); font-weight: 700; }

.node-eng {
  background: var(--steel-mid);
  color: var(--white);
  font-size: 0.76rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  white-space: normal;
  min-width: 100px;
}

.node-sup {
  background: #2E4A7A;
  color: var(--white);
  font-size: 0.75rem;
  padding: 7px 12px;
  border-radius: var(--radius);
  white-space: normal;
  min-width: 100px;
}

.node-field {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  min-width: 100px;
}

.node-sub {
  background: var(--white);
  color: var(--text-light);
  border: 1.5px solid var(--border);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  min-width: 110px;
  text-align: center;
}

.node-unskilled {
  background: var(--off-white);
  color: var(--text-light);
  border: 1.5px dashed var(--border);
  font-size: 0.72rem;
  font-style: italic;
  padding: 5px 12px;
  border-radius: var(--radius);
  min-width: 100px;
  text-align: center;
}

/* Connectors */
.org-vline {
  width: 2px;
  height: 28px;
  background: var(--blue-light);
  margin: 0 auto;
  opacity: 0.5;
}

.org-vline-sm {
  width: 2px;
  height: 18px;
  background: var(--border);
  margin: 0 auto;
}

.org-hbar {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--blue-light), transparent);
  opacity: 0.4;
  margin: 0 auto;
}
.org-hbar-5 { width: 82%; margin-bottom: 0; }
.org-hbar-2 { width: 60%; margin: 0 auto 0; }

/* L3 layout */
.org-l3 {
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  position: relative;
}

.org-l3::before {
  content: '';
  position: absolute;
  top: 0; left: 9%; right: 9%;
  height: 2px;
  background: rgba(46,86,232,0.25);
}

.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 0;
}

.org-col-wide {
  flex: 2;
}

.org-l4 {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .org-chart-wrap { padding: 32px 16px; }
  .org-tree { min-width: 720px; }
}

@media (max-width: 768px) {
  .org-chart-wrap {
    padding: 24px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .org-tree { min-width: 660px; }
}

/* ============================================================
   DIRECTOR DUAL PHOTO
   ============================================================ */
.director-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.dir-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  filter: grayscale(0.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.dir-photo:hover {
  transform: scale(1.03);
  filter: grayscale(0);
}

/* Adjust leader-image-wrap to accommodate two photos */
.leader-image-wrap {
  align-items: flex-start !important;
  padding: 24px !important;
}

@media (max-width: 768px) {
  .director-photos {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dir-photo {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .director-photos {
    grid-template-columns: 1fr;
  }
  .dir-photo {
    height: 220px;
  }
}
