/* ==========================================================================
   PT. Qiswa Nusantara Aviasi - Ultra Luxury Emerald & Gold Styling System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@400;600;700;800&family=Cinzel:wght@400;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=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette derived from banner.png & brand identity */
  --bg-obsidian: #03140E;
  --bg-dark-emerald: #052218;
  --bg-card-emerald: rgba(8, 38, 28, 0.85);
  --bg-elevated: #093325;
  
  --emerald-primary: #0A3B2B;
  --emerald-light: #0E4B37;
  --emerald-glow: rgba(14, 75, 55, 0.5);
  
  --gold-base: #C5A059;
  --gold-primary: #D4AF37;
  --gold-light: #F4E2A1;
  --gold-bright: #FFE89C;
  --gold-dark: #977625;
  
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --gold-gradient-soft: linear-gradient(135deg, #D4AF37 0%, #E6C665 50%, #997A24 100%);
  --emerald-gradient-dark: linear-gradient(180deg, #03140E 0%, #062A1E 50%, #041C14 100%);
  --hero-overlay: radial-gradient(circle at 50% 20%, rgba(10, 59, 43, 0.4) 0%, rgba(3, 20, 14, 0.95) 75%);
  
  --glass-border: rgba(212, 175, 55, 0.25);
  --glass-border-hover: rgba(212, 175, 55, 0.7);
  --glass-bg: rgba(6, 32, 23, 0.75);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  
  --text-main: #F5FAF7;
  --text-sub: #C3D9D1;
  --text-muted: #8AA69C;
  --text-gold: #E6C665;
  
  --font-cinzel: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Cairo', 'Amiri', serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RTL Support for Arabic Language */
[dir="rtl"] {
  font-family: var(--font-arabic), sans-serif;
  text-align: right;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .top-bar-left, [dir="rtl"] .top-bar-right {
  flex-direction: row-reverse;
}

[dir="rtl"] .gold-line-center {
  margin: 15px auto;
}

[dir="rtl"] .gold-line {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .stakeholder-card {
  border-left: none;
  border-right: 4px solid var(--gold-primary);
}

[dir="rtl"] .side-menu-drawer {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid var(--gold-primary);
}

[dir="rtl"] .side-menu-drawer.active {
  left: 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background: var(--bg-obsidian);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(14, 75, 55, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #020D09;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Typography Utilities */
h1, h2, h3, .font-cinzel {
  font-family: var(--font-cinzel);
  letter-spacing: 0.5px;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-line {
  height: 2px;
  background: var(--gold-gradient);
  width: 80px;
  margin: 15px 0;
  border-radius: 2px;
}

.gold-line-center {
  margin: 15px auto;
}

/* CARD MICRO-ANIMATIONS & SCROLL REVEAL */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Glass Container Base with Animation */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
  transition: left 0.8s ease;
  z-index: 2;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.25);
}

/* Card Image Header Styling */
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.glass-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #03140E;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  transition: all 0.35s var(--ease-out);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 59, 43, 0.6);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--gold-primary);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease-out);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  color: var(--gold-light);
}

/* Language Switcher Buttons */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(4, 26, 19, 0.85);
  border: 1px solid var(--gold-primary);
  border-radius: 25px;
  padding: 3px 6px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active, .lang-btn:hover {
  background: var(--gold-gradient);
  color: #03140E;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Top Announcement Bar */
.top-bar {
  background: #020C09;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-muted);
}

.top-bar-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.3s;
}

.top-bar-item:hover {
  color: var(--gold-primary);
}

.top-bar-item i {
  color: var(--gold-primary);
}

/* Sticky Header Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 20, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(2, 14, 10, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: 2px 0;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
  background: #041A13;
  padding: 2px;
}

.brand-text-name {
  font-family: var(--font-cinzel);
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFF;
  line-height: 1.2;
}

.brand-text-tagline {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-links.desktop-nav {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links.desktop-nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-links.desktop-nav a:hover, .nav-links.desktop-nav a.active {
  color: var(--gold-light);
}

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Burger Button Style */
.mobile-menu-btn {
  display: none;
  background: rgba(10, 59, 43, 0.8);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.mobile-menu-btn:hover {
  background: var(--gold-primary);
  color: #03140E;
}

/* SIDE MENU DRAWER FOR MOBILE */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

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

.side-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(4, 22, 15, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--gold-primary);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
  transition: right 0.4s var(--ease-out);
  overflow-y: auto;
}

.side-menu-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(10, 59, 43, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.drawer-nav-links a i {
  color: var(--gold-primary);
  width: 20px;
}

.drawer-nav-links a:hover, .drawer-nav-links a.active {
  background: var(--gold-gradient);
  color: #03140E;
  border-color: var(--gold-light);
}

.drawer-nav-links a:hover i, .drawer-nav-links a.active i {
  color: #03140E;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, rgba(3,20,14,0.3) 0%, rgba(3,20,14,0.95) 100%),
              url('assets/hero_aviation.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 40%, rgba(14, 75, 55, 0.45) 0%, rgba(3, 20, 14, 0.85) 75%);
  pointer-events: none;
}

.hero-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 59, 43, 0.8);
  border: 1px solid var(--gold-primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Floating Hero Cards */
.hero-floating-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-metric-card {
  padding: 20px;
  text-align: left;
}

.metric-number {
  font-family: var(--font-cinzel);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SECTION COMMONS */
.section-padding {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-tag {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  color: #FFF;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-sub);
}

/* ECOSYSYEM ROLE GRID */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

/* STAKEHOLDER CONNECTIVITY MATRIX SECTION */
.ecosystem-section {
  background: var(--bg-dark-emerald);
  position: relative;
}

.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stakeholder-card {
  padding: 26px;
  border-left: 4px solid var(--gold-primary);
}

.stakeholder-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(10, 59, 43, 0.4));
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.stakeholder-title {
  font-size: 1.2rem;
  color: #FFF;
  margin-bottom: 8px;
}

.stakeholder-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.stakeholder-value-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* PLATFORMS SHOWCASE SECTION */
.platforms-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab-btn {
  background: rgba(6, 32, 23, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--gold-gradient);
  color: #03140E;
  border-color: var(--gold-light);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

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

.platform-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.platform-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.platform-number {
  font-family: var(--font-cinzel);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-primary);
  opacity: 0.8;
  margin-bottom: 6px;
}

.platform-card-title {
  font-size: 1.1rem;
  color: #FFF;
  margin-bottom: 8px;
  line-height: 1.3;
}

.platform-card-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  flex-grow: 1;
}

.btn-detail-modal {
  background: rgba(10, 59, 43, 0.5);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-detail-modal:hover {
  background: var(--gold-primary);
  color: #03140E;
}

/* PILGRIMAGE SPOTLIGHT SECTION */
.pilgrimage-section {
  position: relative;
  background: linear-gradient(180deg, rgba(3,20,14,0.92) 0%, rgba(6,32,23,0.95) 100%),
              url('assets/pilgrimage_charter.png') center/cover no-repeat;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.pilgrimage-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pilgrimage-feature-box {
  background: rgba(3, 20, 14, 0.85);
  border: 1px solid var(--gold-primary);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.pilgrimage-list {
  list-style: none;
  margin-top: 20px;
}

.pilgrimage-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.pilgrimage-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03140E;
  font-size: 1rem;
  flex-shrink: 0;
}

.pilgrimage-item-title {
  font-weight: 700;
  color: #FFF;
  font-size: 1rem;
}

.pilgrimage-item-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* CARGO & AVIATION OPERATIONS SECTION */
.cargo-section {
  background: var(--bg-obsidian);
}

.two-col-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.img-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

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

/* LEADERSHIP SECTION */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leader-card {
  text-align: center;
  padding: 30px 20px;
}

.leader-avatar-wrapper {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gold-gradient);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.leader-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #041A13;
}

.leader-name {
  font-size: 1.15rem;
  color: #FFF;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.leader-bio {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* LEGALITY SECTION */
.legality-box {
  background: rgba(6, 32, 23, 0.7);
  border: 1px solid var(--gold-primary);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.legality-item {
  padding: 16px;
  background: rgba(3, 20, 14, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.legality-label {
  font-size: 0.78rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.legality-val {
  font-family: var(--font-cinzel);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
}

/* CONTACT SECTION GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-control {
  background: rgba(3, 20, 14, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 12px 14px;
  border-radius: 8px;
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* MODAL DIALOG */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 16px;
}

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

.modal-card {
  background: #062419;
  border: 1px solid var(--gold-primary);
  border-radius: 18px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* FOOTER */
.footer {
  background: #020C08;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-family: var(--font-cinzel);
  color: #FFF;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ==========================================================================
   ULTRA RESPONSIVE BREAKPOINTS (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links.desktop-nav {
    display: none;
  }
  .header-lang-switcher {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .connectivity-grid, .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .role-grid, .contact-grid, .two-col-showcase, .pilgrimage-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .section-padding {
    padding: 60px 0;
  }
  .hero-section {
    padding: 50px 0 70px;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .brand-text-name {
    font-size: 0.9rem;
  }
  .brand-text-tagline {
    font-size: 0.58rem;
  }
  .platforms-grid, .connectivity-grid, .leadership-grid, .legality-box, .hero-floating-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
