/* ==========================================================================
   HIDAR GROUP - Corporate Website Stylesheet
   Pixel-Perfect Implementation & Complete Multi-Page Design System
   ========================================================================== */

:root {
  --color-navy-darkest: #011224;
  --color-navy-dark: #01162d;
  --color-navy-nav: #021a36;
  --color-navy-hero: #021832;
  --color-navy-text: #051d38;
  --color-gold: #c59b4f;
  --color-gold-light: #d6af66;
  --color-gold-hover: #e0be7c;
  --color-bg-light: #f4f5f8;
  --color-text-body: #495057;
  --color-text-muted: #6c757d;
  --color-text-light: #cfd8e3;
  --color-border-light: #e5e8ec;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition-speed: 0.3s ease;
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  transition: all var(--transition-speed);
}

img,
video {
  max-width: 100% !important;
  height: auto;
}

/* Container Constraint for Clean Centering on Large Displays */
.container-xl {
  max-width: 1240px;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  min-height: 82px;
}

.brand-logo-img {
  height: 68px;
  width: auto;
  aspect-ratio: 832 / 757;
  object-fit: contain;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-text);
  font-size: 15px;
}

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

.contact-text a {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-navy-text);
  line-height: 1.35;
}

.contact-text a:hover {
  color: var(--color-gold);
}

/* Top Header Social Media Links */
.header-social-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  color: var(--color-navy-text);
  font-size: 13px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-social-btn:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(197, 155, 79, 0.3);
}

/* ==========================================================================
   Main Navigation Bar (Full Width Spanning)
   ========================================================================== */
.main-navbar {
  background-color: var(--color-navy-nav);
  padding: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  z-index: 1030;
}

.main-navbar .container-xl {
  display: flex;
  align-items: center;
  width: 100%;
}

.navbar-collapse {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid rgba(197, 155, 79, 0.5);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28197, 155, 79, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Edge-to-Edge Spaced Navigation Menu */
.nav-menu-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu-list .nav-item {
  flex: 0 1 auto;
  text-align: center;
}

.nav-menu-list .nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #ffffff;
  padding: 18px 10px !important;
  position: relative;
  text-transform: uppercase;
  transition: all var(--transition-speed);
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-menu-list .nav-link {
    font-size: 11.5px;
    letter-spacing: 0.3px;
    padding: 18px 5px !important;
  }
}

.nav-menu-list .nav-link:hover,
.nav-menu-list .nav-link.active,
.nav-menu-list .nav-link.show,
.nav-item.dropdown.show > .nav-link,
.nav-item.dropdown:hover > .nav-link,
.nav-item.dropdown > .nav-link.show,
.nav-menu-list .dropdown-toggle.show {
  color: var(--color-gold);
  background-color: transparent;
}

/* DIVISIONS toggle — white at rest ... */
.main-navbar .nav-menu-list .nav-item.dropdown > .nav-link.dropdown-toggle {
  color: #ffffff;
}

/* ... but gold on hover, open, and whenever its page/subpage is active.
   Placed AFTER the rest rule so the active page always wins. */
.main-navbar .nav-menu-list .nav-item.dropdown.show > .nav-link.dropdown-toggle,
.main-navbar .nav-menu-list .nav-item.dropdown > .nav-link.dropdown-toggle.show,
.main-navbar .nav-menu-list .nav-item.dropdown > .nav-link.dropdown-toggle:hover,
.main-navbar .nav-menu-list .nav-item.dropdown > .nav-link.dropdown-toggle.active,
.main-navbar .nav-menu-list .nav-item.dropdown.active > .nav-link.dropdown-toggle,
.main-navbar .nav-menu-list .nav-item.dropdown.current > .nav-link.dropdown-toggle {
  color: var(--color-gold);
}

/* Bootstrap caret arrow follows the gold text */
.main-navbar .nav-menu-list .dropdown-toggle::after {
  border-top-color: currentColor;
}

/* Active Gold Indicator Bar (uses ::before so Bootstrap caret ::after never flickers) */
.nav-menu-list .nav-link.active::before,
.nav-menu-list .nav-link:hover::before,
.nav-item.dropdown:hover > .nav-link::before,
.nav-item.dropdown.show > .nav-link::before,
.nav-item.dropdown.active > .nav-link::before,
.nav-item.dropdown > .nav-link.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 3px;
  background-color: var(--color-gold);
  pointer-events: none;
}

/* Dropdown Menu — stable hover, zero-gap, no flicker */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  background-color: var(--color-navy-nav);
  border: 1px solid rgba(197, 155, 79, 0.35);
  border-radius: 4px;
  padding: 8px 0;
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  /* Invisible hover bridge: covers any pixel gap between link & menu.
     Hidden by default so it never blocks clicks; only on hover/focus. */
  .nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    display: none;
    pointer-events: none;
  }
  .nav-item.dropdown:hover::after,
  .nav-item.dropdown.show::after {
    display: block;
  }
  /* Smooth open on hover / Bootstrap show */
  .nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 0.16s ease,
      transform 0.16s ease,
      visibility 0.16s;
    pointer-events: none;
  }
  .nav-item.dropdown:hover > .dropdown-menu,
  .nav-item.dropdown.show > .dropdown-menu,
  .nav-item.dropdown > .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* When neither hovered nor open, ensure dropdown menu stays hidden */
  .nav-item.dropdown:not(:hover):not(.show) > .dropdown-menu:not(.show) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
  }
}

.dropdown-item {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff;
  padding: 10px 20px;
  transition: all var(--transition-speed);
}

.dropdown-item:hover {
  background-color: rgba(197, 155, 79, 0.15);
  color: var(--color-gold);
}

/* Active subpage inside the DIVISIONS dropdown */
.dropdown-item.active,
.dropdown-item:active {
  background-color: rgba(197, 155, 79, 0.22);
  color: var(--color-gold);
}

.dropdown-item i {
  color: var(--color-gold);
  width: 18px;
}

/* News link — plain, no badge/dot */
.news-link {
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Employees Hierarchy (employees.html)
   ========================================================================== */
.employees-section {
  background-color: var(--color-bg-light);
}

.hierarchy-level {
  text-align: center;
  position: relative;
}

.hierarchy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-navy-text);
  background: #ffffff;
  border: 1px solid rgba(197, 155, 79, 0.45);
  border-radius: 999px;
  padding: 8px 22px;
  margin-bottom: 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.hierarchy-label i {
  color: var(--color-gold);
}

