/* ============================================
   STYLES.CSS — Lt. Gen. K. T. Parnaik Website
   Ultra-Premium Leadership Design System
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --olive-deep: #2C3E2D;
  --olive-dark: #1A2B1A;
  --navy: #0A1628;
  --navy-light: #142038;
  --steel: #4A5568;
  --steel-light: #718096;
  --gold: #C9A84C;
  --gold-light: #D4AF37;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --off-white: #F7F5F0;
  --white: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #4A5568;
  --text-muted: #8896A6;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F5F0;
  --bg-dark: #0A1628;
  --bg-darker: #060E1A;
  --border-light: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.08);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-bg-light: rgba(255,255,255,0.85);
  --glass-border-light: rgba(255,255,255,0.25);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.7s ease;
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --nav-height: 80px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

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

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

ul, ol { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--navy);
}


/* ============================================
   LOCK SCREEN
   ============================================ */
#lock-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

.lock-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10,22,40,0.92), rgba(10,22,40,0.96)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 49px,
      rgba(201,168,76,0.05) 49px,
      rgba(201,168,76,0.05) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 49px,
      rgba(201,168,76,0.05) 49px,
      rgba(201,168,76,0.05) 50px
    );
  animation: lockBgShift 30s linear infinite;
}

@keyframes lockBgShift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 50px 50px, 50px 50px; }
}

.lock-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(201,168,76,0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(20,32,56,0.5) 0%, transparent 50%);
  animation: lockGlow 15s ease-in-out infinite alternate;
}

@keyframes lockGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, -20px); }
}

.lock-card {
  position: relative;
  z-index: 2;
  width: 420px;
  max-width: 90vw;
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.lock-emblem {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: grayscale(0.2);
}

.lock-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.lock-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 500;
}

.lock-input-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}

.lock-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 2px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.lock-input::placeholder {
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
}

.lock-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: rgba(255,255,255,0.08);
}

.lock-input.error {
  border-color: #E74C3C;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}

.lock-input.success {
  border-color: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.15);
}

.lock-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: 'Inter', sans-serif;
}

.lock-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.lock-btn:active {
  transform: translateY(0);
}

.lock-error {
  display: none;
  color: #E74C3C;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.lock-success-icon {
  display: inline-block;
  color: #2ECC71;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  animation: scaleIn 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake { animation: shake 0.6s ease; }


/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

.preloader-text {
  font-family: 'Playfair Display', serif;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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


/* ============================================
   MAIN CONTENT (hidden until auth)
   ============================================ */
#main-content {
  display: none;
  opacity: 0;
}

#main-content.visible {
  display: block;
}


/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99997;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition.active {
  transform: scaleY(1);
}


/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

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

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

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

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   CONTAINERS & SECTIONS
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 1.25rem;
}

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

.section-heading-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subheading {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.85;
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark .section-label {
  color: var(--gold);
}

.section-dark .section-heading {
  color: #fff;
}

.section-dark .section-heading::after {
  background: var(--gold);
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-alt {
  background: var(--bg-secondary);
}

.section-olive {
  background: var(--olive-deep);
  color: #fff;
}

.section-olive .section-heading { color: #fff; }
.section-olive p { color: rgba(255,255,255,0.7); }


/* ============================================
   HERO SECTIONS
   ============================================ */

/* --- Full-Height Hero (Homepage) --- */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-full .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(20,32,56,0.8) 50%, rgba(44,62,45,0.7) 100%);
}

.hero-full .hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 6rem;
}

.hero-full .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-full h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-full .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-decorations {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* --- Page Hero (Sub-pages) --- */
.hero-page {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-page .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(20,32,56,0.85) 100%);
}

.hero-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 6rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

.hero-page h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 800px;
}

.hero-page .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: 1.85;
  font-style: italic;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

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

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}


/* ============================================
   ASYMMETRIC LAYOUTS
   ============================================ */
.asym-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

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

