/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables & Design System */
:root {
  /* Color Palette */
  --color-white: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-gold: #fdfbf7;
  --color-bg-orange: #fff7ed;
  
  --color-gold-50: #fefce8;
  --color-gold-100: #fef9c3;
  --color-gold-200: #fef08a;
  --color-gold-500: #ca8a04;
  --color-gold-600: #a16207;
  --color-gold-700: #854d0e;
  
  --color-orange-50: #fff7ed;
  --color-orange-100: #ffedd5;
  --color-orange-200: #fed7aa;
  --color-orange-500: #f97316;
  --color-orange-600: #ea580c;
  --color-orange-700: #c2410c;
  
  --color-dark-900: #0f172a;
  --color-dark-800: #1e293b;
  --color-dark-600: #475569;
  --color-dark-400: #94a3b8;
  
  /* Semantic Colors */
  --primary: var(--color-gold-600);
  --primary-hover: var(--color-gold-700);
  --secondary: var(--color-orange-500);
  --secondary-hover: var(--color-orange-600);
  --text-dark: var(--color-dark-900);
  --text-body: var(--color-dark-800);
  --text-muted: var(--color-dark-600);
  --border-light: rgba(202, 138, 4, 0.15);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-glow-gold: 0 0 20px rgba(202, 138, 4, 0.2);
  --shadow-glow-orange: 0 0 20px rgba(249, 115, 22, 0.2);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1001;
  background-color: rgba(224, 242, 254, 0.5);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-orange-500));
  transition: width 0.1s ease-out;
}

/* Floating Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 20px 0;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

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

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

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

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo .logo-img {
  background-color: var(--color-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  height: 48px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange-500);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--text-dark);
}

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.cta-nav-btn {
  background: linear-gradient(135deg, var(--color-gold-600), var(--color-gold-500));
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.cta-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
  background: linear-gradient(135deg, var(--color-gold-700), var(--color-gold-600));
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: all var(--transition-normal);
  border-radius: 3px;
}

/* Section styling */
section {
  padding: 100px 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-orange-500);
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--color-gold-500);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 50px;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-content h1 span.highlight-gold {
  color: var(--color-gold-500);
}

.hero-content h1 span.highlight-orange {
  color: var(--color-orange-500);
  background: linear-gradient(120deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
  padding: 0 8px;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-600), var(--color-gold-500));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-gold), var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-gold-700), var(--color-gold-600));
}

.btn-secondary {
  background: var(--color-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--color-orange-200);
  color: var(--color-orange-600);
  box-shadow: var(--shadow-glow-orange), var(--shadow-md);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  background-color: var(--color-bg-light);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold-200);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange-500);
  margin-bottom: 4px;
}

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

/* Hero Visual Art (Dynamic Abstract Bullion Representation) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-canvas {
  width: 100%;
  height: 420px;
  position: relative;
}

.visual-bg-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.1) 0%, rgba(249, 115, 22, 0.02) 100%);
  border-radius: 50%;
  filter: blur(20px);
  animation: floatCircle 8s infinite ease-in-out;
}

.gold-bar-graphic {
  position: absolute;
  width: 240px;
  height: 140px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 20px 40px rgba(234, 88, 12, 0.25);
  transform: rotate(-15deg) translateY(-20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--color-white);
  z-index: 2;
  transition: all var(--transition-slow);
}

.gold-bar-graphic:hover {
  transform: rotate(-10deg) translateY(-30px) scale(1.03);
  box-shadow: var(--shadow-xl), 0 25px 50px rgba(234, 88, 12, 0.4);
}

.gold-bar-graphic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
  border-radius: inherit;
  pointer-events: none;
}

.gold-bar-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0.9;
}

.gold-bar-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gold-bar-spec {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 1px;
}

.gold-bar-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.market-trend-card {
  position: absolute;
  width: 220px;
  bottom: 30px;
  right: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: floatCard 6s infinite ease-in-out;
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.trend-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trend-badge {
  background-color: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.trend-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}

.trend-graph {
  height: 40px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 10px;
}

.graph-bar {
  flex: 1;
  background-color: var(--color-gold-200);
  border-radius: 2px;
  transition: height 0.5s ease;
}

.graph-bar:nth-child(even) {
  background-color: var(--color-gold-500);
}

.graph-bar:last-child {
  background-color: var(--color-orange-500);
}

/* Animations */
@keyframes floatCircle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Background & Objectives Section */
#background-objectives {
  border-top: 1px solid var(--border-light);
  background: radial-gradient(circle at 100% 0%, var(--color-gold-50) 0%, transparent 40%);
}

.bg-obj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.background-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.background-text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.pull-quote {
  border-left: 4px solid var(--color-orange-500);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Objectives Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.obj-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.obj-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-gold-500);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.obj-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  border-color: var(--color-gold-100);
}

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

.obj-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-gold-50);
  color: var(--color-gold-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all var(--transition-fast);
}

.obj-card:hover .obj-icon {
  background-color: var(--color-gold-500);
  color: var(--color-white);
}

.obj-card.alt-accent::before {
  background-color: var(--color-orange-500);
}

.obj-card.alt-accent:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow-orange);
  border-color: var(--color-orange-100);
}

