/* ═══════════════════════════════════════════════════════════════════
   O'ZBEKISTON MUSTAQILLIGINING 35 YILLIGI — DESIGN ENHANCEMENTS
   Palette: White · Navy #08203a · Azure #0c5b84 · Emerald #0f6b63 · Gold #b8960c
   ═══════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES — EXTENDED
────────────────────────────────────────────────────────────── */
:root {
  --gold:          #b8960c;
  --gold-light:    #d4ae3b;
  --gold-pale:     rgba(184, 150, 12, 0.10);
  --gold-glow:     rgba(184, 150, 12, 0.28);
  --azure-glow:    rgba(12, 91, 132, 0.18);
  --emerald-glow:  rgba(15, 107, 99, 0.18);
  --navy-glow:     rgba(8, 32, 58, 0.22);
  --shadow-lift:   0 16px 48px rgba(8, 32, 58, 0.14);
  --shadow-gold:   0 8px 32px rgba(184, 150, 12, 0.20);
  --t-fast:   160ms cubic-bezier(.4,0,.2,1);
  --t-med:    280ms cubic-bezier(.4,0,.2,1);
  --t-slow:   520ms cubic-bezier(.4,0,.2,1);
  --radius-card: 14px;
}

/* ──────────────────────────────────────────────────────────────
   2. SCROLL PROGRESS BAR (gold → azure → emerald gradient)
────────────────────────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: 0 0;
  transform: scaleX(0);
  background: linear-gradient(90deg, #b8960c 0%, #0c5b84 55%, #0f6b63 100%);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

/* ──────────────────────────────────────────────────────────────
   3. GLOBAL KEYFRAMES
────────────────────────────────────────────────────────────── */
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%);  }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes goldPulse {
  0%,100% { box-shadow: 0 0 0 0 var(--gold-glow); }
  50%      { box-shadow: 0 0 0 8px transparent;    }
}

@keyframes floatUp {
  0%   { transform: translateY(0)   rotate(0deg);   opacity: 0.7; }
  100% { transform: translateY(-80px) rotate(20deg); opacity: 0;   }
}

@keyframes presSlideIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ──────────────────────────────────────────────────────────────
   4. PRESENTATION STRIP — CROSSFADE + DRAMA
────────────────────────────────────────────────────────────── */

/* Top accent stripe above slider */
.presentation-strip {
  position: relative;
}
.presentation-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--deep, #08203a) 0%,
    var(--azure, #0c5b84) 35%,
    var(--gold) 55%,
    var(--emerald, #0f6b63) 80%,
    var(--deep, #08203a) 100%
  );
  z-index: 30;
}

/* Crossfade: all slides stack, toggle via opacity */
.pres-slide {
  display: block !important;
  position: absolute !important;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-slow);
  pointer-events: none;
}
.pres-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Stronger overlay — ensures text readability over any photo */
.presentation-strip__media::after {
  background: linear-gradient(
    115deg,
    rgba(3, 10, 22, 0.98) 0%,
    rgba(6, 22, 46, 0.97) 35%,
    rgba(8, 32, 58, 0.93) 65%,
    rgba(5, 20, 42, 0.88) 100%
  ) !important;
}

/* Golden border frame — dark tint + blue ambient glow for legibility */
.presentation-strip__frame {
  border: 1px solid rgba(184, 150, 12, 0.45) !important;
  background: rgba(5, 15, 30, 0.55) !important;
  backdrop-filter: none !important;
  box-shadow: 0 0 60px rgba(12, 91, 132, 0.25) inset !important;
  padding-bottom: 52px !important;
}

