/* =============================================
   BANGLADESHI KOBLENZER — styles.css
   ============================================= */

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors (Bangladesh flag inspired) */
  --green:        #006A4E;
  --green-light:  #00875f;
  --green-pale:   #e8f5f0;
  --red:          #F42A41;
  --red-light:    #ff4d62;
  --red-pale:     #fff0f1;

  /* Neutral Palette */
  --white:        #ffffff;
  --off-white:    #f9fafb;
  --grey-50:      #f3f4f6;
  --grey-100:     #e5e7eb;
  --grey-300:     #d1d5db;
  --grey-500:     #6b7280;
  --grey-700:     #374151;
  --grey-900:     #111827;

  /* Semantic */
  --bg-main:      #0b1417;
  --bg-section:   #0f1d22;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:   #64748b;
  --border:       rgba(255,255,255,0.08);

  /* Glass */
  --glass-bg:     rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
  --glass-blur:   blur(16px);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:    0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.5);
  --shadow-green: 0 8px 30px rgba(0,106,78,0.4);

  /* Typography */
  --font-body:    'Inter', sans-serif;
  --font-display: 'Inter', sans-serif;

  /* Spacing */
  --section-py:   6rem;
  --container:    1200px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:       0.15s;
  --t-med:        0.3s;
  --t-slow:       0.5s;

  /* Nav */
  --nav-h:        72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Loading Screen ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-main);
  display: grid;
  place-items: center;
  overflow: hidden;
  /* Force own compositing layer — fixes z-index on iOS Safari */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ambient gradient orbs */
.loader-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbDrift 6s ease-in-out infinite alternate;
}

.loader-orb--green {
  width: clamp(260px, 50vw, 500px);
  height: clamp(260px, 50vw, 500px);
  background: radial-gradient(circle, rgba(0,106,78,0.35) 0%, transparent 70%);
  top: -80px;
  left: -80px;
  animation-delay: 0s;
}

.loader-orb--red {
  width: clamp(200px, 40vw, 400px);
  height: clamp(200px, 40vw, 400px);
  background: radial-gradient(circle, rgba(244,42,65,0.2) 0%, transparent 70%);
  bottom: -60px;
  right: -60px;
  animation-delay: -3s;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

/* Inner wrapper */
.loader-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: loaderFadeIn 0.5s var(--ease) both;
}

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

/* Spinning arc ring */
.loader-ring-wrap {
  position: relative;
  width: clamp(96px, 25vw, 120px);
  height: clamp(96px, 25vw, 120px);
  margin-bottom: 2rem;
}

.loader-ring {
  width: 100%;
  height: 100%;
  animation: ringRotate 1.6s linear infinite;
}

.loader-arc {
  transform-origin: 50% 50%;
  animation: arcDash 1.6s ease-in-out infinite;
}

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

@keyframes arcDash {
  0%   { stroke-dashoffset: 250; opacity: 0.6; }
  50%  { stroke-dashoffset: 60;  opacity: 1; }
  100% { stroke-dashoffset: 250; opacity: 0.6; }
}

/* Flag inside ring */
.loader-flag-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-bd-flag {
  width: clamp(52px, 15vw, 72px);
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.08);
  animation: flagPop 0.6s 0.3s var(--ease) both;
}

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

/* Title */
.loader-title {
  font-size: clamp(0.75rem, 3vw, 1rem);
  font-weight: 700;
  letter-spacing: clamp(0.06em, 1vw, 0.18em);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  padding: 0 1rem;
  background: linear-gradient(90deg, var(--green-light), var(--white), var(--red-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2.5s linear infinite;
}

@keyframes shimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* Progress bar */
.loader-bar-track {
  width: clamp(120px, 40vw, 160px);
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.loader-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--red));
  animation: barFill 1.2s var(--ease) 0.2s both;
  transform-origin: left;
}

@keyframes barFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Sub label */
.loader-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: loaderFadeIn 0.6s 0.5s var(--ease) both;
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--red));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ---- Container ---- */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

/* ---- Section Base ---- */
.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(0,106,78,0.15);
  border: 1px solid rgba(0,106,78,0.3);
  padding: 0.3em 0.9em;
  border-radius: 50px;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,106,78,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

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

