/* ============================================
   SWAD Holdings — Modern Design System v2
   Hybrid Dark/Light Premium Corporate
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Dark Palette */
  --bg-dark:        #08090A;
  --bg-dark-2:      #0F1114;
  --bg-dark-3:      #161819;
  --bg-dark-card:   #111315;
  --bg-dark-hover:  #1A1D20;

  /* Light Palette */
  --bg-light:       #FFFFFF;
  --bg-light-2:     #F7F8FA;
  --bg-light-3:     #EEF0F4;

  /* Brand Accent — refined from logo */
  --accent:         #C8102E;
  --accent-soft:    rgba(200, 16, 46, 0.12);
  --accent-hover:   #E01235;
  --accent-glow:    rgba(200, 16, 46, 0.25);
  --gold:           #C9A84C;
  --gold-soft:      rgba(201, 168, 76, 0.15);

  /* Text */
  --text-white:     #FFFFFF;
  --text-white-80:  rgba(255,255,255,0.8);
  --text-white-60:  rgba(255,255,255,0.6);
  --text-white-40:  rgba(255,255,255,0.4);
  --text-dark:      #111111;
  --text-dark-80:   #333333;
  --text-dark-60:   #666666;
  --text-muted:     #999999;

  /* Borders */
  --border-dark:    rgba(255,255,255,0.06);
  --border-dark-2:  rgba(255,255,255,0.1);
  --border-light:   rgba(0,0,0,0.06);
  --border-light-2: rgba(0,0,0,0.1);

  /* Typography */
  --font-primary:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:   'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --max-width:      1280px;
  --section-py:     6rem;
  --section-px:     2rem;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-sm:      8px;

  /* Transitions */
  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
  --duration:       0.4s;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

p { margin-bottom: 1rem; color: var(--text-dark-80); }
p:last-child { margin-bottom: 0; }

.label-caps {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col-60-40 { grid-template-columns: 3fr 2fr; }

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

/* Background utilities */
.bg-dark   { background: var(--bg-dark); }
.bg-dark-2 { background: var(--bg-dark-2); }
.bg-light  { background: var(--bg-light); }
.bg-light-2{ background: var(--bg-light-2); }

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 3rem;
}
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .label-caps {
  margin-bottom: 0.75rem;
  display: block;
}
.section-header p.sub {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-dark-60);
  max-width: 560px;
}
.section-header.centered p.sub {
  margin-left: auto;
  margin-right: auto;
}

/* Dark section text */
.bg-dark .section-header h2,
.bg-dark-2 .section-header h2 { color: var(--text-white); }
.bg-dark .section-header p.sub,
.bg-dark-2 .section-header p.sub { color: var(--text-white-60); }
.bg-dark p, .bg-dark-2 p { color: var(--text-white-80); }
.bg-dark h3, .bg-dark h4, .bg-dark-2 h3, .bg-dark-2 h4 { color: var(--text-white); }

/* Accent line */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 4px;
  margin: 1rem 0;
}
.centered .accent-line {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.35s var(--ease);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-white-80);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--text-white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-white-60);
  border-radius: var(--radius-sm);
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-white);
}
.sub-icon {
  font-size: 0.9375rem;
  width: 1.5rem;
  text-align: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.125rem;
  padding: 2rem;
  overflow-y: auto;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav > a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-white-80);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}
.mobile-nav > a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.04);
}
.mobile-nav-group {
  width: 100%;
  text-align: center;
}
.mobile-nav-group-toggle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-white-80);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  font-family: inherit;
}
.mobile-nav-group-toggle:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.04);
}
.mobile-nav-group-toggle::after {
  content: ' +';
  font-size: 0.9rem;
  opacity: 0.5;
}
.mobile-nav-group.open .mobile-nav-group-toggle::after {
  content: ' −';
}
.mobile-nav-group-items {
  display: none;
  flex-direction: column;
  padding: 0.25rem 0 0.5rem;
}
.mobile-nav-group.open .mobile-nav-group-items {
  display: flex;
}
.mobile-nav-group-items a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-white-60);
  padding: 0.625rem 2rem;
  transition: all 0.2s;
}
.mobile-nav-group-items a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.04);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Light top for navbar readability, transparent mid to show image, gentle bottom for text contrast */
  background:
    linear-gradient(180deg,
      rgba(8,9,10,0.55) 0%,
      rgba(8,9,10,0.15) 30%,
      rgba(8,9,10,0.25) 55%,
      rgba(8,9,10,0.65) 100%
    );
}

/* Subtle grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

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

.hero-content h1 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  color: var(--text-white-70, rgba(255,255,255,0.7));
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-content .label-caps {
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Page hero (shorter) */
.page-hero {
  min-height: 50vh;
  padding-top: 5rem;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-white-40);
  font-size: 1.25rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light-2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Dark context */