/* Vertical connector from one level to the next */
.hierarchy-connector {
  width: 2px;
  height: 34px;
  margin: 0 auto 26px auto;
  background: linear-gradient(
    to bottom,
    var(--color-gold),
    rgba(197, 155, 79, 0.25)
  );
  position: relative;
}

.hierarchy-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 9px;
  height: 9px;
  transform: translateX(-50%) rotate(45deg);
  background-color: var(--color-gold);
}

.employee-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* Strict 5-per-row x 2-row grid (10 employees) on desktop — all cards same size */
.employee-grid-5x2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 265px;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.employee-grid-5x2 .employee-card-link {
  display: block;
  min-width: 0;
  height: 265px;
  max-height: 265px;
}

.employee-grid-5x2 .employee-card {
  max-width: none;
  width: 100%;
  height: 265px !important;
  min-height: 265px !important;
  max-height: 265px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px 16px 14px;
  overflow: hidden;
  gap: 0;
}

.employee-grid-5x2 .employee-avatar-blank,
.employee-grid-5x2 .employee-avatar {
  width: 88px;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  margin: 0 auto 10px auto;
}

.employee-grid-5x2 .employee-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(197, 155, 79, 0.55);
  box-shadow: 0 6px 18px rgba(1, 28, 50, 0.18);
  display: block;
  background-color: var(--color-bg-light);
}

.employee-grid-5x2 .employee-name {
  min-height: 22px;
  max-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  font-size: 15px;
  margin-bottom: 4px;
  overflow: hidden;
}

.employee-grid-5x2 .employee-profession {
  min-height: 20px;
  max-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
  font-size: 11.5px;
  margin-bottom: 8px;
  overflow: hidden;
}

.employee-grid-5x2 .employee-social {
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid var(--color-border-light);
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.employee-grid-5x2 .employee-social-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  color: var(--color-navy-text);
  font-size: 13px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.employee-grid-5x2 .employee-social-link:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Transparent overlay keeps the whole card clickable to the details page;
   social links sit above it (z-index) and keep their own hrefs. */
.employee-card-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
}

@media (max-width: 1199.98px) {
  .employee-grid-5x2 {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 265px;
  }

  .employee-grid-5x2 .employee-card-link {
    height: 265px;
    max-height: 265px;
  }

  .employee-grid-5x2 .employee-card {
    height: 265px !important;
    min-height: 265px !important;
    max-height: 265px !important;
  }
}

@media (max-width: 767.98px) {
  .employee-grid-5x2 {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 265px;
    gap: 16px;
  }

  .employee-grid-5x2 .employee-card-link {
    height: 265px;
    max-height: 265px;
  }

  .employee-grid-5x2 .employee-card {
    height: 265px !important;
    min-height: 265px !important;
    max-height: 265px !important;
  }
}

@media (max-width: 479.98px) {
  .employee-grid-5x2 {
    grid-template-columns: 1fr;
    grid-auto-rows: 265px;
  }

  .employee-grid-5x2 .employee-card-link {
    height: 265px;
    max-height: 265px;
  }

  .employee-grid-5x2 .employee-card {
    height: 265px !important;
    min-height: 265px !important;
    max-height: 265px !important;
  }
}

.employee-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 30px 24px 26px 24px;
  text-align: center;
  width: 100%;
  max-width: 290px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.employee-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--color-gold),
    var(--color-gold-light)
  );
}

.employee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(1, 28, 50, 0.14);
}

.employee-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(197, 155, 79, 0.55);
  box-shadow: 0 6px 18px rgba(1, 28, 50, 0.18);
  margin: 0 auto 16px auto;
  display: block;
  background-color: var(--color-bg-light);
}

/* Blank white avatar placeholder (photo added later) */
.employee-avatar-blank {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid rgba(197, 155, 79, 0.55);
  box-shadow: 0 6px 18px rgba(1, 28, 50, 0.18);
  margin: 0 auto 16px auto;
  background-color: #ffffff;
}

/* Hierarchy cards are clickable links to the details page */
.employee-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.employee-card-link:hover .employee-name {
  color: var(--color-gold);
}

/* ==========================================================================
   Employee Details Page (employee-details.html)
   ========================================================================== */
.ed-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-navy-text);
}

.ed-back-link:hover {
  color: var(--color-gold);
}

.ed-profile-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.ed-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--color-gold),
    var(--color-gold-light)
  );
}

.ed-avatar-blank,
.ed-avatar-img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 4px solid rgba(197, 155, 79, 0.55);
  box-shadow: 0 8px 22px rgba(1, 28, 50, 0.16);
  background-color: #ffffff;
  margin: 0 auto;
}

.ed-avatar-img {
  object-fit: cover;
  display: block;
}

.ed-name {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--color-navy-text);
  margin-bottom: 6px;
}

.ed-profession {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}

.ed-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ed-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--color-text-body);
}

.ed-info-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(197, 155, 79, 0.14);
  color: var(--color-gold);
  font-size: 14px;
}

.ed-info-list a {
  color: var(--color-navy-text);
  font-weight: 600;
}

.ed-info-list a:hover {
  color: var(--color-gold);
}

.ed-bio-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 30px 36px;
}

.ed-bio-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-navy-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ed-bio-title i {
  color: var(--color-gold);
}

.ed-bio-text {
  color: var(--color-text-body);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 0;
}

.ed-not-found {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 50px 30px;
}

.ed-not-found i {
  font-size: 40px;
  color: var(--color-gold);
  margin-bottom: 14px;
}

@media (max-width: 767.98px) {
  .ed-profile-card,
  .ed-bio-card {
    padding: 26px 22px;
  }
}

.employee-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-navy-text);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.employee-profession {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.employee-dept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  background-color: var(--color-bg-light);
  border-radius: 999px;
  padding: 5px 14px;
}

.employee-dept i {
  color: var(--color-gold);
  font-size: 11px;
}

@media (max-width: 575.98px) {
  .employee-card {
    max-width: 100%;
  }
}

/* ==========================================================================
   Roots Module Styles
   ========================================================================== */
.roots-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.root-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 22px 20px 24px 20px;
  text-align: center;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.root-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
}

.root-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(1, 28, 50, 0.14);
}

.root-avatar {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(197, 155, 79, 0.35);
  box-shadow: 0 6px 18px rgba(1, 28, 50, 0.08);
  margin: 0 auto 16px auto;
  display: block;
  background-color: var(--color-bg-light);
  transition: transform 0.3s ease;
}

.root-card:hover .root-avatar {
  transform: scale(1.02);
}

.root-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-text);
  margin: 0 0 12px 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.root-card:hover .root-name {
  color: var(--color-gold);
}