/* ---- Glass Card ---- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,106,78,0.25);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  transition: background var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.navbar.scrolled {
  background: rgba(11,20,23,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.logo-flag {
  width: 32px;
  height: 19px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

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

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  transition: color var(--t-fast), background var(--t-fast), backdrop-filter var(--t-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #F42A41, #c0162a);
  padding: 0.15em 0.5em;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 0.3rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(244,42,65,0.4);
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(244,42,65,0.4); }
  50%       { box-shadow: 0 2px 16px rgba(244,42,65,0.75); }
}

.nav-badge--reopened {
  background: linear-gradient(135deg, #e67e00, #f59500);
  box-shadow: 0 2px 8px rgba(230,126,0,0.45);
  animation: badge-pulse-amber 2.5s ease-in-out infinite;
}
@keyframes badge-pulse-amber {
  0%, 100% { box-shadow: 0 2px 8px rgba(230,126,0,0.45); }
  50%       { box-shadow: 0 2px 16px rgba(230,126,0,0.8); }
}

.nav-link.active {
  color: var(--green-light);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.bar {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}

.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slider */
.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 6s var(--ease);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,106,78,0.18) 0%, transparent 65%),
    linear-gradient(
      to bottom,
      rgba(11,20,23,0.1)  0%,
      rgba(11,20,23,0.5)  40%,
      rgba(11,20,23,0.92) 100%
    );
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
  margin-bottom: 14rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-highlight {
  background: linear-gradient(135deg, #00e094, var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 5.5rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.85rem 2.5rem;
  background: rgba(11,20,23,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  white-space: nowrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.12);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--t-med) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(0,106,78,0.6);
  border-color: var(--green-light);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 14.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
}

.dot.active {
  background: var(--white);
  transform: scale(1.3);
  width: 24px;
  border-radius: 4px;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.75);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,0.9);
  border-radius: 3px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ========================================
   ABOUT SECTION — REDESIGNED
   ======================================== */
.about {
  background-color: var(--bg-section);
  position: relative;
  overflow: hidden;
}

/* Ambient background */
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.about-orb--1 {
  width: 520px; height: 520px;
  top: -180px; right: -160px;
  background: radial-gradient(circle, rgba(0,106,78,0.08) 0%, transparent 70%);
  animation: orbDrift 9s ease-in-out infinite alternate;
}

.about-orb--2 {
  width: 380px; height: 380px;
  bottom: -120px; left: -120px;
  background: radial-gradient(circle, rgba(244,42,65,0.06) 0%, transparent 70%);
  animation: orbDrift 11s ease-in-out infinite alternate-reverse;
}

.about-geo {
  position: absolute;
  top: 50%;
  right: -160px;
  width: 600px;
  height: 600px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ---- Split layout ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

/* Narrative */
.about-narrative {
  position: relative;
  padding-left: 2rem;
}

.about-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green) 0%, var(--red) 100%);
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: top;
}

.about-narrative[data-aos].aos-animate .about-accent-bar {
  animation: accentBarGrow 0.9s var(--ease) 0.25s both;
}

@keyframes accentBarGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.about-pull-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 55%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-body {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 1.2rem;
}

/* ---- Emblem ---- */
.about-emblem-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* The emblem box is sized so ALL rings fit inside it — no overflow */
.about-emblem {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  /* initial centering — animation keeps this transform throughout */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* All ring sizes are ≤ 310px, safely within the 320px container */
.emblem-ring--1 {
  width: 310px; height: 310px;
  border: 1px dashed rgba(0,106,78,0.25);
  animation: ringRotCW 38s linear infinite;
}

.emblem-ring--2 {
  width: 240px; height: 240px;
  border: 1px dashed rgba(244,42,65,0.18);
  animation: ringRotCCW 26s linear infinite;
}

.emblem-ring--3 {
  width: 172px; height: 172px;
  border: 1px solid rgba(0,106,78,0.22);
  animation: ringRotCW 16s linear infinite;
}

@keyframes ringRotCW {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---- Floating event chips ---- */
/* Positioned relative to the 320×320 emblem.
   Max negative offset is ~50px — safely within the column margin on all desktop breakpoints. */
.emblem-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38em 0.85em;
  border-radius: 50px;
  background: rgba(11, 20, 23, 0.82);
  border: 1px solid rgba(0, 106, 78, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-light);
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 3;
  pointer-events: none;
}

.emblem-chip i {
  font-size: 0.62rem;
  opacity: 0.9;
}

/* Upper-left — sits just outside ring-3, within the ring-1 orbit */
.chip-1 {
  top: 12%;
  left: -14%;  /* ~-45px on a 320px element */
  animation: chipFloat 3.4s ease-in-out infinite;
}

/* Right side, vertically centred */
.chip-2 {
  top: 42%;
  right: -13%; /* ~-42px */
  animation: chipFloat 4.0s ease-in-out infinite 0.7s;
  border-color: rgba(244, 42, 65, 0.35);
  color: #ff7080;
}

/* Lower-left */
.chip-3 {
  bottom: 13%;
  left: -11%; /* ~-35px */
  animation: chipFloat 4.6s ease-in-out infinite 1.4s;
}

/* Upper-right — warm saffron for Puja */
.chip-4 {
  top: 14%;
  right: -14%; /* ~-45px */
  animation: chipFloat 3.8s ease-in-out infinite 0.35s;
  border-color: rgba(251, 146, 60, 0.38);
  color: #fb923c;
}

/* Lower-right — cool silver-blue for Christmas */
.chip-5 {
  bottom: 14%;
  right: -12%; /* ~-38px */
  animation: chipFloat 4.3s ease-in-out infinite 1.05s;
  border-color: rgba(147, 197, 253, 0.35);
  color: #93c5fd;
}

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

@keyframes ringRotCCW {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

.emblem-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 45px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.about-emblem-wrap:hover .emblem-core {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 55px rgba(0,0,0,0.65), 0 0 0 3px rgba(0,106,78,0.35);
}

.emblem-core svg { width: 100%; height: auto; display: block; }


/* ---- Stats Strip ---- */
.about-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.022);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin-bottom: 4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.about-stats-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green-light) 40%, var(--red) 60%, transparent 100%);
  opacity: 0.35;
}