.bg-dark .btn-outline,
.bg-dark-2 .btn-outline {
  color: var(--text-white-80);
  border-color: var(--border-dark-2);
}
.bg-dark .btn-outline:hover,
.bg-dark-2 .btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-white {
  background: var(--bg-light);
  color: var(--text-dark);
}
.btn-white:hover {
  background: var(--bg-light-2);
  transform: translateY(-1px);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 3rem 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-white-40);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-light-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.card .label-caps { margin-bottom: 0.75rem; display: block; }
.card h3 { margin-bottom: 0.75rem; }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.25s;
}

/* Dark card */
.dark-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
}
.dark-card:hover {
  border-color: var(--border-dark-2);
  background: var(--bg-dark-hover);
}
.dark-card h4 { color: var(--text-white); margin-bottom: 0.5rem; }
.dark-card p  { color: var(--text-white-60); }

/* Glass card */
.glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
}
.glass-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-dark-2);
}

/* Value card (for "How We Build" section) */
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
}
.value-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.value-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}
.value-card h4 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

/* Subsidiary grid card */
.sub-grid-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  display: block;
}
.sub-grid-card:hover {
  border-color: var(--accent);
  background: var(--bg-dark-hover);
  transform: translateY(-2px);
}
.sub-grid-card .label-caps {
  font-size: 0.625rem;
  margin-bottom: 0.75rem;
  display: block;
}
.sub-grid-card h4 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}
.sub-grid-card p {
  color: var(--text-white-60);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.sub-grid-card .card-link {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   ORG CHART
   ============================================ */
.org-chart {
  text-align: center;
}
.org-holding {
  display: inline-block;
  background: var(--accent);
  color: var(--text-white);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 0;
}
.org-holding h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.org-holding p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}
.org-line {
  width: 2px;
  height: 40px;
  background: var(--border-light-2);
  margin: 0 auto;
}
.org-subsidiaries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 0;
}
.org-sub-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  display: block;
}
.org-sub-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.org-sub-card h4 {
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}
.org-sub-card .sector {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ============================================
   LEADER CARDS
   ============================================ */
.leader-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
}
.leader-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.leader-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-light-3));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid var(--border-light-2);
}
.leader-photo .initials {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}
.leader-info h4 { margin-bottom: 0.25rem; }
.leader-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.news-card-body {
  padding: 1.75rem;
}
.news-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.news-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.news-card h4 {
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-top: 0.75rem;
}

/* ============================================
   WHY CARDS (Careers - Why SWAD)
   ============================================ */
.why-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
}
.why-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(200,16,46,0.08);
}
.why-card h4 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

/* ============================================
   FOCUS CARDS (Foundation)
   ============================================ */
.focus-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
}
.focus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.focus-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.focus-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}
.focus-card h4 {
  margin-bottom: 0.5rem;
}

/* ============================================
   ENQUIRY CARDS (Contact)
   ============================================ */
.enquiry-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
}
.enquiry-card:hover {
  border-color: var(--border-light-2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.enquiry-card h4 { margin-bottom: 0.75rem; }
.email-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   OFFICE CARDS
   ============================================ */
.office-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.35s var(--ease);
}
.office-card:hover {
  border-color: var(--accent);
  background: var(--bg-dark-hover);
}
.office-card h4 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
}
.office-card p {
  color: var(--text-white-60);
  font-size: 0.875rem;
}

/* ============================================
   SUBSIDIARY SERVICE CARDS
   ============================================ */
.sub-service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.35s var(--ease);
}
.sub-service-card:hover {
  border-color: var(--border-light-2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.sub-service-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ============================================
   FOUNDATION TEASER (Homepage)
   ============================================ */
.foundation-teaser {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
  background: var(--bg-dark);
}
.foundation-teaser .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.foundation-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,10,0.4), rgba(8,9,10,0.7));
  z-index: 1;
}
.foundation-teaser .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.foundation-teaser h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}
.foundation-teaser p {
  color: var(--text-white-70, rgba(255,255,255,0.7));
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--text-white-80);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group select option {
  background: var(--bg-dark-2);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2rem;
}

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

.footer-brand img {
  height: 36px;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--text-white-40);
  font-size: 0.875rem;
  max-width: 320px;
}

.footer-links h5 {
  color: var(--text-white-60);
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-white-40);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--text-white-40);
  font-size: 0.75rem;
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-white-40);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text-white-60); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .org-subsidiaries { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
    --section-px: 1.25rem;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 85vh; }
  .page-hero { min-height: 45vh; }

  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }

  .two-col, .two-col-60-40 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
}

@media (max-width: 480px) {
  .org-subsidiaries {
    grid-template-columns: 1fr;
  }
  .hero-content p { font-size: 1rem; }
}

/* ============================================
   UTILITY HELPERS
   ============================================ */
.gold-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 4px;
  margin: 1.25rem auto;
}
.gold-rule-short {
  width: 36px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================
   FOOTER SOCIAL ICONS
   ============================================ */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-white-40);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   CONTACT DETAILS
   ============================================ */
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