.root-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 9px 24px;
  border-radius: 50px;
  color: var(--color-navy-text);
  border: 1.5px solid var(--color-navy-text);
  background: transparent;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
  margin-top: 2px;
}

.root-btn:hover {
  background-color: var(--color-navy-text);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 28, 50, 0.18);
}

.root-card-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 14px;
}

@media (max-width: 575.98px) {
  .root-card {
    max-width: 100%;
    padding: 18px 16px 20px 16px;
  }

  .root-avatar {
    height: 250px;
    border-radius: 8px;
  }

  .root-name {
    font-size: 19px;
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   Page Banner / Inner Header (For Secondary Pages)
   ========================================================================== */
.page-banner {
  display: none !important;
}

/* Universal Pagination Item Visibility Controller (overrides d-flex, grid, block) */
.paginated-hidden,
.job-item.paginated-hidden,
.project-item.paginated-hidden,
.blog-item.paginated-hidden,
.partner-item.paginated-hidden,
.employee-card-link.paginated-hidden {
  display: none !important;
}

.page-banner .row {
  justify-content: center;
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: center;
}

.page-banner-subtitle {
  display: none !important;
}

.page-banner-title {
  margin-bottom: 12px;
}

.page-banner .breadcrumb-custom {
  margin-top: 0;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumb-custom a {
  color: var(--color-gold);
}

.breadcrumb-custom a:hover {
  color: var(--color-gold-hover);
  text-decoration: underline;
}

.breadcrumb-custom .separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-custom .active {
  color: #ffffff;
}

/* ==========================================================================
   Hero Section (Home Page)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-navy-hero);
  background: radial-gradient(
    circle at 75% 45%,
    #05264c 0%,
    #021832 60%,
    #011226 100%
  );
  overflow: hidden;
}

.hero-skyline-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(1, 18, 38, 0.95), transparent);
  pointer-events: none;
}

.min-vh-hero {
  min-height: 520px;
  align-items: flex-end !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 50px;
  padding-top: 40px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-tagline-1,
.hero-tagline-2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--color-gold);
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-tagline-2 {
  margin-bottom: 20px;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--color-text-light);
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-hero-explore {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  background-color: transparent;
  padding: 12px 24px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: all var(--transition-speed);
}

.btn-hero-explore:hover {
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
  box-shadow: 0 0 20px rgba(197, 155, 79, 0.45);
  transform: translateY(-2px);
}

.btn-hero-explore i {
  font-size: 11px;
  transition: transform var(--transition-speed);
}

.btn-hero-explore:hover i {
  transform: translateX(4px);
}

.hero-image-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
}

.hero-building-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 2;
  margin-bottom: 0;
  width: 100%;
}

.hero-building-img {
  max-height: 520px;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 495 / 405;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 100%
  );
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 100%);
}

/* ==========================================================================
   Group Stats Counter Strip (4 Distinct Corporate Cards)
   ========================================================================== */
.stats-counter-strip {
  background-color: var(--color-navy-darkest);
  border-top: 1px solid rgba(197, 155, 79, 0.35);
  border-bottom: 1px solid rgba(197, 155, 79, 0.35);
  position: relative;
  z-index: 3;
}

.stat-card {
  background: linear-gradient(145deg, #031e3d 0%, #01142a 100%);
  border: 1px solid rgba(197, 155, 79, 0.35);
  border-top: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 18px 14px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 24px rgba(197, 155, 79, 0.3);
}

.stat-card-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(197, 155, 79, 0.12);
  border: 1px solid rgba(197, 155, 79, 0.4);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition-speed);
}

.stat-card:hover .stat-icon-wrap {
  background: var(--color-gold);
  color: var(--color-navy-darkest);
}

.stat-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.stat-text-block {
  text-align: left;
}

.stat-title {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(11.5px, 1.2vw, 13px);
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

.stat-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(10.5px, 1.1vw, 12px);
  color: #a8bed4;
  line-height: 1.25;
  margin-top: 2px;
}

/* ==========================================================================
   Business Divisions Section
   ========================================================================== */
.divisions-section {
  background-color: var(--color-bg-light);
}

.section-pretitle-wrapper {
  gap: 14px;
  margin-bottom: 8px;
}

.gold-divider {
  display: inline-block;
  width: 45px;
  height: 1.5px;
  background-color: var(--color-gold);
}

.section-pretitle {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.section-main-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-navy-text);
  text-transform: uppercase;
}

/* Division Cards */
.division-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-speed);
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(2, 26, 54, 0.12);
  border-color: rgba(197, 155, 79, 0.35);
}

.card-top-content {
  padding: 16px 8px 12px 8px;
  background-color: #ffffff;
}

.division-icon-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.division-icon {
  max-height: 46px;
  max-width: 56px;
  object-fit: contain;
  transition: transform var(--transition-speed);
}

.division-card:hover .division-icon {
  transform: scale(1.08);
}

.division-name {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--color-navy-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.division-desc {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: #5d6d7e;
  line-height: 1.25;
  margin-bottom: 0;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-bottom-photo {
  height: 135px;
  overflow: hidden;
  background-color: #e9ecef;
}

.card-bottom-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.division-card:hover .card-bottom-photo img {
  transform: scale(1.06);
}

/* ==========================================================================
   Our Presence Section (Centered Alignment)
   ========================================================================== */
.presence-section {
  background-color: var(--color-navy-hero);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.presence-pretitle-wrapper {
  gap: 12px;
}

.gold-divider-short {
  display: inline-block;
  width: 35px;
  height: 1.5px;
  background-color: var(--color-gold);
}

.presence-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.presence-locations-row {
  gap: 10px 16px;
  padding: 8px 0;
}

.presence-item {
  padding: 6px 14px;
  transition: transform var(--transition-speed);
}

.presence-item:hover {
  transform: translateY(-2px);
}

.location-pin-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 13px;
  background: rgba(197, 155, 79, 0.08);
}

.location-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.presence-separator {
  width: 1px;
  height: 22px;
  background: rgba(197, 155, 79, 0.35);
  margin: 0 8px;
}

/* ==========================================================================
   Joint Venture / Partnership Section
   ========================================================================== */
.partnership-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
}

.joint-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--color-navy-text);
  margin-bottom: 4px;
}

.joint-title .multiply-symbol {
  color: var(--color-text-muted);
  font-weight: 400;
  margin: 0 6px;
}

.joint-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #374151;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  height: auto;
  object-fit: contain;
}

.partner-logo-lift {
  max-height: 52px;
}

.partner-logo-bba {
  max-height: 52px;
}

