/* ============================================================
   LAKSHMAN PRASAD ACHARYA — ULTRA-PREMIUM DESIGN SYSTEM
   ============================================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette — Deep Blue + Forest Green */
  --deep-navy: #0a1628;
  --navy-mid: #122040;
  --navy-accent: #1a3060;
  --forest-green: #1a5c3a;
  --forest-light: #2a7a50;
  --forest-mist: #3a9a68;
  --saffron: #e87d2f;
  --saffron-glow: #f09848;
  --saffron-deep: #c86820;
  --gold: #c4a044;
  --gold-light: #d4b864;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f5f3ee;
  --cream: #ebe7de;
  --silver: #c8c4bc;
  --gray-300: #a0a0a0;
  --gray-500: #6a6a6a;
  --gray-700: #3a3a3a;
  --dark: #111111;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.10);
  --glass-strong: rgba(255, 255, 255, 0.15);
  --glass-dark: rgba(10, 22, 40, 0.65);
  --glass-dark-strong: rgba(10, 22, 40, 0.85);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Borders */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.25);
  --shadow-glow-saffron: 0 0 40px rgba(232, 125, 47, 0.25);
  --shadow-glow-green: 0 0 40px rgba(42, 122, 80, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.7s var(--ease-out);
  --transition-dramatic: 1.2s var(--ease-out);
}

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

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

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

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

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

a:hover {
  color: var(--saffron-glow);
}

::selection {
  background: var(--saffron);
  color: var(--white);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
h6 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--saffron); }

p {
  font-size: 1.05rem;
  color: var(--silver);
  margin-bottom: 1.25rem;
}

.lead-text {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 400;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-asym-left {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: start;
}

.grid-asym-right {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* --- Glass Components --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card-strong {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.glass-panel {
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-glow-saffron);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 60px rgba(232, 125, 47, 0.35);
  color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--saffron);
  color: var(--saffron);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 1.25rem 0;
}

.site-nav.scrolled {
  background: var(--glass-dark-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-brand span {
  color: var(--saffron);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width var(--transition-base);
}

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

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--glass-dark-strong);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.mobile-menu a:hover {
  opacity: 1;
  color: var(--saffron);
}

.mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* --- Hero Sections --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(26, 92, 58, 0.35) 50%, rgba(10, 22, 40, 0.75) 100%);
  z-index: 1;
}

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

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--saffron);
}

.hero-desc {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 640px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--glass-border);
}

.hero-stat h3 {
  font-size: 2.4rem;
  color: var(--saffron);
  font-weight: 800;
}

.hero-stat p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  margin-top: 0.25rem;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.6) 0%, rgba(10, 22, 40, 0.95) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--saffron), var(--forest-green), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 3rem;
  width: 50%;
  position: relative;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  justify-content: flex-start;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--saffron);
  border: 3px solid var(--deep-navy);
  box-shadow: 0 0 20px rgba(232, 125, 47, 0.4);
}

.timeline-item::after {
  right: -8px;
}

.timeline-item:nth-child(even)::after {
  left: -8px;
  right: auto;
}

.timeline-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  max-width: 420px;
  margin-right: 2rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all var(--transition-base);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 2rem;
  margin-right: 0;
}

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

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--saffron);
}

.timeline-title {
  font-size: 1.1rem;
  color: var(--white);
  margin: 0.5rem 0;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.6;
}

/* --- Feature Cards --- */
.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--forest-green));
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-glow-saffron);
}

/* --- Stat Cards --- */
.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: var(--glass-hover);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* --- Quote Block --- */
.quote-block {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(135deg, var(--glass-bg), rgba(26, 92, 58, 0.1));
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
}

.quote-block::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--saffron);
  opacity: 0.2;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--cream);
  line-height: 1.7;
  font-style: italic;
}

.quote-author {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--saffron);
  font-weight: 600;
}