.asym-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.asym-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
  pointer-events: none;
}

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

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

.gold-accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}


/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.glass-card-light {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* Standard Card */
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-glow), rgba(201,168,76,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}


/* ============================================
   CARD GRIDS
   ============================================ */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

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


/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin-top: 3rem;
}

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

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2rem);
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2rem);
  transform: translateX(20px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--navy);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  max-width: 480px;
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Dark timeline variant */
.section-dark .timeline::before {
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
}

.section-dark .timeline-content {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.section-dark .timeline-content h3 {
  color: #fff;
}

.section-dark .timeline-content p {
  color: rgba(255,255,255,0.6);
}


/* ============================================
   STATS / NUMBERS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.stat-description {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}


/* ============================================
   PULL QUOTES & BLOCKQUOTES
   ============================================ */
.pull-quote {
  position: relative;
  padding: 2.5rem 3rem;
  margin: 3rem 0;
  border-left: 4px solid var(--gold);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 0;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.section-dark .pull-quote {
  background: rgba(255,255,255,0.04);
  border-left-color: var(--gold);
}

.section-dark .pull-quote p {
  color: rgba(255,255,255,0.85);
}

blockquote {
  position: relative;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-left: 3px solid var(--gold);
  font-style: italic;
}

blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.7;
}


/* ============================================
   ARTICLE LAYOUT (Insights page)
   ============================================ */
.article-layout {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

.article-layout h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.article-layout h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 1rem;
}

.article-layout p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.article-layout .article-image {
  margin: 2.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-layout .article-image img {
  width: 100%;
  object-fit: cover;
}

.article-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 4rem auto;
}


/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-grid {
  margin-top: 3rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  border-bottom: 1px solid var(--border-light);
}

.comparison-row:first-child {
  border-top: 1px solid var(--border-light);
}

.comparison-cell {
  padding: 1.75rem 2rem;
}

.comparison-cell h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.comparison-cell p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.comparison-cell.military {
  background: rgba(10,22,40,0.03);
}

.comparison-cell.governance {
  background: rgba(201,168,76,0.04);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.comparison-header {
  background: var(--navy) !important;
  color: #fff;
}

.comparison-header h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-align: center;
}


/* ============================================
   PRINCIPLES / FEATURES GRID
   ============================================ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.principle-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.principle-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-glow), rgba(201,168,76,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.principle-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.principle-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}


/* ============================================
   IMPACT / FEATURE ITEMS
   ============================================ */
.impact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.impact-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.impact-image img {
  width: 100%;
  object-fit: cover;
}

.impact-timeline {
  margin-top: 2rem;
}

.impact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.impact-marker {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
  position: relative;
}

.impact-item:not(:last-child) .impact-marker::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 24px);
  background: var(--border-light);
}

.impact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.impact-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}


/* ============================================
   DECISION DIAGRAM (CSS-based)
   ============================================ */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.decision-diagram {
  position: sticky;
  top: 120px;
}

.diagram-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
}

.diagram-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.diagram-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.diagram-node {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  width: 100%;
  max-width: 260px;
  color: #fff;
}

.diagram-arrow {
  width: 2px;
  height: 28px;
  background: var(--gold);
  position: relative;
}

.diagram-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gold);
}

.diagram-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.diagram-node-sm {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}


/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text a {
  color: var(--gold);
  font-weight: 600;
}

.contact-detail-text a:hover {
  color: var(--gold-light);
}

.contact-form-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.7);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-select option {
  background: var(--navy);
  color: #fff;
}

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

.input-error {
  border-color: #E74C3C !important;
}

/* Light form variant */
.form-light .form-group label {
  color: var(--text-secondary);
}

.form-light .form-input,
.form-light .form-select,
.form-light .form-textarea {
  background: var(--bg-secondary);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.form-light .form-input::placeholder,
.form-light .form-textarea::placeholder {
  color: var(--text-muted);
}


/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   MAP PLACEHOLDER
   ============================================ */
.map-placeholder {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
}

.map-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.3;
}