.partner-divider {
  width: 1px;
  height: 50px;
  background-color: #d1d5db;
}

/* ==========================================================================
   Corporate Footer (Centered & Balanced Alignment)
   ========================================================================== */
.corporate-footer {
  background-color: var(--color-navy-dark);
}

.footer-contact-block {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer-icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: rgba(197, 155, 79, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 19px;
  transition: all var(--transition-speed);
}

.footer-contact-block:hover .footer-icon-circle {
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
  transform: rotate(10deg);
}

.footer-text-wrap {
  display: flex;
  flex-direction: column;
}

.footer-line {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #d4dde8;
  line-height: 1.45;
}

.footer-line a {
  color: #d4dde8;
}

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

.footer-numbers-column,
.footer-emails-column {
  min-width: max-content;
}

.copyright-bar {
  background-color: var(--color-navy-darkest);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: #7b8ea3;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   Buttons, Forms & UI Components (For Multi-Page Experience)
   ========================================================================== */
.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-speed);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  color: var(--color-navy-darkest);
  box-shadow: 0 4px 15px rgba(197, 155, 79, 0.35);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--color-navy-text);
  border: 1.5px solid var(--color-navy-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 22px;
  border-radius: 4px;
  transition: all var(--transition-speed);
}

.btn-outline-navy:hover {
  background-color: var(--color-navy-text);
  color: #ffffff;
}

/* Section Header Shared */
.section-title-wrap {
  margin-bottom: 40px;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-navy-text);
  font-size: clamp(24px, 3vw, 34px);
  text-transform: uppercase;
}

.section-title-wrap p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 10px auto 0 auto;
}

/* Generic Card Component */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-speed);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(2, 26, 54, 0.08);
  border-color: rgba(197, 155, 79, 0.4);
}

.feature-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: rgba(197, 155, 79, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-navy-text);
  margin-bottom: 12px;
}

.feature-box p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Division Tabs & Showcases */
.division-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 35px;
}

.division-tab-btn {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  padding: 10px 18px;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-navy-text);
  cursor: pointer;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  gap: 8px;
}

.division-tab-btn:hover,
.division-tab-btn.active {
  background: var(--color-navy-nav);
  color: var(--color-gold);
  border-color: var(--color-navy-nav);
  box-shadow: 0 4px 12px rgba(2, 26, 54, 0.15);
}

.division-detail-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.division-detail-card:hover {
  box-shadow: 0 12px 32px rgba(2, 26, 54, 0.1);
}

/* Desktop (>= 992px): Strict fixed 380px equal height for every card + image */
@media (min-width: 992px) {
  .division-detail-card {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
  }

  .division-detail-card > .row,
  .division-detail-card .division-card-row {
    height: 380px !important;
    max-height: 380px !important;
    align-items: stretch !important;
  }

  .division-detail-card .col-lg-5,
  .division-detail-card .division-img-col {
    height: 380px !important;
    max-height: 380px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    padding: 0 !important;
  }

  .division-detail-card .col-lg-5 > div,
  .division-detail-card .col-lg-5 .position-relative,
  .division-detail-card .division-img-wrapper {
    height: 380px !important;
    max-height: 380px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: var(--color-navy-darkest) !important;
  }

  .division-detail-card .col-lg-5 img,
  .division-detail-card .division-detail-img,
  .division-detail-img {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s ease;
  }

  .division-detail-card:hover .division-detail-img,
  .division-detail-card:hover .col-lg-5 img {
    transform: scale(1.04);
  }

  .division-detail-card .col-lg-7,
  .division-detail-card .division-content-col {
    height: 380px !important;
    max-height: 380px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 22px 42px 20px 42px !important;
    overflow: hidden !important;
  }

  .division-detail-card .col-lg-7 h3 {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
  }

  .division-detail-card .col-lg-7 .d-flex.align-items-center {
    margin-bottom: 10px !important;
  }

  .division-detail-card .col-lg-7 h5 {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .division-detail-card .col-lg-7 p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .division-content-inner {
    width: 100%;
  }
}

/* Tablet & Mobile (< 992px): Uniform fixed image height, auto text height */
@media (max-width: 991.98px) {
  .division-detail-card {
    height: auto !important;
  }

  .division-detail-card > .row,
  .division-detail-card .division-card-row {
    height: auto !important;
  }

  .division-detail-card .col-lg-5,
  .division-detail-card .division-img-col,
  .division-detail-card .col-lg-5 > div,
  .division-detail-card .col-lg-5 .position-relative,
  .division-detail-card .division-img-wrapper {
    width: 100% !important;
    height: 280px !important;
    max-height: 280px !important;
    min-height: 280px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    padding: 0 !important;
  }

  .division-detail-card .col-lg-5 img,
  .division-detail-card .division-detail-img,
  .division-detail-img {
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .division-detail-card .col-lg-7,
  .division-detail-card .division-content-col {
    width: 100% !important;
    padding: 28px 24px !important;
  }
}

@media (max-width: 575.98px) {
  .division-detail-card .col-lg-5,
  .division-detail-card .division-img-col,
  .division-detail-card .col-lg-5 > div,
  .division-detail-card .col-lg-5 .position-relative,
  .division-detail-card .division-img-wrapper {
    height: 230px !important;
    max-height: 230px !important;
    min-height: 230px !important;
  }

  .division-detail-card .col-lg-5 img,
  .division-detail-card .division-detail-img,
  .division-detail-img {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }

  .division-detail-card .col-lg-7,
  .division-detail-card .division-content-col {
    padding: 24px 18px !important;
  }
}

/* Projects Filter & Grid */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 35px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  padding: 8px 18px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--color-navy-text);
  cursor: pointer;
  transition: all var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-navy-nav);
  color: var(--color-gold);
  border-color: var(--color-navy-nav);
}

.project-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-speed);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(2, 26, 54, 0.12);
}

.project-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.project-info {
  padding: 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.project-category {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy-text);
  margin-bottom: 8px;
}

.project-meta {
  font-size: 12.5px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Uniform project card body: 3-line clamped description keeps cards equal */
.project-desc {
  flex: 1 1 auto;
  min-height: 63px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reserve two title lines on the Projects grid so every card matches height */
.project-grid-container .project-title {
  min-height: 42px;
}

/* Careers Cards & Accordion */
.job-item {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-speed);
}

.job-item:hover {
  border-color: rgba(197, 155, 79, 0.5);
  box-shadow: 0 8px 20px rgba(2, 26, 54, 0.08);
}

.job-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-navy-text);
  margin-bottom: 6px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.job-tag {
  background: var(--color-bg-light);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-navy-text);
}

