/* ==========================================================================
   SILVER RIDGE HOLDINGS BERHAD — CORPORATE DESIGN SYSTEM
   Bursa Malaysia ACE Market: 0129 / SRIDGE
   "Building Tomorrow's Physical & Digital Foundations"
   ========================================================================== */

:root {
  /* Official Brand Identity Colors */
  --srhb-navy: #151933;
  --srhb-navy-dark: #080c1e;
  --srhb-navy-light: #1e2448;
  --srhb-maroon: #8a181a;
  --srhb-maroon-bright: #b81f22;
  --srhb-maroon-glow: rgba(138, 24, 26, 0.45);
  --srhb-grey: #818783;
  --srhb-grey-light: #e6e8eb;
  --srhb-bg-canvas: #f4f5f8;
  --srhb-white: #ffffff;
  --srhb-text-dark: #121526;
  --srhb-text-muted: #5f6575;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Shadows */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-metallic: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 2px 2px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 12px 36px -8px rgba(18, 21, 38, 0.08), 0 4px 12px rgba(18, 21, 38, 0.03);
}

/* --------------------------------------------------------------------------
   Global Resets & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--srhb-text-dark);
  background-color: var(--srhb-bg-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection {
  background-color: var(--srhb-maroon);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--srhb-navy-dark);
}
::-webkit-scrollbar-thumb {
  background: #333a59;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--srhb-maroon);
}

/* --------------------------------------------------------------------------
   GLOBAL ANNOUNCEMENT TICKER (All Pages)
   -------------------------------------------------------------------------- */
.srhb-announcement-bar {
  background-color: var(--srhb-navy-dark);
  border-bottom: 1px solid rgba(138, 24, 26, 0.4);
  color: #ffffff;
  font-size: 0.84rem;
  padding: 8px 16px;
  position: relative;
  z-index: 1060;
  transition: all 0.3s ease;
}

.srhb-announcement-bar.is-hidden {
  display: none !important;
}

.announcement-badge {
  background-color: var(--srhb-maroon);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 10px rgba(138, 24, 26, 0.5);
  flex-shrink: 0;
}

.announcement-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ff3338;
  box-shadow: 0 0 8px #ff3338;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px 0 0;
}

.announcement-text {
  color: #e2e6f2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-link {
  color: #ff999b;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  transition: color 0.2s ease;
}

.announcement-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.announcement-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px 8px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.announcement-close:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   BRAND HEADER & ANGLED NAVIGATION
   -------------------------------------------------------------------------- */
.srhb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  pointer-events: none; /* Allows clicks through empty space */
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When announcement ticker is visible, position header below it */
.has-announcement .srhb-header {
  top: var(--ticker-height, 38px);
}

/* The moment the Bursa announcement ticker scrolls out of view, shift navigation upwards to top edge */
.has-announcement.ticker-scrolled-out .srhb-header {
  top: 0;
}

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

/* Angled White Logo Badge */
.brand-badge {
  pointer-events: auto;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  background: #ffffff;
  padding: 14px 44px 14px 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  clip-path: polygon(0 0, 100% 0, calc(100% - 27px) 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s var(--ease-out-expo);
}

.brand-badge:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Full-Span Frosted Glass Desktop Navigation Bar */
.nav-slanted-bar {
  pointer-events: auto;
  position: relative;
  z-index: 5;
  flex: 1;
  margin-left: -27px;
  padding: 0 18px 0 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 48px;
  overflow: visible !important;
}

.nav-slanted-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(26, 30, 42, 0.94);
  background-color: rgba(20, 24, 35, 0.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 0;
  pointer-events: none;
}

.nav-links-list {
  display: flex;
  align-items: stretch;
  height: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2px;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
}

.nav-links-list > li {
  display: flex;
  align-items: stretch;
  height: 48px;
}

.nav-item-link {
  color: #cfd3dc;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  background-color: transparent;
}

.nav-slanted-bar .nav-item-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.10);
}

.nav-slanted-bar .nav-item-link.active {
  color: #ffffff !important;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -3px 0 var(--srhb-maroon);
}

/* Prominent Red Investor Relations Pill Tab */
.nav-item-ir {
  background-color: var(--srhb-maroon);
  color: #ffffff !important;
  font-weight: 700;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  padding: 0 22px;
  height: 48px;
  box-shadow: 0 2px 12px rgba(138, 24, 26, 0.45);
}

