/**
 * Zelan Modern Theme - Main Stylesheet
 * Dark Industrial Construction Theme
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max-width: 1400px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* ==========================================================================
   Color Schemes
   ========================================================================== */

/* Default Color Scheme - Yellow/Gold (Construction Theme) */
body,
body.color-scheme-yellow {
  /* Colors - Dark Industrial Theme with Construction Yellow */
  --color-background: hsl(220, 15%, 10%);
  --color-foreground: hsl(210, 20%, 98%);
  --color-card: hsl(220, 15%, 14%);
  --color-card-foreground: hsl(210, 20%, 98%);
  --color-primary: hsl(45, 100%, 50%);
  /* Construction Yellow/Gold */
  --color-primary-hover: hsl(45, 100%, 45%);
  --color-primary-foreground: hsl(220, 15%, 10%);
  --color-secondary: hsl(210, 20%, 25%);
  /* Steel Grey */
  --color-secondary-foreground: hsl(210, 20%, 98%);
  --color-muted: hsl(210, 20%, 20%);
  --color-muted-foreground: hsl(210, 10%, 60%);
  --color-accent: hsl(190, 90%, 50%);
  --color-border: hsl(210, 20%, 20%);

  /* Color scheme specific overlays and transparencies */
  --color-primary-rgb: 255, 204, 0;
  --color-navbar-bg: rgba(28, 31, 37, 0.9);
}

/* Blue Color Scheme - Corporate/Professional */
body.color-scheme-blue {
  /* Colors - Dark Industrial Theme with Corporate Blue */
  --color-background: hsl(220, 20%, 10%);
  --color-foreground: hsl(210, 20%, 98%);
  --color-card: hsl(220, 20%, 14%);
  --color-card-foreground: hsl(210, 20%, 98%);
  --color-primary: hsl(210, 100%, 55%);
  /* Bright Corporate Blue */
  --color-primary-hover: hsl(210, 100%, 50%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-secondary: hsl(220, 20%, 25%);
  /* Dark Blue-Grey */
  --color-secondary-foreground: hsl(210, 20%, 98%);
  --color-muted: hsl(220, 20%, 20%);
  --color-muted-foreground: hsl(210, 10%, 60%);
  --color-accent: hsl(200, 95%, 55%);
  /* Bright Cyan Blue */
  --color-border: hsl(220, 20%, 20%);

  /* Color scheme specific overlays and transparencies */
  --color-primary-rgb: 26, 144, 255;
  --color-navbar-bg: rgba(20, 25, 35, 0.9);
}

/* Corporate Slate Color Scheme - Airy Corporate Light
   A lighter, cooler take on the corporate palette.
   Uses Deep Space Blue (#003459) as the authority accent,
   Ink Black (#00171F) for strong text, and Silver (#CBD2D5)
   for subtle highlights — all on an airy light background.
   
   WCAG Contrast Ratios:
   - #00171F on #F4F6FA = ~16:1 (AAA)
   - #003459 on #FFFFFF = ~11.5:1 (AAA)
   - #FFFFFF on #003459 = ~11.5:1 (AAA)
   - #4E5253 on #F4F6FA = ~6.5:1 (AA Large / AAA)
   - #4E5253 on #FFFFFF = ~7.5:1 (AAA)
*/
body.color-scheme-corporate {
  /* Colors - Airy Corporate with Deep Space Blue & Silver */
  --color-background: #F4F6FA;
  /* Ghost Blue White - Clean, airy base */
  --color-foreground: #00171F;
  /* Ink Black - Strong readable text */
  --color-card: #FFFFFF;
  /* Pure White - Clean card surfaces */
  --color-card-foreground: #00171F;
  /* --color-primary: #003459; */
  --color-primary: #04a5f5;
  /* Deep Space Blue - Authoritative accent */
  --color-primary-hover: #002240;
  --color-primary-foreground: #FFFFFF;
  --color-secondary: #EDF0F4;
  /* Pale Silver Blue - Subtle section alternation */
  --color-secondary-foreground: #00171F;
  --color-muted: #E2E6ED;
  /* Cool Silver Mist - Muted elements */
  --color-muted-foreground: #4E5253;
  /* Charcoal - Subdued body text */
  --color-accent: #CBD2D5;
  /* Silver - Subtle highlights and accents */
  --color-border: #CBD2D5;
  /* Silver - Soft, visible borders */

  /* Color scheme specific overlays and transparencies */
  --color-primary-rgb: 0, 52, 89;
  /* Deep Space Blue RGB */
  --color-navbar-bg: rgba(0, 23, 31, 0.95);
  /* Ink Black with high opacity */
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-outline {
  -webkit-text-stroke: 1px currentColor;
  color: var(--color-background);
}

.accent {
  color: var(--color-primary);
}

.desktop-only {
  display: none !important;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up[data-delay="200"] {
  animation-delay: 0.2s;
}

.fade-in-up[data-delay="400"] {
  animation-delay: 0.4s;
}

.fade-in-up[data-delay="600"] {
  animation-delay: 0.6s;
}

.fade-in-up[data-delay="800"] {
  animation-delay: 0.8s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.zelan-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: transparent;
  transition: all var(--transition-base);
  padding: 1.5rem 0;
}

body.home .zelan-navbar {
  background: none !important;
}

body.home .zelan-navbar[data-scrolled="true"] {
  background: var(--color-navbar-bg) !important;
}

/* Navbar background for non-homepage pages */
body.page .zelan-navbar,
body.single .zelan-navbar,
body.archive .zelan-navbar,
body.blog .zelan-navbar {
  background: var(--color-background);
}

/* Navbar background when scrolled (all pages including homepage) */
.zelan-navbar[data-scrolled="true"] {
  background: var(--color-navbar-bg);
  backdrop-filter: blur(12px);
  /* border-bottom: 1px solid var(--color-border); */
  padding: 1rem 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand .site-title {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: white;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links>li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Dropdown Toggle Arrow */
.nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  transition: transform var(--transition-base);
}

.nav-links .dropdown-toggle::after {
  content: '▼';
  font-size: 0.625rem;
  color: currentColor;
}

/* Rotate arrow when dropdown is open */
.nav-links li.menu-item-has-children:hover>a .dropdown-toggle,
.nav-links li.menu-item-has-children.focus>a .dropdown-toggle {
  transform: rotate(180deg);
}

/* Dropdown / Sub-menu Styles */
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 1000;
}

/* Second-level dropdown (nested submenu) positioning */
.nav-links .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0.5rem;
  transform: translateX(-10px);
  /* Slide in from the left instead of top */
  z-index: 1001;
  /* Ensure 2nd level appears above 1st level */
}

/* Show 1st level dropdown on hover */
.nav-links>li.menu-item-has-children:hover>.sub-menu,
.nav-links>li.menu-item-has-children.focus>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Show 2nd level dropdown on hover */
.nav-links .sub-menu li.menu-item-has-children:hover>.sub-menu,
.nav-links .sub-menu li.menu-item-has-children.focus>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  /* Slide in from left for 2nd level */
}

/* Sub-menu items */
.nav-links .sub-menu li {
  display: block;
  position: relative;
}

.nav-links .sub-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-foreground);
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-left: 3px solid transparent;
  transition: all var(--transition-base);
}

.nav-links .sub-menu a:hover {
  color: var(--color-primary);
  background: var(--color-muted);
  border-left-color: var(--color-primary);
}

/* Adjust arrow for nested items */
.nav-links .sub-menu .menu-item-has-children>a .dropdown-toggle::after {
  content: '▶';
}

/* Current menu item highlighting */
.nav-links .current-menu-item>a,
.nav-links .current-menu-ancestor>a {
  color: var(--color-primary);
}

/* Active/Focus states for accessibility */
.nav-links li.menu-item-has-children:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CTA Button Menu Items - for menu items with 'cta-button' CSS class */
.nav-links li.cta-button>a,
.nav-links li.btn-style>a {
  /* Override default link styles */
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-block;
}

/* Desktop button style (yellow outline) */
.nav-links li.cta-button>a.btn-outline,
.nav-links li.btn-style>a.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.nav-links li.cta-button>a.btn-outline:hover,
.nav-links li.btn-style>a.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Mobile button style */
.mobile-nav-links li.cta-button>a.btn-mobile-primary,
.mobile-nav-links li.btn-style>a.btn-mobile-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  text-align: center;
  display: block;
  margin-top: 1rem;
}

.mobile-nav-links li.cta-button>a.btn-mobile-primary:hover,
.mobile-nav-links li.btn-style>a.btn-mobile-primary:hover {
  background: var(--color-primary-dark);
}

/* Remove dropdown indicator from button menu items */
.nav-links li.cta-button .dropdown-toggle,
.nav-links li.btn-style .dropdown-toggle,
.mobile-nav-links li.cta-button .dropdown-toggle,
.mobile-nav-links li.btn-style .dropdown-toggle {
  display: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  /* Show on mobile */
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  position: relative;
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.hamburger-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background: white;
  transition: all var(--transition-base);
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: white;
  transition: all var(--transition-base);
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  bottom: -8px;
}

.mobile-toggle.active .hamburger-icon {
  background: transparent;
}

.mobile-toggle.active .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.active .hamburger-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 27, 57, 0.98);
  backdrop-filter: blur(10px);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  overflow-y: auto;
  padding-top: 5rem;
}

.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Hide mobile menu on desktop */
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu-content {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: calc(100vh - 5rem);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-links>li:last-child {
  border-bottom: none;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  transition: all var(--transition-base);
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  color: var(--color-primary);
  padding-left: 1rem;
}

/* Mobile dropdown toggle */
.mobile-nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
  cursor: pointer;
}

.mobile-nav-links .dropdown-toggle::after {
  content: '▼';
  font-size: 0.75rem;
  color: currentColor;
  transition: transform var(--transition-base);
}

.mobile-nav-links .menu-item-has-children.active>a .dropdown-toggle {
  background: rgba(var(--color-primary-rgb), 0.2);
}

.mobile-nav-links .menu-item-has-children.active>a .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Mobile sub-menus */
.mobile-nav-links .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-nav-links .menu-item-has-children.active>.sub-menu {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

.mobile-nav-links .sub-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-links .sub-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-links .sub-menu a {
  padding: 1rem 0 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
}

.mobile-nav-links .sub-menu a:hover,
.mobile-nav-links .sub-menu a:active {
  padding-left: 2.5rem;
}

/* Second-level sub-menu in mobile */
.mobile-nav-links .sub-menu .sub-menu a {
  padding-left: 3rem;
}

.mobile-nav-links .sub-menu .sub-menu a:hover,
.mobile-nav-links .sub-menu .sub-menu a:active {
  padding-left: 4rem;
}

/* Current menu item in mobile */
.mobile-nav-links .current-menu-item>a,
.mobile-nav-links .current-menu-ancestor>a {
  color: var(--color-primary);
}

.mobile-menu .btn,
.btn-mobile-primary {
  display: block;
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 1.25rem 2rem;
  background: var(--color-primary);
  color: white !important;
  border: 2px solid var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition-base);
}

.mobile-menu .btn:hover,
.mobile-menu .btn:active,
.btn-mobile-primary:hover,
.btn-mobile-primary:active {
  background: transparent !important;
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  body.menu-open {
    overflow: auto;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-background), transparent, transparent);
  z-index: 10;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 10s ease-out forwards;
}

@keyframes slowZoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  padding: 5rem 0;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  text-align: center;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
}

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

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

.service-card {
  position: relative;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
}

.service-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.5);
}

.service-image {
  position: absolute;
  inset: 0;
}

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

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: background var(--transition-slow);
}

.service-card:hover .service-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.service-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, transparent, transparent);
  opacity: 0.9;
}

.service-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(-1rem);
  transition: all var(--transition-slow);
  display: none;
}

.service-card:hover .service-icon {
  opacity: 1;
  transform: translateY(0);
}

.service-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  transform: translateY(2rem);
  transition: all var(--transition-slow);
}

.service-card:hover .service-title {
  transform: translateY(0);
  color: var(--color-primary);
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  opacity: 0;
  transition: all var(--transition-slow);
  transition-delay: 100ms;
}

.service-card:hover .service-description {
  opacity: 1;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transition: all var(--transition-slow);
  transition-delay: 200ms;
}

.service-card:hover .service-link {
  opacity: 1;
}

.service-border {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--transition-slow);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-section {
  padding: 6rem 0;
  background: var(--color-secondary);
}

.projects-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .projects-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

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

.project-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
  border-color: var(--color-primary);
}

.project-card:hover {
  transform: scale(1.02);
  border-color: var(--color-primary);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(8, 27, 57, 0.7) 0%,
      rgba(8, 27, 57, 0.85) 50%,
      rgba(8, 27, 57, 0.95) 100%);
  transition: all var(--transition-base);
  z-index: 1;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to bottom,
      rgba(8, 27, 57, 0.6) 0%,
      rgba(8, 27, 57, 0.75) 50%,
      rgba(8, 27, 57, 0.9) 100%);
}

.project-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.project-year {
  color: rgb(43 43 43);
  font-family: monospace;
  font-size: 0.875rem;
  font-weight: 600;
}