.obj-card.alt-accent:hover .obj-icon {
  background-color: var(--color-orange-500);
  color: var(--color-white);
}

.obj-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.obj-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Vision & Mission Section */
#vision-mission {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.vm-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vm-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.vm-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  top: -75px;
  right: -75px;
  opacity: 0.1;
  transition: transform 1s var(--transition-slow);
}

.vm-card.vision::after {
  background-color: var(--color-gold-500);
}

.vm-card.mission::after {
  background-color: var(--color-orange-500);
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.vm-card:hover::after {
  transform: scale(2);
}

.vm-card.vision:hover {
  border-color: var(--color-gold-200);
}

.vm-card.mission:hover {
  border-color: var(--color-orange-200);
}

.vm-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.vm-card.vision .vm-icon-wrap {
  background-color: var(--color-gold-50);
  color: var(--color-gold-600);
}

.vm-card.mission .vm-icon-wrap {
  background-color: var(--color-orange-50);
  color: var(--color-orange-500);
}

.vm-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.vm-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.vm-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.vm-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.vm-card.vision .vm-list li::before {
  background-color: var(--color-gold-100);
  color: var(--color-gold-700);
}

.vm-card.mission .vm-list li::before {
  background-color: var(--color-orange-100);
  color: var(--color-orange-700);
}

/* Timeline Section */
#timeline {
  background: radial-gradient(circle at 0% 100%, var(--color-orange-50) 0%, transparent 40%);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Vertical Line */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--color-gold-100);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-gold-500), var(--color-orange-500));
  transform: translateX(-50%);
  z-index: 2;
  transition: height 0.5s ease-out;
  height: 0; /* Updated via JS */
}

/* Timeline Nodes */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  z-index: 3;
  opacity: 0.3;
  transform: scale(0.95);
  transition: all var(--transition-slow);
}

.timeline-item.active {
  opacity: 1;
  transform: scale(1);
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

/* Node circle */
.timeline-dot {
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 4px solid var(--color-gold-200);
  z-index: 4;
  transition: all var(--transition-normal);
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.timeline-item.active .timeline-dot {
  background-color: var(--color-orange-500);
  border-color: var(--color-orange-200);
  transform: scale(1.3);
  box-shadow: var(--shadow-glow-orange);
}

/* Card content */
.timeline-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

.timeline-item.active .timeline-card {
  border-color: var(--color-orange-200);
  border-top: 4px solid var(--color-orange-500);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gold-600);
  margin-bottom: 8px;
}

.timeline-item.active .timeline-year {
  color: var(--color-orange-500);
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About Us Section */
#about-us {
  border-top: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

.feature-box {
  background-color: var(--color-bg-light);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-md);
}

.feature-box h5 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-gold-600);
}

.feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Form Card */
.contact-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-dark-400);
  background-color: var(--color-white);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-gold-500);
  box-shadow: var(--shadow-glow-gold);
}

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

.form-submit-btn {
  width: 100%;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 60px;
  height: 60px;
  background-color: #dcfce7;
  color: #166534;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-box h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer styling */
footer {
  background-color: var(--color-dark-900);
  color: var(--color-white);
  padding: 60px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  color: var(--color-white);
}

.footer-logo span {
  color: var(--color-orange-500);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.5;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

/* Hero Carousel Styling */
.carousel-container {
  width: 100%;
  height: 420px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  padding: 30px 24px 20px;
  color: var(--color-white);
  z-index: 3;
}

.carousel-caption h3 {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.carousel-caption p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--color-white);
  color: var(--color-orange-600);
  box-shadow: var(--shadow-glow-orange), var(--shadow-lg);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--color-orange-500);
  transform: scale(1.2);
  box-shadow: var(--shadow-glow-orange);
}

/* Members Section Styling */
#members {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.member-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 230px;
  position: relative;
  overflow: hidden;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  border-color: var(--color-gold-200);
}

.member-logo-wrap {
  height: 60px;
  display: flex;
  width: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-gold-600);
  transition: color var(--transition-fast);
}

.member-card:hover .member-logo-wrap {
  color: var(--color-orange-500);
}

.member-logo-wrap svg {
  height: 50px;
  width: auto;
  fill: currentColor;
}

.member-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.member-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.type-bank {
  background-color: var(--color-gold-50);
  color: var(--color-gold-700);
}

.type-refinery {
  background-color: var(--color-orange-50);
  color: var(--color-orange-700);
}

.type-custody {
  background-color: #f1f5f9;
  color: #475569;
}

.type-liquidity {
  background-color: #ecfdf5;
  color: #047857;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-grid {
    gap: 40px;
  }
  
  .bg-obj-grid {
    gap: 40px;
  }

  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 100px 40px;
    align-items: flex-start;
    transition: right var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Menu Hamburger Animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-description {
    margin: 0 auto 30px;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .carousel-container {
    height: 320px;
    margin-bottom: 20px;
  }
  
  .bg-obj-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .objectives-grid {
    grid-template-columns: 1fr;
  }
  
  .vm-container {
    grid-template-columns: 1fr;
  }
  
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  /* Timeline Responsive */
  .timeline-line,
  .timeline-progress {
    left: 24px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 54px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-dot {
    left: 16px !important;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}