.nav-item-ir:hover {
  background-color: var(--srhb-maroon-bright) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(184, 31, 34, 0.6);
}

.nav-item-ir.active {
  background-color: var(--srhb-maroon-bright) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(184, 31, 34, 0.6), inset 0 -3px 0 #ffffff;
}

/* Investor Relations Navigation Dropdown */
.ir-nav-dropdown {
  position: relative;
}

.ir-nav-dropdown .dropdown-toggle::after {
  display: none !important;
}

.ir-nav-dropdown .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  left: 0 !important;
  right: auto !important;
  margin-top: 4px !important;
  background-color: #141828 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
  min-width: 290px;
  padding: 8px 0;
  z-index: 99999 !important;
}

/* Invisible hover bridge to eliminate gap flickers (expanded to 20px) */
.ir-nav-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.ir-nav-dropdown .dropdown-item {
  color: #cfd3dc;
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 8px 18px;
  transition: all 0.15s ease;
}

.ir-nav-dropdown .dropdown-item:hover {
  background-color: rgba(168, 32, 37, 0.18) !important;
  color: #ffffff !important;
  padding-left: 22px;
}

@media (min-width: 992px) {
  .ir-nav-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }

  .ir-nav-dropdown:hover > .dropdown-menu,
  .ir-nav-dropdown:focus-within > .dropdown-menu,
  .ir-nav-dropdown.show > .dropdown-menu,
  .ir-nav-dropdown > .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

.hover-border-danger {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hover-border-danger:hover {
  border-color: var(--srhb-maroon) !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   INVESTOR RELATIONS STICKY IN-PAGE SUB-NAVIGATION BAR (FIXED WIDTH)
   -------------------------------------------------------------------------- */
.ir-page-section {
  padding-top: 1.5rem !important;
}

.ir-sticky-subnav-wrapper {
  position: sticky;
  top: 88px;
  z-index: 1020;
  margin-bottom: 2rem;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .ir-sticky-subnav-wrapper {
    top: 70px;
    margin-bottom: 1.5rem;
  }
}

.ir-sticky-subnav {
  pointer-events: auto;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  padding: 0 14px;
  width: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ir-subnav-inner {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 16px;
}

.ir-subnav-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ir-subnav-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.ir-subnav-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.ir-subnav-scroll-wrap {
  display: flex;
  align-items: center;
  flex-grow: 1;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ir-subnav-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.ir-subnav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.ir-subnav-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.ir-subnav-link:hover {
  color: var(--srhb-maroon);
}

.ir-subnav-link.active {
  color: var(--srhb-maroon);
  font-weight: 700;
  border-bottom-color: var(--srhb-maroon);
}

.ir-subnav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.ir-subnav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--srhb-maroon);
  background-color: rgba(138, 24, 26, 0.05);
  border: 1px solid rgba(138, 24, 26, 0.25);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ir-subnav-cta-btn:hover {
  color: #ffffff;
  background-color: var(--srhb-maroon);
  border-color: var(--srhb-maroon);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(138, 24, 26, 0.22);
}

.ir-subnav-cta-btn i {
  transition: transform 0.2s ease;
}

.ir-subnav-cta-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 575.98px) {
  .ir-subnav-cta-btn {
    padding: 4px 10px;
    font-size: 0.76rem;
  }
}

/* Ensure sections land neatly below sticky bar when jumping */
#profile,
#reports,
#circulars,
#announcements,
#secretariat,
#directors,
#residential-commercial,
#infrastructure,
#industrial {
  scroll-margin-top: 155px;
}

@media (max-width: 991.98px) {
  #profile,
  #reports,
  #circulars,
  #announcements,
  #secretariat,
  #directors,
  #residential-commercial,
  #infrastructure,
  #industrial {
    scroll-margin-top: 135px;
  }
}

/* ==========================================================================
   DIRECTOR CARDS & MODAL STYLES (Equal Height & Responsive Media)
   ========================================================================== */

.director-card-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eaedf2;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.director-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(168, 32, 37, 0.08);
  border-color: rgba(168, 32, 37, 0.4);
}

.director-card-media {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #182230 0%, #253346 100%);
}

.director-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.director-card-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #223044 0%, #151d2a 75%, #0f1520 100%);
  color: #ffffff;
  position: relative;
}

.director-card-avatar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--srhb-maroon, #a82025) 50%, transparent 100%);
}