/* News Cards */
.news-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-speed);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(2, 26, 54, 0.1);
}

.news-thumb {
  height: 200px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-body {
  padding: 22px;
}

.news-date {
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy-text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Contact Hubs & Form */
.hub-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: all var(--transition-speed);
}

.hub-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(2, 26, 54, 0.08);
}

.hub-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(197, 155, 79, 0.12);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.hub-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy-text);
  margin-bottom: 8px;
}

.hub-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 6px;
}

/* Custom Form Styles */
.form-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.form-label-custom {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-navy-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-control-custom {
  border: 1.5px solid var(--color-border-light);
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all var(--transition-speed);
}

.form-control-custom:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 155, 79, 0.18);
}

/* Modals */
.modal-content {
  border: 1px solid rgba(197, 155, 79, 0.4);
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background-color: var(--color-navy-nav);
  color: #ffffff;
  border-bottom: 2px solid var(--color-gold);
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

/* ==========================================================================
   /* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   Pixel-Perfect across 320px, 375px, 414px, 576px, 768px, 992px, 1200px+
   ========================================================================== */

/* Large Desktop */
@media (min-width: 1200px) {
  .division-card-col {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

/* Tablet & Mobile (Below 992px) */
@media (max-width: 991.98px) {
  /* Top Header on Tablet/Mobile */
  .top-header {
    padding: 10px 0;
    min-height: auto;
  }

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

  /* Compact header contact on tablet/mobile */
  .header-contact-wrap {
    margin-top: 0;
    gap: 12px !important;
  }

  .header-contact-wrap .contact-item {
    font-size: 12px;
  }

  .header-social-wrap {
    gap: 6px;
  }

  .header-social-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  /* Mobile Navigation Bar */
  .main-navbar {
    padding: 4px 0;
  }

  .navbar-toggler {
    background-color: rgba(197, 155, 79, 0.12);
    border: 1px solid var(--color-gold);
    padding: 5px 9px;
    border-radius: 4px;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(197, 155, 79, 0.4);
  }

  .nav-menu-list {
    flex-direction: column;
    padding: 10px 0 14px 0;
    align-items: stretch;
    background-color: var(--color-navy-darkest);
    border-radius: 6px;
    margin-top: 8px;
    border: 1px solid rgba(197, 155, 79, 0.3);
  }

  .nav-menu-list .nav-item {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu-list .nav-item:last-child {
    border-bottom: none;
  }

  .nav-menu-list .nav-link {
    padding: 12px 18px !important;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nav-menu-list .nav-link.active::before,
  .nav-menu-list .nav-link:hover::before {
    display: none;
  }

  .nav-menu-list .nav-link.active {
    background-color: rgba(197, 155, 79, 0.15);
    border-left: 4px solid var(--color-gold);
    color: var(--color-gold);
  }

  .dropdown-menu {
    background-color: rgba(1, 18, 36, 0.98);
    margin: 4px 12px;
    border: 1px solid rgba(197, 155, 79, 0.25);
  }

  /* Hero Section Tablet */
  .min-vh-hero {
    min-height: auto;
    padding: 24px 0 0 0;
  }

  .hero-content {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn-wrap {
    justify-content: center;
  }

  .hero-image-col {
    justify-content: center;
    text-align: center;
  }

  .hero-building-wrapper {
    margin-top: 15px;
    justify-content: center;
    width: 100%;
    min-height: 360px;
  }

  .hero-building-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    aspect-ratio: 495 / 405;
    object-position: center bottom;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* Footer on Tablet */
  .footer-contact-block {
    justify-content: center !important;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .footer-icon-circle {
    margin-right: 0 !important;
  }
}

/* Mobile Screens (Below 768px) */
@media (max-width: 767.98px) {
  /* Header on Mobile: Sleek & Ultra-Compact Single Row */
  .top-header {
    padding: 6px 0 !important;
    min-height: 48px !important;
  }

  .top-header .container-xl {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo-img {
    height: 34px !important;
    width: 37px !important;
    aspect-ratio: 832 / 757 !important;
    object-fit: contain;
  }

  .mobile-call-pill {
    display: inline-flex !important;
    align-items: center;
    background-color: rgba(197, 155, 79, 0.12);
    border: 1px solid var(--color-gold);
    color: var(--color-navy-darkest);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-speed);
  }

  .mobile-call-pill:hover {
    background-color: var(--color-gold);
    color: #ffffff;
  }

  .header-social-wrap {
    gap: 6px;
  }

  .header-social-btn {
    width: 28px;
    height: 28px;
    font-size: 11.5px;
  }

  /* Mobile Navigation Bar */
  .main-navbar {
    padding: 2px 0 !important;
  }

  .mobile-nav-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
  }

  .navbar-toggler {
    padding: 4px 8px !important;
    border: 1px solid rgba(197, 155, 79, 0.6) !important;
    border-radius: 4px;
  }

  .navbar-toggler-icon {
    width: 22px;
    height: 22px;
  }

  /* Hero Section on Mobile: Fits initial viewport fold elegantly */
  .hero-section {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  .min-vh-hero {
    min-height: auto !important;
    padding: 6px 0 0 0 !important;
    align-items: center !important;
  }

  .hero-content {
    padding-top: 8px !important;
    padding-bottom: 6px !important;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(23px, 6.5vw, 29px) !important;
    letter-spacing: 0.8px;
    margin-bottom: 2px !important;
    line-height: 1.15;
  }

  .hero-tagline-1,
  .hero-tagline-2 {
    font-size: clamp(16.5px, 4.8vw, 20px) !important;
    letter-spacing: 0.6px;
    line-height: 1.2;
  }

  .hero-tagline-2 {
    margin-bottom: 8px !important;
  }

  .hero-description {
    font-size: 12.5px !important;
    line-height: 1.45;
    margin-bottom: 12px !important;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    color: #b0c4de;
  }

  .hero-btn-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .btn-hero-explore {
    display: inline-flex !important;
    width: auto !important;
    justify-content: center;
    padding: 8px 22px !important;
    font-size: 11.5px !important;
    letter-spacing: 0.8px;
  }

  .hero-building-wrapper {
    margin-top: 6px !important;
    justify-content: center !important;
    display: flex !important;
    width: 100% !important;
    min-height: 220px !important;
  }

  .hero-building-img {
    width: 100% !important;
    max-width: 268px !important;
    height: auto !important;
    aspect-ratio: 495 / 405 !important;
    margin: 0 auto !important;
    object-fit: contain;
    display: block !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)) !important;
  }

  /* Stats Counter Strip & 4 Cards on Mobile */
  .stats-counter-strip {
    padding: 16px 0 !important;
  }

  .stat-card {
    padding: 12px 8px !important;
    border-radius: 6px !important;
  }

  .stat-card-inner {
    gap: 8px !important;
  }

  .stat-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 13px !important;
  }

  .stat-content {
    gap: 6px !important;
  }

  .stat-number {
    font-size: 20px !important;
  }

  .stat-title {
    font-size: 10.5px !important;
    letter-spacing: 0.4px !important;
  }

  .stat-subtitle {
    font-size: 9.5px !important;
    color: #a8bed4 !important;
  }

  /* Business Divisions Section */
  .divisions-section {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  .section-header {
    margin-bottom: 18px !important;
  }

  .section-main-title {
    font-size: 18px !important;
  }

  .section-pretitle {
    font-size: 11px !important;
    letter-spacing: 1px;
  }

  .gold-divider {
    width: 22px !important;
  }

  /* Division Cards on Mobile: Sleek 2-column grid */
  .division-card {
    border-radius: 6px;
  }

  .card-top-content {
    padding: 10px 6px 6px 6px !important;
  }

  .division-icon-wrap {
    height: 38px !important;
    margin-bottom: 4px !important;
  }

  .division-icon {
    max-height: 34px !important;
    max-width: 44px !important;
  }

  .division-name {
    font-size: 11px !important;
    min-height: 28px !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.2px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
  }

  .division-desc {
    font-size: 9.5px !important;
    min-height: 24px !important;
    line-height: 1.2 !important;
  }

  .card-bottom-photo {
    height: 110px !important;
  }

  /* Presence Section on Mobile */
  .presence-section {
    padding: 20px 0 !important;
  }

  .presence-title {
    font-size: 12px;
  }

  .presence-separator {
    display: none;
  }

  .presence-locations-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 4px 0;
  }

  .presence-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 155, 79, 0.35);
    border-radius: 20px;
    padding: 4px 10px;
  }

  .location-pin-circle {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .location-name {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* Partnership Section on Mobile */
  .partnership-section {
    padding: 24px 0 !important;
  }

  .joint-title {
    font-size: 18px;
  }

  .joint-subtitle {
    font-size: 13px;
  }

  .partner-logo-lift,
  .partner-logo-bba {
    max-height: 38px;
  }

  .partner-divider {
    height: 30px;
  }

  /* Pre-Footer Banner on Mobile */
  .pre-footer-banner {
    padding: 30px 15px !important;
  }

  .pre-footer-banner h2 {
    font-size: 20px !important;
  }

  /* Footer on Mobile */
  .corporate-footer {
    padding-top: 30px !important;
  }

  .footer-contact-block {
    margin-bottom: 16px;
  }

  .footer-icon-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 17px;
  }

  .footer-line {
    font-size: 12px;
  }

  .copyright-text {
    font-size: 11px;
  }

  /* Subpages Mobile Overrides */
  .page-banner {
    padding: 30px 0 25px 0;
  }

  .page-banner-title {
    font-size: 24px;
  }

  .page-banner-subtitle {
    font-size: 13.5px;
  }

  .division-tab-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .division-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 11px;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 11px;
  }

  .form-card {
    padding: 20px 15px;
  }

  .modal-dialog {
    margin: 8px;
  }
}

/* Extra Small Mobile (Below 380px) */
@media (max-width: 379.98px) {
  .top-header {
    min-height: 42px !important;
  }

  .brand-logo-img {
    height: 28px !important;
    width: 31px !important;
    aspect-ratio: 832 / 757 !important;
    object-fit: contain;
  }

  .mobile-call-pill {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  .mobile-call-pill span {
    font-size: 10px !important;
  }

  .hero-title {
    font-size: 20px !important;
  }

  .hero-tagline-1,
  .hero-tagline-2 {
    font-size: 14.5px !important;
  }

  .hero-description {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    max-width: 260px !important;
  }

  .btn-hero-explore {
    padding: 6px 16px !important;
    font-size: 10.5px !important;
  }

  .hero-building-wrapper {
    min-height: 180px !important;
  }

  .hero-building-img {
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    aspect-ratio: 495 / 405 !important;
  }

  .stat-card {
    padding: 10px 4px !important;
  }

  .stat-icon-wrap {
    display: none !important;
  }

  .stat-number {
    font-size: 18px !important;
  }

  .stat-title {
    font-size: 9px !important;
  }

  .stat-subtitle {
    font-size: 8px !important;
  }

  .division-name {
    font-size: 9.5px !important;
    min-height: 24px !important;
  }

  .division-desc {
    font-size: 8px !important;
  }

  .card-bottom-photo {
    height: 90px !important;
  }
}


/* ================= REAL PROJECTS & MULTIMEDIA SHOWCASE ================= */
.project-status-badge.badge-ongoing {
  background-color: #0b4f8c;
  color: #ffffff;
  border: 1px solid var(--color-gold);
}

.project-status-badge.badge-completed {
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
}

.project-status-badge.badge-upcoming {
  background-color: #0f5132;
  color: #ffffff;
  border: 1px solid var(--color-gold);
}

.project-gallery-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(2, 26, 54, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(197, 155, 79, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ================= PROJECTS PAGINATION ================= */
.projects-pagination {
  margin-top: 45px;
}

.pagination-custom {
  gap: 0;
}

.pagination-custom .page-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-navy-text);
  background-color: #ffffff;
  border: 1px solid var(--color-border-light);
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  border-radius: 6px;
  transition: all var(--transition-speed);
}

.pagination-custom .page-link:hover {
  background-color: var(--color-navy-nav);
  color: var(--color-gold);
  border-color: var(--color-navy-nav);
}

.pagination-custom .page-item.active .page-link {
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(197, 155, 79, 0.35);
}

.pagination-custom .page-item.disabled .page-link {
  color: #b8bec7;
  background-color: #f4f5f7;
  border-color: var(--color-border-light);
  pointer-events: none;
}

/* ================= PROJECT DETAILS MODAL ================= */
.project-details-image {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  background: #011226;
  border-bottom: 1px solid var(--color-border-light);
}

.project-status-badge-static {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.project-status-badge-static.badge-slot-completed {
  background-color: var(--color-gold);
  color: var(--color-navy-darkest);
}

.project-status-badge-static.badge-slot-ongoing {
  background-color: #0b4f8c;
  color: #ffffff;
  border: 1px solid var(--color-gold);
}

.project-status-badge-static.badge-slot-upcoming {
  background-color: #0f5132;
  color: #ffffff;
  border: 1px solid var(--color-gold);
}

/* Inside the modal the title should size to its content, not the card grid */
#projectDetailsTitle {
  min-height: 0;
}

.gallery-grid-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--color-border-light);
  background: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(2, 26, 54, 0.12);
  border-color: var(--color-gold);
}

.gallery-grid-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  background-color: #f1f3f6;
}