.project-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-title {
  font-size: 1.875rem;
  color: white;
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.project-title a {
  color: white;
  text-decoration: none;
}

.project-card:hover .project-title,
.project-card:hover .project-title a {
  color: var(--color-primary);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.project-location {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.project-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  opacity: 0;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: rotate(45deg);
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.zelan-footer {
  /* margin-top: 120px; */
  background: var(--color-background);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-company {
  max-width: 28rem;
}

.footer-brand {
  font-size: 1.875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: white;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.footer-title {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-base);
}

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

.contact-info {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info a {
  color: inherit;
  transition: color var(--transition-base);
}

.contact-info a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-base);
}

.footer-legal a:hover {
  color: white;
}

/* ==========================================================================
   Content Pages
   ========================================================================== */
.site-main {
  min-height: 100vh;
}

.content-wrapper {
  padding: 8rem 0 4rem;
}

/* White background for page content */
/* Page Template - White Background */
body.page .site-main {
  background: #ffffff;
  min-height: 100vh;
  padding: 2rem 0 0rem;
}

body.page .content-wrapper {
  background: #ffffff;
  padding: 0;
}

body.page .article-post,
body.page article {
  background: #ffffff !important;
  color: #1a1a1a;
  padding: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  border: none !important;
}

/* Single Post Template - White Background (Same as Pages) */
body.single .site-main,
body.single-post .site-main {
  background: #ffffff;
  min-height: 100vh;
  padding: 5rem 0 4rem;
}

body.single .content-wrapper,
body.single-post .content-wrapper {
  background: #ffffff;
  padding: 0;
}

body.single .article-post,
body.single article {
  background: #ffffff !important;
  color: #1a1a1a;
  padding: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  border: none !important;
}

/* Page & Single Post Template - White Background with Dark Text */
body.page .article-header,
body.single .article-header,
body.single-post .article-header {
  background: transparent;
  padding: 0 0 2rem 0;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 2rem;
}

body.page .article-meta,
body.single .article-meta,
body.single-post .article-meta {
  color: #666;
  margin-bottom: 1rem;
}

body.page .article-title,
body.page h1,
body.single .article-title,
body.single h1,
body.single-post .article-title,
body.single-post h1 {
  color: #1a1a1a !important;
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  margin-bottom: 20px;
}

body.page .article-content h2,
body.page .entry-content h2,
body.single .article-content h2,
body.single .entry-content h2 {
  color: #2a2a2a !important;
  font-size: 1.875rem;
  margin: 2rem 0 1rem;
}

body.page .article-content h3,
body.page .entry-content h3,
body.single .article-content h3,
body.single .entry-content h3 {
  color: #333 !important;
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

body.page .article-content h4,
body.page .entry-content h4,
body.page .article-content h5,
body.page .entry-content h5,
body.page .article-content h6,
body.page .entry-content h6,
body.single .article-content h4,
body.single .entry-content h4,
body.single .article-content h5,
body.single .entry-content h5,
body.single .article-content h6,
body.single .entry-content h6 {
  color: #444 !important;
}

body.page .article-content,
body.page .entry-content,
body.single .article-content,
body.single .entry-content {
  color: #333;
  padding: 0;
  background: transparent;
}

body.page .article-content p,
body.page .entry-content p,
body.single .article-content p,
body.single .entry-content p {
  color: #444 !important;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

body.page .article-content a,
body.page .entry-content a,
body.single .article-content a,
body.single .entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

body.page .article-content a:hover,
body.page .entry-content a:hover,
body.single .article-content a:hover,
body.single .entry-content a:hover {
  color: var(--color-primary-hover);
}

body.page .article-content ul,
body.page .entry-content ul,
body.page .article-content ol,
body.page .entry-content ol,
body.single .article-content ul,
body.single .entry-content ul,
body.single .article-content ol,
body.single .entry-content ol {
  color: #444;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

body.page .article-content li,
body.page .entry-content li,
body.single .article-content li,
body.single .entry-content li {
  color: #444 !important;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Archive Pages
   ========================================================================== */
.archive-template,
.blog-template {
  padding-top: 5rem;
}

.archive-header {
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.archive-header-content {
  text-align: left;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.archive-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

.archive-content {
  padding: 0 0 4rem;
}

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

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

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

/* Archive Pagination */
.archive-pagination,
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.archive-pagination .nav-links,
.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.archive-pagination a,
.archive-pagination span,
.pagination a,
.pagination span {
  padding: 0.75rem 1.25rem;
  background: var(--color-card);
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition-base);
  font-weight: 600;
}

.archive-pagination a:hover,
.pagination a:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.archive-pagination .current,
.pagination .current {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}

/* ==========================================================================
   Comments Section
   ========================================================================== */

/* Comments Area Heading */
body.single .content-wrapper>h2,
body.single-post .content-wrapper>h2,
.single-post-template .content-wrapper>h2,
body.single #comments-title,
body.single .comments-title,
body.single-post #comments-title,
body.single-post .comments-title,
.single .comments-title,
.single-post .comments-title,
#comments-title,
.content-wrapper>h2,
.content-wrapper>.comments-title {
  background: transparent !important;
  color: #1a1a1a !important;
  padding: 2rem 0 !important;
  margin: 2rem auto 0 !important;
  max-width: 1300px;
  font-size: 1.875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  opacity: 1 !important;
  text-decoration: none !important;
  filter: none !important;
  border-bottom: 2px solid var(--color-primary);
}

/* Comments Title */
.comments-area,
#comments {
  background: transparent;
  padding: 3rem;
  margin: 0 auto 2rem;
  max-width: 1300px;
}

/* Remove list counter from comments */
.comments-area ol,
#comments ol,
ol.comment-list,
.comment-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  counter-reset: none !important;
}

.comments-area ol li,
#comments ol li,
ol.comment-list>li,
.comment-list>li {
  list-style-type: none !important;
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.comments-area ol li::before,
#comments ol li::before,
ol.comment-list>li::before,
.comment-list>li::before {
  display: none !important;
  content: none !important;
}

/* Force remove ordered list styling */
body.single ol.comment-list,
body.single-post ol.comment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single ol.comment-list>li,
body.single-post ol.comment-list>li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
}

body.single ol.comment-list>li::marker,
body.single-post ol.comment-list>li::marker {
  display: none !important;
  content: "" !important;
}

/* Ultra-specific rules to remove list numbering */
.single-post-template ol.comment-list>li::marker,
.single ol>li.comment::marker,
ol.commentlist>li::marker {
  display: none !important;
}

/* Hide any list item markers in comments area */
#comments ol>li,
.comments-area ol>li {
  list-style-position: inside;
}

#comments ol>li::marker,
.comments-area ol>li::marker {
  content: "" !important;
  display: none !important;
  width: 0 !important;
  font-size: 0 !important;
}

/* Force override of WordPress default comment list */
.comment-list,
ol.comment-list {
  list-style-type: none !important;
}

/* If no external title */
.comments-area>.comments-title:first-child,
#comments>.comments-title:first-child {
  border-radius: 4px 4px 0 0;
  margin: -3rem -3rem 2rem;
  padding: 2rem 3rem;
  background: #f8f9fa;
}

.comments-title,
.comment-reply-title {
  color: #1a1a1a !important;
  font-size: 1.875rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-primary);
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Comment List */
.comment-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.comment-list li {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.comment-list li::before {
  display: none !important;
}

.comment-body {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: 0 !important;
}

.comment-author {
  margin-bottom: 0.5rem;
}

.comment-author .fn {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.125rem;
}

.comment-author .says {
  color: #666;
  font-weight: 400;
}

.comment-meta {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.comment-meta a {
  color: #666;
  text-decoration: none;
}

.comment-content {
  color: #444;
  line-height: 1.6;
}

.comment-content p {
  color: #444 !important;
  margin-bottom: 0.5rem;
}

.reply {
  margin-top: 1rem;
}

.comment-reply-link {
  color: var(--color-primary) !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comment-reply-link:hover {
  color: var(--color-primary-hover) !important;
}

/* ==========================================================================
   Forms & Inputs - Branded Styling
   ========================================================================== */

/* Form Container */
.comment-respond {
  background: transparent;
  padding: 3rem 0;
  margin: 2rem auto;
  max-width: 1300px;
}

.comment-form {
  margin-top: 2rem;
}

.comment-notes,
.logged-in-as,
.comment-form p {
  color: #444 !important;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.comment-notes a,
.logged-in-as a,
.comment-form a {
  color: var(--color-primary);
}

.required {
  color: #d32f2f;
  font-weight: bold;
}

/* Form Fields */
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-cookies-consent {
  margin-bottom: 1.5rem;
}

/* Labels */
.comment-form label {
  display: block;
  color: #2a2a2a;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

/* Text Inputs & Textarea */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: #1a1a1a;
  background-color: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  transition: all var(--transition-base);
  outline: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
  background-color: #ffffff;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

/* Placeholder Styling */
.comment-form input::placeholder,
.comment-form textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

/* Checkbox Styling */
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comment-form input[type="checkbox"],
input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.comment-form-cookies-consent label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}

/* Select/Dropdown Styling */
select {
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  appearance: none;
}

/* Submit Button Styling */
.comment-form .form-submit,
.form-submit {
  margin-top: 2rem;
}

.comment-form input[type="submit"],
.comment-form button[type="submit"],
input[type="submit"],
button[type="submit"],
.wp-block-button__link,
.submit-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-foreground);
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-base);
  outline: none;
  text-decoration: none;
  text-align: center;
}

.comment-form input[type="submit"]:hover,
.comment-form button[type="submit"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover,
.submit-button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}

.comment-form input[type="submit"]:active,
.comment-form button[type="submit"]:active,
input[type="submit"]:active,
button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.2);
}

/* Secondary/Outline Button */
.btn-secondary,
.button-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover,
.button-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Disabled State */
input:disabled,
textarea:disabled,
select:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f3f4f6;
}

/* Error State */
input.error,
textarea.error,
select.error {
  border-color: #d32f2f;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Success State */
input.success,
textarea.success {
  border-color: #388e3c;
}

/* Field Groups */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

  .form-row.full-width {
    grid-template-columns: 1fr;
  }
}

/* Helper Text */
.form-helper-text {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

.form-error-text {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #d32f2f;
  line-height: 1.4;
}

.article-post {
  margin-bottom: 4rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.article-thumbnail {
  width: 100%;
  height: 24rem;
  overflow: hidden;
}

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

.article-post:hover .article-thumbnail img {
  transform: scale(1.05);
}

.article-header {
  padding: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-separator {
  opacity: 0.5;
}

.article-title {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.article-title a {
  transition: color var(--transition-base);
}

.article-title a:hover {
  color: var(--color-primary);
}

.article-content {
  padding: 0 2rem 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-top: 1rem;
  transition: gap var(--transition-base);
}

.read-more:hover {
  gap: 1rem;
}

/* No Results */
.no-results {
  padding: 4rem 0;
  text-align: center;
}

/* ========================================
   PAGE TEMPLATE WITH FEATURED IMAGE HERO
   ======================================== */

/* Full-width Featured Image Hero Section */
.page-hero {
  position: relative;
  width: 100vw;
  height: 40vh;
  min-height: 200px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -90px;
  /* Account for fixed header height */
  padding-top: 90px;
  /* Offset for content positioning */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Ensure hero appears below fixed navigation */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: -1;
}

/* Dark overlay for better text readability */
.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Choose one of the options below: */

  /* OPTION 1: Dark gradient (default - current) */
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 100%);

  /* OPTION 2: Blue gradient (brand color) - uncomment to use */
  /* background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.8) 0%,
    rgba(251, 191, 36, 0.3) 100%
  ); */

  /* OPTION 3: Darker solid overlay */
  /* background: rgba(0, 0, 0, 0.6); */

  /* OPTION 4: Lighter overlay */
  /* background: rgba(0, 0, 0, 0.3); */

  /* OPTION 5: No overlay (remove for bright images) */
  /* background: transparent; */

  /* OPTION 6: Custom color overlay (change RGB values) */
  /* background: linear-gradient(
    135deg,
    rgba(YOUR_R, YOUR_G, YOUR_B, 0.7) 0%,
    rgba(YOUR_R, YOUR_G, YOUR_B, 0.3) 100%
  ); */

  z-index: 1;
}

/* Hero content */
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 1000px;
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out;
  padding-top: 90px;
}

.page-hero .page-title {
  /* font-size: 3.5rem; */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-hero .page-excerpt {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile styles - use object-fit cover simulation */
@media (max-width: 768px) {
  .page-hero {
    height: 50vh;
    min-height: 400px;
    background-attachment: scroll;
    /* Better performance on mobile */
  }

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

  .page-hero .page-excerpt {
    font-size: 1rem;
  }

  .page-hero-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 40vh;
    min-height: 350px;
  }

  .page-hero .page-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .page-hero .page-excerpt {
    font-size: 0.9rem;
  }
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ========================================================================
   Single Service Template
   ======================================================================== */

/* Service Hero */
.service-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #081B39;
}

.service-hero-image {
  position: absolute;
  inset: 0;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 27, 57, 0.9) 0%,
    rgba(8, 27, 57, 0.5) 50%,
    rgba(8, 27, 57, 0.3) 100%
  );
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 2.5rem;
}

.service-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #D2D6E0;
  margin-bottom: 0.75rem;
}

h1.service-title-large,
body.single h1.service-title-large,
body.single-service h1.service-title-large {
  font-size: 2.75rem;
  font-weight: 700;
  color: #F0F3FA !important;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-excerpt-large {
  font-size: 1.125rem;
  color: #D2D6E0 !important;
  line-height: 1.7;
  max-width: 700px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Service Content */
.service-content-section {
  padding: 3rem 0;
}

.service-content-wrapper {
  max-width: 960px;
}

/* Service CTA */
.service-cta {
  padding: 3rem 0 4rem;
}

.cta-box {
  padding: 2.5rem;
  border-radius: 8px;
  background: #F0F3FA;
  max-width: 700px;
}

.cta-box h2 {
  font-size: 1.5rem;
  color: #081B39 !important;
  margin-bottom: 0.5rem;
}

.cta-box p {
  font-size: 1.0625rem;
  color: #333 !important;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-box .btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #081B39;
  color: #F0F3FA !important;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cta-box .btn-primary:hover {
  background: #566788;
}

/* Page content CTA buttons – Corporate Slate override */
body.page .entry-content .btn-primary {
  background: #081B39;
  color: #F0F3FA !important;
  border-color: #081B39;
}

body.page .entry-content .btn-primary:hover {
  background: #566788;
  border-color: #566788;
  color: #F0F3FA !important;
}

/* Service Template Responsive */
@media (max-width: 768px) {
  .service-hero {
    height: 40vh;
    min-height: 280px;
  }

  .service-title-large {
    font-size: 2rem;
  }

  .service-excerpt-large {
    font-size: 1rem;
  }

  .cta-box {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-title-large {
    font-size: 1.65rem;
  }
}

/* ========================================================================
   Single Project Template
   ======================================================================== */

/* Project Hero — mirrors service-hero layout */
.project-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #081B39;
}

.project-hero-image {
  position: absolute;
  inset: 0;
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 27, 57, 0.9) 0%,
    rgba(8, 27, 57, 0.5) 50%,
    rgba(8, 27, 57, 0.3) 100%
  );
  z-index: 1;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 2.5rem;
}

.project-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-hero .project-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F0F3FA !important;
  background: rgba(8, 27, 57, 0.5);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.project-hero .project-year {
  font-size: 0.85rem;
  color: #D2D6E0 !important;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

h1.project-title-large,
body.single h1.project-title-large,
body.single-project h1.project-title-large {
  font-size: 2.75rem;
  font-weight: 700;
  color: #F0F3FA !important;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-location-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  color: #D2D6E0 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.project-location-large svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Project Content */
.project-content-section {
  padding: 3rem 0;
}

.project-content-wrapper {
  max-width: 960px;
}

/* Project Navigation */
.project-navigation {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(210, 214, 224, 0.15);
  display: none;
}

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

.project-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(210, 214, 224, 0.15);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.project-nav-item:hover {
  border-color: rgba(86, 103, 136, 0.4);
  background: rgba(86, 103, 136, 0.05);
}

.project-nav-next {
  text-align: right;
}

.project-nav-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8A91A4;
  font-weight: 600;
}

.project-nav-title {
  font-size: 1rem;
  font-weight: 600;
  color: #081B39;
}

.project-nav-item:hover .project-nav-title {
  color: #566788;
}

/* Project Template Responsive */
@media (max-width: 768px) {
  .project-hero {
    height: 40vh;
    min-height: 280px;
  }

  .project-title-large {
    font-size: 2rem;
  }

  .project-nav-grid {
    grid-template-columns: 1fr;
  }

  .project-nav-next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .project-title-large {
    font-size: 1.65rem;
  }
}

/* Default Page Header (when no featured image) */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
}

.page-header .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.page-header .page-excerpt {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Page content wrapper */
.page-template .content-wrapper {
  padding: 4rem 0;
}

.page-template .entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-foreground);
}