/* ── HERO TITLE: smaller, gradient shimmer white→sky-blue ── */
.presentation-strip__title {
  /* Override the 120px behemoth */
  font-size: clamp(1.8rem, 4.5vw, 3.6rem) !important;
  line-height: 1.10 !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 22ch;
  /* Shimmering white → azure gradient text */
  background: linear-gradient(
    135deg,
    #ffffff      0%,
    #b8e4ff     28%,
    #6ec6f5     52%,
    #ffffff     72%,
    #b8e4ff    100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 5s linear infinite !important;
  /* Soft glow text shadow via filter */
  filter: drop-shadow(0 2px 18px rgba(12, 91, 132, 0.55));
}

/* Fallback for browsers without -webkit-text-fill-color support */
@supports not (-webkit-text-fill-color: transparent) {
  .presentation-strip__title {
    color: #fff;
    text-shadow: 0 2px 24px rgba(12, 91, 132, 0.7), 0 1px 3px rgba(0,0,0,0.8);
  }
}

@keyframes titleShimmer {
  0%   { background-position: 200% center; }
  100% { background-position:   0% center; }
}

/* Eyebrow: gold, uppercase */
.presentation-strip__eyebrow {
  color: var(--gold-light, #d4ae3b) !important;
  letter-spacing: 0.20em !important;
  font-size: 0.75rem !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Lead text: crisp white with readable shadow */
.presentation-strip__lead {
  color: rgba(255,255,255,0.93) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.65);
  font-size: clamp(0.92rem, 1.8vw, 1.15rem) !important;
  max-width: 52ch !important;
  text-wrap: pretty;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

/* Animate title and text when slide becomes active */
.pres-slide.is-active .presentation-strip__title {
  animation: titleShimmer 5s linear infinite, presSlideIn 0.75s cubic-bezier(.22,1,.36,1) forwards !important;
}
.pres-slide.is-active .presentation-strip__lead {
  animation: presSlideIn 0.75s 0.12s cubic-bezier(.22,1,.36,1) both;
}
.pres-slide.is-active .minimal-hero__cta {
  animation: presSlideIn 0.75s 0.22s cubic-bezier(.22,1,.36,1) both;
}

/* Slider arrows — gold on hover */
.pres-arrow {
  background: rgba(8, 32, 58, 0.52) !important;
  border: 1px solid rgba(184, 150, 12, 0.35) !important;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) !important;
  backdrop-filter: blur(6px);
}
.pres-arrow:hover {
  background: rgba(184, 150, 12, 0.75) !important;
  border-color: var(--gold) !important;
  transform: translateY(-50%) scale(1.12) !important;
}

/* Dots */
.pres-dots { gap: 12px !important; }
.pres-dot {
  transition: background var(--t-med), transform var(--t-med), box-shadow var(--t-med) !important;
  cursor: pointer;
}
.pres-dot.is-active {
  background: var(--gold) !important;
  border-color: var(--gold-light) !important;
  transform: scale(1.45) !important;
  box-shadow: 0 0 10px var(--gold-glow) !important;
}

/* CTA button on hero: shimmer on hover */
.minimal-hero__cta {
  background: linear-gradient(135deg, #0a4d6f, var(--azure, #0c5b84)) !important;
  box-shadow: 0 10px 28px rgba(12, 91, 132, 0.38) !important;
  letter-spacing: 0.03em;
  overflow: hidden;
  position: relative;
}
.minimal-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 35%,
    rgba(255,255,255,0.22) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.minimal-hero__cta:hover::before {
  transform: translateX(100%);
}
.minimal-hero__cta:hover {
  box-shadow: 0 16px 40px rgba(12, 91, 132, 0.46) !important;
  transform: translateY(-2px) scale(1.01) !important;
}

/* ──────────────────────────────────────────────────────────────
   5. HEADER / NAVIGATION
────────────────────────────────────────────────────────────── */
.header-nav-bar {
  box-shadow: 0 4px 28px rgba(8, 32, 58, 0.55) !important;
  transition: box-shadow var(--t-med);
}

body.is-scrolled .header-nav-bar {
  box-shadow: 0 4px 32px rgba(8, 32, 58, 0.72) !important;
}

.nav-link {
  transition: color var(--t-fast), background var(--t-fast), letter-spacing var(--t-fast) !important;
  letter-spacing: 0.04em;
  position: relative;
}
.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--gold);
  transition: left var(--t-med), right var(--t-med);
  border-radius: 3px 3px 0 0;
}
.nav-link:hover::before {
  left: 0;
  right: 0;
}
.nav-link.is-active::before {
  left: 0;
  right: 0;
}
.nav-link.is-active {
  color: var(--gold) !important;
  background: rgba(255,255,255,0.09) !important;
  border-bottom: none !important;
}

/* Locale dropdown trigger */
.locale-dropdown__trigger {
  transition: background var(--t-fast), border-color var(--t-fast) !important;
}
.locale-dropdown__trigger:hover,
.locale-dropdown.is-open .locale-dropdown__trigger {
  border-color: var(--gold) !important;
}

/* ──────────────────────────────────────────────────────────────
   6. MINIMAL HIGHLIGHT CARDS (Homepage stat cards)
────────────────────────────────────────────────────────────── */
.minimal-card {
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med) !important;
  border-top: 3px solid transparent !important;
  border-radius: var(--radius-card) !important;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(12, 91, 132, 0.18), 0 0 16px rgba(12, 91, 132, 0.15) !important;
}
.minimal-card.is-azure  { border-top-color: var(--azure, #0c5b84) !important; }
.minimal-card.is-emerald{ border-top-color: var(--emerald, #0f6b63) !important; }

.minimal-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 0 0 1px rgba(12, 91, 132, 0.30), 0 0 32px rgba(12, 91, 132, 0.40), 0 8px 28px rgba(8, 32, 58, 0.20) !important;
  border-top-color: var(--gold) !important;
}

.minimal-card__value {
  background: linear-gradient(135deg, var(--deep, #08203a), var(--azure, #0c5b84));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.minimal-card.is-emerald .minimal-card__value {
  background: linear-gradient(135deg, var(--deep, #08203a), var(--emerald, #0f6b63));
  -webkit-background-clip: text;
  background-clip: text;
}

.minimal-card__icon {
  transition: transform var(--t-med), background var(--t-med) !important;
}
.minimal-card:hover .minimal-card__icon {
  transform: scale(1.18) rotate(-4deg);
}

/* ──────────────────────────────────────────────────────────────
   7. QUICK ACTION CARDS (Homepage)
────────────────────────────────────────────────────────────── */
.minimal-action {
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med), border-left-color var(--t-med) !important;
  border-left: 4px solid transparent !important;
  border-radius: var(--radius-card) !important;
  box-shadow: 0 0 0 1px rgba(12, 91, 132, 0.15), 0 0 14px rgba(12, 91, 132, 0.12) !important;
}
.minimal-action:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 0 0 1px rgba(12, 91, 132, 0.28), 0 0 28px rgba(12, 91, 132, 0.38), 0 8px 24px rgba(8, 32, 58, 0.18) !important;
  border-left-color: var(--azure, #0c5b84) !important;
}
.minimal-action__icon {
  transition: background var(--t-med), color var(--t-med), transform var(--t-med) !important;
}
.minimal-action:hover .minimal-action__icon {
  background: linear-gradient(135deg, var(--azure, #0c5b84), var(--emerald, #0f6b63)) !important;
  color: #fff !important;
  transform: scale(1.1);
}

/* ──────────────────────────────────────────────────────────────
   8. SECTION HEADINGS — GOLD ACCENT
────────────────────────────────────────────────────────────── */
.section-kicker,
.hero-kicker,
.card-kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.section-kicker::before,
.hero-kicker::before,
.card-kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-heading h2 {
  position: relative;
}
.section-heading h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 52px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--gold), var(--azure, #0c5b84));
  border-radius: 3px;
}

/* ──────────────────────────────────────────────────────────────
   9. GENERIC CARDS — HOVER LIFT
────────────────────────────────────────────────────────────── */
.card,
.panel,
.result-card,
.navigation-card {
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med) !important;
  border-radius: var(--radius-card) !important;
}
.card:hover,
.result-card:hover,
.navigation-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-lift) !important;
  border-color: rgba(12, 91, 132, 0.18) !important;
}

/* Color-themed cards: shimmer gleam on hover */
.feature-card,
.detail-hero {
  overflow: hidden;
  position: relative;
}
.feature-card::after,
.detail-hero::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,255,255,0.07) 50%,
    transparent 65%
  );
  transition: left 0.6s ease;
  pointer-events: none;
}
.feature-card:hover::after,
.detail-hero:hover::after {
  left: 140%;
}

/* ──────────────────────────────────────────────────────────────
   10. STAT CARDS — GRADIENT VALUE TEXT
────────────────────────────────────────────────────────────── */
.stat-card {
  transition: background var(--t-med), transform var(--t-med) !important;
  border-radius: var(--radius-card) !important;
}
.stat-card:hover {
  background: rgba(10, 47, 104, 0.08) !important;
  transform: translateY(-3px) !important;
}
.stat-card strong {
  background: linear-gradient(135deg, var(--deep, #08203a), var(--azure, #0c5b84));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ──────────────────────────────────────────────────────────────
   11. TIMELINE
────────────────────────────────────────────────────────────── */
.timeline-card {
  transition: transform var(--t-med), box-shadow var(--t-med) !important;
  border-radius: var(--radius-card) !important;
  border-top: 3px solid var(--gold-pale) !important;
}
.timeline-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-lift) !important;
  border-top-color: var(--gold) !important;
}
.timeline-year {
  font-size: 0.78rem !important;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: #8d6530;
  display: inline-block;
}
.timeline-item {
  transition: border-left-color var(--t-fast), background var(--t-fast) !important;
}
.timeline-item:hover {
  border-left-color: var(--azure, #0c5b84) !important;
  background: rgba(8, 32, 58, 0.05) !important;
}

/* ──────────────────────────────────────────────────────────────
   12. BUTTONS — SHIMMER + GLOW
────────────────────────────────────────────────────────────── */
.button {
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast) !important;
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,255,255,0.20) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.button:hover::after {
  transform: translateX(100%);
}
.button:hover {
  box-shadow: 0 14px 36px rgba(8, 32, 58, 0.30) !important;
  transform: translateY(-2px) !important;
}
.button-secondary {
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast) !important;
}
.button-secondary:hover {
  border-color: rgba(12, 91, 132, 0.38) !important;
  box-shadow: 0 6px 18px rgba(8, 32, 58, 0.10) !important;
  transform: translateY(-1px) !important;
}

/* ──────────────────────────────────────────────────────────────
   13. TEXT LINKS — ARROW ANIMATION
────────────────────────────────────────────────────────────── */
.text-link,
.section-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap var(--t-fast), color var(--t-fast) !important;
}
.text-link::after,
.section-link::after {
  content: "→";
  font-size: 0.88em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  display: inline-block;
}
.text-link:hover::after,
.section-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.text-link:hover,
.section-link:hover {
  gap: 7px;
  color: var(--azure, #0c5b84) !important;
}

/* ──────────────────────────────────────────────────────────────
   14. FILTER CHIPS
────────────────────────────────────────────────────────────── */
.chip {
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
}
.chip:hover {
  background: rgba(8, 32, 58, 0.10) !important;
  border-color: rgba(12, 91, 132, 0.20) !important;
}
.chip.is-active {
  background: linear-gradient(135deg, var(--deep, #08203a), var(--azure, #0c5b84)) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(8, 32, 58, 0.24) !important;
  border-color: transparent !important;
}

/* ──────────────────────────────────────────────────────────────
   15. BADGES
────────────────────────────────────────────────────────────── */
.badge {
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  border-radius: 999px !important;
}
.badge-gold {
  background: linear-gradient(
    135deg,
    rgba(181,138,63,0.16),
    rgba(184,150,12,0.10)
  ) !important;
  color: #8d6530 !important;
  border: 1px solid rgba(184,150,12,0.20) !important;
}

/* ──────────────────────────────────────────────────────────────
   16. MINI CARDS (governance)
────────────────────────────────────────────────────────────── */
.mini-card {
  transition: transform var(--t-med), box-shadow var(--t-med) !important;
  border-radius: var(--radius-card) !important;
}
.mini-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(8, 32, 58, 0.28) !important;
}

/* ──────────────────────────────────────────────────────────────
   17. RELATED CARDS
────────────────────────────────────────────────────────────── */
.related-card {
  transition: background var(--t-fast), transform var(--t-fast), border-left-color var(--t-fast) !important;
  border-left: 3px solid transparent !important;
  border-radius: 12px !important;
}
.related-card:hover {
  background: rgba(8, 32, 58, 0.07) !important;
  transform: translateX(5px) !important;
  border-left-color: var(--azure, #0c5b84) !important;
}

/* ──────────────────────────────────────────────────────────────
   18. SOCIAL CARDS
────────────────────────────────────────────────────────────── */
.social-card {
  transition: background var(--t-med), transform var(--t-med), box-shadow var(--t-med) !important;
  border: 1px solid rgba(8, 32, 58, 0.08) !important;
  border-radius: var(--radius-card) !important;
}
.social-card:hover {
  background: rgba(8, 32, 58, 0.10) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(8, 32, 58, 0.12) !important;
}

/* ──────────────────────────────────────────────────────────────
   19. FORM FIELDS
────────────────────────────────────────────────────────────── */
.field input,
.field select,
.field textarea {
  transition: border-color var(--t-fast), box-shadow var(--t-fast) !important;
  border-radius: 10px !important;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--azure, #0c5b84) !important;
  box-shadow: 0 0 0 4px var(--azure-glow) !important;
}
.field span {
  color: var(--deep, #08203a);
  font-size: 0.87rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────
   20. FOOTER — RICHER DARK GRADIENT + GOLD BORDER
────────────────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(
    175deg,
    rgba(8, 32, 58, 0.98) 0%,
    rgba(5, 15, 28, 1.0) 100%
  ) !important;
  border-top: 3px solid var(--gold) !important;
  padding-top: 50px !important;
}
.site-footer h3::after {
  content: "";
  display: block;
  height: 2px;
  width: 30px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 2px;
}
.simple-link {
  transition: color var(--t-fast), padding-left var(--t-fast) !important;
  padding-left: 0 !important;
}
.simple-link:hover {
  color: var(--gold-light) !important;
  padding-left: 7px !important;
}

/* ──────────────────────────────────────────────────────────────
   21. PAGE HERO — GRADIENT BOTTOM LINE
────────────────────────────────────────────────────────────── */
.page-hero,
.hero {
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--azure, #0c5b84) 0%,
    var(--gold) 50%,
    var(--emerald, #0f6b63) 100%
  );
  opacity: 0.8;
}

/* Make section hero text readable on vivid gradients */
.page-hero .page-hero-copy h1 {
  background: none !important;
  color: #0a2d52 !important;
  -webkit-text-fill-color: #0a2d52 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.page-hero .page-hero-copy p {
  color: rgba(241, 250, 255, 0.96) !important;
  text-shadow: 0 1px 10px rgba(4, 18, 34, 0.3);
}

.page-hero .section-kicker {
  color: rgba(227, 246, 255, 0.95) !important;
}

/* title shimmer disabled for better contrast */

/* ──────────────────────────────────────────────────────────────
   22. BLOCKQUOTE — GOLD LEFT BORDER
────────────────────────────────────────────────────────────── */
blockquote {
  border-left: 4px solid var(--gold) !important;
  background: rgba(184, 150, 12, 0.05) !important;
  border-radius: 0 14px 14px 0 !important;
  box-shadow: 0 4px 16px rgba(184, 150, 12, 0.08) !important;
}

/* ──────────────────────────────────────────────────────────────
   23. FRAME CARDS (media detail)
────────────────────────────────────────────────────────────── */
.frame-card {
  transition: transform var(--t-fast), box-shadow var(--t-fast) !important;
  border-radius: 16px !important;
}
.frame-card:hover {
  transform: scale(1.025) !important;
  box-shadow: 0 10px 24px rgba(8, 32, 58, 0.22) !important;
}

/* ──────────────────────────────────────────────────────────────
   24. APPEAL BOX — GOLD THEME
────────────────────────────────────────────────────────────── */
.appeal-box.theme-gold {
  background: linear-gradient(135deg, #8d6530, #c39753) !important;
  box-shadow: 0 8px 28px rgba(140, 100, 40, 0.28) !important;
}

/* ──────────────────────────────────────────────────────────────
   25. BREADCRUMBS
────────────────────────────────────────────────────────────── */
.breadcrumbs a {
  transition: color var(--t-fast) !important;
}
.breadcrumbs a:hover {
  color: var(--azure, #0c5b84) !important;
}

/* ──────────────────────────────────────────────────────────────
   26. SURFACE REVEAL — SMOOTHER ENTRANCE
────────────────────────────────────────────────────────────── */
.surface {
  transition:
    opacity 0.65s cubic-bezier(.4,0,.2,1),
    transform 0.65s cubic-bezier(.4,0,.2,1) !important;
}

/* ──────────────────────────────────────────────────────────────
   27. DETAIL HERO — COLORED TOP BORDER
────────────────────────────────────────────────────────────── */
.detail-hero {
  border-top: 4px solid transparent !important;
  border-radius: var(--radius-card) !important;
}
.detail-hero.theme-azure   { border-top-color: var(--azure, #0c5b84) !important; }
.detail-hero.theme-emerald { border-top-color: var(--emerald, #0f6b63) !important; }
.detail-hero.theme-gold    { border-top-color: var(--gold) !important; }
.detail-hero.theme-indigo  { border-top-color: #4f6486 !important; }

/* ──────────────────────────────────────────────────────────────
   28. SKIP LINK — BRANDED GOLD
────────────────────────────────────────────────────────────── */
.skip-link {
  background: var(--gold) !important;
  color: var(--deep, #08203a) !important;
  font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────
   29. FOCUS RING — AZURE
────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--azure, #0c5b84);
  outline-offset: 3px;
}

/* ──────────────────────────────────────────────────────────────
   30. CUSTOM SCROLLBAR
────────────────────────────────────────────────────────────── */
::-webkit-scrollbar            { width: 8px; }
::-webkit-scrollbar-track      { background: #f0f4f8; }
::-webkit-scrollbar-thumb      { background: rgba(12,91,132,0.28); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover{ background: rgba(12,91,132,0.50); }

/* ──────────────────────────────────────────────────────────────
   31. DECORATIVE UZBEK-INSPIRED PATTERN ELEMENTS
   (Subtle geometric accents using CSS only)
────────────────────────────────────────────────────────────── */

/* Ornamental dots pattern behind section headings */
.section-heading {
  position: relative;
}

/* Star-diamond bullet next to kicker text */
.section-kicker::after,
.hero-kicker::after,
.card-kicker::after {
  content: "◆";
  font-size: 0.55em;
  color: var(--gold);
  opacity: 0.7;
  display: inline-block;
  margin-left: 2px;
}

/* Decorative geometric separator used for important sections */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  opacity: 0.55;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-divider span {
  color: var(--gold);
  font-size: 1.1em;
}

/* ──────────────────────────────────────────────────────────────
   32. SCROLL-NAV (About page sidebar)
────────────────────────────────────────────────────────────── */
.scroll-nav a {
  transition: color var(--t-fast), padding-left var(--t-fast) !important;
  padding-left: 0;
  border-left: 2px solid transparent;
  padding: 4px 0 4px 10px;
  border-radius: 0 4px 4px 0;
}
.scroll-nav a:hover {
  color: var(--azure, #0c5b84) !important;
  border-left-color: var(--azure, #0c5b84) !important;
  background: rgba(12,91,132,0.05);
}

/* ──────────────────────────────────────────────────────────────
   33. LOCALE DROPDOWN — GOLD BORDER ON ACTIVE
────────────────────────────────────────────────────────────── */
.locale-dropdown__item.is-active {
  color: var(--gold) !important;
  background: rgba(184,150,12,0.10) !important;
}

/* ──────────────────────────────────────────────────────────────
   34. PANEL INTRO (About page)
────────────────────────────────────────────────────────────── */
.intro-panel {
  border-top: 4px solid var(--azure, #0c5b84) !important;
}

/* ──────────────────────────────────────────────────────────────
   35. CONTACT CARD HOVER
────────────────────────────────────────────────────────────── */
.contact-card {
  transition: transform var(--t-med), box-shadow var(--t-med) !important;
  border-radius: var(--radius-card) !important;
}
.contact-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-lift) !important;
}

/* ──────────────────────────────────────────────────────────────
   36. SEARCH INPUT (header)
────────────────────────────────────────────────────────────── */
.header-nav-bar .header-search input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184,150,12,0.20) !important;
}

/* ──────────────────────────────────────────────────────────────
   37. TOPBAR
────────────────────────────────────────────────────────────── */
.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.topbar-links a {
  transition: color var(--t-fast) !important;
}
.topbar-links a:hover {
  color: var(--gold-light) !important;
}

/* ──────────────────────────────────────────────────────────────
   38. NUMBER COUNTER ANIMATION CLASS
   Applied via JS to .minimal-card__value and .stat-card strong
────────────────────────────────────────────────────────────── */
.count-anim {
  animation: slideInUp 0.55s cubic-bezier(.22,1,.36,1) both;
}

/* ──────────────────────────────────────────────────────────────
   39. INDEPENDENCE DAY PARTICLE STARS (home hero area)
   Purely decorative CSS stars that float up subtly
────────────────────────────────────────────────────────────── */
.star-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  pointer-events: none;
  animation: floatUp 3.5s ease-in-out infinite;
}
.star-particle:nth-child(1) { left: 8%;  animation-delay: 0s;    animation-duration: 3.2s; }
.star-particle:nth-child(2) { left: 22%; animation-delay: 0.6s;  animation-duration: 4.1s; width: 4px; height: 4px; }
.star-particle:nth-child(3) { left: 38%; animation-delay: 1.2s;  animation-duration: 3.7s; background: rgba(255,255,255,0.7); }
.star-particle:nth-child(4) { left: 55%; animation-delay: 0.3s;  animation-duration: 4.4s; }
.star-particle:nth-child(5) { left: 70%; animation-delay: 0.9s;  animation-duration: 3.5s; background: rgba(15,107,99,0.8); }
.star-particle:nth-child(6) { left: 85%; animation-delay: 1.5s;  animation-duration: 3.9s; width: 3px; height: 3px; }

/* ──────────────────────────────────────────────────────────────
   40. GRADIENT HEADING for section-heading h2
   Fallback for mobile browsers where -webkit-text-fill-color may fail
────────────────────────────────────────────────────────────── */
.section-heading h2 {
  color: var(--deep, #08203a);
}

/* ──────────────────────────────────────────────────────────────
   41. RESPONSIVE ADJUSTMENTS
────────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  /* Revert gradient text on small screens (avoid clip issues) */
  .minimal-card__value,
  .stat-card strong {
    -webkit-text-fill-color: unset !important;
    background: none !important;
    color: var(--deep, #08203a);
  }
  .section-heading h2::after {
    width: 36px;
  }
}

@media (max-width: 640px) {
  .minimal-action {
    padding: 18px !important;
  }
  .presentation-strip__frame {
    padding: 14px 12px 30px !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   42. PRINT — STRIP DECORATIONS
────────────────────────────────────────────────────────────── */
@media print {
  #scroll-progress,
  .pres-arrow,
  .pres-dots,
  .star-particle {
    display: none !important;
  }
  .pres-slide {
    position: relative !important;
    opacity: 1 !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   43. HERO TITLE RESPONSIVE
────────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .presentation-strip__title {
    font-size: clamp(1.4rem, 5vw, 2.4rem) !important;
    max-width: 100% !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   44. PAGE HERO WITH PHOTO BACKGROUND
────────────────────────────────────────────────────────────── */
.page-hero--photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 60px 0 52px !important;
}

/* Actual photo layer — only displays when --hero-photo is set */
.page-hero__photo-layer {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.page-hero--photo:hover .page-hero__photo-layer {
  transform: scale(1.0);
}

/* Dark gradient over the photo */
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    rgba(5, 15, 30, 0.90) 0%,
    rgba(8, 32, 58, 0.78) 45%,
    rgba(10, 50, 80, 0.60) 100%
  ) !important;
  z-index: 1;
}

/* Text sits above overlay */
.page-hero--photo .container {
  position: relative;
  z-index: 2;
}

/* Override text colours for photo hero */
.page-hero--photo .page-hero-copy h1 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.page-hero--photo .page-hero-copy p {
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.page-hero--photo .section-kicker {
  color: var(--gold-light, #d4ae3b) !important;
  text-shadow: none;
}
.page-hero--photo .section-kicker::before {
  background: var(--gold, #b8960c) !important;
}
.page-hero--photo .section-kicker::after {
  color: var(--gold, #b8960c) !important;
}

/* Bottom gradient line */
.page-hero--photo::after {
  z-index: 3;
}

/* Hero actions on photo bg */
.page-hero--photo .page-hero-actions .button {
  background: linear-gradient(135deg, var(--gold, #b8960c), #a07c10) !important;
  color: var(--deep, #08203a) !important;
  font-weight: 700;
}



/* ──────────────────────────────────────────────────────────────
   44. CATEGORY IMAGE BANNER SECTION (homepage)
────────────────────────────────────────────────────────────── */
.cat-banner-section {
  padding: clamp(44px, 6vw, 88px) 0;
  background: transparent;
}

.cat-carousel-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 28px;
  border: 1px solid rgba(8, 32, 58, 0.11);
  background:
    radial-gradient(circle at 14% 16%, rgba(12, 91, 132, 0.08), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(184, 150, 12, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 251, 255, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 22px 52px rgba(8, 32, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cat-carousel-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 32, 58, 0.02), transparent 15%, transparent 85%, rgba(8, 32, 58, 0.015)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent 20%, transparent 82%, rgba(8, 32, 58, 0.03));
}

.cat-carousel-shell__glow {
  position: absolute;
  inset: auto -8% -24% auto;
  width: 46%;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 91, 132, 0.16), transparent 68%);
  filter: blur(12px);
}

.cat-carousel__header,
.cat-carousel__controls,
.cat-carousel__footer {
  display: flex;
  align-items: center;
}

.cat-carousel__header {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cat-carousel__copy {
  max-width: 720px;
}

.cat-carousel__header .section-kicker {
  color: rgba(184, 150, 12, 0.96) !important;
}

.cat-carousel__header .section-kicker::before {
  background: linear-gradient(90deg, rgba(221, 189, 110, 0.85), rgba(68, 188, 206, 0.85)) !important;
}

.cat-carousel__header h2 {
  margin: 0;
  color: #08203a !important;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.06;
  text-shadow: none;
}

.cat-carousel__header h2::after {
  background: linear-gradient(90deg, rgba(225, 191, 115, 1), rgba(73, 193, 211, 0.92)) !important;
}

.cat-carousel__lead {
  margin: 14px 0 0;
  max-width: 62ch;
  color: rgba(21, 38, 63, 0.78);
  font-size: 1rem;
  line-height: 1.72;
}

.cat-carousel__controls {
  flex-shrink: 0;
  gap: 12px;
}

.cat-carousel__button {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 32, 58, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #08203a;
  box-shadow: 0 10px 24px rgba(8, 32, 58, 0.14);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-carousel__button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat-carousel__button:hover,
.cat-carousel__button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(12, 91, 132, 0.4);
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(8, 32, 58, 0.2);
}

.cat-carousel__button:focus-visible {
  outline: 2px solid rgba(100, 209, 226, 0.94);
  outline-offset: 4px;
}

.cat-carousel {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.cat-carousel:not(.is-ready) .swiper-wrapper {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 153, 201, 0.42) transparent;
}

.cat-carousel:not(.is-ready) .swiper-slide {
  flex: 0 0 min(84vw, 332px);
  scroll-snap-align: start;
}

.cat-carousel .swiper-slide {
  height: auto;
  padding: 8px 0 14px;
  opacity: 0.66;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  --card-scale: 0.94;
  --card-shadow:
    0 16px 34px rgba(2, 10, 20, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  --card-highlight: rgba(70, 170, 211, 0.34);
  --card-tint: rgba(14, 74, 105, 0.42);
  --card-bg-start: #0b3f75;
  --card-bg-mid: #0ea5e9;
  --card-bg-end: #22c55e;
}

.cat-card--about {
  --card-highlight: rgba(64, 170, 220, 0.36);
  --card-tint: rgba(10, 81, 117, 0.4);
  --card-bg-start: #0369a1;
  --card-bg-mid: #0ea5e9;
  --card-bg-end: #22d3ee;
}

.cat-card--events {
  --card-highlight: rgba(223, 173, 73, 0.34);
  --card-tint: rgba(115, 71, 14, 0.34);
  --card-bg-start: #0f766e;
  --card-bg-mid: #14b8a6;
  --card-bg-end: #22c55e;
}

.cat-card--documents {
  --card-highlight: rgba(73, 188, 208, 0.3);
  --card-tint: rgba(9, 54, 98, 0.44);
  --card-bg-start: #1d4ed8;
  --card-bg-mid: #0ea5e9;
  --card-bg-end: #38bdf8;
}

.cat-card--organization {
  --card-highlight: rgba(59, 179, 153, 0.34);
  --card-tint: rgba(9, 82, 84, 0.38);
  --card-bg-start: #15803d;
  --card-bg-mid: #22c55e;
  --card-bg-end: #2dd4bf;
}

.cat-card--media {
  --card-highlight: rgba(210, 168, 96, 0.32);
  --card-tint: rgba(40, 54, 92, 0.34);
  --card-bg-start: #0f4c81;
  --card-bg-mid: #0ea5e9;
  --card-bg-end: #22d3ee;
}

/* Documents: blue gradient background (no photo) */
.cat-card--blue {
  background: linear-gradient(
    148deg,
    #0a2d52 0%,
    #0c5b84 55%,
    #0a3d5c 100%
  );
}

.cat-card__canvas {
  position: relative;
  min-height: 468px;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--card-bg-start) 0%, var(--card-bg-mid) 52%, var(--card-bg-end) 100%);
  background-size: 220% 220%;
  animation: catCardGradientShift 8s ease-in-out infinite;
  transform: scale(var(--card-scale));
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--card-shadow);
}

@keyframes catCardGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cat-card__media,
.cat-card__overlay,
.cat-card__mesh {
  position: absolute;
  inset: 0;
}

.cat-card__media {
  display: none;
}

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 30, 0.08) 0%, transparent 28%),
    radial-gradient(circle at top right, var(--card-highlight), transparent 32%),
    radial-gradient(circle at bottom left, var(--card-tint), transparent 34%);
  mix-blend-mode: screen;
}

.cat-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.86) brightness(0.78);
}

.cat-card__overlay {
  background:
    linear-gradient(180deg, rgba(3, 14, 26, 0.02) 0%, rgba(3, 14, 26, 0.1) 28%, rgba(3, 12, 24, 0.5) 72%, rgba(2, 10, 21, 0.72) 100%),
    linear-gradient(142deg, rgba(9, 34, 61, 0.2), transparent 42%, transparent 70%, rgba(221, 184, 97, 0.1));
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), background 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card__mesh {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center;
  opacity: 0.08;
  mask-image: linear-gradient(180deg, transparent 8%, rgba(0, 0, 0, 0.28) 28%, rgba(0, 0, 0, 0.9) 100%);
}

.cat-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 22px 24px;
  color: #f5fbff;
}

.cat-card__topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cat-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cat-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.cat-card__eyebrow {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 191, 110, 0.96);
}

.cat-card__serial {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(194, 214, 232, 0.8);
}

.cat-card__title {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.05;
  color: #ffffff;
  text-wrap: balance;
}

.cat-card__summary {
  margin: 14px 0 18px;
  max-width: 28ch;
  color: rgba(219, 233, 244, 0.82);
  font-size: 0.98rem;
  line-height: 1.58;
}

.cat-card__cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    gap 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card__cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat-carousel .swiper-slide-prev,
.cat-carousel .swiper-slide-next {
  opacity: 0.86;
}

.cat-carousel .swiper-slide-prev .cat-card,
.cat-carousel .swiper-slide-next .cat-card {
  --card-scale: 0.97;
}

.cat-carousel .swiper-slide-active {
  opacity: 1;
}

.cat-carousel .swiper-slide-active .cat-card {
  --card-scale: 1;
  --card-shadow:
    0 24px 56px rgba(2, 11, 22, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 32px rgba(71, 176, 214, 0.18);
}

.cat-carousel .swiper-slide-active .cat-card__image {
  transform: scale(1.05);
  filter: saturate(1.02) brightness(1);
}

.cat-carousel .swiper-slide-active .cat-card__overlay {
  background:
    linear-gradient(180deg, rgba(4, 16, 30, 0.01) 0%, rgba(4, 16, 30, 0.06) 24%, rgba(4, 15, 28, 0.66) 68%, rgba(3, 11, 22, 0.92) 100%),
    linear-gradient(142deg, rgba(9, 34, 61, 0.2), transparent 36%, transparent 68%, rgba(221, 184, 97, 0.24));
}

.cat-carousel .swiper-slide-active .cat-card__icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(225, 191, 115, 0.46);
}

@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-card__canvas {
    transform: translateY(-6px) scale(calc(var(--card-scale) + 0.02));
  }

  .cat-card:hover .cat-card__image {
    transform: scale(1.09);
    filter: saturate(1.05) brightness(0.98);
  }

  .cat-card:hover .cat-card__overlay {
    background:
      linear-gradient(180deg, rgba(4, 16, 30, 0.01) 0%, rgba(4, 16, 30, 0.08) 24%, rgba(4, 15, 28, 0.62) 68%, rgba(3, 11, 22, 0.92) 100%),
      linear-gradient(142deg, rgba(9, 34, 61, 0.18), transparent 36%, transparent 68%, rgba(221, 184, 97, 0.28));
  }

  .cat-card:hover .cat-card__cta {
    gap: 14px;
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(225, 191, 115, 0.34);
  }
}

.cat-card:focus-visible {
  outline: none;
}

.cat-card:focus-visible .cat-card__canvas {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 4px rgba(91, 208, 227, 0.42),
    0 26px 58px rgba(2, 11, 22, 0.38);
}

.cat-carousel__footer {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.cat-carousel__progress {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 32, 58, 0.12);
}

.cat-carousel__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(225, 191, 115, 1), rgba(76, 196, 214, 0.92));
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-carousel__counter {
  flex-shrink: 0;
  color: rgba(21, 38, 63, 0.64);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cat-carousel__counter-current {
  color: #08203a;
}

.cat-carousel__counter-separator {
  margin: 0 6px;
  color: rgba(8, 32, 58, 0.32);
}

/* ──────────────────────────────────────────────────────────────
   BUTTON GLOW & TRANSITION IMPROVEMENTS
────────────────────────────────────────────────────────────── */
/* All .button — persistent blue glow, stronger on hover */
.button {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease !important;
  box-shadow: 0 0 12px rgba(12, 91, 132, 0.45), 0 4px 16px rgba(8, 32, 58, 0.22) !important;
}
.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 28px rgba(12, 91, 132, 0.80), 0 6px 24px rgba(8, 32, 58, 0.32) !important;
}
/* Shimmer sweep on hover */
.button::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.button:hover::after {
  left: 140%;
}

/* Secondary & light buttons */
.button-secondary {
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease !important;
}
.button-secondary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 18px rgba(12, 91, 132, 0.30), 0 4px 16px rgba(8, 32, 58, 0.14) !important;
  background: rgba(255,255,255,1) !important;
}

/* Locale/nav links — subtle glow on active */
.nav-link.is-active,
.nav-link:hover {
  text-shadow: 0 0 12px rgba(12, 91, 132, 0.55);
}

/* ──────────────────────────────────────────────────────────────
   SECTION ENTRANCE ANIMATIONS
────────────────────────────────────────────────────────────── */
@keyframes entranceFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Apply entrance to major content blocks */
.cat-banner-section,
.news-grid,
.events-grid,
.docs-grid,
.gallery-grid,
.stat-row,
.minimal-card,
.surface,
.page-hero {
  animation: entranceFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
}

/* Stagger cards in grids */
.cat-card:nth-child(1) { animation-delay: 0.05s; }
.cat-card:nth-child(2) { animation-delay: 0.12s; }
.cat-card:nth-child(3) { animation-delay: 0.19s; }
.cat-card:nth-child(4) { animation-delay: 0.26s; }
.cat-card:nth-child(5) { animation-delay: 0.33s; }

.minimal-card:nth-child(1) { animation-delay: 0.04s; }
.minimal-card:nth-child(2) { animation-delay: 0.10s; }
.minimal-card:nth-child(3) { animation-delay: 0.16s; }
.minimal-card:nth-child(4) { animation-delay: 0.22s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .cat-banner-section,
  .news-grid, .events-grid, .docs-grid,
  .gallery-grid, .stat-row, .minimal-card,
  .surface, .page-hero, .cat-card {
    animation: none !important;
  }

  .cat-carousel .swiper-slide,
  .cat-card__canvas,
  .cat-card__image,
  .cat-card__overlay,
  .cat-card__cta,
  .cat-carousel__button,
  .cat-carousel__progress-fill {
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .cat-carousel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cat-carousel__controls {
    justify-content: flex-start;
  }

  .cat-card__canvas {
    min-height: 440px;
  }

  .cat-card__title {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
  }
}

@media (max-width: 767px) {
  .cat-carousel-shell {
    padding: 22px 18px 24px;
  }

  .cat-carousel__header {
    margin-bottom: 22px;
  }

  .cat-carousel__lead {
    font-size: 0.94rem;
  }

  .cat-carousel__button {
    width: 48px;
    height: 48px;
  }

  .cat-card__canvas {
    min-height: 430px;
    border-radius: 22px;
  }

  .cat-card__content {
    padding: 20px 18px 20px;
  }

  .cat-card__summary {
    font-size: 0.92rem;
  }

  .cat-carousel__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .cat-banner-section {
    padding: 34px 0 48px;
  }

  .cat-card__canvas {
    min-height: 410px;
  }

  .cat-card__topline {
    gap: 10px;
  }

  .cat-card__eyebrow {
    letter-spacing: 0.16em;
  }

  .cat-card__title {
    font-size: 1.54rem;
  }
}

/* Entry loader (first site entry only) */
#entry-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08203a;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  will-change: opacity;
}

#entry-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-loader__inner {
  position: relative;
  display: grid;
  place-items: center;
  width: min(56vmin, 360px);
  aspect-ratio: 1 / 1;
}

.entry-loader__logo {
  width: 82%;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.entry-loader__ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: rgba(201, 168, 76, 0.92) transparent rgba(212, 176, 106, 0.85) transparent;
  transform-origin: center;
  will-change: transform;
}

.entry-loader__ring--outer {
  width: 100%;
  height: 100%;
  border-width: 2.8px;
  animation: entry-ring-cw 2.8s linear infinite;
}

.entry-loader__ring--inner {
  width: 78%;
  height: 78%;
  border-width: 2px;
  animation: entry-ring-ccw 2.1s linear infinite;
}

@keyframes entry-ring-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes entry-ring-ccw {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

:root {
  --pt-duration: 320ms;
}

body.is-page-enter .site-shell {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

body.is-page-enter-ready .site-shell {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

@media (prefers-reduced-motion: reduce) {
  body.is-page-enter .site-shell,
  body.is-page-enter-ready .site-shell {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Page transition overlay (internal links) */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 8888;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 38, 70, 0.78) 0%, rgba(8, 32, 58, 0.94) 58%, rgba(4, 18, 34, 0.98) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--pt-duration) ease, visibility var(--pt-duration) ease;
  will-change: opacity;
}

#page-transition.pt-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.pt-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.pt-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: rgba(201, 168, 76, 0.92) transparent rgba(212, 176, 106, 0.86) transparent;
  transform-origin: center;
  will-change: transform;
}

.pt-ring--outer {
  width: min(44vmin, 290px);
  height: min(44vmin, 290px);
  border-width: 2.5px;
  animation: pt-spin-cw 1.15s linear infinite;
}

.pt-ring--inner {
  width: min(28vmin, 182px);
  height: min(28vmin, 182px);
  border-width: 2px;
  animation: pt-spin-ccw 0.95s linear infinite;
}

@keyframes pt-spin-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pt-spin-ccw {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.photo-report-section {
  overflow: hidden;
}

.photo-report-header h2 {
  margin: 12px 0 10px;
}

.photo-report-header p {
  margin: 0;
  color: rgba(8, 32, 58, 0.82) !important;
}

.photo-report-header small {
  color: rgba(8, 32, 58, 0.68) !important;
}

.photo-report-carousel {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  padding: 0 44px;
}

.photo-report-track {
  display: flex;
  transition: transform 320ms ease;
}

.photo-report-slide {
  flex: 0 0 33.3333%;
  padding: 8px;
  box-sizing: border-box;
}

.photo-report-media {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 25, 48, 0.7);
  aspect-ratio: 16 / 10;
}

.photo-report-media img,
.photo-report-video-trigger video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-report-media:hover img,
.photo-report-media:hover video {
  transform: scale(1.05);
}

.photo-report-video-trigger {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.photo-report-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 32, 58, 0.8);
  border: 1px solid rgba(184, 150, 12, 0.8);
}

.photo-report-meta h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  display: none;
}

.photo-report-meta p {
  margin: 0 0 6px;
  color: rgba(224, 234, 246, 0.52);
  font-size: 0.88rem;
  min-height: 42px;
}

.photo-report-meta small {
  color: rgba(184, 201, 220, 0.8);
}

.photo-report-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 12, 0.5);
  background: rgba(8, 32, 58, 0.78);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.photo-report-nav.prev { left: 4px; }
.photo-report-nav.next { right: 4px; }

.photo-report-carousel:focus-visible,
.photo-report-nav:focus-visible,
.photo-report-dot:focus-visible,
.photo-report-video-trigger:focus-visible,
.photo-report-modal__close:focus-visible {
  outline: 2px solid #d4ae3b;
  outline-offset: 2px;
}

.photo-report-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.photo-report-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.photo-report-dot.is-active {
  background: #d4ae3b;
}

.photo-report-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
}

.photo-report-modal.is-open {
  display: block;
}

.photo-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.8);
}

.photo-report-modal__dialog {
  position: relative;
  max-width: 900px;
  margin: 10vh auto;
  background: #071426;
  border: 1px solid rgba(184, 150, 12, 0.5);
  border-radius: 14px;
  padding: 14px;
}

.photo-report-modal__dialog video {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.photo-report-modal__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 12, 0.7);
  background: rgba(8, 32, 58, 0.94);
  color: #fff;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.footer-brand-head {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-top: 0;
  flex-shrink: 0;
}

.footer-brand-head h2 {
  margin: 0;
}

.footer-brand-block .section-kicker {
  margin-top: 18px;
}

.footer-brand-block .section-kicker + p {
  margin-top: 10px;
}

/* Render offscreen heavy blocks only when needed */
.card-grid,
.photo-report-section,
.partners-panel,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 860px;
}

@media (max-width: 1100px) {
  .photo-report-slide {
    flex-basis: 50%;
  }
}

@media (max-width: 768px) {
  .footer-brand-head {
    gap: 8px;
  }

  .footer-brand-logo {
    width: 52px;
    height: 52px;
  }

  .photo-report-carousel {
    padding: 0 38px;
  }

  .photo-report-slide {
    flex-basis: 100%;
  }

  .photo-report-meta p {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .presentation-strip {
    padding-top: 8px;
  }

  .presentation-strip__media {
    aspect-ratio: 9 / 14;
    min-height: 72vh;
  }

  .presentation-strip__overlay {
    align-items: flex-end;
  }

  .presentation-strip__frame {
    margin: 10px !important;
    min-height: auto !important;
    padding: 14px 12px 16px !important;
    border-radius: 12px !important;
  }

  .presentation-strip__eyebrow {
    margin: 0 0 8px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
  }

  .presentation-strip__title {
    font-size: clamp(1.28rem, 6.3vw, 1.72rem) !important;
    line-height: 1.18 !important;
    max-width: 100% !important;
  }

  .presentation-strip__lead {
    margin: 0 0 12px !important;
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .presentation-strip .minimal-hero__cta {
    width: 100%;
    justify-content: center;
    min-height: 40px;
  }

  .pres-arrow {
    width: 38px;
    height: 38px;
  }

  .pres-arrow--prev {
    left: 8px;
  }

  .pres-arrow--next {
    right: 8px;
  }

  .pres-dots {
    bottom: 10px;
    gap: 8px !important;
  }

  .pres-dot {
    width: 8px;
    height: 8px;
  }

  .home-map-panel {
    padding: 12px !important;
  }

  .home-map-shell {
    min-height: 520px !important;
  }
}

@media (max-width: 420px) {
  .presentation-strip__media {
    min-height: 68vh;
  }

  .presentation-strip__title {
    font-size: clamp(1.16rem, 6vw, 1.52rem) !important;
  }
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS (ADDED BY UI/UX EXPERT)
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Header & Navigation */
  .top-header {
    padding: 12px 16px;
  }
  .brand-logo {
    width: 64px;
    height: 64px;
  }
  .top-nav {
    gap: 16px;
  }

  /* 2. Typography (Hero & Sections) */
  .page-hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
    line-height: 1.1;
  }
  .page-hero__subtitle,
  .hero-sub {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
  }
  
  /* 3. Containers & Padding */
  .container, 
  .section.container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* 4. Photo/Video Carousel Layout */
  .photo-report-carousel {
    padding: 0 !important;
  }
  .photo-report-nav {
    display: none !important; /* Rely on swipe on mobile */
  }
  .photo-report-slide {
    flex-basis: 90% !important; /* Peak next card to encourage swipe */
  }

  /* 5. Maps & Specific Elements */
  .interactive-map,
  .home-map-shell {
    max-height: 50vh !important;
    min-height: 350px !important;
  }
  
  /* 6. Partners Marquee */
  .partners-carousel-shell {
    padding: 0 !important;
  }
  .partners-nav-btn {
    display: none !important; /* Hide arrows on mobile */
  }
  .partners-marquee {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar */
  }
  .partners-marquee::-webkit-scrollbar {
    display: none;
  }
  .partners-card {
    min-width: 140px !important;
    padding: 12px 16px !important;
  }
  
  /* 7. Cat cards & Grids (Home/Events) */
  .cat-card__canvas {
    min-height: 320px !important;
  }
  .stats-grid,
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .stats-grid,
  .contacts-grid {
    grid-template-columns: 1fr !important;
  }
  .photo-report-slide {
    flex-basis: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #scroll-progress {
    will-change: auto;
  }
}