.gallery-grid-card:hover img {
  transform: scale(1.04);
}

.gallery-grid-info {
  padding: 14px 16px;
  flex-grow: 1;
}

.gallery-grid-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-navy-text);
  margin-bottom: 4px;
}

.gallery-grid-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin-bottom: 0;
}

.video-player-wrapper {
  position: relative;
  background: #011226;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(197, 155, 79, 0.3);
}

.video-player-wrapper video {
  width: 100%;
  display: block;
  max-height: 380px;
  background-color: #000000;
}

.video-caption-bar {
  background: var(--color-navy-nav);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 12px;
}

.craftsmanship-spotlight-box {
  background: linear-gradient(135deg, #021a36 0%, #05264c 100%);
  border: 1px solid rgba(197, 155, 79, 0.4);
  border-radius: 12px;
  padding: 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.mini-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 767.98px) {
  .mini-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mini-gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 100px;
  border: 1px solid var(--color-border-light);
}

.mini-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mini-gallery-item:hover img {
  transform: scale(1.08);
}

.mini-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(1, 18, 38, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Project Details Page (project-details.html)
   ========================================================================== */
.pd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-navy-text);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  padding: 11px 20px;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.pd-back-link:hover {
  color: var(--color-navy-darkest);
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateX(-4px);
}

.pd-slider-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 26, 54, 0.08);
}