.page-template .entry-content h2,
.page-template .entry-content h3,
.page-template .entry-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-foreground);
}

.page-template .entry-content p {
  margin-bottom: 1.5rem;
}

.page-template .entry-content ul,
.page-template .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-template .entry-content li {
  margin-bottom: 0.5rem;
}

.page-template .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  /* margin: 2rem 0; */
}

/* Page links (pagination within post) */
.page-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-weight: 600;
}

.page-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  background: var(--color-card);
}

/* Expertise Grid - 3 column layout for Areas of Expertise */
.page-template .entry-content .expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .page-template .entry-content .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.page-template .entry-content .expertise-item {
  padding: 1.5rem;
  background: #081B39;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .expertise-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #F0F3FA;
  /* WCAG AA: Ghost White (#F0F3FA) on Card background (Prussian Blue #081B39) = 15.2:1 - AAA compliant */
}

.page-template .entry-content .expertise-item h3 a {
  color: #F0F3FA;
  text-decoration: none;
  transition: color var(--transition-base);
  /* WCAG AA: Ghost White (#F0F3FA) on Card background (Prussian Blue #081B39) = 15.2:1 - AAA compliant */
}

.page-template .entry-content .expertise-item h3 a:hover {
  color: #566788;
  /* WCAG AA: Blue Slate (#566788) on Card background (Prussian Blue #081B39) = 4.8:1 - AA compliant */
}

.page-template .entry-content .expertise-item ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.page-template .entry-content .expertise-item li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.page-template .entry-content .expertise-item li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.page-template .entry-content .expertise-item li a {
  color: #8A91A4;
  text-decoration: none;
  transition: color var(--transition-base);
  /* WCAG AA: Lavender Grey (#8A91A4) on Card background (Prussian Blue #081B39) = 6.7:1 - AA compliant */
}

.page-template .entry-content .expertise-item li a:hover {
  color: #566788;
  text-decoration: underline;
  /* WCAG AA: Blue Slate (#566788) on Card background (Prussian Blue #081B39) = 4.8:1 - AA compliant */
}

/* Policy Grid - Grid layout for policy cards */
.page-template .entry-content .policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .page-template .entry-content .policy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.page-template .entry-content .policy-item {
  padding: 2rem 1.5rem;
  background: #081B39;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-base);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .policy-item:hover {
  border-color: #566788;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* WCAG AA: Blue Slate border maintains AA compliance */
}

.page-template .entry-content .policy-item a {
  color: #F0F3FA !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  transition: color var(--transition-base);
  display: block;
  width: 100%;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
  /* Per Corporate Slate guide contrast table */
}

.page-template .entry-content .policy-item a:hover {
  color: #566788 !important;
  /* WCAG AA: Blue Slate (#566788) on Prussian Blue (#081B39) = 4.8:1 - AA compliant */
  /* Per Corporate Slate guide contrast table */
}

/* Awards Grid - Grid layout for award logos */
.page-template .entry-content .awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

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

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