/* --- Divider --- */
.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--forest-green));
  border-radius: 2px;
  margin: 1.5rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Back-to-Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow-saffron);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.08);
}

/* --- Image Block --- */
.img-block {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

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

.img-block:hover img {
  transform: scale(1.03);
}

.img-block-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
}

/* --- Footer --- */
.mega-footer {
  background: linear-gradient(180deg, var(--deep-navy), #060e1a);
  padding: var(--space-3xl) 0 0;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--saffron);
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  font-size: 0.92rem;
  color: var(--gray-300);
  transition: all var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--gray-300);
}

.footer-contact-item .icon {
  color: var(--saffron);
  font-size: 1.1rem;
  margin-top: 2px;
}

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

.footer-newsletter input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
  margin-bottom: 0.75rem;
}

.footer-newsletter input::placeholder {
  color: var(--gray-500);
}

.footer-newsletter input:focus {
  border-color: var(--saffron);
}

.footer-newsletter button {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-saffron);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credit {
  font-size: 0.82rem;
  color: var(--gray-500);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* --- Decorative Elements --- */
.deco-line {
  position: absolute;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--saffron), transparent);
  opacity: 0.2;
}

.deco-circle {
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  opacity: 0.1;
}

.deco-glow {
  position: absolute;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(232, 125, 47, 0.15), transparent 70%);
  pointer-events: none;
}

/* --- Password Gate Specific --- */
.gate-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--deep-navy);
}

.gate-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gate-bg-pattern .geo-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(232, 125, 47, 0.06), transparent);
  height: 1px;
}

.gate-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.gate-emblem {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--saffron), var(--forest-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 0 50px rgba(232, 125, 47, 0.3);
}

.gate-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.gate-subtitle {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.gate-input-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.gate-input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  outline: none;
  transition: all var(--transition-fast);
}

.gate-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 20px rgba(232, 125, 47, 0.15);
}

.gate-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.15);
  animation: shake 0.5s ease;
}

.gate-input.success {
  border-color: var(--forest-green);
  box-shadow: 0 0 20px rgba(42, 122, 80, 0.2);
}

.gate-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.gate-toggle:hover {
  color: var(--white);
}

.gate-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-saffron);
}

.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(232, 125, 47, 0.4);
}

.gate-error-msg {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gate-error-msg.visible {
  opacity: 1;
}

.gate-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Gate success overlay */
.gate-success-overlay {
  position: fixed;
  inset: 0;
  background: var(--deep-navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.gate-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.gate-success-content {
  text-align: center;
}

.gate-success-check {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--forest-green), var(--forest-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
  animation: pulseGreen 1.5s ease infinite;
}

.gate-success-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--saffron);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-500);
}

/* --- Keyframes --- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 20px rgba(42, 122, 80, 0.3); }
  50% { box-shadow: 0 0 50px rgba(42, 122, 80, 0.5); }
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes geoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Content page specific --- */
.content-section {
  padding: var(--space-3xl) 0;
}

.content-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.article-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.article-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-2, .grid-asym-left, .grid-asym-right {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding-left: 50px;
  }

  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 12px;
    right: auto;
  }

  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .section { padding: var(--space-xl) 0; }
  .container, .container-wide { padding: 0 1.25rem; }

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

  .grid-3 { grid-template-columns: 1fr; }

  .hero { min-height: 90vh; }
  .hero .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero .container > div[style*="grid-template-columns"] > div:last-child {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  .hero .container > div[style*="grid-template-columns"] > div:last-child > div:first-child {
    width: 260px !important;
    height: 320px !important;
  }
  .hero-stats { flex-direction: column; gap: 1.25rem; }

  .page-hero { min-height: 50vh; padding: 5rem 0 3rem; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .gate-card { margin: 1rem; padding: 2.5rem 1.75rem; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .gate-card { padding: 2rem 1.25rem; }
  .gate-emblem { width: 60px; height: 60px; font-size: 1.5rem; }
}
