/* ─────────────────────────────────────────────────────────
   Sarbojanin Puja — Main Stylesheet
   Theme: Elegant Hindu Festival with Modern Design
   ───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Serif+Devanagari:wght@400;600;700&family=Cinzel:wght@400;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --saffron: #FF6B2B;
  --saffron-lt: #FF8C55;
  --saffron-dk: #E5520E;
  --crimson: #C41E3A;
  --crimson-lt: #E8294A;
  --gold: #FFD700;
  --gold-dk: #E5B800;
  --dark: #0F0F1A;
  --dark-2: #1A1A2E;
  --dark-3: #16213E;
  --dark-card: rgba(26, 26, 46, 0.85);
  --cream: #FAF8F3;
  --text: #2C2C3E;
  --text-muted: #6B6B8A;
  --border: rgba(255, 107, 43, 0.2);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Utility ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ── Typography ────────────────────────────────────────── */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-2);
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--saffron);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.bengali {
  font-family: 'Noto Serif Devanagari', serif;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dk));
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 43, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 43, 0.5);
  background: linear-gradient(135deg, var(--saffron-lt), var(--saffron));
}

.btn-outline {
  border-color: var(--saffron);
  color: var(--saffron);
  background: transparent;
}

.btn-outline:hover {
  background: var(--saffron);
  color: white;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--dark-2);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ── Gradient Text ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badge ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-upcoming {
  background: rgba(255, 107, 43, 0.15);
  color: var(--saffron);
}

.badge-featured {
  background: rgba(255, 215, 0, 0.2);
  color: #b8860b;
}

.badge-past {
  background: rgba(100, 100, 130, 0.15);
  color: var(--text-muted);
}

/* ── Flash Messages ────────────────────────────────────── */
.flash {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash-success {
  background: #dcfce7;
  color: #166534;
  border-left: 4px solid #22c55e;
}

.flash-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

/* ──────────────────────────────────────────────────────── */
/*  NAVIGATION                                             */
/* ──────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 18px 0;
}

.navbar.scrolled {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.navbar-brand .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .logo-text span:first-child {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.navbar-brand .logo-text span:last-child {
  font-size: 0.7rem;
  color: var(--saffron);
  font-weight: 500;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: white;
  background: var(--glass);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.active {
  color: #fff;
  font-weight: 700;
}

.lang-switch span {
  color: rgba(255, 255, 255, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 10001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ──────────────────────────────────────────────────────── */
/*  HERO / SLIDER                                          */
/* ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.85) 0%, rgba(196, 30, 58, 0.3) 100%);
}

.hero-overlay-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B2B' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 120px 0 80px;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--saffron);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bengali {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots span.active {
  background: var(--saffron);
  width: 28px;
  border-radius: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ──────────────────────────────────────────────────────── */
/*  COUNTDOWN                                              */
/* ──────────────────────────────────────────────────────── */
.countdown-section {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: 'ॐ';
  position: absolute;
  font-size: 400px;
  color: rgba(255, 107, 43, 0.03);
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif Devanagari', serif;
  line-height: 1;
}

.countdown-label {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 8px;
}

.countdown-sublabel {
  font-size: 0.85rem;
  color: var(--saffron);
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
  min-width: 100px;
}

.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: block;
  backdrop-filter: blur(10px);
  line-height: 1;
  min-width: 100px;
  position: relative;
  overflow: hidden;
}

.countdown-num::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron), transparent);
}

.countdown-unit {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-top: 10px;
  font-weight: 600;
}

.countdown-sep {
  display: flex;
  align-items: center;
  color: var(--saffron);
  font-size: 2rem;
  margin-top: -20px;
  font-weight: 300;
}

.event-name-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  color: white;
  padding: 10px 32px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 40px;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ──────────────────────────────────────────────────────── */
/*  EVENTS GRID                                            */
/* ──────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.event-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.event-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img {
  transform: scale(1.05);
}

.event-card-img .event-icon {
  font-size: 3.5rem;
  opacity: 0.3;
}

.event-date-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 60px;
}

.event-date-badge .day {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}

.event-date-badge .month {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.event-card-body {
  padding: 24px;
}

.event-card-body .event-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.event-card-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--dark-2);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.event-location i {
  color: var(--saffron);
  font-size: 1rem;
}

/* Featured event card */
.event-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, #fffbeb, white);
}

.event-card.featured .event-card-img {
  height: 240px;
}

/* ──────────────────────────────────────────────────────── */
/*  TEAM CARDS                                             */
/* ──────────────────────────────────────────────────────── */
/* ── Team Sketch Style ─────────────────────────────────── */
.team-sketch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  margin-top: 48px;
}

.team-sketch-card {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: var(--radius);
}

.team-sketch-card:hover,
.team-sketch-card.highlighted {
  background: rgba(0, 0, 0, 0.02);
}

.team-sketch-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-sketch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: all 0.4s ease;
}

.team-sketch-card:hover .team-sketch-photo img,
.team-sketch-card.highlighted .team-sketch-photo img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