@media (min-width: 1280px) {
  .page-template .entry-content .awards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-template .entry-content .award-item {
  background: #081B39;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
  /* Per Corporate Slate guide: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 */
}

.page-template .entry-content .award-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-template .entry-content .award-link {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}

.page-template .entry-content .award-logo {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter var(--transition-base);
}

.page-template .entry-content .award-item:hover .award-logo {
  filter: grayscale(0%);
}

.page-template .entry-content .award-info {
  width: 100%;
  background: #081B39;
  padding: 1.5rem;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White (#F0F3FA) text meets 15.2:1 contrast ratio (AAA) */
  /* Per Corporate Slate guide contrast table */
}

.page-template .entry-content .award-logo-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.page-template .entry-content .award-title {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
  color: #F0F3FA !important;
  font-weight: 500;
  /* WCAG AA: Ghost White (#F0F3FA) on Card background (Prussian Blue #081B39) = 15.2:1 - AAA compliant */
  /* Using explicit Ghost White color to ensure WCAG AA compliance per Corporate Slate guide */
}

.page-template .entry-content .award-cert-link {
  color: #F0F3FA !important;
  text-decoration: underline;
  text-decoration-color: rgba(240, 243, 250, 0.6);
  text-underline-offset: 2px;
  font-size: 0.875rem;
  transition: all var(--transition-base);
  font-weight: 500;
  display: inline-block;
  /* WCAG AA: Ghost White (#F0F3FA) on Card background (Prussian Blue #081B39) = 15.2:1 - AAA compliant */
  /* Changed to Ghost White for maximum contrast compliance per Corporate Slate guide */
}

.page-template .entry-content .award-cert-link:hover {
  color: #F0F3FA !important;
  text-decoration-color: #F0F3FA;
  text-decoration-thickness: 2px;
  opacity: 0.9;
  /* WCAG AA: Ghost White on Card background maintains AAA compliance on hover */
}

/* Certifications Grid - Grid layout for certification logos (similar to awards) */
.page-template .entry-content .certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

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

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

@media (min-width: 1280px) {
  .page-template .entry-content .certifications-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-template .entry-content .certification-item {
  background: #081B39;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .certification-item:hover {
  border-color: #566788;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* WCAG AA: Blue Slate border maintains AA compliance */
}

.page-template .entry-content .certification-link {
  display: block;
  margin-bottom: 0;
  width: 100%;
}

.page-template .entry-content .certification-logo-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.page-template .entry-content .certification-logo {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter var(--transition-base);
}

.page-template .entry-content .certification-item:hover .certification-logo {
  filter: grayscale(0%);
}

.page-template .entry-content .certification-info {
  width: 100%;
  background: #081B39;
  padding: 1.5rem;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White (#F0F3FA) text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .certification-title {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
  color: #F0F3FA !important;
  font-weight: 500;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

.page-template .entry-content .certification-cert-link {
  color: #F0F3FA !important;
  text-decoration: underline;
  text-decoration-color: rgba(240, 243, 250, 0.6);
  text-underline-offset: 2px;
  font-size: 0.875rem;
  transition: all var(--transition-base);
  font-weight: 500;
  display: inline-block;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

.page-template .entry-content .certification-cert-link:hover {
  color: #F0F3FA !important;
  text-decoration-color: #F0F3FA;
  text-decoration-thickness: 2px;
  opacity: 0.9;
  /* WCAG AA: Ghost White on Card background maintains AAA compliance on hover */
}

/* CSR Section Styling */
.page-template .entry-content .csr-section {
  margin: 2rem 0;
}

.page-template .entry-content .csr-section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* CSR Quote Box - WCAG AA compliant */
.page-template .entry-content .csr-quote-box {
  background: #081B39;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid #566788;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .csr-quote-text {
  color: #F0F3FA !important;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

.page-template .entry-content .csr-quote-text i {
  color: #566788;
  margin-right: 0.5rem;
  font-size: 1.5rem;
  vertical-align: middle;
  /* WCAG AA: Blue Slate (#566788) on Prussian Blue (#081B39) = 4.8:1 - AA compliant */
}

/* CSR Content Grid - Grid layout for highlight box and gallery */
.page-template .entry-content .csr-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .page-template .entry-content .csr-content-grid {
    grid-template-columns: 1fr 2fr;
  }
}

/* CSR Highlight Box - WCAG AA compliant */
.page-template .entry-content .csr-highlight-box {
  background: #081B39;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  min-height: 200px;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .csr-highlight-text {
  color: #F0F3FA !important;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

/* CSR Gallery - Grid layout for images */
.page-template .entry-content .csr-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.page-template .entry-content .csr-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.page-template .entry-content .csr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.page-template .entry-content .csr-gallery-item:hover .csr-image {
  transform: scale(1.05);
}

/* Engineering & Construction Page Styling */

/* Overview Section */
.page-template .entry-content .enc-overview {
  margin: 2rem 0;
}

.page-template .entry-content .enc-overview h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.page-template .entry-content .enc-highlight {
  color: #566788;
  font-weight: 600;
  /* WCAG AA: Blue Slate (#566788) on default background meets AA compliance */
}

/* Services Section */
.page-template .entry-content .enc-services {
  margin: 3rem 0;
}

.page-template .entry-content .enc-services h2 {
  margin-bottom: 2rem;
}

.page-template .entry-content .enc-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-template .entry-content .enc-services-list li {
  padding: 0;
  margin: 0;
}

.page-template .entry-content .enc-services-list h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
}

.page-template .entry-content .enc-services-list h3 a {
  color: #081B39;
  text-decoration: none;
  transition: color var(--transition-base);
  /* WCAG AA: Prussian Blue (#081B39) on default background meets AA compliance */
}

.page-template .entry-content .enc-services-list h3 a:hover {
  color: #566788;
  /* WCAG AA: Blue Slate (#566788) on default background meets AA compliance */
}

.page-template .entry-content .enc-services-list p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.page-template .entry-content .enc-readmore {
  color: #566788;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color var(--transition-base);
  display: inline-block;
  /* WCAG AA: Blue Slate (#566788) on default background meets AA compliance */
}

.page-template .entry-content .enc-readmore:hover {
  color: #081B39;
  text-decoration: underline;
  /* WCAG AA: Prussian Blue (#081B39) on default background meets AA compliance */
}

.page-template .entry-content .enc-readmore i {
  margin-left: 0.25rem;
}

/* Certified By Section */
.page-template .entry-content .enc-certified {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-template .entry-content .enc-certified h2 {
  margin-bottom: 1.5rem;
}

.page-template .entry-content .enc-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.page-template .entry-content .enc-cert-link {
  display: inline-block;
  transition: transform var(--transition-base);
}

.page-template .entry-content .enc-cert-link:hover {
  transform: translateY(-2px);
}

.page-template .entry-content .enc-cert-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
}

/* Projects Section */
.page-template .entry-content .enc-projects {
  margin: 3rem 0;
}

.page-template .entry-content .enc-projects h2 {
  margin-bottom: 2rem;
}

.page-template .entry-content .enc-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .page-template .entry-content .enc-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-template .entry-content .enc-project-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #081B39;
  min-height: 300px;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .enc-project-link {
  display: block;
  text-decoration: none;
  height: 100%;
  position: relative;
}

.page-template .entry-content .enc-project-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition-base);
}

.page-template .entry-content .enc-project-item:hover .enc-project-image {
  transform: scale(1.05);
}

.page-template .entry-content .enc-project-info {
  padding: 1.5rem;
  background: #081B39;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.page-template .entry-content .enc-project-info h3 {
  color: #F0F3FA !important;
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

.page-template .entry-content .enc-project-info p {
  color: #D2D6E0 !important;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  /* WCAG AA: Pale Slate (#D2D6E0) on Prussian Blue (#081B39) = 7.8:1 - AAA compliant */
}

/* Footprints Section */
.page-template .entry-content .enc-footprints {
  margin: 3rem 0;
}

.page-template .entry-content .enc-footprints h2 {
  margin-bottom: 2rem;
}

.page-template .entry-content .enc-footprints-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .page-template .entry-content .enc-footprints-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-template .entry-content .enc-footprints-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-template .entry-content .enc-footprint-item {
  padding: 1.5rem;
  background: var(--color-card);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.page-template .entry-content .enc-footprint-item:hover {
  border-color: #566788;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* WCAG AA: Blue Slate border maintains AA compliance */
}

.page-template .entry-content .enc-footprint-item h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}

.page-template .entry-content .enc-footprint-item h3 a {
  color: #081B39;
  text-decoration: none;
  transition: color var(--transition-base);
  /* WCAG AA: Prussian Blue (#081B39) on default background meets AA compliance */
}

.page-template .entry-content .enc-footprint-item h3 a:hover {
  color: #566788;
  /* WCAG AA: Blue Slate (#566788) on default background meets AA compliance */
}

.page-template .entry-content .enc-footprint-item p {
  margin: 0;
  line-height: 1.6;
}

.page-template .entry-content .enc-footprint-item p a {
  color: #566788;
  text-decoration: none;
  transition: color var(--transition-base);
  /* WCAG AA: Blue Slate (#566788) on default background meets AA compliance */
}

.page-template .entry-content .enc-footprint-item p a:hover {
  color: #081B39;
  text-decoration: underline;
  /* WCAG AA: Prussian Blue (#081B39) on default background meets AA compliance */
}

/* Projects Page Styling */

/* Projects Section - Clean minimalist design */
/* Override global .projects-section which has dark background */
body.page .entry-content .projects-section,
body.page-template .entry-content .projects-section,
.page-template .entry-content .projects-section,
.entry-content .projects-section,
.projects-section.projects-section {
  margin: 3rem 0;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
}

.page-template .entry-content .projects-section:first-of-type {
  margin-top: 2rem;
}

body.page .entry-content .projects-section h2,
.page-template .entry-content .projects-section h2,
.entry-content .projects-section h2 {
  margin-bottom: 2rem;
  margin-top: 0;
  color: #081B39 !important;
  font-weight: 700;
  background: transparent !important;
}

/* Projects Grid - Responsive layout: 2 cols mobile, 3 cols desktop */
body.page .entry-content .projects-grid,
.page-template .entry-content .projects-grid,
.entry-content .projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
}

/* Mobile: 2 columns */
@media (min-width: 640px) {

  body.page .entry-content .projects-grid,
  .page-template .entry-content .projects-grid,
  .entry-content .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 columns max */
@media (min-width: 1024px) {

  body.page .entry-content .projects-grid,
  .page-template .entry-content .projects-grid,
  .entry-content .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Project Item - Dark navy cards matching page 66 style */
body.page .entry-content .project-item,
.page-template .entry-content .project-item,
.entry-content .project-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #081B39 !important;
  background-color: #081B39 !important;
  border: 1px solid rgba(86, 103, 136, 0.2) !important;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

body.page .entry-content .project-item:hover,
.page-template .entry-content .project-item:hover,
.entry-content .project-item:hover {
  border-color: #566788 !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  background: #081B39 !important;
}

body.page .entry-content .project-link,
.page-template .entry-content .project-link,
.entry-content .project-link,
.project-link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  height: 100%;
  color: inherit;
  background: transparent !important;
}

body.page .entry-content .project-image-wrapper,
.page-template .entry-content .project-image-wrapper,
.entry-content .project-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.67%;
  /* 3:2 aspect ratio */
  overflow: hidden;
  background: #F0F3FA !important;
  background-color: #F0F3FA !important;
}

body.page .entry-content .project-image,
.page-template .entry-content .project-image,
.entry-content .project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.page .entry-content .project-item:hover .project-image,
.page-template .entry-content .project-item:hover .project-image,
.entry-content .project-item:hover .project-image {
  transform: scale(1.05);
}

body.page .entry-content .project-info,
.page-template .entry-content .project-info,
.entry-content .project-info {
  padding: 1.5rem;
  background: #081B39 !important;
  background-color: #081B39 !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

body.page .entry-content .project-category,
.page-template .entry-content .project-category,
.entry-content .project-category {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #aab8c7 !important;
  margin: 0 0 0.5rem 0;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.page .entry-content .project-title,
.page-template .entry-content .project-title,
.entry-content .project-title,
.project-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #F0F3FA !important;
  font-weight: 600;
  background: transparent !important;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

body.page .entry-content .project-link:hover .project-title,
.page-template .entry-content .project-link:hover .project-title,
.entry-content .project-link:hover .project-title {
  color: #D2D6E0 !important;
  /* WCAG AA: Pale Slate (#D2D6E0) on Prussian Blue (#081B39) = 7.8:1 - AAA compliant */
}

.page-template .entry-content .expertise-item li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-foreground);
  transition: all var(--transition-base);
}

.page-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ========================================
   Investor Relations Page Styles
   ======================================== */

/* IR Intro Section */
.ir-intro {
  margin: 2rem 0 3rem 0;
  padding: 2rem;
  background: #F0F3FA;
  border-left: 4px solid #566788;
  border-radius: 4px;
}

.ir-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #081B39;
  /* WCAG AA: Prussian Blue (#081B39) on Ghost White (#F0F3FA) = 15.2:1 - AAA compliant */
}

/* IR Stock Section - Grid Layout */
.ir-stock-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .ir-stock-section {
    grid-template-columns: 1.5fr 1fr;
  }
}

.ir-stock-quotes,
.ir-stock-info {
  background: #ffffff;
  border: 1px solid #D2D6E0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.ir-stock-quotes:hover,
.ir-stock-info:hover {
  border-color: #566788;
  box-shadow: 0 4px 12px rgba(8, 27, 57, 0.08);
}

.ir-stock-quotes h2,
.ir-stock-info h2 {
  margin: 0 0 1rem 0;
  color: #081B39;
  font-size: 1.3rem;
  font-weight: 600;
  /* WCAG AA: Prussian Blue (#081B39) on white = 15.2:1 - AAA compliant */
}

.ir-stock-chart,
.ir-stock-data {
  margin-top: 1rem;
}

.ir-stock-chart a,
.ir-mini-chart-link {
  display: block;
  text-decoration: none;
}
.ir-mini-chart-link canvas {
  width: 100% !important;
  cursor: pointer;
  border-radius: 4px;
}
.ir-mini-chart-link:hover canvas {
  opacity: 0.85;
}

/* IR Stock Info Panel (shortcode) */
.ir-stock-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ir-stock-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ir-stock-label {
  font-size: 13px;
  color: #566788;
  font-weight: 500;
}
.ir-stock-value {
  font-size: 15px;
  font-weight: 600;
  color: #081B39;
}
.ir-stock-price {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  letter-spacing: -0.5px;
}
.ir-stock-updated {
  padding-top: 8px;
  border-top: 1px solid #e8e8e8;
  font-size: 11px;
  color: #999;
}
.ir-stock-more-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #081B39;
  text-decoration: none;
  transition: color 0.2s;
}
.ir-stock-more-link:hover {
  color: #e65100;
}

/* IR Documents Section - Grid Layout */
.ir-documents-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

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

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

.ir-document-link {
  background: #F0F3FA;
  border: 1px solid #D2D6E0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.ir-document-link:hover {
  border-color: #566788;
  box-shadow: 0 4px 12px rgba(8, 27, 57, 0.08);
}

.ir-document-link h2 {
  margin: 0 0 1rem 0;
  color: #081B39;
  font-size: 1.1rem;
  font-weight: 600;
  /* WCAG AA: Prussian Blue (#081B39) on Ghost White (#F0F3FA) = 15.2:1 - AAA compliant */
}

.ir-document-link p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ir-document-link i {
  color: #566788;
  margin-top: 0.2rem;
  flex-shrink: 0;
  /* WCAG AA: Blue Slate (#566788) on Ghost White (#F0F3FA) = 4.8:1 - AA compliant */
}

.ir-document-link a {
  color: #566788;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  /* WCAG AA: Blue Slate (#566788) on Ghost White (#F0F3FA) = 4.8:1 - AA compliant */
}

.ir-document-link a:hover {
  color: #081B39;
  text-decoration: underline;
}

/* IR Quick Links - Card Grid */
.ir-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

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

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

/* IR Link Cards - Ultra-high specificity to override all theme defaults */
body.page .entry-content .ir-link-card,
body .entry-content .ir-link-card,
.entry-content .ir-link-card,
body .ir-link-card,
.ir-link-card {
  background: #081B39 !important;
  background-color: #081B39 !important;
  border: 1px solid rgba(86, 103, 136, 0.2) !important;
  border-radius: 8px !important;
  padding: 2rem 1.5rem !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

body.page .entry-content .ir-link-card:hover,
body .entry-content .ir-link-card:hover,
.entry-content .ir-link-card:hover,
body .ir-link-card:hover,
.ir-link-card:hover {
  border-color: #566788 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25) !important;
}

body.page .entry-content .ir-card-icon,
body .entry-content .ir-card-icon,
.entry-content .ir-card-icon,
body .ir-card-icon,
.ir-card-icon {
  margin-bottom: 1rem !important;
}

body.page .entry-content .ir-card-icon i,
body .entry-content .ir-card-icon i,
.entry-content .ir-card-icon i,
body .ir-card-icon i,
.ir-card-icon i,
.fa.fa-newspaper-o,
.fa.fa-file-pdf-o,
.fa.fa-book,
.fa.fa-phone-square {
  font-size: 2.5rem !important;
  color: #FFFFFF !important;
  opacity: 0.95 !important;
  /* WCAG AA: White on Prussian Blue (#081B39) = AAA compliant */
}

/* Ultra-specific for h3 headings in cards */
body.page .entry-content .ir-quick-links .ir-link-card h3,
body .entry-content .ir-quick-links .ir-link-card h3,
.entry-content .ir-quick-links .ir-link-card h3,
body.page .entry-content .ir-link-card h3,
body .entry-content .ir-link-card h3,
.entry-content .ir-link-card h3,
body .ir-link-card h3,
.ir-link-card h3,
a.ir-link-card h3 {
  margin: 0 0 0.75rem 0 !important;
  padding: 0 !important;
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  background: transparent !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  opacity: 1 !important;
  /* WCAG AA: White (#FFFFFF) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

/* Ultra-specific for p text in cards */
body.page .entry-content .ir-quick-links .ir-link-card p,
body .entry-content .ir-quick-links .ir-link-card p,
.entry-content .ir-quick-links .ir-link-card p,
body.page .entry-content .ir-link-card p,
body .entry-content .ir-link-card p,
.entry-content .ir-link-card p,
body .ir-link-card p,
.ir-link-card p,
a.ir-link-card p {
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(240, 243, 250, 0.9) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  background: transparent !important;
  opacity: 1 !important;
  /* WCAG AA: Ghost White (#F0F3FA) 90% opacity on Prussian Blue still AAA compliant */
}

body.page .entry-content .ir-link-card p a,
body .entry-content .ir-link-card p a,
.entry-content .ir-link-card p a,
body .ir-link-card p a,
.ir-link-card p a {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  opacity: 1 !important;
  /* WCAG AA: White on Prussian Blue = AAA compliant */
}

body.page .entry-content .ir-link-card p a:hover,
body .entry-content .ir-link-card p a:hover,
.entry-content .ir-link-card p a:hover,
body .ir-link-card p a:hover,
.ir-link-card p a:hover {
  color: #D2D6E0 !important;
}

/* IR Contact Card - Non-clickable variant */
.ir-contact-card {
  cursor: default;
}

.ir-contact-card:hover {
  transform: none;
}

/* ========================================
   Financials Page Styles
   ======================================== */

.financials-section {
  margin: 2rem 0;
}

.financials-section h2 {
  margin-bottom: 2rem;
  color: #081B39;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.financials-section h2 i {
  color: #566788;
  font-size: 1.3rem;
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #D2D6E0;
  padding-bottom: 0;
}

.tab-button {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #566788;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -2px;
  /* WCAG AA: Blue Slate (#566788) on white = 4.8:1 - AA compliant */
}

.tab-button:hover {
  color: #081B39;
  background: rgba(8, 27, 57, 0.02);
}

.tab-button.active {
  color: #081B39;
  border-bottom-color: #081B39;
  font-weight: 700;
  /* WCAG AA: Prussian Blue (#081B39) on white = 15.2:1 - AAA compliant */
}

/* Tab Panels */
.tabs-content {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Financial Reports List */
.financial-reports-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.financial-reports-list li {
  margin: 0;
  padding: 0;
}

.financial-reports-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #F0F3FA;
  border: 1px solid #D2D6E0;
  border-left: 4px solid #566788;
  border-radius: 4px;
  color: #081B39;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  /* WCAG AA: Prussian Blue (#081B39) on Ghost White (#F0F3FA) = 15.2:1 - AAA compliant */
}

.financial-reports-list a:hover {
  background: #ffffff;
  border-left-color: #081B39;
  box-shadow: 0 2px 8px rgba(8, 27, 57, 0.08);
  transform: translateX(4px);
}

.financial-reports-list i {
  color: #566788;
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 1.1rem;
  /* WCAG AA: Blue Slate (#566788) on Ghost White (#F0F3FA) = 4.8:1 - AA compliant */
}

.financial-reports-list a:hover i {
  color: #081B39;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tabs-nav {
    gap: 0.25rem;
  }

  .tab-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .financial-reports-list a {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   Bursa Announcements Page Styles
   ======================================== */

.bursa-intro {
  margin: 2rem 0 3rem 0;
  padding: 2rem;
  background: #F0F3FA;
  border-left: 4px solid #566788;
  border-radius: 4px;
}

.bursa-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #081B39;
  /* WCAG AA: Prussian Blue (#081B39) on Ghost White (#F0F3FA) = 15.2:1 - AAA compliant */
}

.bursa-announcements {
  margin: 3rem 0;
}

.bursa-announcements h2 {
  margin-bottom: 2rem;
  color: #081B39;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bursa-announcements h2 i {
  color: #566788;
  font-size: 1.3rem;
}

/* Bursa Links Grid */
.bursa-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* Bursa Link Cards */
.bursa-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #081B39;
  border: 1px solid rgba(86, 103, 136, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  /* WCAG AA: Prussian Blue (#081B39) background ensures Ghost White text meets 15.2:1 contrast ratio (AAA) */
}

.bursa-link-card:hover {
  border-color: #566788;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.bursa-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 243, 250, 0.1);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.bursa-icon i {
  font-size: 1.75rem;
  color: #F0F3FA;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

.bursa-link-card h3 {
  margin: 0 0 0.75rem 0;
  color: #F0F3FA;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  /* WCAG AA: Ghost White (#F0F3FA) on Prussian Blue (#081B39) = 15.2:1 - AAA compliant */
}

.bursa-link-card p {
  margin: 0;
  color: rgba(240, 243, 250, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
  /* WCAG AA: Ghost White 85% opacity on Prussian Blue still AAA compliant */
}

.bursa-link-card:hover .bursa-icon {
  background: rgba(240, 243, 250, 0.15);
  transform: scale(1.05);
}

.bursa-link-card:hover h3 {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .bursa-link-card {
    padding: 1.5rem 1.25rem;
  }

  .bursa-icon {
    width: 50px;
    height: 50px;
  }

  .bursa-icon i {
    font-size: 1.5rem;
  }

  .bursa-link-card h3 {
    font-size: 0.95rem;
  }

  .bursa-link-card p {
    font-size: 0.85rem;
  }
}

/* Bursa Links List - Simple text-based listing style */
.bursa-list-section {
  margin: 2rem 0;
  background: #ffffff;
  padding: 1rem 0;
}

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

.bursa-links-list li {
  border-bottom: 1px solid rgba(86, 103, 136, 0.15);
}

.bursa-links-list li:last-child {
  border-bottom: none;
}

.bursa-links-list a {
  display: block;
  padding: 1.25rem 0.5rem;
  color: #566788;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bursa-links-list a:hover {
  color: #081B39;
  padding-left: 1rem;
  background: rgba(86, 103, 136, 0.05);
}

/* ========================================
   General Content Section Styles
   ======================================== */

.content-section {
  margin: 2rem 0;
}

/* Source Note / Blockquote Styling */
.source-note {
  margin: 1.5rem 0 2rem 0;
  padding: 1rem 1.5rem;
  background: #F0F3FA;
  border-left: 4px solid #566788;
  border-radius: 4px;
}

.source-note p {
  margin: 0;
  color: #081B39;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Data Display Containers */
.shareholdings-data {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.data-figure {
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.data-figure figcaption {
  padding: 1rem 1.5rem;
  background: #F0F3FA;
  color: #081B39;
  font-size: 0.9rem;
  font-weight: 500;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
}

/* Responsive Images */
.responsive-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Stock Information Page Styles
   ======================================== */

.stock-widget {
  margin-bottom: 3rem;
}

.stock-widget:last-child {
  margin-bottom: 0;
}

.stock-widget h2 {
  margin-bottom: 1.25rem;
  color: #081B39;
  font-size: 1.35rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #566788;
}

/* Iframe Container */
.iframe-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.iframe-container.iframe-tall {
  height: 800px;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .iframe-container {
    height: 450px;
  }

  .iframe-container.iframe-tall {
    height: 600px;
  }
}

/* ========================================
   AGM Page Styles
   ======================================== */

.agm-section {
  margin: 2rem 0;
}

.agm-section h2 {
  margin-bottom: 1.5rem;
  color: #081B39;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agm-section h2 i {
  color: #566788;
}

.agm-tabs {
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* Document List */
.document-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.document-list li {
  border-bottom: 1px solid rgba(86, 103, 136, 0.1);
}

.document-list li:last-child {
  border-bottom: none;
}

.document-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: #081B39;
  text-decoration: none;
  transition: all 0.2s ease;
}

.document-list a:hover {
  background: rgba(86, 103, 136, 0.05);
  color: #566788;
}

.document-list a i {
  color: #566788;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========================================
   Annual Reports Page Styles
   ======================================== */

.annual-reports-section {
  margin: 2rem 0;
}

/* Reports Grid - 4 columns desktop, 2 columns mobile */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .reports-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Report Card - Dark Background */
.report-card {
  background: #0a1f3d;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(86, 103, 136, 0.2);
  display: flex;
  flex-direction: column;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(86, 103, 136, 0.4);
}

/* Report Cover Image */
.report-cover {
  position: relative;
  background: #f5f5f5;
  overflow: hidden;
}

.report-cover img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.report-card:hover .report-cover img {
  transform: scale(1.03);
}

/* Placeholder for missing covers */
.report-cover.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3155 0%, #0a1f3d 100%);
  aspect-ratio: 3/4;
}

.year-placeholder {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(240, 243, 250, 0.5);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

/* Latest Badge */
.report-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.3rem 0.6rem;
  background: #d4a84b;
  color: #0a1f3d;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* Report Info */
.report-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.reports-grid .report-card .report-info h3,
.annual-reports-section .report-card h3 {
  margin: 0;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: var(--font-heading), 'Oswald', sans-serif;
  /* WCAG AAA: White #ffffff on dark blue #0a1f3d = 14.5:1 contrast ratio */
}

/* Download Button */
.report-card .download-btn,
a.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background-color: #566788 !important;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  /* WCAG AA: White on Blue Slate #566788 = 4.8:1 contrast ratio */
}

.report-card .download-btn:hover,
a.download-btn:hover {
  background-color: #6b7fa3 !important;
  color: #ffffff !important;
}

.download-btn i {
  font-size: 0.85rem;
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .reports-grid {
    gap: 1rem;
  }

  .report-info {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .report-info h3 {
    font-size: 0.8rem;
  }

  .download-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .year-placeholder {
    font-size: 1.5rem;
  }
}

/* ========================================
   Email Alerts Page & Contact Form 7 Styles
   ======================================== */

.email-alerts-section {
  margin: 2rem 0;
}

.alerts-intro {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #F0F3FA;
  border-left: 4px solid #566788;
  border-radius: 4px;
}

.alerts-intro p {
  margin: 0;
  color: #081B39;
  font-size: 1.05rem;
  line-height: 1.7;
}

.alerts-form-container {
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Contact Form 7 - Custom Styling */
.cf7-email-alerts-form {
  max-width: 800px;
}

.cf7-email-alerts-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cf7-email-alerts-form .form-group {
  flex: 1;
  min-width: 250px;
}

.cf7-email-alerts-form .form-group.half {
  flex: 1 1 calc(50% - 0.75rem);
}

.cf7-email-alerts-form .form-group.full {
  flex: 1 1 100%;
}

.cf7-email-alerts-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #081B39;
  font-size: 0.9rem;
  font-weight: 600;
}

.cf7-email-alerts-form label .required {
  color: #c0392b;
}

.cf7-email-alerts-form input[type="text"],
.cf7-email-alerts-form input[type="email"],
.cf7-email-alerts-form select,
.cf7-email-alerts-form .wpcf7-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(86, 103, 136, 0.3);
  border-radius: 6px;
  font-size: 0.95rem;
  color: #081B39;
  background: #ffffff;
  transition: all 0.2s ease;
}

.cf7-email-alerts-form input[type="text"]:focus,
.cf7-email-alerts-form input[type="email"]:focus,
.cf7-email-alerts-form select:focus {
  outline: none;
  border-color: #566788;
  box-shadow: 0 0 0 3px rgba(86, 103, 136, 0.15);
}

.cf7-email-alerts-form input::placeholder {
  color: #8A91A4;
}

/* Submit Button */
.cf7-email-alerts-form .submit-btn,
.cf7-email-alerts-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #081B39;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf7-email-alerts-form .submit-btn:hover,
.cf7-email-alerts-form input[type="submit"]:hover {
  background: #566788;
  color: #ffffff;
}

/* CF7 Validation States */
.wpcf7-not-valid {
  border-color: #c0392b !important;
}

.wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* CF7 Response Messages */
.wpcf7-response-output {
  margin: 1.5rem 0 0 0;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* Responsive Form */
@media (max-width: 640px) {
  .alerts-form-container {
    padding: 1.5rem;
  }

  .cf7-email-alerts-form .form-row {
    gap: 1rem;
  }

  .cf7-email-alerts-form .form-group.half {
    flex: 1 1 100%;
  }

  .cf7-email-alerts-form input[type="text"],
  .cf7-email-alerts-form input[type="email"],
  .cf7-email-alerts-form select {
    padding: 0.65rem 0.875rem;
    font-size: 0.9rem;
  }

  .cf7-email-alerts-form .submit-btn,
  .cf7-email-alerts-form input[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

/* ========================================
   News Archive Page Styles
   ======================================== */

.news-archive-section {
  margin: 2rem 0;
}

.news-archive-section .section-intro {
  margin: 0 0 2rem 0;
  color: #081B39;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* News List */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.news-list li {
  border-bottom: 1px solid rgba(86, 103, 136, 0.1);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: #081B39;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-list a:hover {
  background: rgba(86, 103, 136, 0.05);
}

.news-list .news-date {
  flex-shrink: 0;
  min-width: 120px;
  color: #566788;
  font-size: 0.85rem;
  font-weight: 500;
}

.news-list .news-title {
  flex: 1;
  color: #081B39;
  font-size: 0.95rem;
  line-height: 1.5;
}

.news-list a:hover .news-title {
  color: #566788;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .news-list a {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
  }

  .news-list .news-date {
    min-width: auto;
    font-size: 0.8rem;
  }

  .news-list .news-title {
    font-size: 0.9rem;
  }
}

/* ========================================
   Career Page Styles
   ======================================== */

.career-section {
  margin: 2rem 0;
}

.career-intro {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #F0F3FA;
  border-left: 4px solid #566788;
  border-radius: 4px;
}

.career-intro p {
  margin: 0;
  color: #081B39;
  font-size: 1.05rem;
  line-height: 1.7;
}

.career-section h2 {
  margin: 0 0 1.5rem 0;
  color: #081B39;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Job Listings */
.job-listings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.job-card[open] {
  border-color: #566788;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.job-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.job-header::-webkit-details-marker {
  display: none;
}

.job-header::before {
  content: "\f054";
  font-family: "FontAwesome";
  font-size: 0.85rem;
  color: #566788;
  margin-right: 1rem;
  transition: transform 0.2s ease;
}

.job-card[open] .job-header::before {
  transform: rotate(90deg);
}

.job-header:hover {
  background: rgba(86, 103, 136, 0.05);
}

.job-title {
  color: #081B39;
  font-size: 1.05rem;
  font-weight: 600;
}

.job-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
}

.job-content h3 {
  margin: 1.25rem 0 0.75rem 0;
  color: #566788;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-content h3:first-child {
  margin-top: 1.25rem;
}

.job-content ul {
  margin: 0;
  padding: 0 0 0 1.25rem;
  list-style-type: disc;
}

.job-content li {
  margin-bottom: 0.5rem;
  color: #081B39;
  font-size: 0.95rem;
  line-height: 1.6;
}

.job-content li:last-child {
  margin-bottom: 0;
}

/* Career Apply Section */
.career-apply {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #081B39;
  border-radius: 8px;
  text-align: center;
}

.career-apply p {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.career-apply a {
  color: #F0F3FA;
  text-decoration: underline;
}

.career-apply a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 640px) {
  .job-header {
    padding: 0.875rem 1rem;
  }

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

  .job-content {
    padding: 0 1rem 1rem 1rem;
  }

  .job-content li {
    font-size: 0.9rem;
  }
}

/* ========================================
   Career Application Form Styles
   ======================================== */

.career-application-form {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(86, 103, 136, 0.15);
}

.career-application-form h2 {
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  color: #081B39;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #081B39;
}

.application-form-container {
  background: #F0F3FA;
  border-radius: 8px;
  padding: 2rem;
}

/* CF7 Career Form Styling */
.cf7-career-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cf7-career-form .form-group {
  flex: 1 1 100%;
}

.cf7-career-form .form-group.half {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 250px;
}

.cf7-career-form .form-group.full {
  flex: 1 1 100%;
}

.cf7-career-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #081B39;
  font-size: 0.9rem;
  font-weight: 500;
}

.cf7-career-form .required {
  color: #dc3545;
}

.cf7-career-form input[type="text"],
.cf7-career-form input[type="email"],
.cf7-career-form input[type="tel"],
.cf7-career-form input[type="number"],
.cf7-career-form select,
.cf7-career-form textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid rgba(86, 103, 136, 0.4);
  border-radius: 0;
  font-size: 0.95rem;
  color: #081B39;
  background: transparent;
  transition: all 0.2s ease;
}

.cf7-career-form input[type="text"]:focus,
.cf7-career-form input[type="email"]:focus,
.cf7-career-form input[type="tel"]:focus,
.cf7-career-form input[type="number"]:focus,
.cf7-career-form select:focus,
.cf7-career-form textarea:focus {
  outline: none;
  border-bottom-color: #081B39;
  border-bottom-width: 2px;
}

.cf7-career-form input::placeholder,
.cf7-career-form textarea::placeholder {
  color: rgba(8, 27, 57, 0.5);
}

.cf7-career-form select {
  cursor: pointer;
  appearance: auto;
}

.cf7-career-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* File Input Styling */
.cf7-career-form input[type="file"] {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 1px solid rgba(86, 103, 136, 0.4);
  background: transparent;
  font-size: 0.9rem;
  color: #081B39;
}

.cf7-career-form input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  border: 1px solid #081B39;
  border-radius: 4px;
  background: #ffffff;
  color: #081B39;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf7-career-form input[type="file"]::file-selector-button:hover {
  background: #081B39;
  color: #ffffff;
}

/* Submit Button */
.cf7-career-form .submit-btn,
.cf7-career-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  background: #081B39;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf7-career-form .submit-btn:hover,
.cf7-career-form input[type="submit"]:hover {
  background: #566788;
  transform: translateY(-1px);
}

/* CF7 Validation States */
.cf7-career-form .wpcf7-not-valid {
  border-bottom-color: #dc3545 !important;
}

.cf7-career-form .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* CF7 Response Messages */
.career-application-form .wpcf7-response-output {
  margin: 1.5rem 0 0 0;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.career-application-form .wpcf7 form.sent .wpcf7-response-output {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.career-application-form .wpcf7 form.failed .wpcf7-response-output,
.career-application-form .wpcf7 form.invalid .wpcf7-response-output {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* Responsive Form */
@media (max-width: 640px) {
  .application-form-container {
    padding: 1.5rem;
  }

  .cf7-career-form .form-row {
    gap: 1rem;
  }

  .cf7-career-form .form-group.half {
    flex: 1 1 100%;
  }

  .cf7-career-form input[type="text"],
  .cf7-career-form input[type="email"],
  .cf7-career-form input[type="tel"],
  .cf7-career-form input[type="number"],
  .cf7-career-form select {
    padding: 0.65rem 0;
    font-size: 0.9rem;
  }

  .cf7-career-form .submit-btn,
  .cf7-career-form input[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

/* ========================================
   Contact Page Styles
   ======================================== */

.contact-section {
  margin: 2rem 0 3rem 0;
}

.contact-section h2 {
  margin: 0 0 1.5rem 0;
  color: #081B39;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Two Column Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

/* Office Card */
.office-card {
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.office-card h3 {
  margin: 0 0 0.25rem 0;
  color: #081B39;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-card .company-reg {
  margin: 0 0 1rem 0;
  color: #566788;
  font-size: 0.85rem;
}

.office-card address {
  margin: 0 0 1.25rem 0;
  font-style: normal;
  color: #081B39;
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-details {
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
}

.contact-details p {
  margin: 0 0 0.5rem 0;
  color: #081B39;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details i {
  color: #566788;
  width: 16px;
  text-align: center;
}

.contact-details a {
  color: #081B39;
  text-decoration: none;
}

.contact-details a:hover {
  color: #566788;
  text-decoration: underline;
}

.gps-coords {
  margin: 1rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
  color: #566788;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Contact Map */
.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  display: block;
  border-radius: 8px;
}

/* ========================================
   Regional Offices Section
   ======================================== */

.regional-offices-section {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 2px solid rgba(86, 103, 136, 0.15);
}

.regional-offices-section h2 {
  margin: 0 0 1.5rem 0;
  color: #081B39;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Regional Accordions */
.regional-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.region-card {
  background: #ffffff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.region-card[open] {
  border-color: #566788;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.region-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.region-header::-webkit-details-marker {
  display: none;
}

.region-header::before {
  content: "\f054";
  font-family: "FontAwesome";
  font-size: 0.85rem;
  color: #566788;
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}

.region-card[open] .region-header::before {
  transform: rotate(90deg);
}

.region-header:hover {
  background: rgba(86, 103, 136, 0.05);
}

.region-header .flag-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.region-name {
  color: #081B39;
  font-size: 1.05rem;
  font-weight: 600;
}

.region-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
}

.office-info {
  padding-top: 1.25rem;
}

.office-info h4 {
  margin: 0 0 0.5rem 0;
  color: #081B39;
  font-size: 1rem;
  font-weight: 600;
}

.office-info>p {
  margin: 0 0 0.75rem 0;
  color: #566788;
  font-size: 0.9rem;
}

.office-info address {
  margin: 0 0 1rem 0;
  font-style: normal;
  color: #081B39;
  line-height: 1.7;
  font-size: 0.95rem;
}

.office-contact {
  margin: 0 0 0.5rem 0;
  color: #081B39;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.office-contact:last-child {
  margin-bottom: 0;
}

.office-contact i {
  color: #566788;
  width: 16px;
  text-align: center;
}

.office-contact a {
  color: #081B39;
  text-decoration: none;
}

.office-contact a:hover {
  color: #566788;
  text-decoration: underline;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 280px;
  }

  .region-header {
    padding: 0.875rem 1rem;
  }

  .region-name {
    font-size: 0.95rem;
  }

  .region-content {
    padding: 0 1rem 1rem 1rem;
  }
}

/* ========================================
   PAGE TAB MENU - Boxed Tabs (Corporate Slate)
   ======================================== */

.page-tab-menu {
  background-color: #081B39;
  /* Prussian Blue */
  padding: 0;
  border-bottom: 1px solid rgba(210, 214, 224, 0.1);
}

.color-scheme-corporate .page-tab-menu {
  background-color: #081B39;
}

.page-tab-menu .container {
  padding-top: 0;
  padding-bottom: 0;
}

.tab-menu-list {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.tab-menu-list::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.tab-item {
  flex-shrink: 0;
}

.tab-item a {
  display: block;
  padding: 16px 24px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #8A91A4;
  /* Lavender Grey */
  background-color: transparent;
  border: 1px solid rgba(210, 214, 224, 0.1);
  /* Pale Slate 10% */
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-item a:hover {
  color: #F0F3FA;
  /* Ghost White */
  background-color: rgba(86, 103, 136, 0.15);
  /* Blue Slate 15% */
  border-color: rgba(210, 214, 224, 0.3);
  /* Pale Slate 30% */
}

.tab-item.active a {
  color: #F0F3FA;
  /* Ghost White */
  background-color: #566788;
  /* Blue Slate */
  border-color: #566788;
  /* Blue Slate */
  font-weight: 600;
}

/* Color scheme support - Yellow/Gold */
.color-scheme-yellow .page-tab-menu {
  background-color: #1a1a1a;
}

.color-scheme-yellow .tab-item a {
  color: #999999;
  border-color: rgba(255, 255, 255, 0.1);
}

.color-scheme-yellow .tab-item a:hover {
  color: #ffffff;
  background-color: rgba(245, 166, 35, 0.15);
  border-color: rgba(245, 166, 35, 0.3);
}

.color-scheme-yellow .tab-item.active a {
  color: #1a1a1a;
  background-color: #f5a623;
  border-color: #f5a623;
}

/* Color scheme support - Blue */
.color-scheme-blue .page-tab-menu {
  background-color: #0a1628;
}

.color-scheme-blue .tab-item a {
  color: #8899aa;
  border-color: rgba(255, 255, 255, 0.1);
}

.color-scheme-blue .tab-item a:hover {
  color: #ffffff;
  background-color: rgba(30, 58, 95, 0.3);
  border-color: rgba(30, 58, 95, 0.5);
}

.color-scheme-blue .tab-item.active a {
  color: #ffffff;
  background-color: #1e3a5f;
  border-color: #1e3a5f;
}

/* Tab Menu Scroll Wrapper */
.tab-menu-wrapper {
  position: relative;
}

/* Scroll Arrow Buttons */
.tab-scroll-arrow {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  border: none;
  cursor: pointer;
  color: #F0F3FA;
  width: 48px;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.tab-scroll-arrow.visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.tab-scroll-left {
  left: 0;
  background: linear-gradient(to right, #081B39 40%, transparent);
  padding-left: 8px;
}

.tab-scroll-right {
  right: 0;
  background: linear-gradient(to left, #081B39 40%, transparent);
  padding-right: 8px;
}

.tab-scroll-arrow svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tab-scroll-arrow:hover svg {
  transform: scale(1.3);
}

.tab-scroll-arrow:hover {
  color: #D2D6E0;
}

/* Color scheme variants */
.color-scheme-yellow .tab-scroll-left {
  background: linear-gradient(to right, #1a1a1a 40%, transparent);
}

.color-scheme-yellow .tab-scroll-right {
  background: linear-gradient(to left, #1a1a1a 40%, transparent);
}

.color-scheme-blue .tab-scroll-left {
  background: linear-gradient(to right, #0a1628 40%, transparent);
}

.color-scheme-blue .tab-scroll-right {
  background: linear-gradient(to left, #0a1628 40%, transparent);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .tab-item a {
    padding: 14px 20px;
    font-size: 13px;
  }
}

/* Responsive - Mobile: swipe-friendly, no arrow buttons */
@media (max-width: 767px) {
  .tab-item a {
    padding: 12px 16px;
    font-size: 13px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .tab-scroll-arrow {
    display: none !important;
  }

  .tab-menu-wrapper::before,
  .tab-menu-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .tab-menu-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #081B39, transparent);
  }

  .tab-menu-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #081B39, transparent);
  }

  .tab-menu-wrapper.fade-left::before {
    opacity: 1;
  }

  .tab-menu-wrapper.fade-right::after {
    opacity: 1;
  }

  .color-scheme-yellow .tab-menu-wrapper::before {
    background: linear-gradient(to right, #1a1a1a, transparent);
  }

  .color-scheme-yellow .tab-menu-wrapper::after {
    background: linear-gradient(to left, #1a1a1a, transparent);
  }

  .color-scheme-blue .tab-menu-wrapper::before {
    background: linear-gradient(to right, #0a1628, transparent);
  }

  .color-scheme-blue .tab-menu-wrapper::after {
    background: linear-gradient(to left, #0a1628, transparent);
  }
}

/* Accessibility - Focus states */
.tab-item a:focus {
  outline: 2px solid #566788;
  outline-offset: 2px;
}

.tab-item a:focus:not(:focus-visible) {
  outline: none;
}

.tab-item a:focus-visible {
  outline: 2px solid #566788;
  outline-offset: 2px;
}

.color-scheme-yellow .tab-item a:focus,
.color-scheme-yellow .tab-item a:focus-visible {
  outline-color: #f5a623;
}

.color-scheme-blue .tab-item a:focus,
.color-scheme-blue .tab-item a:focus-visible {
  outline-color: #1e3a5f;
}

/* ========================================
   MANAGEMENT DISCUSSION & ANALYSIS PAGE
   ======================================== */

.mda-intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mda-chairman-image {
  margin: 0;
}

.mda-chairman-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.mda-chairman-message {
  background: rgba(86, 103, 136, 0.08);
  border-left: 4px solid #566788;
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
}

.mda-chairman-message blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-style: normal;
}

.mda-chairman-message blockquote p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #F0F3FA;
}

.mda-chairman-message blockquote p:first-child {
  font-weight: 600;
  color: #D2D6E0;
}

.mda-chairman-message blockquote p:last-child {
  margin-bottom: 0;
}

/* MDA Charts Grid */
.mda-charts {
  margin-top: 2.5rem;
}

.mda-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mda-chart {
  margin: 0;
  background: rgba(15, 40, 71, 0.5);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(210, 214, 224, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mda-chart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mda-chart img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive MDA */
@media (max-width: 991px) {
  .mda-charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .mda-chairman-message {
    padding: 1.25rem 1.5rem;
  }

  .mda-chairman-message blockquote p {
    font-size: 1rem;
  }
}

/* ========================================
   BOARD OF DIRECTORS PAGE
   ======================================== */

.bod-grid-section {
  margin-bottom: 3rem;
}

.bod-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bod-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0f2847;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bod-thumbnail.active {
  border-color: #566788;
}

.bod-thumbnail:hover {
  transform: translateY(-3px);
  border-color: #566788;
}

.bod-thumbnail a {
  display: block;
  text-decoration: none;
  position: relative;
}

.bod-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.bod-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8, 27, 57, 0.95) 0%, rgba(8, 27, 57, 0.7) 60%, transparent 100%);
  padding: 3rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bod-name {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: #F0F3FA;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.bod-title {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.7rem;
  color: #8A91A4;
  line-height: 1.3;
}

/* BOD Profile Section */
.bod-profile {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(210, 214, 224, 0.15);
}

.bod-profile-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.bod-bio h2 {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 1.75rem;
  color: #F0F3FA;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.bod-bio h2 em {
  display: block;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 1rem;
  font-style: normal;
  color: #566788;
  font-weight: 500;
  margin-top: 0.5rem;
}

.bod-bio p {
  font-size: 1rem;
  line-height: 1.8;
  color: #D2D6E0;
  margin-bottom: 1.25rem;
}

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

.bod-photo figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0f2847;
  border: 1px solid rgba(210, 214, 224, 0.1);
}

.bod-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive BOD */
@media (max-width: 1200px) {
  .bod-thumbnail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .bod-thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bod-profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bod-photo {
    order: -1;
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  .bod-thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .bod-name {
    font-size: 0.75rem;
  }

  .bod-title {
    font-size: 0.65rem;
  }

  .bod-overlay {
    padding: 2rem 0.5rem 0.5rem;
  }

  .bod-bio h2 {
    font-size: 1.5rem;
  }

  .bod-photo {
    max-width: 100%;
  }
}

/* ========================================
   Company Information Page Styles
   ======================================== */

.company-info-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.company-info-page .page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0;
  background: none;
  border: none;
}

.company-info-page .page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-info-page .page-intro {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Company Info Grid - 2 column layout */
.company-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

/* Info Cards */
.info-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition-base);
}

.info-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.info-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.info-card address {
  font-style: normal;
}

.info-card p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
  color: var(--color-foreground);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card .contact-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.info-card a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.info-card a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.info-card strong {
  /* color: var(--color-foreground); */
  font-weight: 600;
}

/* License Info styling */
.info-card .license-info {
  font-size: 0.9rem;
  color: var(--color-muted-foreground);
}

/* Bankers List */
.info-card .bankers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card .bankers-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-foreground);
  position: relative;
  padding-left: 1.5rem;
}

.info-card .bankers-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-card .bankers-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* Stock Info */
.info-card .stock-info p {
  margin-bottom: 0.75rem;
}

.info-card .stock-code {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-muted);
  border-radius: 6px;
}

.info-card .stock-code .label {
  color: var(--color-muted-foreground);
  font-size: 0.9rem;
}

.info-card .stock-code .code {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
}

/* Secretary Details */
.info-card .secretary-details p {
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .company-info-page .page-header h1 {
    font-size: 1.75rem;
  }

  .company-info-page .page-intro {
    font-size: 1rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-card h2 {
    font-size: 1.1rem;
  }
}

/* ========================================
   Corporate Governance Overview Page Styles
   ======================================== */

.governance-overview-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.governance-overview-page .page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0;
  background: none;
  border: none;
}

.governance-overview-page .page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.governance-overview-page .page-intro {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Sections */
.governance-content .content-section {
  margin-bottom: 2.5rem;
}

.governance-content .content-section:last-child {
  margin-bottom: 0;
}

.governance-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.governance-content p {
  margin: 0 0 1rem 0;
  line-height: 1.8;
  color: var(--color-foreground);
}

.governance-content p:last-child {
  margin-bottom: 0;
}

/* Governance List */
.governance-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.governance-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: var(--color-foreground);
  border-bottom: 1px solid var(--color-border);
}

.governance-list li:last-child {
  border-bottom: none;
}

.governance-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1;
  top: 0.85rem;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

/* Principle Cards */
.principle-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.principle-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.principle-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.principle-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0 0 0.75rem 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.principle-card p {
  font-size: 0.9rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Reference Note */
.reference-note {
  background: var(--color-card);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
}

.reference-note p {
  margin: 0;
  font-size: 0.95rem;
  color: #F0F3FA;
  /* WCAG AA: Ghost White on dark card background = 15.2:1 - AAA compliant */
}

.reference-note a {
  color: #D2D6E0;
  /* WCAG AA: Pale Slate on dark card background for links */
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition-base);
}

.reference-note a:hover {
  color: #F0F3FA;
  /* WCAG AA: Ghost White on hover for maximum contrast */
  text-decoration: underline;
}

/* CTA Section */
.governance-content .cta-section {
  text-align: center;
  padding-top: 1rem;
}

.governance-content .cta-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #F0F3FA !important;
  /* WCAG AA: Ghost White text on Blue Slate button = AAA compliant */
}

.governance-content .cta-section .btn i {
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .governance-overview-page .page-header h1 {
    font-size: 1.75rem;
  }

  .governance-overview-page .page-intro {
    font-size: 1rem;
  }

  .governance-content h2 {
    font-size: 1.15rem;
  }

  .principle-card {
    padding: 1.5rem 1.25rem;
  }

  .principle-letter {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }

  .principle-card h3 {
    font-size: 0.95rem;
  }
}

/* ========================================
   QESH Policy Page Styles
   ======================================== */

.qesh-policy-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.qesh-policy-page .page-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0;
  background: none;
  border: none;
}

.qesh-policy-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Two Column Grid - 9:3 ratio like the original */
.qesh-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .qesh-content-grid {
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
  }
}

/* Left Column: Policy Content */
.qesh-policy-content {
  color: var(--color-foreground);
}

.qesh-policy-content .policy-intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
  color: var(--color-foreground);
}

.qesh-policy-content .policy-by {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  color: var(--color-foreground);
}

/* ZELAN Acronym List */
.zelan-acronym {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.zelan-acronym li {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.zelan-acronym li:last-child {
  margin-bottom: 0;
}

.zelan-acronym .letter {
  font-size: 1.75rem;
  font-weight: 700;
  color: #444;
  font-family: var(--font-heading);
  min-width: 1.75rem;
  flex-shrink: 0;
}

.zelan-acronym .text {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

.qesh-policy-content .policy-commitment {
  font-size: 1rem;
  line-height: 1.8;
  margin: 1.5rem 0 0 0;
  color: var(--color-foreground);
}

/* Right Column: Policy Document */
.qesh-policy-document {
  position: sticky;
  top: 100px;
}

.policy-image-link {
  display: block;
  text-decoration: none;
}

.policy-document-figure {
  margin: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.policy-document-figure:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.policy-document-image {
  width: 100%;
  height: auto;
  display: block;
}

.policy-document-figure figcaption {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted-foreground);
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
}

.policy-document-figure:hover figcaption {
  color: var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .qesh-policy-page .page-header h1 {
    font-size: 1.5rem;
  }

  .qesh-policy-document {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }

  .zelan-acronym .letter {
    font-size: 1.5rem;
    min-width: 1.5rem;
  }
}

@media (max-width: 767px) {
  .qesh-policy-content .policy-intro {
    font-size: 1rem;
  }

  .zelan-acronym .letter {
    font-size: 1.35rem;
    min-width: 1.35rem;
  }

  .zelan-acronym .text {
    font-size: 0.95rem;
  }
}

/* ========================================
   Board Policy Page Styles
   ======================================== */

.board-policy-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.board-policy-page .page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0;
  background: none;
  border: none;
}

.board-policy-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Two Column Grid - 3:1 ratio */
.policy-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .policy-content-grid {
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
  }
}

/* Left Column: Policy Text Content */
.policy-text-content {
  color: #444;
}

.policy-text-content .section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1.25rem 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  padding: 0;
}

.policy-text-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.25rem 0;
  color: #444;
}

.policy-text-content p:last-of-type {
  margin-bottom: 0;
}

/* CTA Button */
.policy-cta {
  margin-top: 2rem;
}

.policy-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-cta .btn i {
  font-size: 0.875rem;
}

/* Right Column: Policy Document Sidebar */
.policy-document-sidebar {
  position: sticky;
  top: 100px;
}

.policy-manual-figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

.policy-manual-figure:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.policy-manual-image {
  width: 100%;
  height: auto;
  display: block;
}

.policy-manual-figure figcaption {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #566788;
  background: #F0F3FA;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .board-policy-page .page-header h1 {
    font-size: 1.5rem;
  }

  .policy-document-sidebar {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .policy-text-content .section-heading {
    font-size: 1.1rem;
  }

  .policy-text-content p {
    font-size: 0.95rem;
  }
}

/* ========================================
   Business Policy Page Styles
   ======================================== */

.business-policy-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.business-policy-page .page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0;
  background: none;
  border: none;
}

.business-policy-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Featured Quote */
.featured-quote {
  margin-bottom: 2rem;
}

.featured-quote blockquote {
  background: var(--color-card);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  margin: 0;
}

.featured-quote blockquote p {
  margin: 0;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-foreground);
}

/* Two Column Grid */
.business-policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .business-policy-grid {
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
  }
}

/* Left Column: Policy Content */
.business-policy-content {
  color: #444;
}

.business-policy-content .policy-intro {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.25rem 0;
  color: #444;
}

.business-policy-content .section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  padding: 0;
}

.business-policy-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1rem 0;
  color: #444;
}

/* Policy List */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.policy-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.policy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Right Column: Commitment Sidebar */
.commitment-sidebar {
  position: sticky;
  top: 100px;
}

.commitment-card {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.commitment-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .business-policy-page .page-header h1 {
    font-size: 1.5rem;
  }

  .commitment-sidebar {
    position: static;
  }

  .commitment-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .featured-quote blockquote {
    padding: 1.25rem 1.5rem;
  }

  .featured-quote blockquote p {
    font-size: 1rem;
  }

  .business-policy-content .section-heading {
    font-size: 1.05rem;
  }

  .policy-list li {
    font-size: 0.95rem;
  }
}

/* ========================================
   Enterprise Risk Management Page Styles
   ======================================== */

.erm-policy-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.erm-policy-page .page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0;
  background: none;
  border: none;
}

.erm-policy-page .page-header h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Two Column Grid */
.erm-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .erm-content-grid {
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
  }
}

/* Left Column: Policy Content */
.erm-policy-content {
  color: #444;
}

.erm-policy-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.25rem 0;
  color: #444;
}

.erm-policy-content .section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  padding: 0;
}

/* Strategic Objectives List */
.strategic-objectives {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  background: var(--color-card);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.strategic-objectives li {
  padding: 0.875rem 1.25rem 0.875rem 0rem;
  font-size: 1rem;
  line-height: 1.6;
  color: white !important;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.strategic-objectives li:last-child {
  border-bottom: none;
}

.strategic-objectives li::before {
  /* content: counter(list-item); */
  /* counter-increment: list-item; */
  position: absolute;
  left: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}

/* Reset counter for list */
.strategic-objectives {
  counter-reset: list-item;
}

/* CTA Button */
.erm-cta {
  margin-top: 2rem;
}

.erm-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.erm-cta .btn i {
  font-size: 0.875rem;
}

/* Right Column: Document Sidebar */
.erm-document-sidebar {
  position: sticky;
  top: 100px;
}

.erm-document-figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(86, 103, 136, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

.erm-document-figure:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.erm-document-image {
  width: 100%;
  height: auto;
  display: block;
}

.erm-document-figure figcaption {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #566788;
  background: #F0F3FA;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .erm-policy-page .page-header h1 {
    font-size: 1.5rem;
  }

  .erm-document-sidebar {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .erm-policy-page .page-header h1 {
    font-size: 1.35rem;
  }

  .erm-policy-content p {
    font-size: 0.95rem;
  }

  .erm-policy-content .section-heading {
    font-size: 1.05rem;
  }

  .strategic-objectives li {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.95rem;
  }

  .strategic-objectives li::before {
    left: 0.75rem;
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.75rem;
  }
}

/* Single post content spacing */
.post-template-default p {
  margin-bottom: 20px;
}

/* ========================================================================
   Service List Styling
   ======================================================================== */

.service-list {
  list-style: none;
  margin-left: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--color-primary, #566788);
  border-radius: 50%;
}

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

/* ========================================================================
   Highlight List (Notable Projects, Key Items)
   ======================================================================== */

.highlight-list {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.highlight-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid rgba(210, 214, 224, 0.2);
  line-height: 1.6;
}

.highlight-list li:last-child {
  border-bottom: none;
}

.highlight-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--color-primary, #566788);
  font-weight: 700;
  font-size: 1rem;
}

/* ========================================================================
   Photo Gallery Grid
   ======================================================================== */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.photo-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

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

.photo-gallery-item:hover img {
  transform: scale(1.05);
}

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

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   Callout Box
   ======================================================================== */

.callout-box {
  background: #F0F3FA;
  border-left: 4px solid #566788;
  padding: 1.5rem 2rem;
  border-radius: 4px;
}

.callout-box p {
  color: #081B39 !important;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================================================
   Project Cards Grid
   ======================================================================== */

.project-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-decoration: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 27, 57, 0.85) 0%, rgba(8, 27, 57, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background 0.3s ease;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(8, 27, 57, 0.95) 0%, rgba(8, 27, 57, 0.4) 60%, rgba(8, 27, 57, 0.1) 100%);
}

body.page .entry-content .project-card-overlay h3,
.project-card-overlay h3 {
  color: #F0F3FA !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

body.page .entry-content .project-card-overlay p,
.project-card-overlay p {
  color: #D2D6E0 !important;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .project-cards {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   Project Detail Page
   ======================================================================== */

/* Breadcrumb Navigation */
.project-detail-breadcrumb {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(86, 103, 136, 0.15);
}

.project-detail-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

body.page .entry-content .project-detail-breadcrumb li,
.project-detail-breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #8A91A4 !important;
  line-height: 1.4;
  margin-bottom: 0;
}

.project-detail-breadcrumb li:not(:last-child)::after {
  content: "\203A";
  margin-left: 0.5rem;
  color: #D2D6E0;
  font-size: 1rem;
}

body.page .entry-content .project-detail-breadcrumb a,
.project-detail-breadcrumb a {
  color: #566788 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page .entry-content .project-detail-breadcrumb a:hover,
.project-detail-breadcrumb a:hover {
  color: #081B39 !important;
}

.project-detail-breadcrumb li[aria-current="page"] {
  color: #081B39;
  font-weight: 500;
}

/* Project Detail Stats Grid */
.project-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(86, 103, 136, 0.1);
  border-bottom: 1px solid rgba(86, 103, 136, 0.1);
}

.project-detail-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #081B39;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-detail-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 27, 57, 0.15);
}

.project-detail-stat .stat-value {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F0F3FA;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.project-detail-stat .stat-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #8A91A4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

@media (max-width: 480px) {
  .project-detail-stats {
    grid-template-columns: 1fr;
  }

  .project-detail-stat .stat-value {
    font-size: 1.25rem;
  }
}

/* ========================================================================
   Project Detail Gallery
   ======================================================================== */

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.project-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0f2847;
}

.project-gallery img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-gallery figure:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   Highlighted Project List
   ======================================================================== */

.highlighted-project-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.highlighted-project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem;
  background: #081B39;
  border-radius: 8px;
  border: 1px solid rgba(86, 103, 136, 0.2);
  transition: border-color 0.2s ease;
}

/* Override global body.page article { background: #fff !important } */
body.page .entry-content .highlighted-project-card,
body.page article.highlighted-project-card {
  background: #081B39 !important;
  color: #D2D6E0;
}

.highlighted-project-card:hover {
  border-color: rgba(86, 103, 136, 0.4);
}

.highlighted-project-image {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

.highlighted-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.highlighted-project-card:hover .highlighted-project-image img {
  transform: scale(1.03);
}

/* Headings — Ghost White on Prussian Blue = 13.7:1 contrast */
.highlighted-project-content h2 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

body.page .entry-content .highlighted-project-content h2,
.highlighted-project-content h2 {
  color: #F0F3FA !important;
}

/* Body text — Pale Slate on Prussian Blue = 10.7:1 contrast */
.highlighted-project-content p {
  margin: 0 0 1rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

body.page .entry-content .highlighted-project-content p,
.highlighted-project-content p {
  color: #D2D6E0 !important;
}

/* Meta text — Lavender Grey on Prussian Blue = 5.0:1 contrast (AA compliant) */
body.page .entry-content .highlighted-project-meta,
.highlighted-project-meta {
  font-size: 0.875rem !important;
  color: #8A91A4 !important;
  margin-bottom: 1rem !important;
  line-height: 1.7;
}

/* Meta labels (strong) — Pale Slate for visual hierarchy against meta text */
body.page .entry-content .highlighted-project-meta strong,
.highlighted-project-meta strong {
  color: #D2D6E0 !important;
  font-weight: 600;
}

/* Read More link — Pale Slate on Prussian Blue = 10.7:1 contrast (was #566788 at 2.86:1, failed AA) */
body.page .entry-content .highlighted-project-link,
.highlighted-project-link {
  display: inline-block;
  font-weight: 600;
  color: #D2D6E0 !important;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(210, 214, 224, 0.3);
  padding-bottom: 2px;
}

body.page .entry-content .highlighted-project-link:hover,
.highlighted-project-link:hover {
  color: #F0F3FA !important;
  border-bottom-color: #F0F3FA;
}

@media (max-width: 768px) {
  .highlighted-project-card {
    grid-template-columns: 1fr;
  }

  .highlighted-project-image {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   Corporate Scheme — Airy Light Overrides
   
   These overrides convert dark-background assumptions (hardcoded whites,
   rgba(255,255,255,...) borders, dark overlays) to work with the lighter
   Corporate palette.  Hero, navbar, mobile menu, and footer remain dark
   for visual rhythm:  dark → colored → light → light → dark.
   ========================================================================== */

/* ---------- Navbar — always dark across all page types ---------- */
body.color-scheme-corporate.page .zelan-navbar,
body.color-scheme-corporate.single .zelan-navbar,
body.color-scheme-corporate.archive .zelan-navbar,
body.color-scheme-corporate.blog .zelan-navbar {
  background: #00171F;
}

body.color-scheme-corporate .navbar-brand .site-title {
  color: #FFFFFF;
}

/* Desktop dropdown on light pages */
body.color-scheme-corporate .nav-links .sub-menu {
  background: #00171F;
  border-color: rgba(0, 52, 89, 0.4);
  box-shadow: 0 10px 40px rgba(0, 23, 31, 0.25);
}

body.color-scheme-corporate .nav-links .sub-menu a {
  color: rgba(255, 255, 255, 0.85);
}

body.color-scheme-corporate .nav-links .sub-menu a:hover {
  color: #FFFFFF;
  background: rgba(0, 52, 89, 0.4);
  border-left-color: var(--color-primary);
}

/* ---------- Mobile Menu — dark overlay ---------- */
body.color-scheme-corporate .mobile-menu {
  background: #00171F;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.35s;
  will-change: transform;
}

body.color-scheme-corporate .mobile-menu.active {
  transform: translateX(0);
  overflow-y: auto;
}

/* Fix: backdrop-filter on the navbar creates a containing block that
   breaks position:fixed on the child .mobile-menu.  Remove it when
   the menu is open so the overlay covers the full viewport.
   Also kill the navbar's own transition so the backdrop-filter removal
   doesn't animate and cause a jaggy flash. */
body.color-scheme-corporate.menu-open .zelan-navbar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: none !important;
}

/* ---------- Hero Section ---------- */
/* Hero overlay: cooler Ink Black tint instead of warm black */
body.color-scheme-corporate .hero-overlay {
  background: rgba(0, 23, 31, 0.5);
}

/* Gradient fades into Deep Space Blue to match stats bar below */
body.color-scheme-corporate .hero-gradient {
  background: linear-gradient(to top, #003459 0%, transparent 40%);
}

/* Badge: light text on dark hero */
body.color-scheme-corporate .hero-badge {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

/* Hero text stays white (on dark photo overlay) */
body.color-scheme-corporate .hero-title {
  color: #FFFFFF;
}

body.color-scheme-corporate .hero-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero CTA button: white outline on dark hero for visibility */
body.color-scheme-corporate .hero-cta .btn-primary {
  background: #FFFFFF;
  color: #003459;
  border-color: #FFFFFF;
}

body.color-scheme-corporate .hero-cta .btn-primary:hover {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

body.color-scheme-corporate .scroll-indicator {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Stats Section ---------- */
/* bg is var(--color-primary) = Deep Space Blue — white text is fine */
body.color-scheme-corporate .stat-item {
  border-right-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Section Headers (on light backgrounds) ---------- */
body.color-scheme-corporate .section-title {
  color: #00171F;
}

body.color-scheme-corporate .section-subtitle {
  color: #003459;
}

/* .text-outline on light bg: outlined text with Deep Space Blue */
body.color-scheme-corporate .text-outline {
  -webkit-text-stroke: 2px #003459;
  color: transparent !important;
}

/* ---------- Services Section (light background) ---------- */
body.color-scheme-corporate .services-section {
  background: var(--color-background);
}

body.color-scheme-corporate .service-card {
  border-color: rgba(0, 23, 31, 0.06);
  box-shadow: 0 2px 16px rgba(0, 23, 31, 0.06);
  border-radius: 6px;
}

body.color-scheme-corporate .service-card:hover {
  border-color: rgba(0, 52, 89, 0.25);
  box-shadow: 0 8px 32px rgba(0, 23, 31, 0.1);
}

/* Service overlay/gradient stay dark (they sit on images) */
body.color-scheme-corporate .service-overlay {
  background: rgba(0, 23, 31, 0.55);
}

body.color-scheme-corporate .service-card:hover .service-overlay {
  background: rgba(0, 23, 31, 0.4);
}

body.color-scheme-corporate .service-gradient {
  background: linear-gradient(to top, #00171F, transparent, transparent);
  opacity: 0.85;
}

/* Service text is on image overlay — stays light */
body.color-scheme-corporate .service-title {
  color: #FFFFFF;
}

body.color-scheme-corporate .service-card:hover .service-title {
  color: #CBD2D5;
}

body.color-scheme-corporate .service-description {
  color: rgba(255, 255, 255, 0.85);
}

body.color-scheme-corporate .service-link {
  color: #CBD2D5;
}

body.color-scheme-corporate .service-icon {
  color: #CBD2D5;
}

/* ---------- Projects Section (slightly tinted light bg) ---------- */
body.color-scheme-corporate .projects-section {
  background: #EDF0F4;
}

body.color-scheme-corporate .projects-header .section-title {
  color: #00171F;
}

body.color-scheme-corporate .projects-header .btn-outline {
  border-color: #003459;
  color: #003459;
}

body.color-scheme-corporate .projects-header .btn-outline:hover {
  background: #003459;
  color: #FFFFFF;
}

/* Grid borders: subtle on light bg */
body.color-scheme-corporate .projects-grid {
  border-color: rgba(0, 23, 31, 0.08);
}

body.color-scheme-corporate .project-card {
  border-color: rgba(0, 23, 31, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

body.color-scheme-corporate .project-card:hover {
  border-color: #003459;
}

/* Project overlay: cooler Deep Space Blue gradient */
body.color-scheme-corporate .project-overlay {
  background: linear-gradient(to bottom,
      rgba(0, 52, 89, 0.35) 0%,
      rgba(0, 23, 31, 0.2) 50%,
      rgba(0, 23, 31, 0.88) 100%);
}

body.color-scheme-corporate .project-card:hover .project-overlay {
  background: linear-gradient(to bottom,
      rgba(0, 52, 89, 0.25) 0%,
      rgba(0, 23, 31, 0.5) 50%,
      rgba(0, 23, 31, 0.82) 100%);
}

/* Project text sits on dark overlay — stays light */
body.color-scheme-corporate .project-category {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 52, 89, 0.4);
}

body.color-scheme-corporate .project-year {
  color: rgba(255, 255, 255, 0.5);
}

body.color-scheme-corporate .project-title,
body.color-scheme-corporate .project-title a {
  color: #FFFFFF;
}

body.color-scheme-corporate .project-card:hover .project-title,
body.color-scheme-corporate .project-card:hover .project-title a {
  color: #CBD2D5;
}

body.color-scheme-corporate .project-location {
  color: rgba(255, 255, 255, 0.8);
}

body.color-scheme-corporate .project-arrow {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 52, 89, 0.3);
}

body.color-scheme-corporate .project-card:hover .project-arrow {
  border-color: #CBD2D5;
  background: rgba(0, 52, 89, 0.5);
}

/* ---------- Footer — dark for contrast ---------- */
body.color-scheme-corporate .zelan-footer {
  background: #00171F;
  border-top: 4px solid var(--color-primary);
}

body.color-scheme-corporate .footer-brand {
  color: #FFFFFF;
}

body.color-scheme-corporate .footer-title {
  color: #FFFFFF;
}

body.color-scheme-corporate .footer-description {
  color: rgba(203, 210, 213, 0.7);
}

body.color-scheme-corporate .footer-links a {
  color: rgba(203, 210, 213, 0.7);
}

body.color-scheme-corporate .footer-links a:hover {
  color: var(--color-primary);
}

body.color-scheme-corporate .contact-info {
  color: rgba(203, 210, 213, 0.7);
}

body.color-scheme-corporate .contact-info a:hover {
  color: var(--color-primary);
}

body.color-scheme-corporate .social-link {
  color: rgba(203, 210, 213, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

body.color-scheme-corporate .social-link:hover {
  background: #003459;
  color: #FFFFFF;
}

body.color-scheme-corporate .footer-bottom {
  border-top-color: rgba(0, 52, 89, 0.3);
}

body.color-scheme-corporate .copyright {
  color: rgba(203, 210, 213, 0.4);
}

body.color-scheme-corporate .footer-legal a {
  color: rgba(203, 210, 213, 0.4);
}

body.color-scheme-corporate .footer-legal a:hover {
  color: var(--color-primary);
}

/* ---------- Page Content (inner pages) — keep light ---------- */
body.color-scheme-corporate.page .site-main {
  background: #FFFFFF;
}

/* ---------- Selection highlight ---------- */
body.color-scheme-corporate ::selection {
  background: #003459;
  color: #FFFFFF;
}

/* ==========================================================================
   Corporate Scheme — UX Enhancements
   
   Scroll-triggered animations, hover micro-interactions, and motion
   design.  All scoped to body.color-scheme-corporate so other schemes
   are unaffected.  Works with the existing IntersectionObserver in
   main.js that adds .is-visible on scroll.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1.  SCROLL-TRIGGERED FADE-IN FOUNDATION
   
   The existing CSS fires .fade-in-up immediately on load.  We override
   that so elements start invisible and only animate when JS adds
   .is-visible.  The original animation-delay attributes are preserved
   for stagger.
   -------------------------------------------------------------------------- */
body.color-scheme-corporate .fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for hero elements (data-delay attrs) */
body.color-scheme-corporate .fade-in-up[data-delay="200"].is-visible {
  transition-delay: 0.15s;
}
body.color-scheme-corporate .fade-in-up[data-delay="400"].is-visible {
  transition-delay: 0.3s;
}
body.color-scheme-corporate .fade-in-up[data-delay="600"].is-visible {
  transition-delay: 0.45s;
}
body.color-scheme-corporate .fade-in-up[data-delay="800"].is-visible {
  transition-delay: 0.6s;
}

/* Stagger for cards using data-delay (0, 100, 200, 300) */
body.color-scheme-corporate .fade-in-up[data-delay="0"].is-visible {
  transition-delay: 0s;
}
body.color-scheme-corporate .fade-in-up[data-delay="100"].is-visible {
  transition-delay: 0.1s;
}

/* --------------------------------------------------------------------------
   2.  STAGGERED CARD ENTRANCE ANIMATIONS
   -------------------------------------------------------------------------- */
/* Service cards */
body.color-scheme-corporate .service-card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

body.color-scheme-corporate .service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.color-scheme-corporate .service-card:nth-child(1).is-visible {
  transition-delay: 0s;
}
body.color-scheme-corporate .service-card:nth-child(2).is-visible {
  transition-delay: 0.12s;
}
body.color-scheme-corporate .service-card:nth-child(3).is-visible {
  transition-delay: 0.24s;
}

/* Project cards */
body.color-scheme-corporate .project-card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}

body.color-scheme-corporate .project-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.color-scheme-corporate .project-card:nth-child(1).is-visible {
  transition-delay: 0s;
}
body.color-scheme-corporate .project-card:nth-child(2).is-visible {
  transition-delay: 0.1s;
}
body.color-scheme-corporate .project-card:nth-child(3).is-visible {
  transition-delay: 0.2s;
}
body.color-scheme-corporate .project-card:nth-child(4).is-visible {
  transition-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   3.  ENHANCED SERVICE CARD HOVER
   -------------------------------------------------------------------------- */
body.color-scheme-corporate .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 23, 31, 0.18);
  border-color: rgba(0, 52, 89, 0.35);
}

/* Smooth image zoom on hover */
body.color-scheme-corporate .service-card .service-image img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .service-card:hover .service-image img {
  transform: scale(1.08);
}

/* Title underline reveal on hover */
body.color-scheme-corporate .service-title {
  position: relative;
  display: inline-block;
}

body.color-scheme-corporate .service-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #CBD2D5;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .service-card:hover .service-title::after {
  width: 100%;
}

/* Service link arrow slide on hover */
body.color-scheme-corporate .service-link svg {
  transition: transform 0.3s ease;
}

body.color-scheme-corporate .service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4.  ENHANCED PROJECT CARD HOVER
   -------------------------------------------------------------------------- */
body.color-scheme-corporate .project-card:hover {
  transform: translateY(-4px) scale(1);
  box-shadow: 0 16px 40px rgba(0, 23, 31, 0.2);
  border-color: #003459;
  z-index: 2;
}

/* Overlay lifts to reveal more image on hover */
body.color-scheme-corporate .project-overlay {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Project title slide-up on hover */
body.color-scheme-corporate .project-title {
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .project-card:hover .project-title {
  transform: translateY(-4px);
}

/* Location text fade up */
body.color-scheme-corporate .project-location {
  transition: opacity 0.3s ease 0.05s, transform 0.4s ease 0.05s;
  transform: translateY(0);
}

body.color-scheme-corporate .project-card:hover .project-location {
  transform: translateY(-3px);
}

/* Arrow: scale + rotate on hover */
body.color-scheme-corporate .project-arrow {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .project-card:hover .project-arrow {
  opacity: 1;
  transform: rotate(0deg) scale(1.1);
  border-color: #FFFFFF;
  background: rgba(0, 52, 89, 0.6);
}

/* Category badge subtle scale on hover */
body.color-scheme-corporate .project-category {
  transition: transform 0.3s ease, background 0.3s ease;
}

body.color-scheme-corporate .project-card:hover .project-category {
  transform: scale(1.05);
  background: rgba(0, 52, 89, 0.6);
}

/* --------------------------------------------------------------------------
   5.  STATS SECTION ENTRANCE ANIMATION
   -------------------------------------------------------------------------- */
body.color-scheme-corporate .stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stats section gets .is-visible via IntersectionObserver on parent.
   We trigger children via a CSS cascade. The counter JS already
   observes .stats-section, so we use the same approach — trigger
   stat items once the section is scrolled into view.  We rely on
   the stat-counter animation starting (countersStarted) as the
   visual cue and use nth-child stagger. */
body.color-scheme-corporate .stat-item:nth-child(1) { transition-delay: 0s; }
body.color-scheme-corporate .stat-item:nth-child(2) { transition-delay: 0.1s; }
body.color-scheme-corporate .stat-item:nth-child(3) { transition-delay: 0.2s; }
body.color-scheme-corporate .stat-item:nth-child(4) { transition-delay: 0.3s; }

/* We need stats to appear.  Since the JS IntersectionObserver doesn't
   observe stat-items directly, we use a CSS-only approach with
   @keyframes triggered by scroll proximity via animation-timeline
   FALLBACK: we use the existing counter behavior — when counter starts,
   the JS has already intersected.  So we immediately show stat items
   using an animation that auto-plays when they scroll into view. */
@keyframes statReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.color-scheme-corporate .stat-item {
  opacity: 0;
  animation: statReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-play-state: paused;
}

/* When parent section is visible (counter JS runs), we can't detect
   that in pure CSS.  Instead, use animation-delay + auto-play
   since stats are below the fold anyway. */
body.color-scheme-corporate .stats-section .stat-item {
  animation-play-state: running;
}

body.color-scheme-corporate .stats-section .stat-item:nth-child(1) {
  animation-delay: 0.1s;
}
body.color-scheme-corporate .stats-section .stat-item:nth-child(2) {
  animation-delay: 0.25s;
}
body.color-scheme-corporate .stats-section .stat-item:nth-child(3) {
  animation-delay: 0.4s;
}
body.color-scheme-corporate .stats-section .stat-item:nth-child(4) {
  animation-delay: 0.55s;
}

/* Stat value: subtle scale pop when animating */
body.color-scheme-corporate .stat-value {
  transition: transform 0.3s ease;
}

/* --------------------------------------------------------------------------
   6.  SECTION HEADER REVEAL
   -------------------------------------------------------------------------- */
body.color-scheme-corporate .section-header,
body.color-scheme-corporate .projects-header .section-header-left {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Trigger via ancestor section becoming visible.  The section headers
   are siblings of service/project grids.  We use a general sibling
   approach — they'll animate in once the first .is-visible child
   triggers in their section, or we use the :has() selector. */
body.color-scheme-corporate .services-section:has(.service-card.is-visible) .section-header,
body.color-scheme-corporate .projects-section:has(.project-card.is-visible) .section-header-left {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback for browsers without :has() — section headers animate
   in with a delayed auto-play since they're below the fold */
@supports not selector(:has(*)) {
  body.color-scheme-corporate .section-header,
  body.color-scheme-corporate .projects-header .section-header-left {
    opacity: 1;
    transform: none;
  }
}

/* Section subtitle slides in before title */
body.color-scheme-corporate .section-subtitle {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Section title: text outline shimmer on the accent word */
body.color-scheme-corporate .text-outline {
  transition: -webkit-text-stroke-color 0.4s ease;
}

/* Projects header: "View All Projects" button entrance */
body.color-scheme-corporate .projects-header .section-header-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

body.color-scheme-corporate .projects-section:has(.project-card.is-visible) .section-header-right {
  opacity: 1;
  transform: translateX(0);
}

@supports not selector(:has(*)) {
  body.color-scheme-corporate .projects-header .section-header-right {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   7.  BUTTON MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */
/* Primary button: scale-down press effect */
body.color-scheme-corporate .btn {
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

body.color-scheme-corporate .btn:active {
  transform: scale(0.96) translateY(0);
}

/* Focus ring for accessibility */
body.color-scheme-corporate .btn:focus-visible {
  outline: 2px solid #CBD2D5;
  outline-offset: 3px;
}

/* Ripple-like shine effect on primary buttons */
body.color-scheme-corporate .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

body.color-scheme-corporate .btn-primary:hover::before {
  left: 100%;
}

/* Outline button: fill slides in from left */
body.color-scheme-corporate .btn-outline {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

body.color-scheme-corporate .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #003459;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

body.color-scheme-corporate .btn-outline:hover::before {
  width: 100%;
}

/* --------------------------------------------------------------------------
   8.  SCROLL INDICATOR — REFINED PULSE
   -------------------------------------------------------------------------- */
@keyframes scrollPulse {
  0% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
  }
  100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }
}

body.color-scheme-corporate .scroll-indicator {
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   9.  FOOTER LINK HOVER EFFECTS + SOCIAL ICON LIFT
   -------------------------------------------------------------------------- */
/* Underline slide-in from left */
body.color-scheme-corporate .footer-links a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

body.color-scheme-corporate .footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #CBD2D5;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .footer-links a:hover::after {
  width: 100%;
}

body.color-scheme-corporate .footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Social icons: lift + glow on hover */
body.color-scheme-corporate .social-link {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

body.color-scheme-corporate .social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 52, 89, 0.4);
}

/* Contact info links */
body.color-scheme-corporate .contact-info a {
  position: relative;
  transition: color 0.3s ease;
}

body.color-scheme-corporate .contact-info a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #CBD2D5;
  transition: width 0.3s ease;
}

body.color-scheme-corporate .contact-info a:hover::after {
  width: 100%;
}

/* Footer brand: subtle letter-spacing expand on hover */
body.color-scheme-corporate .footer-brand {
  transition: letter-spacing 0.4s ease;
}

body.color-scheme-corporate .footer-brand:hover {
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   10. NAVBAR SCROLL TRANSITION ENHANCEMENT
   -------------------------------------------------------------------------- */
body.color-scheme-corporate .zelan-navbar {
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 0.4s ease,
              box-shadow 0.4s ease;
}

body.color-scheme-corporate .zelan-navbar[data-scrolled="true"] {
  box-shadow: 0 4px 30px rgba(0, 23, 31, 0.15);
}

/* Nav links: subtle underline on hover */
body.color-scheme-corporate .nav-links > li > a {
  position: relative;
}

body.color-scheme-corporate .nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #CBD2D5;
  transition: width 0.3s ease, left 0.3s ease;
}

body.color-scheme-corporate .nav-links > li > a:hover::after {
  width: 100%;
  left: 0;
}

/* Active nav item indicator */
body.color-scheme-corporate .nav-links .current-menu-item > a::after {
  width: 100%;
  left: 0;
  background: #003459;
}

/* --------------------------------------------------------------------------
   11. GLOBAL SMOOTH MOTION PREFERENCES
   -------------------------------------------------------------------------- */
/* Respect prefers-reduced-motion — disable all custom animations */
@media (prefers-reduced-motion: reduce) {
  body.color-scheme-corporate .fade-in-up,
  body.color-scheme-corporate .service-card,
  body.color-scheme-corporate .project-card,
  body.color-scheme-corporate .stat-item,
  body.color-scheme-corporate .section-header,
  body.color-scheme-corporate .projects-header .section-header-left,
  body.color-scheme-corporate .projects-header .section-header-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}