.astat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.astat-ring-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astat-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.astat-arc {
  stroke-dashoffset: 213;
}

.about-stats-strip.aos-animate .astat-arc--green {
  animation: arcFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.about-stats-strip.aos-animate .astat-arc--red {
  animation: arcFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes arcFill {
  from { stroke-dashoffset: 213; }
  to   { stroke-dashoffset: 28; }
}

.astat-ring-wrap .stat-number {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  display: block;
}

.astat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

.astat-divider {
  width: 1px;
  height: 72px;
  background: var(--border);
  flex-shrink: 0;
}

/* Keep legacy stat-number/label selectors working for any remaining references */
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ---- Feature Cards ---- */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.afeature {
  position: relative;
  padding: 2rem 1.5rem 2.5rem;
  background: rgba(255,255,255,0.024);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              background var(--t-med) var(--ease);
}

.afeature:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.42);
  border-color: rgba(0,106,78,0.32);
  background: rgba(0,106,78,0.042);
}

.afeature--red:hover {
  border-color: rgba(244,42,65,0.26);
  background: rgba(244,42,65,0.032);
}

.afeature-num {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(0,106,78,0.07);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: color var(--t-med) var(--ease);
}

.afeature:hover .afeature-num         { color: rgba(0,106,78,0.14); }
.afeature--red .afeature-num           { color: rgba(244,42,65,0.07); }
.afeature--red:hover .afeature-num     { color: rgba(244,42,65,0.13); }

.afeature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,106,78,0.28), rgba(0,106,78,0.08));
  border: 1px solid rgba(0,106,78,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--green-light);
  margin-bottom: 1.1rem;
  transition: all var(--t-med) var(--ease);
}

.afeature:hover .afeature-icon {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1) rotate(-6deg);
}

.afeature-icon--red {
  background: linear-gradient(135deg, rgba(244,42,65,0.22), rgba(244,42,65,0.06));
  border-color: rgba(244,42,65,0.2);
  color: var(--red-light);
}

.afeature--red:hover .afeature-icon {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: var(--white);
  border-color: transparent;
}

.afeature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.afeature-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.afeature-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.afeature:hover .afeature-bar  { transform: scaleX(1); }

.afeature-bar--red {
  background: linear-gradient(90deg, var(--red), var(--red-light));
}

/* ========================================
   REGISTRATION SECTION
   ======================================== */
.registration {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-section) 100%);
  position: relative;
  overflow: hidden;
}

.registration::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,106,78,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.registration-wrapper {
  display: flex;
  justify-content: center;
}

.custom-form-wrap {
  width: 100%;
}

/* Registration Form */
.form-card { }

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.required { color: var(--red); margin-left: 2px; }
.file-hint { font-weight: 400; font-size: 0.78rem; color: var(--text-muted); }

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}

.textarea-icon { top: 1.1rem; transform: none; }

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.input-wrap select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.input-wrap textarea {
  resize: vertical;
  min-height: 90px;
  padding-top: 0.75rem;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--green);
  background: rgba(0,106,78,0.06);
  box-shadow: 0 0 0 3px rgba(0,106,78,0.15);
}

