/* ==========================================================================
   HASTA BAHADUR CHHETRI - PORTFOLIO STYLES
   Imperial Luxury, Modern Glassmorphism, Royal Gold & British Prestigious Navy
   ========================================================================== */

:root {
  --bg-dark: #070a11;
  --bg-card: rgba(16, 23, 38, 0.75);
  --bg-card-border: rgba(212, 175, 55, 0.25);
  --bg-card-hover: rgba(24, 34, 56, 0.85);
  
  --gold-100: #fff9e6;
  --gold-200: #ffecb3;
  --gold-300: #ffe082;
  --gold-primary: #d4af37;
  --gold-dark: #997519;
  --gold-gradient: linear-gradient(135deg, #fff2be 0%, #d4af37 50%, #9e731b 100%);
  --royal-purple: #1e102f;
  --royal-blue: #0b1a36;
  --royal-red: #8b0000;
  
  --text-main: #f0f4f8;
  --text-muted: #9ba8ba;
  --text-gold: #e6c86e;
  
  --font-serif: 'Cinzel', serif;
  --font-editorial: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.15);
  --shadow-royal: 0 16px 48px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 30%, rgba(30, 16, 47, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 0% 70%, rgba(11, 26, 54, 0.4) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background Particle Canvas */
#sparkleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Audio toggle widget floating */
.audio-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

.audio-widget button {
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-200);
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 10px rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.audio-widget button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
  background: rgba(22, 32, 54, 0.95);
}

/* Announcement Top Bar */
.top-announcement {
  background: linear-gradient(90deg, #570000 0%, #850c0c 30%, #460000 70%, #1a0202 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.85rem;
  position: relative;
  z-index: 50;
}

.announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

.badge-live {
  background: var(--gold-gradient);
  color: #1a1000;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.announcement-link {
  background: transparent;
  border: none;
  color: var(--gold-300);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 6px;
  font-family: inherit;
}

/* Main Navigation Header */
.royal-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 10, 17, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.royal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-crest {
  width: 44px;
  height: 44px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.crown-svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text .subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.btn-royal-sm {
  background: var(--gold-gradient);
  color: #120b02 !important;
  font-weight: 700 !important;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #ffd54f;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.btn-royal-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5);
}

/* Common Layout */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px;
  position: relative;
  z-index: 10;
}

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

.section-heading {
  margin-bottom: 50px;
}

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

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.heading-flourish {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin: 12px 0 16px;
  opacity: 0.8;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #140d02;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid #ffe082;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
}

.btn-secondary {
  background: rgba(26, 36, 56, 0.8);
  color: var(--gold-200);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(36, 50, 78, 0.9);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 60px 24px 90px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.royal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--gold-300);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

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

.hero-lead {
  font-size: 1.15rem;
  color: #cfd8e3;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 36px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-royal);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 6px;
}

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

.stat-separator {
  width: 1px;
  height: 44px;
  background: rgba(212, 175, 55, 0.2);
}

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

.quick-status-card {
  background: rgba(11, 20, 36, 0.6);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 1.5px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ed573;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(46, 213, 115, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

.flight-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.plane-anim {
  color: var(--gold-300);
  letter-spacing: 2px;
  font-size: 0.8rem;
}

/* Hero Visual / Insignia Frame */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.insignia-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25), rgba(16, 23, 38, 0.8));
  box-shadow: var(--shadow-royal), 0 0 40px rgba(212, 175, 55, 0.15);
}

.portrait-placeholder {
  background: radial-gradient(circle at 50% 30%, #152238 0%, #080d18 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.heraldic-lion-crest {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
  animation: floatShield 6s ease-in-out infinite;
}

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

.portrait-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-200);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.portrait-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.badge-ribbon {
  display: inline-block;
  background: linear-gradient(90deg, #8b0000 0%, #a81c1c 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 1px;
  border: 1px solid var(--gold-primary);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(14, 21, 36, 0.92);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -15px;
  right: -15px;
}

.badge-bottom-left {
  bottom: -15px;
  left: -15px;
  animation-delay: -2.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.floating-badge .icon {
  font-size: 1.5rem;
}

.floating-badge .text {
  display: flex;
  flex-direction: column;
}

.floating-badge strong {
  font-size: 0.88rem;
  color: #fff;
}

.floating-badge span {
  font-size: 0.74rem;
  color: var(--gold-300);
}

/* ==========================================================================
   THE ROYAL DECREE (PARCHMENT & WAX SEAL)
   ========================================================================== */
.decree-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(30, 16, 47, 0.4) 0%, transparent 80%);
}

.parchment-wrapper {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.parchment-sheet {
  background: #fdfbf7;
  color: #2b221b;
  border-radius: 8px;
  padding: 60px 70px;
  box-shadow: 
    0 0 0 1px #d4af37,
    0 0 0 8px #1a1510,
    0 0 0 10px #c59b27,
    0 25px 60px rgba(0,0,0,0.85);
  position: relative;
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  line-height: 1.75;
}

/* Subtle parchment aged border decoration */
.parchment-sheet::before {
  content: "";
  position: absolute;
  top: 15px; left: 15px; right: 15px; bottom: 15px;
  border: 1px solid #d4af37;
  pointer-events: none;
  opacity: 0.6;
}

.palace-crest-top {
  text-align: center;
  margin-bottom: 24px;
}

.cypher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #8b0000;
  font-weight: 900;
  letter-spacing: 2px;
}

.palace-header {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1e1510;
  margin-top: 6px;
}

.palace-address {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: #6d5b4d;
  font-family: var(--font-sans);
  text-transform: uppercase;
}

.seal-date {
  font-size: 0.9rem;
  color: #8a2be2;
  color: #8b0000;
  font-style: italic;
  margin-top: 4px;
}

.royal-divider {
  border: none;
  border-top: 1px double #c59b27;
  margin: 20px 0 28px;
  opacity: 0.6;
}

.letter-body .salutation {
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.letter-body p {
  margin-bottom: 18px;
  text-align: justify;
}

.letter-body .closing {
  margin-top: 30px;
  font-style: italic;
}

.letter-signature-area {
  margin-top: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.royal-signature {
  max-width: 380px;
}

.sig-script {
  font-family: var(--font-editorial);
  font-size: 3.2rem;
  font-style: italic;
  font-weight: 700;
  color: #1b120c;
  line-height: 1;
  margin-bottom: 8px;
  transform: rotate(-3deg);
}

.sig-title {
  font-size: 0.95rem;
  color: #554433;
  line-height: 1.4;
  border-top: 1px solid #c59b27;
  padding-top: 6px;
}

/* Wax Seal Interaction */
.wax-seal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.wax-seal {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 35% 35%, #bf1b1b, #6b0404);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 15px rgba(107, 4, 4, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -3px 6px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.wax-seal:hover {
  transform: scale(1.08) rotate(3deg);
}

.wax-seal:active {
  transform: scale(0.95);
}

.wax-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(255, 220, 180, 0.5);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #ffe6d5;
}

.seal-icon {
  font-size: 1.1rem;
}

.seal-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.seal-verify {
  font-size: 0.55rem;
  letter-spacing: 0.8px;
  opacity: 0.9;
  font-family: var(--font-sans);
}

.seal-status {
  font-size: 0.8rem;
  color: #6b0404;
  margin-top: 8px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: center;
  max-width: 140px;
}

/* ==========================================================================
   INTELLECT & POLYMATH METRICS
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.metric-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.metric-card.gold-glow {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.metric-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.metric-val {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}

.metric-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Cognitive Domains */
.cognitive-domains {
  background: rgba(12, 18, 30, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.domains-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-200);
  text-align: center;
  margin-bottom: 32px;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.domain-box {
  background: rgba(18, 26, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.domain-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 1.5px;
}

.domain-box h4 {
  font-size: 1.1rem;
  color: #fff;
  margin: 6px 0 12px;
}

.domain-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.skill-meter {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
}

/* ==========================================================================
   UK GLOBAL TALENT VISA DOSSIER
   ========================================================================== */
.visa-dossier-card {
  max-width: 900px;
  margin: 0 auto;
  background: #0d1527;
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-royal), 0 0 35px rgba(212, 175, 55, 0.15);
}

.dossier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.uk-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #fff;
}

.uk-flag {
  font-size: 1.5rem;
}

.dossier-id {
  font-family: monospace;
  color: var(--gold-300);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.dossier-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
}

.dossier-stamp-watermark {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 6rem;
  font-family: var(--font-serif);
  font-weight: 900;
  color: rgba(46, 213, 115, 0.08);
  border: 6px dashed rgba(46, 213, 115, 0.15);
  padding: 10px 40px;
  border-radius: 12px;
  pointer-events: none;
  letter-spacing: 10px;
}

.dossier-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dossier-row .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dossier-row .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.dossier-row .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.gold-highlight {
  color: var(--gold-300) !important;
  font-family: var(--font-serif);
  letter-spacing: 1px;
}

.status-approved {
  display: inline-block;
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  border: 1px solid #2ed573;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
}

.dossier-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.barcode {
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--gold-dark);
}

/* ==========================================================================
   MONUMENTAL FEATS
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 14px;
}

.project-summary {
  color: #bac7d5;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-bullets {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-bullets li {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.project-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.project-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.status-chip {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-200);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   DEPARTURE BOARD & COUNTDOWN
   ========================================================================== */
.departure-section {
  position: relative;
}

.flight-board {
  max-width: 960px;
  margin: 0 auto;
  background: #080c14;
  border: 2px solid #23304a;
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow-royal);
}