.map-placeholder-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Playfair Display', serif;
}


/* ============================================
   QUICK LINKS GRID
   ============================================ */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.quick-link-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.quick-link-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
}

.quick-link-card h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.quick-link-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}


/* ============================================
   INSIGHT CARDS
   ============================================ */
.insight-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.insight-card:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
  transform: translateY(-4px);
}

.insight-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
}


/* ============================================
   POLICY CARDS (larger content cards)
   ============================================ */
.policy-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
}

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

.policy-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.policy-card h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.75rem;
}

.policy-card p {
  font-size: 0.92rem;
  line-height: 1.8;
}


/* ============================================
   OFFICE CARD
   ============================================ */
.office-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.office-icon {
  font-size: 3rem;
  color: var(--gold);
  flex-shrink: 0;
}

.office-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.office-card p {
  color: rgba(255,255,255,0.6);
  margin: 0;
  font-size: 0.95rem;
}


/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.gold-line-h {
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.gold-line-v {
  width: 3px;
  height: 60px;
  background: var(--gold);
}

.decorative-border {
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
}

.decorative-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--gold);
}

.section-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
}


/* ============================================
   AWARDS / MEDALS DISPLAY
   ============================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.award-card {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02));
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.3);
}

.award-medal {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.award-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.award-card .award-full {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.award-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================
   PERSONAL ATTRIBUTES GRID
   ============================================ */
.attributes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.attribute-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--navy);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.attribute-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.2);
}

.attribute-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.attribute-card h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.attribute-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.6;
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

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

.footer-about {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.5);
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  padding: 0.35rem 0;
  transition: color var(--transition), padding-left var(--transition);
}

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #fff;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

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

.footer-credit a:hover {
  color: #fff;
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

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

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}


/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal="fade-up"] {
  transform: translateY(40px);
}

.reveal[data-reveal="fade-left"] {
  transform: translateX(-40px);
}

.reveal[data-reveal="fade-right"] {
  transform: translateX(40px);
}

.reveal[data-reveal="scale-in"] {
  transform: scale(0.9);
}

.reveal[data-reveal="fade-in"] {
  transform: none;
}

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

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

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

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


/* ============================================
   LAZY LOADED IMAGES
   ============================================ */
img.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.lazy.loaded {
  opacity: 1;
}


/* ============================================
   TYPING CURSOR
   ============================================ */
.typing-text {
  border-right: 2px solid currentColor;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }

  .hero-full .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-decorations {
    max-width: 400px;
  }

  .asym-grid,
  .asym-grid-60-40,
  .asym-grid-40-60 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

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

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

  .contact-grid,
  .decision-grid,
  .impact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .decision-diagram {
    position: static;
  }
}

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

  section { padding: 5rem 0; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }

  .section-heading { font-size: 2rem; }

  .hero-full { min-height: 90vh; }
  .hero-full h1 { font-size: 2.2rem; }
  .hero-full .hero-subtitle { font-size: 1rem; }

  .hero-page { min-height: 45vh; }
  .hero-page h1 { font-size: 2rem; }
  .hero-page .hero-subtitle { font-size: 1rem; }

  /* Mobile Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .hamburger {
    display: flex;
  }

  .principles-grid,
  .cards-grid-3,
  .awards-grid,
  .attributes-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    max-width: 100%;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-divider {
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  .comparison-header {
    display: none;
  }

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

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

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .pull-quote {
    padding: 2rem;
  }

  .pull-quote p {
    font-size: 1.2rem;
  }

  .lock-card {
    padding: 2rem 1.5rem;
  }

  .office-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }

  .hero-full h1 { font-size: 1.8rem; }
  .hero-page h1 { font-size: 1.7rem; }

  .stat-number { font-size: 2.5rem; }

  .container,
  .container-narrow {
    padding: 0 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