.input-wrap input.error,
.input-wrap select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(244,42,65,0.12);
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--red-light);
  margin-top: 0.35rem;
  min-height: 1em;
}

/* File Upload */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 12px;
  transition: border-color var(--t-med), background var(--t-med);
  cursor: pointer;
  overflow: hidden;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--green);
  background: rgba(0,106,78,0.06);
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-ui {
  padding: 2rem 1rem;
  text-align: center;
  pointer-events: none;
}

.file-upload-ui i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.file-upload-ui p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.file-upload-ui .file-types {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.file-link { color: var(--green-light); text-decoration: underline; }

.file-preview {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(0,106,78,0.08);
}

.file-preview.show { display: flex; }

.file-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.file-preview-info { flex: 1; }
.file-preview-name { font-size: 0.85rem; color: var(--text-primary); font-weight: 500; }
.file-preview-size { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.file-preview-remove {
  background: none;
  border: none;
  color: var(--red-light);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1rem;
  transition: transform var(--t-fast);
}
.file-preview-remove:hover { transform: scale(1.15); }

/* Submit */
#submitBtn { margin-top: 0.5rem; }

.btn-loader { display: inline-flex; align-items: center; }


/* ========================================
   GALLERY SECTION — Modern Bento Edition
   ======================================== */
.gallery { background-color: var(--bg-section); }

/* ---- Filter pills ---- */
.gallery-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.gallery-filter-track {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.3rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 50px;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery-filter-btn:hover { color: var(--text-primary); }

.gallery-filter-btn.active {
  background: var(--green);
  color: #fff;
}

.gallery-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.gallery-filter-btn.active .gallery-filter-count {
  background: rgba(255,255,255,0.28);
}

/* ---- Bento grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: row dense;
  gap: 10px;
}

/* Span variants */
.gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

/* ---- Gallery item ---- */
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--glass-bg);
  isolation: isolate;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.06); }

/* Bottom caption reveal */
.gallery-item-info {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 0.9rem 0.85rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.gallery-item:hover .gallery-item-info,
.gallery-item:focus-visible .gallery-item-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.gallery-item-year {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* Top-right expand hint */
.gallery-item-expand {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover .gallery-item-expand,
.gallery-item:focus-visible .gallery-item-expand {
  opacity: 1;
  transform: scale(1);
}

/* Hidden state */
.gallery-item.hidden { display: none; }

/* Video items */
.gallery-item--video video { pointer-events: none; }

.gallery-video-play {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244,42,65,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  z-index: 2;
  box-shadow: 0 3px 14px rgba(244,42,65,0.5);
  pointer-events: none;
}

/* ---- Cinematic Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.28s ease forwards;
}

.lightbox[hidden] { display: none; }

/* Blurred bg */
.lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(4,8,10,0.94);
  z-index: 0;
}

.lightbox-bg-img {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: blur(36px) saturate(1.4);
  transition: background-image 0.4s ease;
  transform: scale(1.05);
}

/* Inner layout */
.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(88vw, 1080px);
  width: 100%;
  max-height: calc(100vh - 160px);
  padding: 0 64px;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbSlideIn 0.3s ease forwards;
}

.lightbox-media img,
.lightbox-media video {
  max-width: min(88vw, 1080px);
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.06);
  display: block;
  background: #000;
}

.lightbox-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 0.1rem 0;
  gap: 1rem;
}

.lightbox-caption {
  color: rgba(255,255,255,0.6);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

.lightbox-counter {
  flex-shrink: 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* Filmstrip */
.lightbox-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 1.5rem 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.lightbox-strip::-webkit-scrollbar { display: none; }

.lightbox-strip-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.45;
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  background: var(--glass-bg);
  padding: 0;
}

.lightbox-strip-thumb:hover {
  opacity: 0.75;
  transform: scale(1.08) translateY(-2px);
}

.lightbox-strip-thumb.active {
  border-color: var(--green);
  opacity: 1;
  transform: scale(1.14) translateY(-3px);
}

.lightbox-strip-thumb img,
.lightbox-strip-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Controls */
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.1) rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.lightbox-prev:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-next:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.08);
}

/* Video in lightbox */
#lightboxVideo {
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.75);
  background: #000;
}

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

