/* ============================================
   DESIGN SYSTEM — H.E. Abdulla bin Touq Al Marri
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #0a1628;
  --navy-light: #132240;
  --royal-blue: #1a3a6b;
  --accent-blue: #2563eb;
  --accent-blue-light: #3b82f6;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #e8ecf4;
  --medium-gray: #94a3b8;
  --dark-gray: #334155;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #cbd5e1;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-bg-light: rgba(255, 255, 255, 0.75);
  --glass-border-light: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-xl: 0 30px 80px rgba(10, 22, 40, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1320px;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { color: var(--text-secondary); font-size: 1.05rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
}

/* --- Utility --- */
.text-gold { color: var(--gold); }
.text-blue { color: var(--accent-blue); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Navigation --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-smooth);
  background: transparent;
}

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-gray);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-logo-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-smooth);
  line-height: 1.3;
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color var(--transition-smooth);
}

.main-nav.scrolled .nav-logo-title { color: var(--navy); }
.main-nav.scrolled .nav-logo-sub { color: var(--text-secondary); }

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

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.nav-links a.active {
  color: var(--gold);
}

.main-nav.scrolled .nav-links a {
  color: var(--text-secondary);
}

.main-nav.scrolled .nav-links a:hover {
  color: var(--navy);
  background: var(--off-white);
}

.main-nav.scrolled .nav-links a.active {
  color: var(--accent-blue);
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.main-nav.scrolled .nav-toggle span { background: var(--navy); }

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    flex-direction: column;
    background: var(--navy);
    padding: 6rem 2rem 2rem;
    gap: 0.25rem;
    transition: right var(--transition-smooth);
    box-shadow: var(--shadow-xl);
    align-items: flex-start;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
  }
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 50%, #1e40af 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

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

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 600px;
}

.hero-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 60%, #1e40af 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 45%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.page-hero .hero-badge { margin-bottom: 1.5rem; }

.page-hero-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Cards --- */
.glass-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card-dark {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.stat-item-dark .stat-number {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item-dark .stat-label {
  color: var(--text-secondary);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent-blue), var(--gold), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 3rem;
  align-items: start;
}

.timeline-content {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-smooth);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
}

.timeline-marker {
  grid-column: 2;
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent-blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-blue);
  position: relative;
  z-index: 2;
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before { left: 20px; }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
  }

  .timeline-marker {
    grid-column: 1;
    padding-top: 2rem;
  }
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.asymmetric-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.asymmetric-grid.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-image-wrapper { margin-top: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .asymmetric-grid, .asymmetric-grid.reverse { grid-template-columns: 1fr; }
}

/* --- Image Frame --- */
.image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.image-frame:hover img {
  transform: scale(1.02);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Parallax --- */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* --- Counter Animation --- */
.counter { display: inline-block; }

/* --- Divider --- */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent-blue));
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* --- Quote --- */
.blockquote {
  position: relative;
  padding: 2rem 2.5rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
}

.blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-style: normal;
  line-height: 1;
}

/* --- Tags --- */
.tag {
  display: inline-flex;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
}

/* --- Progress Bars --- */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
  border-radius: 4px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
  color: var(--text-secondary);
}

.tab-btn:hover, .tab-btn.active {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.04);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* --- Form Styles --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

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

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-brand-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 300px;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.footer-contact-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-contact-text strong {
  color: var(--white);
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

.footer-newsletter {
  margin-top: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-primary);
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.newsletter-btn:hover { background: var(--gold-light); }

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 2rem 0;
}

.footer-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 1.5rem;
  height: 200px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) brightness(0.8);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credit {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: var(--gold);
  font-weight: 600;
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

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

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-blue);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
}

/* --- Specific Page Patterns --- */

/* Data viz bars */
.data-bar-group {
  margin-bottom: 1.5rem;
}

.data-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.data-bar-value {
  color: var(--accent-blue);
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.accordion-header:hover { background: var(--off-white); }

.accordion-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
  color: var(--accent-blue);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.accordion-body-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Magazine grid */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.magazine-item-large {
  grid-column: span 8;
  grid-row: span 2;
}

.magazine-item-small {
  grid-column: span 4;
}

@media (max-width: 768px) {
  .magazine-item-large,
  .magazine-item-small {
    grid-column: span 12;
  }
}

/* Map wrapper */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Loading / Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Responsive fine-tuning --- */
@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.5rem; font-size: 0.88rem; }
  .stat-item { padding: 1rem 0.5rem; }
  .card { padding: 1.5rem; }
}

/* ============================================
   EXPANSION PATTERNS — New Section Layouts
   ============================================ */

/* --- Mosaic Photo Grid --- */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}
.mosaic-grid .mosaic-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.mosaic-grid .mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.mosaic-grid .mosaic-item:hover img { transform: scale(1.06); }
.mosaic-grid .mosaic-item .mosaic-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
}
.mosaic-grid .mosaic-item:hover .mosaic-overlay { opacity: 1; transform: translateY(0); }
.mosaic-grid .mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

@media (max-width: 768px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .mosaic-grid .mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .mosaic-grid .mosaic-item { min-height: 200px; }
}

