/* ============================================================
   VR Tour — Final unified stylesheet (v7)
   Single source. No appending. No regex tricks.
   ============================================================ */

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

:root {
  --navy: #04194e;
  --navy-light: #0a2570;
  --navy-darker: #020e2e;
  --gold: #FFC000;
  --border: #e5e7eb;
  --border-soft: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --bg: #f5f7fb;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --font: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow: 0 8px 24px -8px rgba(4, 25, 78, 0.18);
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body.vr-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
ol, ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.vr-header {
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
  height: 62px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vr-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: #fff; }
.vr-logo img { width: 38px; height: 38px; object-fit: contain; }
.vr-logo-uni { font-size: 0.95rem; font-weight: 800; line-height: 1.2; }
.vr-logo-sub { font-size: 0.72rem; color: #cbd5e1; letter-spacing: 0.04em; }
.vr-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.vr-nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.vr-nav a:hover, .vr-nav a.active { background: rgba(255,255,255,0.10); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.vr-hero {
  position: relative;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.vr-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 192, 0, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}
.vr-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: 0.5;
}
.vr-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.vr-hero-badge {
  display: inline-block;
  background: rgba(255, 192, 0, 0.14);
  color: var(--gold);
  border: 1px solid rgba(255, 192, 0, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin: 0 0 1.25rem;
}
.vr-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.vr-hero p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.vr-hero p strong { color: var(--gold); font-weight: 700; }
.vr-hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.vr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.vr-btn.primary { background: #fff; color: var(--navy); }
.vr-btn.primary:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.vr-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.vr-btn.ghost:hover { background: rgba(255,255,255,0.10); border-color: #fff; }

/* ============================================================
   STATS BAR
   ============================================================ */
.vr-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.vr-stat { background: #fff; padding: 1.5rem 1rem; text-align: center; transition: background 0.15s; }
.vr-stat:hover { background: var(--surface-alt); }
.vr-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  font-family: 'SFMono-Regular', Consolas, monospace;
  margin: 0 0 0.35rem;
}
.vr-stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

/* ============================================================
   SECTION WRAPPERS — IMPORTANT for max-width
   ============================================================ */
.vr-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  scroll-margin-top: 80px;
}
.vr-section-head { text-align: center; margin: 0 0 2rem; max-width: 700px; margin-inline: auto; }
.vr-section-head h2 { font-size: 1.7rem; font-weight: 800; color: var(--navy); margin: 0 0 0.5rem; }
.vr-section-head p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   MAP
   ============================================================ */
.vr-map-section { padding: 3rem 1.5rem 1.5rem; }
.vr-map {
  width: 100%;
  height: clamp(420px, 60vh, 620px);
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.vr-map .leaflet-container { font-family: inherit; background: var(--navy-darker); }
.vr-map-pin-wrap { background: transparent !important; border: none !important; }
.vr-map-pin {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--pin-color, #04194e);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.vr-map-pin:hover { transform: scale(1.3); }
.vr-map-pin-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; opacity: 0.85; }
.leaflet-tooltip.vr-map-tip {
  background: var(--navy); border: 1px solid var(--gold);
  color: #fff; font-family: var(--font);
  padding: 0.55rem 0.85rem; border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4); font-size: 0.85rem;
}
.leaflet-tooltip.vr-map-tip::before { border-top-color: var(--gold); }
.vr-tip-title { font-weight: 800; font-size: 0.9rem; }
.vr-tip-en { font-size: 0.7rem; color: #cbd5e1; font-family: 'SFMono-Regular', Consolas, monospace; margin-top: 2px; }
.vr-tip-type { font-size: 0.7rem; color: var(--gold); margin-top: 4px; }
.vr-tip-360 { font-size: 0.72rem; color: var(--gold); margin-top: 4px; font-weight: 700; }
.vr-tip-desc { color: #cbd5e1; margin: 0.5rem 0 0; font-size: 0.8rem; line-height: 1.5; }
.vr-tip-link { display: inline-block; color: var(--gold) !important; margin-top: 0.5rem; font-weight: 700; font-size: 0.82rem; text-decoration: none; }
.leaflet-popup-content-wrapper { background: var(--navy); color: #fff; border-radius: 10px; }
.leaflet-popup-content { margin: 0.75rem 1rem !important; min-width: 200px; }
.leaflet-popup-tip { background: var(--navy); }
.leaflet-control-zoom a { background: var(--navy) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.12) !important; }
.leaflet-control-zoom a:hover { background: var(--navy-light) !important; }
.leaflet-control-attribution { background: rgba(4, 25, 78, 0.7) !important; color: #cbd5e1 !important; border-radius: 4px; font-size: 0.65rem; }

/* ============================================================
   MAP LEGEND
   ============================================================ */
.vr-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 1rem auto 0;
  max-width: 900px;
}
.vr-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 16px;
  color: var(--text-muted);
}
.vr-map-legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ============================================================
   GROUP HEADER CARDS  (NEW design — prominent boxes per group)
   ============================================================ */
.vr-locations { padding-bottom: 2rem; }

.vr-group {
  margin: 0 0 2rem;
}
.vr-group:last-child { margin-bottom: 0; }

.vr-group-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: 14px;
  margin: 0 0 1.25rem;
  box-shadow: 0 8px 20px -10px rgba(4, 25, 78, 0.4);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.vr-group-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}
.vr-group-card-num {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255, 192, 0, 0.12);
  border: 1px solid rgba(255, 192, 0, 0.35);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.vr-group-card-text { position: relative; z-index: 1; min-width: 0; }
.vr-group-card-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
  line-height: 1.4;
}
.vr-group-card-text p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.6;
}
.vr-group-card-count {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.vr-group-card-count small { font-size: 0.65rem; color: #cbd5e1; margin-inline-start: 0.3rem; }

/* Per-type color accents on header */
.vr-group-card-gate     { background: linear-gradient(135deg, #b45309 0%, #d97706 100%); }
.vr-group-card-gate     .vr-group-card-num { color: #fff; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.vr-group-card-green    { background: linear-gradient(135deg, #065f46 0%, #15803d 100%); }
.vr-group-card-parking  { background: linear-gradient(135deg, #475569 0%, #64748b 100%); }

/* ============================================================
   GROUP CARDS GRID — RESPONSIVE
   ============================================================ */
.vr-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* ============================================================
   LOCATION CARD
   ============================================================ */
.vr-loc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  min-width: 0;
}
.vr-loc-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 12px 24px -10px rgba(4, 25, 78, 0.22);
}
.vr-loc-strip { height: 4px; width: 100%; flex-shrink: 0; }
.vr-loc-card-gate     .vr-loc-strip { background: #FFC000; }
.vr-loc-card-college  .vr-loc-strip { background: var(--navy); }
.vr-loc-card-facility .vr-loc-strip { background: #0a2570; }
.vr-loc-card-green    .vr-loc-strip { background: #15803d; }
.vr-loc-card-parking  .vr-loc-strip { background: #64748b; }

.vr-loc-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.vr-loc-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
}
.vr-loc-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.vr-loc-360 {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.vr-loc-360.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.vr-loc-360.active:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.vr-loc-body h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  line-height: 1.4;
}
.vr-loc-en {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}
.vr-loc-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  flex: 1;
}
.vr-loc-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.vr-loc-actions button,
.vr-loc-actions a {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.vr-loc-locate { background: var(--navy); color: #fff; border-color: var(--navy); }
.vr-loc-locate:hover { background: var(--navy-light); border-color: var(--navy-light); }
.vr-loc-link { background: transparent; color: var(--navy); }
.vr-loc-link:hover { background: var(--surface-alt); border-color: var(--navy); }

/* ============================================================
   CTA BANNER (bottom of homepage)
   ============================================================ */
.vr-cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}
.vr-cta-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.vr-cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  border: 1px solid var(--border);
  background: #fff;
}
.vr-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -10px rgba(4, 25, 78, 0.25);
  border-color: var(--navy);
}
.vr-cta-honor { background: linear-gradient(135deg, #fffbeb 0%, #fff 60%); border-color: rgba(255, 192, 0, 0.4); }
.vr-cta-honor:hover { border-color: #FFC000; }
.vr-cta-share { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-color: var(--navy); color: #fff; }
.vr-cta-share:hover { border-color: #fff; color: #fff; }

.vr-cta-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 14px;
  flex-shrink: 0;
}
.vr-cta-honor .vr-cta-icon { background: rgba(255, 192, 0, 0.18); color: #b45309; border: 1px solid rgba(255, 192, 0, 0.4); }
.vr-cta-share .vr-cta-icon { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }

.vr-cta-content { min-width: 0; }
.vr-cta-content h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 0.3rem; color: var(--navy); }
.vr-cta-share .vr-cta-content h3 { color: #fff; }
.vr-cta-content p { font-size: 0.9rem; margin: 0; line-height: 1.55; color: var(--text-muted); }
.vr-cta-share .vr-cta-content p { color: #cbd5e1; }
.vr-cta-content strong { color: var(--navy); }
.vr-cta-share .vr-cta-content strong { color: var(--gold); }

.vr-cta-arrow { font-size: 1.5rem; color: var(--text-dim); font-weight: 800; flex-shrink: 0; transition: transform 0.15s; }
.vr-cta-share .vr-cta-arrow { color: var(--gold); }
.vr-cta-card:hover .vr-cta-arrow { transform: translateX(-6px); }

/* ============================================================
   PAGE HERO (honor.php + contribute.php)
   ============================================================ */
.vr-page-hero {
  position: relative;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.vr-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: 0.5;
  z-index: -1;
}
.vr-page-hero-inner { max-width: 760px; margin: 0 auto; }
.vr-page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 800; margin: 0 0 1rem; color: #fff; line-height: 1.3; }
.vr-page-hero p { color: #cbd5e1; line-height: 1.8; margin: 0 auto 1.5rem; max-width: 600px; font-size: 0.98rem; }
.vr-page-hero-stats { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.vr-page-hero-stats > div { display: flex; flex-direction: column; align-items: center; color: #cbd5e1; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.vr-page-hero-stats > div span {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 1.8rem; font-weight: 800; color: var(--gold);
  line-height: 1; margin-bottom: 0.3rem;
}

/* ============================================================
   HONOR PAGE
   ============================================================ */
.vr-honor-main { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 1rem; }
.vr-honor-section-title { font-size: 1.4rem; font-weight: 800; color: var(--navy); text-align: center; margin: 0 0 2rem; }

.vr-podium-section { margin: 0 0 3rem; }
.vr-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: end;
  max-width: 720px;
  margin: 0 auto;
}
.vr-podium-step { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1rem; text-align: center; transition: transform 0.15s; }
.vr-podium-step:hover { transform: translateY(-3px); }
.vr-podium-rank-1 {
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
  border-color: rgba(255, 192, 0, 0.4); border-width: 2px;
  padding: 2rem 1rem; transform: scale(1.05);
  box-shadow: 0 12px 28px -10px rgba(255, 192, 0, 0.4);
}
.vr-podium-rank-1:hover { transform: scale(1.07) translateY(-3px); }
.vr-podium-medal { font-size: 2.5rem; margin: 0 0 0.5rem; }
.vr-podium-name { font-size: 1.02rem; font-weight: 800; color: var(--navy); margin: 0 0 0.5rem; line-height: 1.4; }
.vr-podium-info { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 0.85rem; line-height: 1.5; }
.vr-podium-college { display: inline-block; margin-top: 0.3rem; color: var(--text-muted); }
.vr-podium-count { background: var(--navy); color: #fff; padding: 0.45rem 0.65rem; border-radius: 8px; }
.vr-podium-num { display: block; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 1.25rem; font-weight: 800; line-height: 1; }
.vr-podium-unit { display: block; font-size: 0.62rem; color: #cbd5e1; margin-top: 0.2rem; letter-spacing: 0.04em; }

.vr-honor-rest { margin: 0 0 3rem; }
.vr-honor-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; }
.vr-honor-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.vr-honor-rank {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); color: var(--navy);
  border: 1px solid var(--border); border-radius: 50%;
  font-family: 'SFMono-Regular', Consolas, monospace; font-weight: 800;
  flex-shrink: 0;
}
.vr-honor-name { font-size: 1rem; font-weight: 800; color: var(--navy); }
.vr-honor-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.vr-honor-role { background: var(--surface-alt); border: 1px solid var(--border); padding: 0.1rem 0.5rem; border-radius: 10px; font-weight: 700; color: var(--navy); font-size: 0.72rem; }
.vr-honor-dot { color: var(--text-dim); }
.vr-honor-count { text-align: center; background: var(--navy); color: #fff; padding: 0.5rem 0.85rem; border-radius: 8px; min-width: 80px; }
.vr-honor-num { display: block; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 1.3rem; font-weight: 800; line-height: 1; }
.vr-honor-unit { display: block; font-size: 0.65rem; color: #cbd5e1; margin-top: 0.2rem; }

.vr-honor-empty-big {
  background: #fff; border: 2px dashed var(--border); border-radius: 16px;
  padding: 4rem 2rem; text-align: center; max-width: 600px; margin: 0 auto;
}
.vr-honor-trophy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  background: rgba(255, 192, 0, 0.12); border: 2px solid rgba(255, 192, 0, 0.4);
  color: var(--gold); border-radius: 50%;
  font-size: 2rem; font-weight: 800; margin: 0 0 1.25rem;
}
.vr-honor-empty-big h2 { color: var(--navy); font-size: 1.35rem; font-weight: 800; margin: 0 0 0.75rem; }
.vr-honor-empty-big p { color: var(--text-muted); margin: 0 0 1.5rem; font-size: 0.95rem; line-height: 1.7; }

.vr-honor-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; border-radius: 16px; padding: 2.5rem 2rem; text-align: center; margin: 3rem 0 0;
}
.vr-honor-cta h3 { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0 0 0.65rem; }
.vr-honor-cta p { color: #cbd5e1; margin: 0 0 1.5rem; line-height: 1.75; max-width: 540px; margin-inline: auto; }

/* ============================================================
   CONTRIBUTE PAGE
   ============================================================ */
.vr-contribute-main { max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem 1rem; }
.vr-section-h2 { font-size: 1.45rem; font-weight: 800; color: var(--navy); margin: 0 0 1.5rem; text-align: center; }

.vr-howto { margin: 0 0 3rem; }
.vr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.vr-step { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.25rem 1.25rem; }
.vr-step-num {
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.78rem; font-weight: 800;
  color: var(--navy); background: var(--surface-alt); border: 1px solid var(--border);
  padding: 0.25rem 0.55rem; border-radius: 6px; display: inline-block; margin: 0 0 0.85rem;
}
.vr-step h3 { color: var(--navy); font-size: 1.02rem; font-weight: 800; margin: 0 0 0.5rem; }
.vr-step p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }
.vr-step p strong { color: var(--navy); font-weight: 700; }
.vr-step p a { color: var(--navy); font-weight: 600; }

.vr-tips { background: var(--surface-alt); border-radius: 14px; padding: 2rem 1.75rem; margin: 0 0 3rem; }
.vr-tips-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin: 0; padding: 0;
}
.vr-tips-list li { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1.1rem; font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }
.vr-tips-list li strong { color: var(--navy); display: inline-block; margin-inline-end: 0.25rem; }
.vr-tips-list li a { color: var(--navy); font-weight: 700; }

/* ============================================================
   SUBMIT FORM
   ============================================================ */
.vr-submit-form { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; }
.vr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vr-field { display: block; margin: 0; min-width: 0; }
.vr-field-full { grid-column: 1 / -1; }
.vr-field > span { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin: 0 0 0.4rem; }
.vr-field > span em { color: #b91c1c; font-style: normal; margin-inline-start: 0.15em; }
.vr-field > span small { font-weight: 500; color: var(--text-muted); font-size: 0.78rem; margin-inline-start: 0.35em; }
.vr-field input, .vr-field select, .vr-field textarea {
  width: 100%; font-family: inherit; font-size: 0.95rem; padding: 0.6rem 0.85rem;
  border: 2px solid var(--border); border-radius: 8px; background: #fff; color: var(--text);
  transition: border-color 0.15s;
}
.vr-field input:focus, .vr-field select:focus, .vr-field textarea:focus { outline: none; border-color: var(--navy); }
.vr-field textarea { resize: vertical; min-height: 72px; }
.vr-hint { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.55; }
.vr-field input[type="file"] { padding: 0; border: 2px dashed var(--border); background: var(--surface-alt); cursor: pointer; }
.vr-field input[type="file"]::file-selector-button {
  background: var(--navy); color: #fff; border: none;
  padding: 0.65rem 1rem; font-family: inherit; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; margin-inline-end: 0.85rem; border-radius: 6px 0 0 6px;
}
.vr-field input[type="file"]::file-selector-button:hover { background: var(--navy-light); }

.vr-flash { padding: 1rem 1.25rem; border-radius: 10px; margin: 0 0 1.5rem; font-weight: 600; font-size: 0.92rem; line-height: 1.65; border: 1px solid; }
.vr-flash-success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.vr-flash-danger  { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.vr-flash-warn    { background: #fffbeb; border-color: #f59e0b; color: #92400e; }

.vr-submit-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border-soft);
}
.vr-submit-actions .vr-btn { padding: 0.75rem 1.6rem; }
.vr-submit-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; flex: 1; min-width: 200px; }

/* ============================================================
   FOOTER
   ============================================================ */
.vr-footer {
  background: var(--navy-darker); color: #cbd5e1; font-size: 0.78rem;
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.vr-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.vr-footer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .vr-form-grid { grid-template-columns: 1fr; }
  .vr-cta-banner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .vr-header { padding: 0.5rem 0.85rem; }
  .vr-logo-sub { display: none; }
  .vr-nav { gap: 0.2rem; }
  .vr-nav a { padding: 0.3rem 0.55rem; font-size: 0.75rem; }
  .vr-hero { padding: 3rem 1rem 2.5rem; }
  .vr-hero p { font-size: 0.92rem; }
  .vr-stat-num { font-size: 1.6rem; }
  .vr-section { padding: 2rem 1rem; }
  .vr-section-head h2 { font-size: 1.3rem; }
  .vr-group-card { grid-template-columns: auto 1fr; gap: 0.75rem; padding: 1rem 1.15rem; }
  .vr-group-card-count { grid-column: 1 / -1; justify-self: start; margin-top: 0.5rem; }
  .vr-group-card-text h2 { font-size: 1.05rem; }
  .vr-group-card-text p { font-size: 0.78rem; }
}
@media (max-width: 640px) {
  .vr-group-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .vr-podium { grid-template-columns: 1fr; max-width: 360px; }
  .vr-podium-rank-1 { transform: none; }
  .vr-podium-rank-1:hover { transform: translateY(-3px); }
  .vr-page-hero { padding: 2.5rem 1rem 2rem; }
  .vr-page-hero-stats { gap: 1.5rem; }
  .vr-page-hero-stats > div span { font-size: 1.5rem; }
  .vr-honor-item { grid-template-columns: auto 1fr; }
  .vr-honor-count { grid-column: 1 / -1; margin-top: 0.3rem; }
}
/* ============================================================
   i18n — Language toggle + LTR adjustments
   ============================================================ */
.vr-lang-toggle {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-family: 'SFMono-Regular', Consolas, monospace !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 18px !important;
  font-size: 0.78rem !important;
  border: 1px solid var(--gold) !important;
}
.vr-lang-toggle:hover { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }

/* LTR (English) — adjust some directional elements */
body.lang-en { font-family: 'Inter', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif; }
body.lang-en .vr-honor-meta,
body.lang-en .vr-loc-meta-top,
body.lang-en .vr-cta-content,
body.lang-en .vr-step-num,
body.lang-en .vr-honor-rank,
body.lang-en .vr-stat-num,
body.lang-en .vr-group-card-num,
body.lang-en .vr-group-card-count { direction: ltr; }

body.lang-en .vr-podium-medal,
body.lang-en .vr-honor-trophy { direction: ltr; }

body.lang-en .vr-cta-banner-grid .vr-cta-arrow { transform: scaleX(-1); }