.director-card-avatar-initials {
  font-family: var(--font-mono, monospace);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.director-card-avatar-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Director Profile Modal (Standardized Height & Scrollable Biography)
   -------------------------------------------------------------------------- */
.director-modal {
  overscroll-behavior: contain;
}

.director-modal .modal-dialog {
  max-width: 860px;
}

.director-modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.director-modal-portrait {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #182230 0%, #253346 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  position: relative;
}

.director-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.director-modal-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #25354b 0%, #151d2a 80%, #0f1520 100%);
  color: #ffffff;
}

.director-modal-initials {
  font-family: var(--font-mono, monospace);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.director-modal-demographics {
  line-height: 1.5;
}

/* Biography Container & Scrollable Area */
.director-modal-bio-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.director-modal-bio {
  position: relative;
  overscroll-behavior: contain;
  padding-right: 14px;
  padding-bottom: 20px;
  color: var(--srhb-text-dark, #121526);
  --scrollbar-thumb: var(--srhb-maroon);
  --scrollbar-thumb-hover: var(--srhb-maroon-bright);
  --scrollbar-track: rgba(21, 25, 51, 0.05);

  /* Modern standard CSS scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.director-modal-bio p {
  margin-bottom: 1rem;
}

.director-modal-bio p:last-child {
  margin-bottom: 0;
}

/* Chromium / Safari / WebKit custom sleek scrollbar */
.director-modal-bio::-webkit-scrollbar {
  width: 6px;
}

.director-modal-bio::-webkit-scrollbar-track {
  background: rgba(21, 25, 51, 0.05);
  border-radius: 10px;
}

.director-modal-bio::-webkit-scrollbar-thumb {
  background: var(--srhb-maroon);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.director-modal-bio::-webkit-scrollbar-thumb:hover {
  background: var(--srhb-maroon-bright);
}

.director-modal-bio::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Visual Scroll Indicator Fades */
.director-modal-scroll-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 10px;
  height: 28px;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.95) 15%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  z-index: 2;
}

.director-modal-scroll-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 10px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0.98) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  z-index: 2;
}

.director-modal-bio-wrapper.has-scroll-above .director-modal-scroll-top-fade {
  opacity: 1;
}

.director-modal-bio-wrapper.has-scroll-below .director-modal-scroll-bottom-fade {
  opacity: 1;
}

/* Interactive Scroll Hint Badge */
.director-modal-scroll-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--srhb-maroon);
  border: 1px solid rgba(138, 24, 26, 0.25);
  border-radius: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(21, 25, 51, 0.1);
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3;
}

.director-modal-scroll-hint i {
  animation: srhbScrollBounce 1.5s infinite ease-in-out;
}

@keyframes srhbScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.director-modal-bio-wrapper.has-scroll-below .director-modal-scroll-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.director-modal-bio-wrapper.is-scrolled .director-modal-scroll-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

/* Desktop & Tablet Viewport Standardized Heights */
@media (min-width: 768px) {
  .director-modal-row {
    align-items: stretch;
  }
  .director-modal-right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .director-modal-bio-wrapper {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: 335px;
    max-height: 335px;
    display: flex;
    flex-direction: column;
  }
  .director-modal-bio {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
  }
}

/* Compact Desktop / Small Laptop Viewports (< 720px height) */
@media (min-width: 768px) and (max-height: 720px) {
  .director-modal .modal-body {
    padding: 1.5rem !important;
  }
  .director-modal-portrait {
    height: 220px;
  }
  .director-modal-bio-wrapper {
    height: 260px;
    max-height: 260px;
  }
}

/* Mobile Devices (< 768px width) */
@media (max-width: 767.98px) {
  .director-modal-portrait {
    height: 220px;
  }
  .director-modal-bio-wrapper {
    position: relative;
    max-height: 250px;
    display: flex;
    flex-direction: column;
  }
  .director-modal-bio {
    overflow-y: auto;
    max-height: 250px;
  }
}

/* ==========================================================================
   MANAGEMENT TEAM CARDS (Text-First Profile Presentation)
   ========================================================================== */

.management-card-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eaedf2;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.management-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(168, 32, 37, 0.08);
  border-color: rgba(168, 32, 37, 0.35);
}

/* Management Card Position Multi-Line Clamp & Height Harmonization */
.management-card-position {
  font-size: 0.84rem;
  line-height: 1.35;
  min-height: 2.7em; /* Reserves 2 lines for uniform grid alignment */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: break-word;
}

