/* ==========================================================================
   MG HOLDING — CORPORATE STYLESHEET
   A Legacy of Strength. An Ecosystem of Excellence. (EST. 1980)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,400&display=swap');

:root {
  --bg-dark: #090B0E;
  --bg-primary: #0E1117;
  --bg-secondary: #141822;
  --bg-card: #171D29;
  --bg-card-hover: #1E2535;
  --bg-glass: rgba(14, 17, 23, 0.78);
  --bg-glass-card: rgba(23, 29, 41, 0.65);

  --gold-100: #F4EAD4;
  --gold-200: #E5D2A8;
  --gold-300: #D4AF37;
  --gold-primary: #C5A880;
  --gold-dark: #9E8055;
  --gold-glow: rgba(197, 168, 128, 0.25);

  --emerald-accent: #25A172;
  --terracotta-accent: #B23B3B;

  --text-primary: #FFFFFF;
  --text-secondary: #D4D8E2;
  --text-muted: #8A92A6;
  --text-dim: #5D6475;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(197, 168, 128, 0.35);
  --border-gold-hover: rgba(197, 168, 128, 0.7);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-display: 'Cinzel', 'Playfair Display', serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(197, 168, 128, 0.18);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1320px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #252D3D;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

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

.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

.text-gold {
  color: var(--gold-primary);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFF 0%, #E5D2A8 50%, #C5A880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background-color: var(--gold-primary);
}

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

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .eyebrow {
  justify-content: center;
}

.section-header.text-center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background-color: var(--gold-primary);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 100%);
  color: #0E1117;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E5D2A8 0%, #D4AF37 100%);
  box-shadow: 0 6px 28px rgba(197, 168, 128, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

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

.btn-outline-gold:hover {
  background: rgba(197, 168, 128, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.badge-gold {
  background: rgba(197, 168, 128, 0.12);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.badge-emerald {
  background: rgba(37, 161, 114, 0.12);
  border-color: rgba(37, 161, 114, 0.4);
  color: #3CD099;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 22px 0;
  background: transparent;
}

.site-header.scrolled {
  padding: 12px 0;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 48px;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.menu-toggle-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--gold-primary);
}
.menu-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--gold-primary);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-medium);
  z-index: 1050;
  padding: 100px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--gold-primary);
  padding-left: 10px;
}

.mobile-drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background-color: var(--bg-dark);
  background-image: url('../images/general/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(197, 168, 128, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, rgba(9, 11, 14, 0.4) 0%, rgba(9, 11, 14, 0.95) 100%);
  pointer-events: none;
}

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

.hero-badge-container {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-medium);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT / LEGACY SECTION
   ========================================================================== */

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

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

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

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

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-badge-overlay .year {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.about-badge-overlay .text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.3;
}

.about-text-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.pillar-item {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.pillar-item:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.pillar-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   VISION, MISSION & VALUES
   ========================================================================== */

.vmv-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.vm-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}

.vm-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.vm-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vm-card:hover::before {
  opacity: 1;
}

.vm-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.vm-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vm-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-box {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.value-box:hover {
  border-color: var(--border-gold);
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.value-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 12px;
  opacity: 0.8;
}

.value-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.value-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   BUSINESS SECTORS & ECOSYSTEM
   ========================================================================== */

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.sector-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.sector-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.sector-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.sector-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.sector-card .subsidiary-name {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold-200);
  font-weight: 600;
  margin-bottom: 16px;
}

.sector-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.sector-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sector-feature-item strong {
  color: var(--text-primary);
}

.sector-feature-item svg {
  min-width: 16px;
  margin-top: 3px;
  color: var(--gold-primary);
}

/* Ecosystem Banner / Subsidiaries Showcase */
.ecosystem-banner {
  background: linear-gradient(135deg, #131822 0%, #0F131C 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.ecosystem-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

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

.subsidiary-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.subsidiary-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.subsidiary-logo-wrap {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.subsidiary-logo-wrap img {
  max-height: 44px;
  width: auto;
}

.subsidiary-item-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.subsidiary-item-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LEGACY IN NUMBERS (ANIMATED STATISTICS)
   ========================================================================== */

.numbers-section {
  background-color: var(--bg-dark);
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-image: radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.05) 0%, transparent 60%);
}

.stats-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-box-large {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.stat-box-large:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.stat-box-large .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-box-large .stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stat-box-large .stat-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PROJECTS SHOWCASE & FILTERING
   ========================================================================== */

.projects-section {
  background-color: var(--bg-primary);
  position: relative;
}

.filter-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--gold-primary);
  color: #0E1117;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(197, 168, 128, 0.3);
}

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

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.project-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-thumbnail {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #0B0D13;
}

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

.project-card:hover .project-thumbnail img {
  transform: scale(1.06);
}

.project-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.project-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

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

.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.spec-val {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.view-details-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  transition: all var(--transition-fast);
}

.view-details-link:hover {
  color: #FFF;
  gap: 12px;
}

/* ==========================================================================
   PIPELINE / UNDER CONTRACT SECTION
   ========================================================================== */

.pipeline-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.pipeline-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.pipeline-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.pipeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.pipeline-project-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pipeline-status {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   STRATEGIC ALLIANCES & PARTNERS
   ========================================================================== */

.partners-section {
  padding: 80px 0;
  background: var(--bg-primary);
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.partner-logo-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.partner-logo-box:hover {
  border-color: var(--border-gold);
  background: var(--bg-card);
  transform: translateY(-3px);
}

.partner-logo-box img {
  max-height: 46px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.partner-logo-box:hover img {
  opacity: 1;
}

/* ==========================================================================
   LEADERSHIP / THE BOARD
   ========================================================================== */

.leadership-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.chairman-spotlight {
  background: linear-gradient(135deg, #181E29 0%, #11151E 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  box-shadow: var(--shadow-md);
}

.chairman-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.chairman-portrait img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.chairman-quote-box blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
}

.chairman-quote-box blockquote::before {
  content: '“';
  font-size: 4rem;
  line-height: 0;
  position: absolute;
  top: -10px;
  left: -30px;
  color: var(--gold-primary);
  opacity: 0.3;
}

.chairman-meta h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
}

.chairman-meta p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

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

.board-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.board-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.board-portrait-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: #0E1117;
}

.board-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-info {
  padding: 24px;
  text-align: center;
}

.board-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.board-info .role {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-section {
  background: var(--bg-primary);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-subtle);
}

.contact-card-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.contact-item-row .info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.contact-item-row .info-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-subtle);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-col .brand-logo {
  height: 48px;
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MODAL DIALOG (PROJECT DETAILS)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-normal);
}

.modal-backdrop.active .modal-content-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #0E1117;
  transform: rotate(90deg);
}

.modal-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.modal-inner-body {
  padding: 36px 40px 48px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideInToast 0.35s ease forwards;
}

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .menu-toggle-btn {
    display: flex;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sectors-grid, .projects-grid, .board-grid, .stats-grid-6, .pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .subsidiaries-grid {
    grid-template-columns: 1fr;
  }
  .chairman-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .chairman-portrait {
    max-width: 320px;
    margin: 0 auto;
  }
  .chairman-quote-box blockquote::before {
    left: 0;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .vm-cards-grid, .values-grid, .sectors-grid, .projects-grid, .board-grid, .stats-grid-6, .pipeline-grid, .partners-grid {
    grid-template-columns: 1fr;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}