@keyframes lbSlideIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* ---- Lightbox zoom controls ---- */
.lightbox-zoom-bar {
  position: fixed;
  bottom: 106px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  background: rgba(5,10,12,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}

.lightbox-zoom-bar:hover,
.lightbox-zoom-bar.is-active { opacity: 1; }

.lbz-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.lbz-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lbz-btn:active { background: rgba(255,255,255,0.18); }

.lbz-level {
  min-width: 30px;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  user-select: none;
}

.lightbox-zoom-bar.is-active .lbz-level { color: var(--green); }

.lbz-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
  margin: 0 2px;
  flex-shrink: 0;
}

/* Grab cursor when zoomed */
.lightbox--zoomed #lightboxImg { cursor: grab; }
.lightbox--zoomed #lightboxImg:active { cursor: grabbing; }

/* Hint on the image */
.lightbox-zoom-hint {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.04em;
  user-select: none;
}

/* ---- Gallery responsive ---- */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .gallery-item--featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 7px;
  }
  .gallery-item--featured { grid-column: span 2; grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-filter-track { gap: 0.2rem; }
  .gallery-filter-btn { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
  .lightbox-inner { padding: 0 44px; }
  .lightbox-strip { padding: 0 1rem 0.75rem; }
  .lightbox-strip-thumb { width: 46px; height: 46px; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
}

/* ========================================
   HIGHLIGHTS SECTION
   ======================================== */
.highlights {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

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

.highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,106,78,0.25), rgba(0,106,78,0.08));
  border: 1px solid rgba(0,106,78,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-light);
  margin: 0 auto 1.2rem;
  transition: all var(--t-med) var(--ease);
}

.highlight-card:hover .highlight-icon {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
}

.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ========================================
   FOOTER
   ======================================== */

/* ── Base ── */
.footer {
  background: #070e0b;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

/* Dot-grid texture */
.footer-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,106,78,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Ghost background lettering */
.footer-ghost-text {
  position: absolute;
  right: -2rem;
  bottom: 3rem;
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,106,78,0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

/* ── Pre-footer CTA strip ── */
.footer-cta-strip {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(0,106,78,0.2);
  background: linear-gradient(135deg, rgba(0,106,78,0.1) 0%, rgba(0,106,78,0.04) 60%, transparent 100%);
}

.footer-cta-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #006A4E, #00e094, #006A4E);
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 0;
}

.footer-cta-left {
  flex: 1;
}

.footer-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00e094;
  margin-bottom: 0.9rem;
}

.footer-cta-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #00e094;
}

.footer-cta-heading {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

.footer-cta-heading em {
  font-style: normal;
  background: linear-gradient(135deg, #00e094 0%, #006A4E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-cta-right {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-shrink: 0;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  background: var(--green);
  color: #fff;
  border: 1.5px solid transparent;
}

.footer-cta-btn:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,106,78,0.4);
}

.footer-cta-btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

.footer-cta-btn--outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  box-shadow: none;
  transform: translateY(-2px);
}

.footer-cta-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.footer-cta-btn:hover .footer-cta-arrow {
  transform: translateX(4px);
}

/* ── Ticker ── */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-ticker {
  position: relative;
  z-index: 1;
  background: var(--green);
  overflow: hidden;
  padding: 0.65rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.footer-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}

.footer-ticker-track span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}

.ticker-sep {
  color: rgba(255,255,255,0.4) !important;
  font-size: 0.55rem !important;
}

/* ── Main footer grid ── */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3.5rem;
  padding: 3.5rem 0 3rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer-brand-col {}

.footer-logo-new {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo-new .logo-flag {
  width: 32px;
  height: auto;
  border-radius: 4px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 1.25rem;
}

.footer-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,106,78,0.15);
  border: 1px solid rgba(0,106,78,0.3);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.footer-location-pill svg { color: #00875f; flex-shrink: 0; }
.footer-location-sep { color: rgba(255,255,255,0.25); }

/* Nav column */
.footer-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.52);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  margin-left: -0.65rem;
}

.footer-nav-link:hover {
  background: rgba(0,106,78,0.12);
  color: #00e094;
  padding-left: 1rem;
}

.footer-nav-link--featured {
  color: rgba(255,255,255,0.7);
}