.cursor-pointer {
  cursor: pointer;
}

/* Director & Leadership Portrait Thumbnails (Legacy fallback) */
.director-portrait-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #182230 0%, #2c384a 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

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

.director-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1c2533 0%, #a82025 130%);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  user-select: none;
}

/* Compact thumbnail for about page */
.director-portrait-thumb-sm {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

.director-portrait-thumb-sm .director-avatar-initials {
  font-size: 1rem;
}

/* Primary Header Action: Tender Submission CTA */
.nav-slanted-bar .nav-item-cta {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  border-radius: 0;
  padding: 0 20px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  white-space: nowrap;
}

.nav-slanted-bar .nav-item-cta:hover {
  background-color: #ffffff !important;
  color: #121830 !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.nav-slanted-bar .nav-item-cta.active {
  background-color: #ffffff !important;
  color: #121830 !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25), inset 0 -3px 0 var(--srhb-maroon);
}

@media (min-width: 992px) and (max-width: 1260px) {
  .nav-slanted-bar {
    padding: 0 12px 0 24px;
  }
  .nav-slanted-bar .nav-item-link {
    font-size: 0.82rem;
    padding: 0 12px;
  }
  .nav-slanted-bar .nav-item-ir {
    padding: 0 14px;
  }
  .nav-slanted-bar .nav-item-cta {
    padding: 0 14px;
  }
}

/* Mobile Header Utility & Hamburger */
.mobile-header-controls {
  display: none;
  pointer-events: auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.mobile-util-btn {
  background: rgba(18, 24, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.mobile-hamburger-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-hamburger-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer Navigation */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #0d1228;
  z-index: 2000;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  padding: 80px 24px 30px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s var(--ease-out-expo);
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   HERO SECTION & MOCKUP-ACCURATE TYPOGRAPHY
   -------------------------------------------------------------------------- */
.srhb-hero-viewport {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-top: 100px;
  background-color: #080c1e;
}

/* Dedicated Hardware-Accelerated Parallax Background Layer */
.hero-bg-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  background-image: url('../img/hero-skyline.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

/* Ambient Skyline Gradient Overlay */
.srhb-hero-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 21, 46, 0.15) 0%,
    rgba(12, 19, 44, 0.35) 45%,
    rgba(8, 12, 30, 0.75) 75%,
    #080c1e 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   INNER PAGE HERO SECTION (HALF HOMEPAGE HERO HEIGHT)
   -------------------------------------------------------------------------- */
.inner-page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background-image: url('../img/hero-skyline.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  padding-top: clamp(100px, 14vh, 140px);
  padding-bottom: clamp(40px, 6vh, 60px);
  overflow: hidden;
  border-bottom: 3px solid var(--srhb-maroon);
}

.inner-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 21, 46, 0.50) 0%,
    rgba(12, 19, 44, 0.72) 55%,
    rgba(8, 12, 30, 0.94) 100%
  );
  z-index: 1;
}

.inner-page-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.inner-page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.inner-page-hero-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 820px;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.inner-page-hero-subcopy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 780px;
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.inner-page-hero .subsidiary-hero-badge {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-main-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 32px 20px;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Giant Architectural Display Typography */
.hero-architectural-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5.8vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-headline-line {
  display: block;
}

.hero-headline-animated {
  display: block;
}

.char-word {
  display: inline-block;
  white-space: nowrap;
}

.char-word:not(:last-child) {
  margin-right: 0.28em;
}

/* Initial state: Outline font for every single letter */
.char-outline-anim {
  display: inline-block;
  color: rgba(255, 255, 255, 0);
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  -webkit-text-stroke: 2.2px #ffffff;
  text-stroke: 2.2px #ffffff;
  opacity: 0.95;
  transition: none;
  will-change: color, -webkit-text-fill-color;
}

/* Outlined Letters for "FOUNDATIONS" to match visual mockup */
.char-outline {
  color: rgba(255, 255, 255, 0);
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  -webkit-text-stroke: 2.2px #ffffff;
  text-stroke: 2.2px #ffffff;
  opacity: 0.95;
}

.char-solid {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.hero-lead-ingress {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* --------------------------------------------------------------------------
   BOTTOM METALLIC PILL DIVISION SELECTOR BAR
   -------------------------------------------------------------------------- */
.hero-divisions-bar-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-top: auto;
  padding-bottom: 24px;
}

/* Glowing Crimson Baseline */
.divisions-red-baseline {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5c0f11 0%, #a81c1e 35%, #e6282c 50%, #a81c1e 65%, #5c0f11 100%);
  box-shadow: 0 0 16px rgba(230, 40, 44, 0.8), 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.divisions-pill-capsule-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop Horizontal Pill Capsule Bar */
.desktop-pill-bar {
  background: linear-gradient(180deg, #ffffff 0%, #ebeef3 65%, #cad0db 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), inset 0 2px 2px #ffffff, inset 0 -2px 3px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  padding: 6px 16px;
  width: 100%;
}

.division-pill-segment {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--srhb-text-dark);
  position: relative;
  transition: all 0.25s var(--ease-out-expo);
  border-radius: 9999px;
}

.division-pill-segment:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18), transparent);
}

.division-pill-segment:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-3px);
}