.flight-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #23304a;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.board-title {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffb703;
}

.board-clock {
  font-family: monospace;
  font-size: 1.1rem;
  color: #2ed573;
}

.flight-board-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.flight-board-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 2.5fr 1.3fr 2fr;
  padding: 12px 16px;
  font-family: monospace;
  font-size: 0.92rem;
  align-items: center;
  border-radius: 6px;
}

.header-row {
  background: #111a2c;
  color: #7e91ad;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.active-row {
  background: #16243d;
  color: #fff;
  border-left: 4px solid var(--gold-primary);
}

.flight-code {
  color: #ffe082;
  font-weight: 700;
}

.flight-vip {
  color: var(--gold-200);
  font-weight: 700;
}

.flight-status.blink {
  color: #2ed573;
  font-weight: 700;
  animation: blinkAnim 1s infinite alternate;
}

@keyframes blinkAnim {
  0% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Countdown */
.countdown-card {
  text-align: center;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  padding-top: 30px;
}

.countdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold-300);
  margin-bottom: 20px;
}

.timer-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #121d30;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  min-width: 85px;
}

.timer-segment .num {
  font-family: monospace;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.timer-segment .lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.timer-colon {
  font-size: 2rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.escort-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(10px);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold-primary);
  opacity: 0.3;
  margin-bottom: 8px;
}