.pd-carousel {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.pd-media {
  position: relative;
  min-height: 320px;
  height: clamp(340px, 50vw, 650px);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-ambient-bg {
  position: absolute;
  inset: -35px;
  background-size: cover;
  background-position: center;
  filter: blur(35px) saturate(1.25);
  opacity: 0.22;
  transform: scale(1.18) translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

.pd-media img,
.pd-media video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 25px rgba(2, 26, 54, 0.08));
}

.pd-media iframe {
  position: relative;
  z-index: 2;
  height: 100%;
  border: 0;
}

.pd-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 155, 79, 0.75);
  background: rgba(2, 26, 54, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed);
}

.pd-carousel-btn:hover,
.pd-carousel-btn:focus-visible {
  background: var(--color-gold);
  color: var(--color-navy-darkest);
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.08);
  outline: none;
}

.pd-carousel-prev {
  left: 16px;
}

.pd-carousel-next {
  right: 16px;
}

.pd-carousel-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(2, 26, 54, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 155, 79, 0.6);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pd-counter-sep {
  color: var(--color-gold);
}

.pd-fullscreen-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(197, 155, 79, 0.6);
  background: rgba(2, 26, 54, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.pd-fullscreen-btn:hover {
  background: var(--color-gold);
  color: var(--color-navy-darkest);
  border-color: var(--color-gold);
  transform: scale(1.08);
}

/* Thumbnail Strip */
.pd-thumbnails-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) #f1f1f1;
  -webkit-overflow-scrolling: touch;
}

.pd-thumbnails-strip::-webkit-scrollbar {
  height: 4px;
}

.pd-thumbnails-strip::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.pd-thumbnails-strip::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}

.pd-thumb-btn {
  position: relative;
  flex: 0 0 72px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #021a36;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.6;
}

.pd-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-thumb-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  border-color: rgba(197, 155, 79, 0.6);
}

.pd-thumb-btn.active {
  opacity: 1;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(197, 155, 79, 0.4), 0 4px 10px rgba(2, 26, 54, 0.15);
  transform: scale(1.04);
}

.pd-thumb-video-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #021a36;
  color: var(--color-gold);
  font-size: 14px;
}

/* Lightbox Modal */
.pd-lightbox-modal .modal-content {
  background: rgba(2, 26, 54, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.pd-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  z-index: 10;
}

.pd-lightbox-counter {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.pd-lightbox-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.pd-lightbox-close:hover {
  color: var(--color-gold);
  transform: scale(1.15);
}

.pd-lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
  position: relative;
  gap: 15px;
}

.pd-lightbox-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 85vh;
}

.pd-lightbox-view img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.pd-lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 155, 79, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  flex-shrink: 0;
}

.pd-lightbox-nav:hover {
  background: var(--color-gold);
  color: var(--color-navy-darkest);
  border-color: var(--color-gold);
  transform: scale(1.1);
}

/* Single-media projects: hide slider chrome */
.pd-slider-card.pd-single .pd-carousel-btn,
.pd-slider-card.pd-single .pd-carousel-counter,
.pd-slider-card.pd-single .pd-thumbnails-strip,
.pd-slider-card.pd-single .pd-fullscreen-btn,
.pd-slider-card.pd-single .pd-indicators {
  display: none;
}

.pd-info-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-top: 3px solid var(--color-gold);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 30px;
  margin-top: 24px;
}

.pd-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.pd-gallery-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-navy-text);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  padding: 5px 12px;
}

.pd-gallery-chip i {
  color: var(--color-gold);
}

/* Clickable Video badge (only rendered when the project has videos) */
.pd-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: #0b4f8c;
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pd-video-badge:hover {
  background: #0d61ab;
  transform: translateY(-1px);
}

.pd-video-badge i {
  color: var(--color-gold);
  font-size: 13px;
}

/* Project video modal */
.pd-video-dialog {
  max-width: 860px;
}

.pd-video-content {
  background: #021a36;
  border: 1px solid rgba(197, 155, 79, 0.45);
  border-radius: 10px;
  overflow: hidden;
}

.pd-video-header {
  border-bottom: 1px solid rgba(197, 155, 79, 0.3);
}

.pd-video-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.pd-video-body {
  padding: 18px;
}

.pd-video-player {
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(197, 155, 79, 0.3);
}

.pd-video-player video {
  width: 100%;
  max-height: 440px;
  display: block;
  background: #000000;
}

.pd-video-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.pd-video-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pd-video-arrow:hover {
  background: var(--color-gold);
  color: #021a36;
}

.pd-video-thumbs {
  display: flex;
  flex: 1;
  gap: 10px;
  overflow-x: auto;
  padding: 2px;
}

.pd-video-thumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 155, 79, 0.35);
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pd-video-thumb i {
  color: var(--color-gold);
}

.pd-video-thumb:hover {
  background: rgba(197, 155, 79, 0.15);
}

.pd-video-thumb.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #021a36;
}