/* --- Benchmark Table --- */
.benchmark-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
.benchmark-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}
.benchmark-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  border: none;
}
.benchmark-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--light-gray);
  background: var(--white);
  transition: background var(--transition-fast);
}
.benchmark-table tbody tr:hover td { background: var(--off-white); }
.benchmark-table tbody tr:last-child td { border-bottom: none; }
.benchmark-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.benchmark-table .highlight-cell { color: var(--accent-blue); font-weight: 700; }
.benchmark-table .gold-cell { color: var(--gold); font-weight: 700; }
@media (max-width: 768px) { .benchmark-table { min-width: 600px; } }

/* --- Scrolling Ticker --- */
.ticker-strip {
  overflow: hidden;
  background: var(--navy);
  padding: 0.9rem 0;
  position: relative;
}
.ticker-strip::before, .ticker-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-strip::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.ticker-strip::after { right: 0; background: linear-gradient(90deg, transparent, var(--navy)); }
.ticker-track {
  display: flex;
  gap: 3rem;
  animation: tickerScroll 35s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
}
.ticker-item .ticker-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Testimonial Cards --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  position: relative;
  transition: all var(--transition-smooth);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-quote { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-name { font-size: 0.95rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.testimonial-role { font-size: 0.8rem; color: var(--text-secondary); }

/* --- Hierarchy / Org Structure --- */
.hierarchy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hierarchy-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  text-align: center; transition: all var(--transition-smooth);
}
.hierarchy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.2); }
.hierarchy-card .hierarchy-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--royal-blue));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--white); font-size: 1.5rem;
}
.hierarchy-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--navy); }
.hierarchy-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 768px) { .hierarchy-grid { grid-template-columns: 1fr; } }

/* --- Region Grid --- */
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.region-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.region-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.region-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.region-count { font-size: 2rem; font-weight: 800; color: var(--accent-blue); line-height: 1; margin-bottom: 0.5rem; }
.region-description { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Document Cards --- */
.doc-card {
  display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.75rem;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth); margin-bottom: 1rem;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doc-icon {
  width: 56px; height: 64px;
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0; color: var(--accent-blue);
  border: 1px solid var(--light-gray);
}
.doc-info h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.35rem; }
.doc-info p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.doc-meta { display: flex; gap: 1rem; margin-top: 0.75rem; flex-wrap: wrap; }
.doc-meta span { font-size: 0.75rem; font-weight: 600; color: var(--medium-gray); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Timezone Panel --- */
.timezone-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.timezone-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2.5rem;
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  text-align: center; transition: all var(--transition-smooth);
}
.timezone-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.timezone-city { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.timezone-utc { font-size: 0.8rem; color: var(--medium-gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.timezone-hours { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; }
.timezone-hours strong { color: var(--navy); }
.timezone-status { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; }
.timezone-status .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* --- Numbered Feature List --- */
.numbered-list { counter-reset: item-counter; display: flex; flex-direction: column; gap: 1.5rem; }
.numbered-item { display: flex; gap: 1.5rem; align-items: flex-start; counter-increment: item-counter; }
.numbered-item::before {
  content: counter(item-counter, decimal-leading-zero);
  font-size: 2rem; font-weight: 800; color: var(--light-gray);
  line-height: 1; flex-shrink: 0; width: 50px; text-align: center;
}
.numbered-item-content h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.35rem; }
.numbered-item-content p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Split Infographic --- */
.split-infographic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md);
}
.split-left { background: var(--navy); padding: 3rem; color: var(--white); }
.split-right { background: var(--white); padding: 3rem; }
.split-stat { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.split-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.split-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 0.25rem; }
.split-stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.split-right .split-stat { border-bottom-color: var(--light-gray); }
.split-right .split-stat-value { color: var(--accent-blue); }
.split-right .split-stat-label { color: var(--text-secondary); }
@media (max-width: 768px) { .split-infographic { grid-template-columns: 1fr; } }

/* --- Media List Items --- */
.media-list-item {
  display: flex; gap: 1.5rem; align-items: center; padding: 1.5rem;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--light-gray); transition: all var(--transition-smooth);
  margin-bottom: 1rem;
}
.media-list-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: rgba(37, 99, 235, 0.2); }
.media-list-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-blue), var(--royal-blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem; flex-shrink: 0;
}
.media-list-content { flex: 1; }
.media-list-content h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.media-list-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* --- Dashboard Metrics --- */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.dashboard-metric {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: all var(--transition-smooth);
}
.dashboard-metric:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dashboard-metric::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--accent-blue), var(--gold));
}
.dashboard-metric .metric-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--medium-gray); margin-bottom: 0.5rem; }
.dashboard-metric .metric-value { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 0.5rem; }
.dashboard-metric .metric-change { font-size: 0.82rem; font-weight: 600; color: #22c55e; }

/* --- Roadmap Pipeline --- */
.roadmap { position: relative; padding-left: 40px; }
.roadmap::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent-blue), var(--gold), var(--light-gray));
}
.roadmap-item {
  position: relative; margin-bottom: 2.5rem; padding: 1.75rem;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.roadmap-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.roadmap-item::before {
  content: ''; position: absolute; left: -33px; top: 2rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-blue); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-blue); z-index: 2;
}
.roadmap-item.pending::before { background: var(--light-gray); box-shadow: 0 0 0 2px var(--light-gray); }
.roadmap-status {
  display: inline-flex; padding: 0.25rem 0.75rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; border-radius: 50px; margin-bottom: 0.75rem;
}
.roadmap-status.active { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.roadmap-status.negotiating { background: rgba(37, 99, 235, 0.1); color: var(--accent-blue); }
.roadmap-status.planned { background: rgba(148, 163, 184, 0.15); color: var(--medium-gray); }