.footer-nav-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 100px;
}
.footer-nav-badge--reopened {
  background: linear-gradient(135deg, #e67e00, #f59500);
}

/* Contact column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}

.footer-contact-link:hover { color: rgba(255,255,255,0.85); }

.footer-contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.footer-contact-icon--green {
  background: rgba(0,106,78,0.2);
  border-color: rgba(0,106,78,0.35);
  color: #00e094;
}

.footer-contact-link:hover .footer-contact-icon {
  background: rgba(0,106,78,0.15);
  border-color: rgba(0,106,78,0.3);
  color: #00875f;
}

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

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  transition: all 0.22s var(--ease);
}

.footer-social-icon:hover {
  background: rgba(0,106,78,0.25);
  border-color: rgba(0,224,148,0.35);
  color: #00e094;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,106,78,0.22);
}

.footer-social-icon--wa:hover {
  background: rgba(37,211,102,0.18);
  border-color: rgba(37,211,102,0.35);
  color: #25d366;
  box-shadow: 0 8px 20px rgba(37,211,102,0.18);
}

/* ── Bottom bar ── */
.footer-bottom-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  padding: 1.4rem 0;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
}

.footer-heart {
  color: var(--red);
  font-size: 0.72rem;
}

.footer-legal-new {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}

.footer-legal-new a {
  color: rgba(255,255,255,0.35);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-legal-new a:hover { color: rgba(255,255,255,0.7); }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border: none;
  color: var(--white);
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-med) var(--ease);
  box-shadow: var(--shadow-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-split {
    gap: 2rem;
  }

  .about-geo { display: none; }

  /* Chips need enough column width to not overflow — hide at tablet */
  .emblem-chip { display: none; }

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

  .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 2rem; padding: 3rem 0; }
  .footer-cta-right { flex-direction: row; flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }

  /* Nav mobile */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(11,20,23,0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
  }

  /* Hero */
  .slider-btn { display: none; }
  .scroll-hint { display: none; }
  .slider-dots { bottom: 9rem; }

  .hero-content { padding: calc(var(--nav-h) + 2rem) 1.25rem 2rem; margin-bottom: 12rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

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

  .scroll-hint { display: none; }

  .hero-stats { gap: 1.25rem; padding: 0.65rem 1.5rem; bottom: 4.5rem; }
  .hero-stat-num { font-size: 1.1rem; }
  .hero-stat-label { font-size: 0.58rem; }
  .hero-stat-divider { height: 1.5rem; }

  /* About section mobile */
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Shrink emblem so it fits the mobile container and chips don't overflow */
  .about-emblem {
    width: 240px;
    height: 240px;
  }

  .emblem-ring--1 { width: 230px; height: 230px; }
  .emblem-ring--2 { width: 178px; height: 178px; }
  .emblem-ring--3 { width: 128px; height: 128px; }

  .emblem-core { width: 110px; }

  /* Re-show chips — repositioned with safe small offsets for 240px emblem.
     -10% of 240px = -24px; available margin on each side ≈ 30px, so no overflow. */
  .emblem-chip {
    display: inline-flex;
    font-size: 0.65rem;
    padding: 0.28em 0.65em;
  }

  .chip-1 { top: 8%;    left: -10%;  right: auto; bottom: auto; }
  .chip-2 { top: 40%;   right: -10%; left: auto;  bottom: auto; }
  .chip-3 { bottom: 8%; left: -10%;  right: auto; top: auto;    }
  .chip-4 { top: 8%;    right: -10%; left: auto;  bottom: auto; }
  .chip-5 { bottom: 8%; right: -10%; left: auto;  top: auto;    }

  .about-stats-strip {
    flex-direction: column;
    gap: 2rem;
  }

  .astat-divider {
    width: 60px;
    height: 1px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .registration-wrapper {
    gap: 2rem;
  }

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

  .footer-cta-right { flex-direction: column; }
  .footer-cta-btn { justify-content: space-between; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 0 2rem; }
  .footer-bottom-new { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .footer-legal-new { white-space: normal; }
  .footer-ghost-text { font-size: 5rem; right: -1rem; bottom: 2rem; }
}

@media (max-width: 480px) {
  .about-stats { gap: 1.25rem; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-divider { height: 1.75rem; }
  .hero-content { padding-top: calc(var(--nav-h) + 1.5rem); }
}

/* ========================================
   SUCCESS MODAL
   ======================================== */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.success-modal[hidden] { display: none; }

.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s var(--ease);
}

.success-modal-box {
  position: relative;
  background: var(--bg-section);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalSlideUp 0.35s var(--ease);
}

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

.success-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 0 0 12px rgba(0, 106, 78, 0.15), var(--shadow-green);
  animation: popIn 0.4s 0.2s var(--ease) both;
}

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

.success-modal-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.success-modal-box p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.success-modal-sub {
  font-size: 0.83rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 2rem !important;
}

.success-modal-box .btn {
  min-width: 140px;
}

/* ========================================
   UTILITY
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