/* Breakout 3D Diorama Graphic */
.diorama-thumbnail-wrapper {
  width: 64px;
  height: 64px;
  position: relative;
  margin-top: -20px; /* Breakout top effect */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo);
}

.diorama-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28));
}

.division-pill-segment:hover .diorama-thumbnail-wrapper {
  transform: translateY(-4px) scale(1.12);
}

.division-pill-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.76rem, 0.85vw, 0.88rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--srhb-text-dark);
  line-height: 1.18;
  margin: 0;
  word-break: normal;
}

@media (max-width: 1199.98px) {
  .division-pill-segment {
    padding: 6px 10px;
    gap: 10px;
  }
  .diorama-thumbnail-wrapper {
    width: 52px;
    height: 52px;
    margin-top: -16px;
  }
  .division-pill-title {
    font-size: 0.72rem;
    line-height: 1.15;
  }
}

/* Mobile Vertically Stacked Pill Cards */
.mobile-pill-stack {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0 16px;
}

.mobile-pill-card {
  background: linear-gradient(180deg, #ffffff 0%, #ebeef3 65%, #cad0db 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28), inset 0 2px 2px #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 12px;
  text-decoration: none;
  color: var(--srhb-text-dark);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-pill-card:hover,
.mobile-pill-card:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: #ffffff;
}

.mobile-pill-card .diorama-thumbnail-wrapper {
  width: 50px;
  height: 50px;
  margin-top: -10px;
}

.mobile-pill-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.mobile-pill-card .division-pill-title {
  font-size: 0.84rem;
  line-height: 1.2;
}

.mobile-pill-desc {
  font-size: 0.72rem;
  color: #5d667c;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-pill-arrow {
  font-size: 0.95rem;
  color: var(--srhb-crimson, #8a181a);
  opacity: 0.7;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-pill-card:hover .mobile-pill-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   CORE OPERATIONAL PILLARS SHOWCASE (CIVIL ENGINEERING FOCUS)
   -------------------------------------------------------------------------- */
.srhb-section {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
  position: relative;
  scroll-margin-top: 90px;
}

.section-dark {
  background-color: var(--srhb-navy-dark);
  color: #ffffff;
}

.section-light {
  background-color: var(--srhb-bg-canvas);
  color: var(--srhb-text-dark);
}

.section-header-wrap {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-display-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.section-lead-copy {
  font-size: 1.15rem;
  color: var(--srhb-text-muted);
  max-width: 72ch;
  line-height: 1.65;
}

/* Major Civil Engineering Flagship Showcase */
.civil-flagship-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.civil-flagship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(18, 21, 38, 0.14);
}

.subsidiary-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f7f8fa;
  border: 1px solid #e2e4e8;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--srhb-navy);
  margin-bottom: 20px;
}

.subsidiary-hero-badge.eyebrow-accent-pillar {
  background-color: rgba(168, 32, 37, 0.08);
  border: 1px solid rgba(168, 32, 37, 0.25);
  color: var(--srhb-maroon);
}

.cidb-grade-pill {
  background: var(--srhb-maroon);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Metric Highlight Strips & Animated Data Cards */
.stat-item-block {
  padding: 24px;
  border-radius: 12px;
  background: #f8f9fc;
  border: 1px solid #eaedf2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-item-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(138, 24, 26, 0.2);
}

.stat-metric-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--srhb-maroon);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  .stat-item-block {
    transition: none;
    transform: none !important;
  }
}

.stat-metric-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--srhb-navy);
  margin-bottom: 4px;
}