.pd-video-thumb.active i {
  color: #021a36;
}

.pd-video-counter {
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}

.pd-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-navy-text);
  margin-bottom: 14px;
}

.pd-desc {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--color-text-body);
  max-width: 920px;
  margin-bottom: 26px;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pd-neighbor-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.pd-neighbor-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 48%;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--color-navy-text);
  transition: all var(--transition-speed);
}

.pd-neighbor-link:hover {
  border-color: var(--color-gold);
  box-shadow: 0 6px 18px rgba(2, 26, 54, 0.1);
  transform: translateY(-2px);
  color: var(--color-navy-darkest);
}

.pd-neighbor-link i {
  color: var(--color-gold);
}

.pd-neighbor-text {
  display: flex;
  flex-direction: column;
}

.pd-neighbor-text small {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pd-neighbor-text strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy-text);
}

.pd-not-found {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 64px 24px;
}

.pd-not-found i {
  font-size: 34px;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.pd-not-found h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-navy-text);
}

@media (max-width: 767.98px) {
  .pd-media {
    height: clamp(230px, 62vw, 380px);
  }

  .pd-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .pd-carousel-prev {
    left: 10px;
  }

  .pd-carousel-next {
    right: 10px;
  }

  .pd-info-card {
    padding: 22px 18px;
  }

  .pd-neighbor-nav {
    flex-direction: column;
  }

  .pd-neighbor-link {
    max-width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Critical Media & Layout Protection (Shifted from HTML internal styles)
   ========================================================================== */
img,
video {
  max-width: 100% !important;
  height: auto;
}

.video-player-wrapper {
  position: relative !important;
  background: #011226 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  max-width: 100% !important;
  border: 1px solid rgba(197, 155, 79, 0.3) !important;
}

.video-player-wrapper video {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 280px !important;
  object-fit: cover !important;
  display: block !important;
  background: #000000 !important;
}

.gallery-grid-card {
  position: relative !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e5e8ec !important;
  background: #ffffff !important;
}

.gallery-grid-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

.project-thumb {
  position: relative !important;
  overflow: hidden !important;
  height: 230px !important;
  background: #011226 !important;
}

.project-thumb img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.mini-gallery-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 12px !important;
}

@media (max-width: 767.98px) {
  .mini-gallery-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.mini-gallery-item {
  position: relative !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  height: 95px !important;
  border: 1px solid #e5e8ec !important;
  background: #011226 !important;
}

.mini-gallery-item img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.mini-gallery-label {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(1, 18, 38, 0.88) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 4px !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ==========================================================================
   Consolidated Utility & Component Classes (Shifted from HTML inline styles)
   ========================================================================== */
.text-gold {
  color: var(--color-gold) !important;
}

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

.font-heading {
  font-family: var(--font-heading) !important;
}

.bg-gold {
  background-color: var(--color-gold) !important;
}

.bg-surface-light {
  background-color: var(--color-bg-light) !important;
}

.credit-author {
  color: var(--color-gold) !important;
  letter-spacing: 0.5px;
}

.lh-relaxed-custom {
  line-height: 1.7 !important;
}

.lh-18-fs15 {
  line-height: 1.8 !important;
  font-size: 15px !important;
}

.lh-175-fs15 {
  line-height: 1.75 !important;
  font-size: 15px !important;
}

.direct-msg-tag {
  color: var(--color-gold) !important;
  letter-spacing: 1px;
}

.border-gold-accent {
  border-top: 4px solid var(--color-gold) !important;
}

.border-gold-glow {
  border-color: rgba(197, 155, 79, 0.4) !important;
}

.border-gold-subtle {
  border: 1px solid rgba(197, 155, 79, 0.3) !important;
}

.border-gold-dashed {
  background-color: var(--color-bg-light) !important;
  border: 1px dashed rgba(197, 155, 79, 0.4) !important;
}

.value-card-box {
  background-color: var(--color-bg-light) !important;
  border-left: 3px solid var(--color-gold) !important;
}

.stats-ribbon-bar {
  background-color: var(--color-navy-hero) !important;
  border-top: 1px solid rgba(197, 155, 79, 0.3) !important;
  border-bottom: 1px solid rgba(197, 155, 79, 0.3) !important;
}

.tab-icon-sm {
  height: 18px !important;
}

.division-header-icon {
  height: 48px !important;
}

.about-hero-img {
  height: 416px !important;
  object-fit: cover !important;
}

.featured-news-img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
}

.partner-logo-lg {
  max-height: 60px !important;
}

.partner-v-divider {
  width: 1px !important;
  height: 50px !important;
  background-color: #cbd5e1 !important;
}

.partner-banner-img {
  max-height: 280px !important;
  width: 100% !important;
  object-fit: cover !important;
}

.contact-icon-circle-custom {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  font-size: 16px !important;
}

.partner-card-frame {
  background: #ffffff !important;
  border: 1px solid var(--color-border-light) !important;
}

.badge-navy-gold {
  background-color: #021a36 !important;
  border: 1px solid var(--color-gold) !important;
}

.cta-banner-radial {
  background: radial-gradient(
    circle at 50% 50%,
    #05264c 0%,
    #021832 70%,
    #011226 100%
  ) !important;
  border-top: 2px solid var(--color-gold) !important;
}

.cta-banner-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(26px, 3vw, 38px) !important;
}

.cta-banner-desc {
  font-size: 16px !important;
  opacity: 0.9 !important;
  max-width: 650px !important;
  margin: 0 auto 24px auto !important;
}

.btn-cta-outline {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}


/* Shared view styles. */

.navbar-division-icon.navbar-division-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.blog-article-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.article-detail-title.article-detail-title {
    font-size: 1.6rem;
    line-height: 1.35;
}

.article-cover-image.article-cover-image {
    max-height: 500px;
    object-fit: cover;
    background: #f8f9fa;
}

.article-detail-copy.article-detail-copy {
    font-size: 15px;
    line-height: 1.75;
}

.article-related-image.article-related-image {
    height: 180px;
    object-fit: cover;
}

.article-card-title.article-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
}

.article-card-summary.article-card-summary {
    font-size: 14.5px;
    line-height: 1.7;
}

.career-empty-copy.career-empty-copy {
    max-width: 520px;
}

.project-slide-iframe.project-slide-iframe {
    height: 480px;
    border: 0;
}

.project-modal-video.project-modal-video {
    width: 100%;
    max-height: 440px;
}

.project-modal-iframe.project-modal-iframe {
    width: 100%;
    height: 440px;
    border: 0;
}

/* Keep spam trap inputs outside the visible form. */
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