.quote-text {
  font-size: 1.02rem;
  color: #e1e7f0;
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.author-info h4 {
  font-size: 0.98rem;
  color: #fff;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--gold-300);
}

/* ==========================================================================
   AUDIENCE PETITION / CONTACT FORM
   ========================================================================== */
.contact-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-royal);
  backdrop-filter: blur(12px);
}

.contact-header {
  margin-bottom: 36px;
}

.contact-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  margin: 8px 0 12px;
}

.contact-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.royal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #d1dcde;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10, 16, 28, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  background: rgba(15, 24, 42, 0.95);
}

.btn-large {
  padding: 15px 36px;
  font-size: 1.05rem;
}

.petition-success-msg {
  text-align: center;
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid #2ed573;
  border-radius: 12px;
  padding: 36px 24px;
  margin-top: 24px;
}

.petition-success-msg .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.petition-success-msg h3 {
  font-family: var(--font-serif);
  color: #2ed573;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.petition-success-msg p {
  color: #cfdbe6;
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.royal-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: #05070d;
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer-crest .crest-emoji {
  font-size: 2rem;
  letter-spacing: 6px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-200);
  margin: 12px 0 6px;
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.footer-links a {
  color: #8da0b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 0.78rem;
  color: #617288;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.small-disclaimer {
  font-style: italic;
  color: #4a5768;
}

/* ==========================================================================
   MODAL DIALOG (VISA VIGNETTE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background: #0f172a;
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-royal), 0 0 50px rgba(212, 175, 55, 0.25);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.visa-document {
  padding: 36px;
}

.visa-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.doc-royal-crest {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-300);
}

.doc-code {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.visa-vignette-box {
  background: #fffef8;
  color: #1a1a1a;
  border: 2px dashed #997519;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
}

.vignette-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-align: center;
  color: #0b1a36;
}

.vignette-type {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8b0000;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.vignette-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.photo-placeholder {
  background: #e9ecef;
  border: 1px solid #ced4da;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  gap: 6px;
}

.photo-placeholder .person-icon {
  font-size: 3rem;
}

.photo-placeholder .photo-name {
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
}

.photo-placeholder .photo-badge {
  background: #2ed573;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}

.vignette-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.vignette-seal-stamp {
  position: absolute;
  bottom: 20px;
  right: 20px;
  transform: rotate(-12deg);
}

.stamp-circle {
  width: 100px;
  height: 100px;
  border: 3px double #8b0000;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8b0000;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
  padding: 4px;
  opacity: 0.85;
}

.modal-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-stats-strip {
    width: 100%;
  }

  .quick-status-card {
    width: 100%;
  }

  .flight-board-row {
    grid-template-columns: 1fr 1.5fr 1fr;
  }

  .flight-board-row span:nth-child(3),
  .flight-board-row span:nth-child(4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .parchment-sheet {
    padding: 36px 24px;
    font-size: 1.15rem;
  }

  .letter-signature-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

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

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

  .photo-placeholder {
    height: 120px;
  }

  .nav-links {
    display: none; /* simple mobile hide */
  }

  .timer-display {
    gap: 8px;
  }

  .timer-segment {
    min-width: 65px;
    padding: 8px 12px;
  }

  .timer-segment .num {
    font-size: 1.8rem;
  }
}