.stat-metric-desc {
  font-size: 0.85rem;
  color: var(--srhb-text-muted);
  margin: 0;
}

/* Secondary Pillars Grid (Telco & Digital Media) */
.secondary-pillar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease;
}

.secondary-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 24, 26, 0.3);
}

.pillar-diorama-large {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
}

.pillar-diorama-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.pillar-capability-chip {
  display: inline-flex;
  align-items: center;
  background: #f4f5f8;
  color: var(--srhb-navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #eaedf2;
}

/* Editorial Civil Capabilities & Asymmetric Showcase */
.civil-overview-panel {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #eaedf2;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease;
}

.civil-overview-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 24, 26, 0.25);
}

.capability-card-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #eaedf2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.capability-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 24, 26, 0.3);
  box-shadow: 0 10px 24px rgba(138, 24, 26, 0.06);
}

/* Home Operating Sector Card 3D Diorama (Enlarged 100% to 128px, Centered) */
.home-sector-diorama-wrap {
  width: 128px;
  height: 128px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-sector-diorama-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.capability-card-item:hover .home-sector-diorama-wrap img {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

.civil-showcase-banner {
  background: #ffffff;
  border: 1px solid #eaedf2;
  border-left: 6px solid var(--srhb-maroon);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(20, 24, 40, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.civil-showcase-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at right, rgba(168, 32, 37, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.civil-showcase-banner:hover {
  border-color: rgba(138, 24, 26, 0.35);
  box-shadow: 0 14px 36px -6px rgba(20, 24, 40, 0.1);
}

.subsidiary-parent-eyebrow {
  color: var(--srhb-maroon);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

/* CIDB Registered Contractor Official Badge */
.cidb-stamp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transform: rotate(-1.5deg);
  transition: transform 0.25s ease;
}

.cidb-stamp-badge:hover {
  transform: rotate(0deg) scale(1.03);
}

.cidb-stamp-outer {
  border: 2px dashed rgba(168, 32, 37, 0.65);
  padding: 4px;
  border-radius: 10px;
  background: rgba(168, 32, 37, 0.03);
}

.cidb-stamp-seal {
  background: linear-gradient(135deg, #8a181a 0%, #681113 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(138, 24, 26, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.cidb-stamp-top {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.1;
  margin-bottom: 2px;
}

.cidb-stamp-grade {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.cidb-stamp-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.1;
  margin-top: 2px;
}

.diorama-thumbnail-lg {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.capability-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: center;
}

.capability-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eaedf2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.capability-feature-item:hover {
  transform: translateX(4px);
  border-color: var(--srhb-maroon);
  box-shadow: 0 6px 18px rgba(138, 24, 26, 0.06);
}

.capability-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(138, 24, 26, 0.08);
  color: var(--srhb-maroon);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Service Line Art / Diorama Icons */
.service-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.ir-subnav-link:hover .service-nav-icon {
  transform: scale(1.2);
}

.service-header-icon-box {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid rgba(138, 24, 26, 0.18);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.service-header-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Service 3D Diorama Showcase (Clean Minimalist 1/4 Width) */
.service-diorama-wrap {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.service-diorama-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.16));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.service-diorama-img:hover {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22));
}

/* Project Discipline Filter Tabs */
.project-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--srhb-navy);
  background-color: #f8fafc;
  border: 1px solid #dcdfe4;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  margin: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.project-filter-btn:hover {
  background-color: #f1f4f9;
  border-color: #c4c9d1;
  color: var(--srhb-navy-dark);
}

.project-filter-btn:focus-visible {
  outline: 2px solid var(--srhb-maroon);
  outline-offset: 2px;
}

.project-filter-btn.active {
  background-color: var(--srhb-maroon) !important;
  border-color: var(--srhb-maroon) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  cursor: default;
}

/* Project Search Input with Inside Icon and Clear Button */
.project-search-wrapper {
  position: relative;
  width: 100%;
}

.project-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c95a6;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 4;
}

.project-search-input {
  padding-left: 34px !important;
  padding-right: 32px !important;
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: 0.84rem;
  line-height: 1.4;
  background-color: #f8fafc !important;
  border: 1px solid #dcdfe4 !important;
  border-radius: 6px !important;
  color: var(--srhb-navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.project-search-input:focus {
  background-color: #ffffff !important;
  border-color: var(--srhb-maroon) !important;
  box-shadow: 0 0 0 3px rgba(168, 32, 37, 0.12) !important;
  outline: none;
}

.project-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px;
  font-size: 0.75rem;
  line-height: 1;
  color: #94a3b8;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.project-search-clear:hover {
  color: var(--srhb-maroon);
  background-color: rgba(168, 32, 37, 0.08);
}

/* Projects Table / Track Record Cards */
.project-card-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid #eaedf2;
  transition: all 0.2s ease;
}

.project-card-item:hover {
  border-color: var(--srhb-maroon);
  transform: translateY(-2px);
}

.project-badge-ongoing {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.project-badge-completed {
  background: rgba(100, 106, 115, 0.12);
  color: #5f6575;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Horizontal Project Card Layout with 4:5 Left Thumbnail */
.project-card-horizontal {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
  padding: 1.25rem !important;
}

.project-card-thumb-wrapper {
  flex: 0 0 115px;
  width: 115px;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1e2438 0%, #0f1220 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.project-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

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

.project-card-thumb-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(15, 18, 32, 0.85);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-card-scope {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
}

@media (max-width: 575.98px) {
  .project-card-horizontal {
    gap: 0.85rem !important;
    padding: 1rem !important;
  }
  .project-card-thumb-wrapper {
    flex: 0 0 90px;
    width: 90px;
  }
}

/* Investor Relations Homepage Quick Links */
.ir-quick-links {
  margin-top: 1.25rem;
}

.ir-quick-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid #eaedf2;
  border-radius: 10px;
  color: var(--srhb-navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-family: var(--font-display);
  transition: all 0.2s ease;
}

.ir-quick-link-item:hover {
  background: #fcfdfe;
  border-color: rgba(168, 32, 37, 0.35);
  transform: translateX(4px);
  color: var(--srhb-maroon);
}

.ir-latest-announcement-card {
  border: 1px solid #eaedf2;
  border-left: 5px solid var(--srhb-maroon);
  box-shadow: 0 10px 30px -8px rgba(20, 24, 40, 0.06);
}

/* Buttons */
.btn-srhb-maroon {
  background-color: var(--srhb-maroon);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(138, 24, 26, 0.35);
  transition: all 0.2s ease;
}

.btn-srhb-maroon:hover {
  background-color: var(--srhb-maroon-bright);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 31, 34, 0.45);
}

.btn-srhb-outline {
  background: transparent;
  color: var(--srhb-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1.5px solid var(--srhb-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.srhb-footer {
  background-color: #070a18;
  color: #9aa1b4;
  font-size: 0.9rem;
  padding: 72px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.footer-nav-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #8c93a8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #656d85;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .nav-slanted-bar {
    display: none;
  }
  .mobile-header-controls {
    display: flex;
  }
  .desktop-pill-bar {
    display: none;
  }
  .mobile-pill-stack {
    display: flex;
  }
  .brand-badge {
    padding: 10px 24px 10px 16px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 21px) 100%, 0 100%);
  }
  .brand-logo-img {
    height: 42px;
  }
  .hero-main-container {
    padding: 20px 20px 30px;
  }
  .hero-architectural-headline {
    font-size: clamp(2.4rem, 9.5vw, 4rem);
    line-height: 1.02;
  }
  .char-outline-anim {
    -webkit-text-stroke: 1.8px #ffffff;
    text-stroke: 1.8px #ffffff;
  }
}

@media (max-width: 575.98px) {
  .srhb-announcement-bar {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .announcement-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .announcement-text {
    max-width: 200px;
  }
  .brand-badge {
    clip-path: polygon(0 0, 100% 0, calc(100% - 21px) 100%, 0 100%);
  }
  .char-outline-anim {
    -webkit-text-stroke: 1.4px #ffffff;
    text-stroke: 1.4px #ffffff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .char-outline-anim {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .hero-bg-parallax {
    transform: none !important;
  }
  .remaining-project-row:not(.d-none) {
    animation: none !important;
  }
}

/* ==========================================================================
   Civil Engineering Sector Project Table Collapsible Rows
   ========================================================================== */
@keyframes projectRowFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.remaining-project-row:not(.d-none) {
  animation: projectRowFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.project-table-toggle-btn {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease-in-out;
}

.project-table-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}