.team-sketch-card.highlighted .team-sketch-photo img {
  filter: grayscale(0%) sepia(20%) saturate(1.4) hue-rotate(-10deg);
}

.team-sketch-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #eee, #ddd);
  color: #999;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.team-sketch-card:hover .team-sketch-avatar,
.team-sketch-card.highlighted .team-sketch-avatar {
  filter: grayscale(0%);
}

.team-sketch-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--crimson);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.team-sketch-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* Bio panel — spans full row inside grid */
.team-bio-panel {
  grid-column: 1 / -1 !important;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease 0.15s, padding 0.8s ease;
  padding: 0;
}

.team-bio-panel.active {
  max-height: 400px;
  opacity: 1;
  padding: 8px 0;
}

.team-bio-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-top: 2px solid var(--crimson);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.team-bio-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--crimson);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.team-bio-role {
  font-size: 0.85rem;
  color: var(--saffron);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 16px;
}

.team-bio-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ──────────────────────────────────────────────────────── */
/*  GALLERY                                                */
/* ──────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.album-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--dark-2);
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card:hover img {
  transform: scale(1.08);
}

.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
  transition: var(--transition);
}

.album-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.album-card .photo-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.album-no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.3);
  font-size: 3rem;
}

/* Photo lightbox grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--dark-2);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--saffron);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--saffron);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 0.9rem;
}

/* ──────────────────────────────────────────────────────── */
/*  FORMS                                                  */
/* ──────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* ──────────────────────────────────────────────────────── */
/*  PAGE HERO / BANNER                                     */
/* ──────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B2B' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .om-bg {
  position: absolute;
  font-size: 300px;
  color: rgba(255, 107, 43, 0.04);
  right: -40px;
  bottom: -60px;
  font-family: 'Noto Serif Devanagari', serif;
  line-height: 1;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.page-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero-content .subtitle-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--saffron);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ──────────────────────────────────────────────────────── */
/*  STATS BANNER                                           */
/* ──────────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dk));
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ──────────────────────────────────────────────────────── */
/*  CTA SECTION                                            */
/* ──────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'ॐ';
  position: absolute;
  font-size: 500px;
  color: rgba(255, 255, 255, 0.015);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif Devanagari', serif;
  line-height: 1;
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────── */
/*  FOOTER                                                 */
/* ──────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--saffron);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-col ul a i {
  flex-shrink: 0;
  line-height: 1.5;
  font-size: 1rem;
}

.footer-col ul a:hover {
  color: var(--saffron);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--saffron);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--saffron);
}

/* ──────────────────────────────────────────────────────── */
/*  FILTER TABS                                            */
/* ──────────────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  background: white;
  border-radius: 50px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
}

.filter-tab {
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  border: none;
  background: none;
  font-family: inherit;
}

.filter-tab.active,
.filter-tab:hover {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dk));
  color: white;
}

/* ──────────────────────────────────────────────────────── */
/*  CONTACT                                                */
/* ──────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-radius: var(--radius);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: 'ॐ';
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 200px;
  color: rgba(255, 107, 43, 0.06);
  font-family: 'Noto Serif Devanagari', serif;
  line-height: 1;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 43, 0.15);
  border: 1px solid rgba(255, 107, 43, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--saffron);
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* ──────────────────────────────────────────────────────── */
/*  ABOUT PAGE EXTRAS                                      */
/* ──────────────────────────────────────────────────────── */
.mission-section {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.mission-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 50px;
  backdrop-filter: blur(20px);
  text-align: center;
}

.mission-om {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 4rem;
  color: var(--saffron);
  margin-bottom: 24px;
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  max-width: 720px;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────── */
/*  ANIMATIONS                                             */
/* ──────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 43, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 107, 43, 0.6);
  }
}

.animate-fadeup {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.animate-fadeup.delay-1 {
  animation-delay: 0.1s;
}

.animate-fadeup.delay-2 {
  animation-delay: 0.2s;
}

.animate-fadeup.delay-3 {
  animation-delay: 0.3s;
}

.animate-fadeup.delay-4 {
  animation-delay: 0.4s;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────────────────────── */
/*  RESPONSIVE                                             */
/* ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 0;
    background: #0F0F1A;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 9999;
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav a {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .lang-switch {
    font-size: 0.8rem;
    gap: 6px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-list-card {
    flex-direction: column !important;
  }

  .event-list-img {
    width: 100% !important;
    height: 240px !important;
  }

  .event-list-img img {
    border-radius: 20px 20px 0 0;
  }

  .team-sketch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .team-sketch-photo {
    width: 140px;
    height: 140px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-grid {
    gap: 12px;
  }

  .countdown-num {
    min-width: 72px;
    padding: 14px 16px;
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-sketch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-sketch-photo {
    width: 110px;
    height: 110px;
  }

  .team-sketch-name {
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-sep {
    display: none;
  }

  .filter-tabs {
    flex-wrap: wrap;
    border-radius: var(--radius);
  }
}