/* ===== CSS VARIABLES ===== */
:root {
  --crimson: #8B0000;
  --crimson-light: #b91c1c;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --dark-stage: #0f0f1a;
  --dark-mid: #1a1a2e;
  --cream: #faf7f2;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.1);
  --card-hover-shadow: 0 12px 40px rgba(0,0,0,0.2);
  --transition: all 0.3s ease;
}


/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 12px 0;
  transition: var(--transition);
  border-bottom: 1px solid #ede8e0;
}

.nav-logo {
  height: 35px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-right {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.ekalavya-title {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.04rem;
  color: var(--crimson);
  line-height: 1;
  white-space: nowrap;
}

/* .nav-sub removed — brand is now one line */

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333 !important;
  padding: 8px 14px !important;
  letter-spacing: 0.2px;
  position: relative;
  white-space: nowrap;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

.btn-join {
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-join:hover {
  background: #6b0000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139,0,0,0.3);
}

/* ===== HERO ===== */
#home { position: relative; }

.carousel { width: 100%; }

.carousel-inner,
.carousel-item {
  height: 88vh;
  min-height: 480px;
}

.hero-slide {
  width: 100%;
  height: 88vh;
  min-height: 480px;
  display: flex;
  align-items: stretch;    /* children fill full height */
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Solid rich backgrounds when images are absent; replace with event photos */
.hero-slide-1 {
  background-color: #110010;
  background-image: linear-gradient(135deg, #0f0f1a 0%, #2a0020 100%);
}
.hero-slide-2 {
  background-color: #100a00;
  background-image: linear-gradient(135deg, #1a0a00 0%, #0f0f1a 100%);
}
.hero-slide-3 {
  background-color: #001210;
  background-image: linear-gradient(135deg, #001a10 0%, #0f0f1a 100%);
}

/* When event images exist, drop them in like this:
.hero-slide-1 { background-image: linear-gradient(135deg,rgba(15,15,26,.8),rgba(42,0,32,.8)), url('../images/event1.jpg'); background-size: cover; }
*/

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  padding: 0 5%;
  animation: heroFadeIn 0.8s ease forwards;
}

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

.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.hero-meta {
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.65) !important;
  margin-bottom: 28px !important;
}

.hero-slide.coming-soon-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming-soon-content { max-width: 900px; }

.coming-soon-content h2 {
  white-space: nowrap;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
}

.hero-content p.coming-soon-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  margin-top: 8px;
}

.btn-hero {
  background: transparent;
  color: #fff;
  border: 2px solid var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-hero:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.btn-hero:disabled {
  opacity: 1;
  cursor: default;
}
.btn-hero:disabled:hover {
  background: transparent;
  color: #fff;
  transform: none;
}

@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .carousel-inner, .carousel-item, .hero-slide { height: 72vh; min-height: 380px; }
}

@media (max-width: 480px) {
  .carousel-inner, .carousel-item, .hero-slide { height: 65vh; min-height: 320px; }
  .hero-content h2 { font-size: 2rem; }
}





/* ═══ KOTHA SLIDE — pure grid layout overlay on top of .hero-slide-1 ═══
   Text on LEFT 25%, image on RIGHT 75%. Keeps all original hero text styling. */






@media (max-width: 768px) {
      }

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--crimson);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1px;
}

@keyframes marqueeScroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ===== SECTIONS ===== */
.section-pad { padding: 80px 0; }

.bg-cream { background-color: var(--cream); }
.bg-white { background-color: #fff; }
.bg-dark-stage { background-color: var(--dark-stage); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-label.light { color: var(--gold); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title.light { color: #fff; }

.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-desc.light { color: rgba(255,255,255,0.65); }

/* ===== ABOUT ===== */
.about-lead {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-body { color: var(--text-muted); line-height: 1.8; }

.about-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .about-title-row { flex-wrap: wrap; row-gap: 8px; }
}

.about-subhead {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 20px 0 10px;
}

.about-subhead i { color: var(--crimson); margin-right: 8px; }

.stat-box {
  background: #fff;
  border-left: 4px solid var(--crimson);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--crimson);
}

.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

.stat-grid-10 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.wwd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.wwd-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 22px 20px;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.wwd-card:hover {
  border-color: var(--crimson);
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

.wwd-card i { display: block; font-size: 1.6rem; color: var(--crimson); margin-bottom: 10px; }
.wwd-card h6 { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.wwd-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }

.about-vision { margin-top: 48px; }
.about-mission { margin-top: 48px; }

.mission-list {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: 0 auto;
}

.mission-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5ded3;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.mission-item:last-child { border-bottom: none; padding-bottom: 0; }

.about-journey { margin-top: 48px; }

/* ===== PICTURE WICTURE ===== */
.pw-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.pw-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  transform: translateY(-6px);
}

.pw-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), #f0c040);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pw-icon i { font-size: 1.6rem; color: #000; }

.pw-card h5 { color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; margin-bottom: 12px; }
.pw-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ===== FOUNDERS ===== */
.founder-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #fff;
  transition: var(--transition);
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
}

.founder-img-wrap {
  height: 300px;
  overflow: hidden;
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.founder-card:hover .founder-img-wrap img { transform: scale(1.05); }

.founder-info {
  padding: 20px;
  border-top: 3px solid var(--crimson);
}

.founder-info h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.founder-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--crimson);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.founder-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ===== PERFORMANCES ===== */
.perf-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #fff;
  transition: var(--transition);
  height: 100%;
}

.perf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}

.perf-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.perf-info { padding: 18px; }

.perf-info h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.perf-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }

.perf-venue { font-size: 0.78rem; color: var(--crimson); font-weight: 600; }

.perf-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
}
.perf-category.cat-epa { background: rgba(139,0,0,0.1); color: var(--crimson); }
.perf-category.cat-pwp { background: rgba(212,160,23,0.18); color: #8a6100; }

/* ===== FEEDBACK ===== */
.feedback-form .form-control, .feedback-form .form-select {
  border: 1.5px solid #e0d8d0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: #fafaf8;
}

.feedback-form .form-control:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
  background: #fff;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #6b0000, var(--crimson));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,0,0,0.3);
}

/* ===== CONTACT ===== */
.contact-box {
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  transition: var(--transition);
}

.contact-box:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.contact-box i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: 12px; }
.contact-box h6 { color: #fff; font-weight: 700; margin-bottom: 6px; }
.contact-box p { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.9rem; }

.contact-email-link { color: inherit; text-decoration: none; }
.contact-email-link:hover { color: var(--gold); text-decoration: underline; }

/* ===== FOOTER ===== */
.footer { background: #0a0a12; color: #bbb; }

.footer-head {
  text-align: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; text-align: center; }
.footer-links li, .footer-links a {
  color: #888;
  font-size: 0.88rem;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }

.footer-logo { width: 44px; height: 44px; object-fit: contain; }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: white;
  transition: var(--transition);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.youtube { background: #ff0000; }

.social-icon:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(255,255,255,0.15); }

.footer-bottom {
  background: #060609;
  border-top: 1px solid #1f1f2e;
  padding: 16px 0;
  font-size: 0.82rem;
}

.footer-bottom a { color: #666; text-decoration: none; margin: 0 8px; }
.footer-bottom a:hover { color: #bbb; }

.footer-admin-link { color: #aaa; text-decoration: none; }
.footer-admin-link:hover { color: var(--gold); }

.aboseco-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
  background: linear-gradient(90deg, #fff200, #ff3131, #ff00e5, #00e5ff, #fff200);
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 242, 0, 0.5));
  animation: aboseco-shine 4s linear infinite;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.aboseco-link i { color: #fff200; }
.aboseco-link:hover {
  filter: drop-shadow(0 0 12px rgba(255, 0, 229, 0.85));
  transform: translateY(-1px);
  animation-duration: 1.2s;
}

@keyframes aboseco-shine {
  to { background-position: 300% center; }
}

/* ===== REGISTRATION MODAL ===== */
.register-modal {
  background: var(--cream);
  border-radius: 22px;
  border: none;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.3);
}

.register-modal .modal-header {
  position: relative;
  background: linear-gradient(150deg, #12100f 0%, #3d0000 55%, var(--crimson) 130%);
  border: none;
  padding: 30px 30px 26px;
  overflow: hidden;
}

.register-modal .modal-header::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.14) 0%, transparent 62%);
  pointer-events: none;
}

.register-modal .modal-header .btn-close {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  opacity: 1;
  padding: 0;
  background-size: 13px;
}

.register-modal .modal-header .btn-close:hover { background-color: rgba(255,255,255,0.2); }

.header-icon-badge {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,160,23,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.register-modal .modal-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.modal-subtitle { position: relative; z-index: 2; color: rgba(255,255,255,0.62); font-size: 0.87rem; margin: 5px 0 0; }

.register-modal .modal-body { padding: 26px 28px 6px; }

/* Section cards */
.form-section-card {
  background: #fff;
  border: 1px solid #ece4d6;
  border-radius: 18px;
  padding: 22px 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(31,20,10,0.05);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink, #1a1a1a);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  margin-top: 0;
}

.form-section-title .step-num {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-section-title .step-hint {
  margin-left: auto;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.register-modal .form-control,
.register-modal .form-select {
  background: #f3ede2;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  transition: var(--transition);
}

.register-modal .form-control:focus,
.register-modal .form-select:focus {
  background: #fff;
  border-color: var(--crimson);
  box-shadow: 0 0 0 4px rgba(139,0,0,0.1);
}

.register-modal .form-control::placeholder { color: #a79f8f; }

.register-modal .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

/* Interest chips */
.interest-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid #e5ddd0;
  border-radius: 12px;
  color: #4a453d;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 10px;
  background: #f3ede2;
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.btn-check:checked + .interest-label {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
  border-color: var(--crimson);
  color: #fff;
  box-shadow: 0 6px 16px rgba(139,0,0,0.28);
}

.btn-check:checked + .interest-label::after {
  content: "✓";
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #3a2900;
  font-size: 0.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.interest-label:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

/* Ratings */
.rating-badge {
  min-width: 32px;
  text-align: center;
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 2px 6px;
  border-radius: 999px;
}

.register-modal .form-range { --val: 44%; }

.register-modal .form-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--crimson) var(--val), #f3ede2 var(--val), #f3ede2 100%);
}

.register-modal .form-range::-webkit-slider-thumb {
  margin-top: -5px;
  background: #fff;
  border: 3px solid var(--crimson);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.register-modal .form-range::-moz-range-thumb {
  background: #fff;
  border: 3px solid var(--crimson);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.register-modal .form-range::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--crimson) var(--val), #f3ede2 var(--val), #f3ede2 100%);
}

.register-modal .modal-footer {
  background: var(--cream);
  border-top: 1px solid #ece4d6;
  padding: 18px 28px 24px;
  box-shadow: 0 -8px 20px rgba(31,20,10,0.04);
}

.register-modal .modal-footer .btn {
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: 0.86rem;
}

.register-modal .modal-footer .btn-outline-light {
  color: #5a5348;
  border: 1.5px solid #ddd3c2;
}

.register-modal .modal-footer .btn-outline-light:hover {
  background: #efe8db;
  color: #5a5348;
  border-color: #ddd3c2;
}

.register-modal .btn-join {
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(139,0,0,0.32);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .stat-grid-10 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .stat-grid-10 { grid-template-columns: repeat(2, 1fr); }
  .ekalavya-title { font-size: 1rem; }
  .nav-logo { height: 38px; }
}

@media (max-width: 480px) {
  .stat-grid-10 { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding: 0 16px; }
}

/* ═══ LOGIN MODAL ═══ */
.login-modal {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

.login-header {
  background: linear-gradient(135deg, #0f0f1a 0%, #3d0000 100%);
  border: none;
  padding: 32px 28px 24px;
  position: relative;
}

.login-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 2rem; color: var(--gold);
  border: 2px solid rgba(212,160,23,0.4);
}

.login-modal .modal-body {
  padding: 28px 28px 20px;
}

/* ── Input icon helpers (shared with admin) ── */
.input-icon-wrap { position: relative; }

.input-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: #aaa; font-size: 0.9rem;
  pointer-events: none; z-index: 2;
}

.input-with-icon { padding-left: 36px !important; padding-right: 44px; }

.btn-eye {
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: #aaa;
  cursor: pointer; z-index: 2; padding: 4px 6px;
  transition: color 0.2s;
}

.btn-eye:hover { color: var(--crimson); }

.login-modal .form-control {
  border: 1.5px solid #e5ddd4;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: all 0.25s;
}

.login-modal .form-control:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(139,0,0,0.12);
}

.login-modal .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

/* ═══ PICTURE WICTURE NAV BRAND — CLEAN ═══ */
.pw-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 0;
  opacity: 1;
  transition: opacity 0.2s;
}
.pw-nav-brand:hover { opacity: 0.85; }

/* Logo — fixed size, never changes on hover */
.pw-nav-logo {
  height: 32px !important;
  width: 32px !important;
  min-width: 32px;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(26,60,120,0.2);
  box-shadow: 0 2px 8px rgba(26,60,120,0.1);
  flex-shrink: 0;
  display: block;
  /* NO transform or size change on hover */
}
.pw-nav-brand:hover .pw-nav-logo {
  /* intentionally empty */
}

.pw-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* "Picture Wicture Productions" — ALL ON ONE LINE */
.pw-name-line {
  font-family: 'Arial Rounded MT Bold', 'Arial Rounded MT', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  display: block;
  line-height: 1;
}

.pw-tagline {
  font-size: 0.42rem;
  color: #999;
  white-space: nowrap;
  display: block;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* Tricolour initials */
.pw-p  { color: #FF6600; }
.pw-w  { color: #1a3c78; }
.pw-pg { color: #138808; }
.pw-rest { color: #1a1a1a; }

.nav-divider {
  width: 1px;
  height: 28px;
  background: #e0dbd4;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .pw-name-line { font-size: 0.78rem; }
  .pw-nav-logo { height: 36px !important; width: 36px !important; max-width: 36px !important; max-height: 36px !important; min-width: 36px; }
}
@media (max-width: 480px) {
  .pw-name-line { font-size: 0.68rem; }
  .pw-tagline { font-size: 0.56rem; }
}

/* ── Manual modal fallback (works without Bootstrap JS on file://) ── */
.modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.modal.show .modal-dialog {
  margin: auto;
  width: 100%;
}

/* ── Admin nav link ── */
.nav-admin-link {
  color: var(--crimson) !important;
  font-weight: 600 !important;
}
.nav-admin-link:hover { opacity: 0.8; }
.nav-admin-link::after { background: var(--crimson) !important; }

/* ── Admin nav button ── */
.btn-admin-nav {
  background: transparent;
  color: #555;
  border: 1px solid #ccc;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-admin-nav:hover {
  background: #f5f0eb;
  color: var(--crimson);
  border-color: var(--crimson);
}

/* Remove old nav-admin-link style if it bleeds in */
.nav-admin-link { display: none !important; }



/* Buttons should not stretch */
#mainNav .btn-admin-nav,
#mainNav .btn-join,
#mainNav .btn {
  align-self: center !important;
  height: fit-content !important;
}

/* Nav links inside ul */
#mainNav .navbar-nav .nav-link {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* PW text block */
#mainNav .pw-nav-brand .pw-nav-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
}



/* ════════════════════════════════════════════
   CAROUSEL SLIDE LAYOUT — uniform across all slides
   Text on LEFT 25%, IMAGE truly centered on screen
   ════════════════════════════════════════════ */

/* The slide container is a grid: text 25% + empty 75%
   The image is positioned absolutely, centered on FULL slide. */
.hero-slide.kotha-slide {
  display: grid !important;
  grid-template-columns: 25% 75% !important;
  align-items: stretch !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* TEXT — left 25% */
.hero-slide.kotha-slide > .kotha-text {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 0 24px 0 5% !important;
  position: relative !important;
  z-index: 10 !important;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 65%, rgba(0,0,0,0) 100%) !important;
}

/* IMAGE CELL — fills right 75% of grid */
.hero-slide.kotha-slide > .kotha-image {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* THE IMAGE — true full-screen center using absolute positioning */
.hero-slide.kotha-slide > .kotha-image img {
  position: absolute !important;
  top: 50% !important;
  /* left:-33.33% on a 75%-wide container = -25% of full screen.
     Then translateX(-50%) = -50% of image's own width.
     This positions image's centre at: container_left(25%) + (-33.33% of 75% = -25% of screen) + center
     Hmm. Use simpler approach: */

  /* Position image's centre at -33.33% from left of the 75% container.
     The 75% container's left edge is at 25% of screen.
     So image-centre = 25% + (-33.33% * 75%/100%) of screen
                     = 25% + -25% = 0%? wrong direction.
     Let me think again:
     The image needs to be at screen-centre = 50%.
     Image-cell starts at 25% from left.
     Within the image-cell, screen-centre is at (50%-25%)/75% = 33.33% from left of cell.
     So set left: 33.33% within the cell. */

  left: 33.33% !important;
  transform: translate(-50%, -50%) !important;
  max-height: 90% !important;
  max-width: 70vw !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 80px rgba(139,0,0,0.2) !important;
}

/* MOBILE: stack vertically */
@media (max-width: 768px) {
  .hero-slide.kotha-slide {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr !important;
  }
  .hero-slide.kotha-slide > .kotha-text {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 24px 20px !important;
    background: rgba(0,0,0,0.8) !important;
  }
  .hero-slide.kotha-slide > .kotha-image {
    grid-column: 1 !important;
    grid-row: 2 !important;
    /* Grid/flex items default to min-height:auto, which means "never shrink
       below content's natural size" — without this override, the image's
       own intrinsic aspect ratio forces this cell (and the row) taller than
       the 1fr track actually has room for, blowing past .hero-slide's fixed
       height and getting hard-clipped by its overflow:hidden. This is what
       "carousel poster cropped/half-visible on mobile" was: the cell was
       never actually constrained to the leftover space in the first place. */
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .hero-slide.kotha-slide > .kotha-image img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 90% !important;
    max-height: 100% !important;
  }
}

/* ════ NAVBAR — two rows ════
   Row 1 (.nav-brand-row): both logos, always shown together — never
   competes with the menu links for horizontal space, so it's just a
   centered, wrapping flex row. On narrow screens the Picture Wicture block
   naturally wraps to its own centered line below the EPA brand; no JS or
   extra breakpoints needed for that, flex-wrap handles it.

   Row 2 (.nav-menu-row): the links + Admin + Join Us. This is the only part
   that still needs a hamburger fallback, and — since it no longer has to
   share room with either logo — the minimum width before it fits inline is
   dramatically lower than the old single-row design's ~1715px.
   Verified empirically: 950px is the true minimum; 1080px keeps a margin. */
/* Bootstrap's own .navbar class sets display:flex in the default row
   direction — without this, .nav-brand-row and .nav-menu-row only stack as
   two visual rows when there happens not to be enough combined width for
   both to sit side by side, which depends on font metrics/rendering and
   isn't reliable. Forcing column direction here makes the two-row layout
   unconditional regardless of viewport width. */
#mainNav { flex-direction: column; align-items: stretch; }

.nav-brand-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 9px 14px;
  border-bottom: 1px solid #ede8e0;
}
.nav-epa-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.nav-pw-brand-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.nav-menu-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
.nav-menu-row .navbar-collapse {
  display: flex;
  justify-content: center;
}

@media (min-width: 1080px) {
  nav#mainNav .navbar-toggler { display: none !important; }
  nav#mainNav .navbar-nav {
    display: flex !important;
    flex-direction: row !important; /* Bootstrap's own base .navbar-nav rule is flex-direction:column (mobile-first); that's normally flipped to row by .navbar-expand-lg's own min-width media query, which no longer applies since this nav has no navbar-expand-* class */
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }
}

/* Shrink-on-scroll (mobile only): script.js toggles .nav-shrunk on #mainNav
   once the visitor scrolls past a small threshold, collapsing the two-logo
   brand row down to small icons only so it stops eating phone screen real
   estate while browsing. Scrolling back near the top restores it. Logo
   sizes/padding transition smoothly; the title/tagline text is simply
   hidden (animating text width reliably needs a fixed max-width anchor,
   which risks clipping real content — not worth it for a two-word label). */
.nav-logo, .pw-nav-logo { transition: height 0.25s ease, width 0.25s ease; }
@media (max-width: 480px) {
  .nav-brand-row, .nav-menu-row { transition: padding 0.25s ease, gap 0.25s ease; }
  #mainNav.nav-shrunk .nav-brand-row { padding: 4px 10px; gap: 10px; }
  #mainNav.nav-shrunk .nav-menu-row { padding: 4px 16px; }
  #mainNav.nav-shrunk .nav-logo { height: 26px; }
  #mainNav.nav-shrunk .pw-nav-logo { height: 26px !important; width: 26px !important; max-width: 26px !important; max-height: 26px !important; min-width: 26px; }
  #mainNav.nav-shrunk .ekalavya-title,
  #mainNav.nav-shrunk .pw-nav-text {
    display: none;
  }
}

@media (max-width: 1079px) {
  nav#mainNav .navbar-toggler { display: block !important; }
  nav#mainNav .navbar-collapse {
    display: none;
    width: 100%;
  }
  nav#mainNav .navbar-collapse.show { display: flex; }
  nav#mainNav .navbar-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    gap: 2px;
    padding: 8px 0;
  }
  nav#mainNav .navbar-nav .nav-link {
    padding: 10px 4px !important;
    border-bottom: 1px solid #f0ebe3;
  }
}

nav#mainNav .navbar-nav .nav-link {
  display: inline-flex !important;
  align-items: center !important;
}
nav#mainNav .btn,
nav#mainNav .btn-admin-nav,
nav#mainNav .btn-join {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* ════ FEEDBACK TABS ════ */
.feedback-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  border-bottom: 1px solid #e8e2da;
  padding-bottom: 0;
}
.fb-tab {
  background: transparent;
  border: none;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.fb-tab:hover { color: var(--crimson); }
.fb-tab.active {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}
.fb-panel { display: none; }
.fb-panel.active { display: block; animation: fbFade 0.3s; }
@keyframes fbFade { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform:none; } }

/* ════ VIDEO RECORDER ════ */
.video-recorder {
  background: #fafaf8;
  border: 1px solid #e8e2da;
  border-radius: 12px;
  padding: 18px;
}

.video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f0f1a;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.7);
  padding: 24px;
}
.video-placeholder i {
  font-size: 3.5rem;
  color: rgba(255,255,255,0.4);
}
.video-placeholder p { color: #fff; }

.rec-indicator {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.rec-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  animation: recPulse 1s infinite;
}
@keyframes recPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.85); }
}

/* Controls */
.video-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.video-controls .btn {
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-record {
  background: var(--crimson);
  color: #fff;
}
.btn-record:hover { background: #6b0000; color: #fff; transform: translateY(-1px); }
.btn-stop {
  background: #ef4444;
  color: #fff;
}
.btn-stop:hover { background: #b91c1c; color: #fff; }
.btn-retake {
  background: #fff;
  color: #555;
  border: 1px solid #ccc !important;
}
.btn-retake:hover { background: #f0ebe4; color: var(--crimson); border-color: var(--crimson) !important; }
.btn-send {
  background: #138808;
  color: #fff;
}
.btn-send:hover { background: #0e6a06; color: #fff; transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   SHARE YOUR FEEDBACK — text left | divider | video right
   ═══════════════════════════════════════════ */

.feedback-split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Each column */
.fb-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fb-col-title {
  color: #8B0000;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0ebe4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-col-title i {
  font-size: 1.15rem;
  color: #8B0000;
}

/* Vertical divider with "OR" badge */
.fb-divider {
  position: relative;
  background: linear-gradient(to bottom, transparent, #e8e2da 15%, #e8e2da 85%, transparent);
  width: 1px;
  align-self: stretch;
}

.fb-divider-or {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #999;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0;
  border: 1px solid #e8e2da;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══ VIDEO SCREEN ═══ */
.video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 16px;
  min-height: 280px;
}

.video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mirror the live self-view only, like a selfie camera, so it feels natural
   while recording. The actual recorded/uploaded video (and its playback
   preview below) is untouched — MediaRecorder captures the raw stream, this
   is a display-only CSS transform. */
#videoPreview {
  transform: scaleX(-1);
}

/* Centred placeholder with icon */
.video-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.85);
  padding: 24px;
}

.video-icon-circle {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(212,160,23,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-icon-circle i {
  font-size: 2.8rem;
  color: #d4a017;
}

.video-placeholder p {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 14px 0 4px;
}

.video-placeholder small {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

/* Recording indicator */
.rec-indicator {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.rec-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  animation: recPulse 1s infinite;
}

@keyframes recPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.85); }
}

/* Pre-roll countdown shown over the live preview before recording actually
   starts, so the mic/camera light coming on doesn't catch anyone off guard. */
.rec-countdown {
  position: absolute;
  inset: 0;
  background: rgba(15,15,26,0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 6;
  color: #fff;
  text-align: center;
}
.rec-countdown-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.rec-countdown-num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: #d4a017;
  animation: countdownPop 1s ease-out;
}
@keyframes countdownPop {
  0%   { transform: scale(1.6); opacity: 0; }
  40%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ═══ ICON BUTTONS ═══ */
.video-icon-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 4px 0;
}

.vid-icon-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.vid-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.vid-icon-btn.rec     { background: #138808; }
.vid-icon-btn.rec:hover { background: #0e6a06; }

.vid-icon-btn.stop    { background: #8B0000; }
.vid-icon-btn.stop:hover { background: #6b0000; }

.vid-icon-btn.retake  { background: #fff; color: #555; border: 1.5px solid #ccc; }
.vid-icon-btn.retake:hover { background: #f0ebe4; color: #8B0000; border-color: #8B0000; }

.vid-icon-btn.send    { background: #138808; }
.vid-icon-btn.send:hover { background: #0e6a06; }

/* ═══ Responsive ═══ */
@media (max-width: 991px) {
  .feedback-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .fb-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e8e2da 15%, #e8e2da 85%, transparent);
  }
  .vid-icon-btn { width: 50px; height: 50px; font-size: 1.4rem; }
  .rec-countdown-num { font-size: 3rem; }
}

/* ════ PWP FOUNDER CARDS — ROUND COMPACT ════ */
.pwp-founders-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: nowrap;
  padding: 8px 0 16px;
}
.pwp-fc { display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.3s ease; }
.pwp-fc:hover { transform: translateY(-5px); }
.pwp-fc-img-wrap { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 4px 20px rgba(0,0,0,0.4); transition: box-shadow 0.3s ease, border-color 0.3s ease; flex-shrink: 0; }
.pwp-fc:hover .pwp-fc-img-wrap { box-shadow: 0 8px 28px rgba(184,134,11,0.45); border-color: #fff; }
.pwp-fc-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pwp-fc-name { color: rgba(255,255,255,0.9); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.9rem; margin: 10px 0 3px; letter-spacing: 0.3px; white-space: nowrap; }
.pwp-fc-role { color: var(--gold); font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; display: block; white-space: nowrap; }

@media (max-width: 480px) {
  /* Flex-wrap doesn't work here: each .pwp-fc's width is driven by its
     nowrap name text, so columns end up different widths and the circles
     drift out of alignment from row to row. A 2-column grid forces equal-
     width columns, so every circle lines up regardless of name length. */
  .pwp-founders-row { display: grid; grid-template-columns: repeat(2, 1fr); justify-items: center; gap: 28px 8px; flex-wrap: unset; }
  .pwp-fc-img-wrap { width: 88px; height: 88px; }
}

/* ════ FEEDBACK WALL ════ */
.fbwall-layout { display: grid; grid-template-columns: 200px 1fr 200px; gap: 20px; align-items: stretch; margin-bottom: 40px; min-height: 420px; }
@media (max-width: 768px) {
  .fbwall-layout { grid-template-columns: 1fr; min-height: 0; }
  .fbwall-videos { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .fbwall-videos .fbwall-video-card { flex: 0 0 200px; }
}
.fbwall-videos { display: flex; flex-direction: column; gap: 14px; }
.fbwall-video-card { background: #1a1a2e; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: transform 0.2s; }
.fbwall-video-card:hover { transform: scale(1.02); }
.fbwall-video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.fbwall-video-meta { padding: 6px 10px 8px; }
.fbwall-video-name { display: block; font-size: 0.75rem; font-weight: 600; color: #fff; font-family: 'Playfair Display', serif; }
.fbwall-video-event { display: block; font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.fbwall-postits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px; background: #f5f0e8; border-radius: 16px; box-shadow: inset 0 2px 12px rgba(0,0,0,0.08); position: relative; min-height: 360px; align-items: center; align-content: center; height: 100%; }
.fbwall-postits::before {
  content: "Wall of Applause";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  color: rgba(139,0,0,0.10);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.postit { position: relative; z-index: 1; padding: 22px 16px 16px; border-radius: 3px; box-shadow: 3px 4px 14px rgba(0,0,0,0.18); transition: transform 0.2s, box-shadow 0.2s; cursor: default; }
.postit:hover { transform: scale(1.04) rotate(0deg) !important; box-shadow: 6px 8px 24px rgba(0,0,0,0.28); z-index: 2; }
.postit-pin { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; background: radial-gradient(circle at 40% 35%, #ff6b6b, #c0392b); border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.postit-text { font-size: 0.82rem; color: #333; line-height: 1.6; font-family: 'DM Sans', sans-serif; margin: 0; word-break: break-word; }
.postit-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.postit-name { font-size: 0.8rem; font-weight: 700; color: #2a2a2a; font-family: 'DM Sans', sans-serif; letter-spacing: 0.2px; }
.postit-event { font-size: 0.65rem; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.fbwall-loading { color: #aaa; font-size: 0.82rem; text-align: center; padding: 20px 0; }
.fbwall-empty { grid-column: 1/-1; text-align: center; color: #aaa; padding: 40px 20px; }
.fbwall-empty i { font-size: 2rem; display: block; margin-bottom: 8px; }
.fbwall-empty-video { text-align: center; color: #aaa; padding: 20px 10px; font-size: 0.78rem; }
.fbwall-empty-video i { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.fb-wall-divider { height: 2px; background: linear-gradient(90deg, transparent, #e0dbd4, transparent); width: 60%; margin: 0 auto; }

.fbwall-pagination-row { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; flex-wrap: wrap; }
.fbwall-pagination-divider { width: 1px; height: 28px; background: #e0d8d0; }
.fbwall-pagination { display: flex; align-items: center; gap: 10px; }
.fbwall-page-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--crimson);
}
.fbwall-page-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #e0d8d0; background: #fff; color: var(--crimson);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
}
.fbwall-page-arrow:hover:not(:disabled) { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.fbwall-page-arrow:disabled { opacity: 0.35; cursor: default; }
.fbwall-page-indicator { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); min-width: 40px; text-align: center; }

@media (max-width: 768px) {
  .fbwall-postits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fbwall-postits { grid-template-columns: 1fr; }
}

/* ── About EPA Download Button ── */
.btn-about-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--crimson);
  border-radius: 8px;
  color: var(--crimson);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-about-download i {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.btn-about-download:hover {
  background: var(--crimson);
  color: #fff;
}
.btn-about-download:hover i {
  transform: translateY(3px);
}

/* ── About Download Icon ── */
.about-download-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.25s ease;
  flex-shrink: 0;
}
.about-download-icon:hover {
  opacity: 1;
  transform: translateY(3px);
}

/* ═══ ANNOUNCEMENT BANNER ═══
   Transparent fixed layer above the page, content set by script.js from
   GET /announcement (admin-managed, Content tab). Particle effects are
   purely decorative (pointer-events: none) so nothing underneath is ever
   blocked; only the small badge itself is clickable, for the close button. */
.bday-overlay {
  position: fixed;
  inset: 0;
  z-index: 1030; /* above sticky navbar (1020), below Bootstrap modals (1050+) */
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.bday-overlay.bday-overlay-hide { opacity: 0; }

.bday-effect-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* Shared particle base — script.js appends one <span class="eka-particle
   eka-particle--{effect}"> per particle, with randomized left/animation-delay/
   animation-duration set inline so no two runs look identical. */
.eka-particle { position: absolute; pointer-events: none; opacity: 0; will-change: transform, opacity; }

/* Balloons */
.eka-particle--balloons {
  bottom: -160px;
  width: 42px;
  height: 54px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(circle at 34% 28%, var(--eka-color-light, #f4cf6b), var(--eka-color, #b8860b) 72%);
  animation-name: balloonRise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.eka-particle--balloons::before { /* knot */
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--eka-color, #b8860b);
}
.eka-particle--balloons::after { /* string */
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 64px;
  background: rgba(40,30,20,0.22);
}
@keyframes balloonRise {
  0%   { transform: translate(0, 0) rotate(-3deg); opacity: 0; }
  8%   { opacity: 0.9; }
  25%  { transform: translate(16px, -28vh) rotate(3deg); }
  50%  { transform: translate(-14px, -55vh) rotate(-3deg); }
  75%  { transform: translate(14px, -82vh) rotate(2deg); }
  92%  { opacity: 0.8; }
  100% { transform: translate(-10px, -114vh) rotate(-2deg); opacity: 0; }
}

/* Sparkle */
.eka-particle--sparkle {
  top: -10px;
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, #fff, var(--eka-color, #f0c040) 70%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(240,192,64,0.55);
  animation-name: sparkleTwinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.4); }
  50%      { opacity: 1; transform: translateY(40vh) scale(1.3); }
}

/* Rain */
.eka-particle--rain {
  top: -40px;
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(120,170,220,0.8));
  animation-name: rainFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes rainFall {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: 0.85; }
  100% { transform: translateY(112vh); opacity: 0.2; }
}

/* Confetti (party popper) */
.eka-particle--confetti {
  top: -20px;
  width: 9px;
  height: 14px;
  background: var(--eka-color, #d4a017);
  animation-name: confettiFall;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translateY(112vh) rotate(560deg); opacity: 0.9; }
}

/* Snow */
.eka-particle--snow {
  top: -14px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255,255,255,0.85);
  animation-name: snowFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes snowFall {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: 0.9; }
  50%  { transform: translate(14px, 55vh); }
  100% { transform: translate(-10px, 114vh); opacity: 0.3; }
}

/* Crackers (fireworks) — script.js positions each spark at its burst's
   origin (left/top) and sets --eka-dx/--eka-dy to the burst-relative
   endpoint; several sparks sharing one origin + delay read as one firework. */
.eka-particle--crackers {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--eka-color, #d4a017);
  box-shadow: 0 0 6px 2px var(--eka-color, #d4a017);
  animation-name: crackerBurst;
  animation-timing-function: cubic-bezier(0.15, 0.65, 0.35, 1);
  animation-iteration-count: infinite;
}
@keyframes crackerBurst {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translate(var(--eka-dx, 0px), var(--eka-dy, 0px)) scale(0.15); opacity: 0; }
}

/* Hearts — classic CSS heart: a 45°-rotated square plus two circle
   pseudo-elements filling in the rounded lobes. */
.eka-particle--hearts {
  bottom: -20px; /* starts just below the visible area and rises through it, like balloons */
  width: 13px;
  height: 13px;
  background: var(--eka-color, #c9628a);
  animation-name: heartsFloat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.eka-particle--hearts::before,
.eka-particle--hearts::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--eka-color, #c9628a);
}
.eka-particle--hearts::before { top: -6.5px; left: 0; }
.eka-particle--hearts::after  { top: 0; left: -6.5px; }
@keyframes heartsFloat {
  0%   { transform: translate(0, 0) rotate(45deg) scale(0.5); opacity: 0; }
  10%  { opacity: 0.95; }
  50%  { transform: translate(14px, -50vh) rotate(45deg) scale(1); }
  100% { transform: translate(-10px, -102vh) rotate(45deg) scale(0.7); opacity: 0; }
}

/* Birthday Cake — unlike the other effects, this one renders the actual 🎂
   emoji as the particle's text content (set in script.js) rather than a
   CSS-drawn shape, so it just needs font-size + a gentle rise/sway. */
.eka-particle--cake {
  bottom: -40px;
  font-size: 26px;
  line-height: 1;
  animation-name: cakeFloat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes cakeFloat {
  0%   { transform: translate(0, 0) rotate(-6deg) scale(0.7); opacity: 0; }
  10%  { opacity: 0.95; }
  50%  { transform: translate(16px, -50vh) rotate(6deg) scale(1); }
  100% { transform: translate(-12px, -104vh) rotate(-6deg) scale(0.85); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .eka-particle { display: none; }
}

.bday-badge {
  position: fixed;
  /* --bday-nav-bottom is set dynamically in JS (see positionBadge() inside
     loadAnnouncementBanner() in script.js) from the nav's actual measured
     height, not a hardcoded breakpoint value — the nav's height varies too
     much across widths/wrap-states (two-row brand+menu layout, mobile menu
     open/closed, phone-wrap of the Picture Wicture block, etc.) for a
     handful of fixed pixel tiers to reliably clear it without either
     overlapping or leaving a big gap. The 66px fallback covers the instant
     before that JS runs and the (rare) case it doesn't run at all. */
  top: calc(var(--bday-nav-bottom, 56px) + 10px);
  left: 50%;
  transform: translateX(-50%); /* fallback for prefers-reduced-motion, where bdayPulseScale (the only other source of this transform) is disabled below */
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fffdf5, #fff6dc);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 3px solid var(--gold);
  border-radius: 100px;
  padding: 14px 52px 14px 22px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.2), 0 0 0 5px rgba(212,160,23,0.16), 0 0 22px rgba(212,160,23,0.3);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  max-width: calc(100vw - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: bdayColorCycle 4.5s ease-in-out infinite, bdayPulseScale 2.4s ease-in-out infinite;
}
.bday-badge::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 35%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.85), transparent);
  transform: rotate(20deg);
  animation: bdayShimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
.bday-badge-emoji { flex-shrink: 0; font-size: 1.4em; display: inline-block; animation: bdayEmojiWiggle 1.8s ease-in-out infinite; }

@keyframes bdayColorCycle {
  0%, 100% { border-color: var(--gold);    box-shadow: 0 10px 34px rgba(0,0,0,0.2), 0 0 0 6px rgba(212,160,23,0.22), 0 0 26px rgba(212,160,23,0.45); }
  33%      { border-color: var(--crimson); box-shadow: 0 10px 34px rgba(0,0,0,0.2), 0 0 0 6px rgba(139,0,0,0.22),   0 0 26px rgba(139,0,0,0.45); }
  66%      { border-color: #2f7d6b;        box-shadow: 0 10px 34px rgba(0,0,0,0.2), 0 0 0 6px rgba(47,125,107,0.22), 0 0 26px rgba(47,125,107,0.45); }
}

@keyframes bdayPulseScale {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.035); }
}

@keyframes bdayShimmer {
  0%, 15% { left: -60%; }
  85%, 100% { left: 130%; }
}

@keyframes bdayEmojiWiggle {
  0%, 100% { transform: rotate(-10deg); }
  50%      { transform: rotate(10deg); }
}

.bday-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(212,160,23,0.18);
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}
.bday-close:hover { background: var(--crimson); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .bday-badge, .bday-badge::before, .bday-badge-emoji {
    animation: none;
  }
}

@media (max-width: 480px) {
  .bday-badge { font-size: 0.85rem; padding: 11px 40px 11px 16px; gap: 8px; }
  .bday-badge-emoji { font-size: 1.2em; }
  .eka-particle--balloons { width: 34px; height: 44px; }

  /* Auto-shrunk state (script.js adds this ~4.5s after the banner appears):
     collapses the full-width pill into a small tappable corner icon so it
     stops covering the page. Tapping it (see expandBdayBadge()) restores
     the full pill. */
  .bday-badge.bday-collapsed {
    top: auto;
    bottom: 18px;
    left: auto;
    right: 18px;
    transform: none;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
    justify-content: center;
    cursor: pointer;
    animation: bdayColorCycle 4.5s ease-in-out infinite;
  }
  .bday-badge.bday-collapsed .bday-badge-text,
  .bday-badge.bday-collapsed .bday-close {
    display: none;
  }
  .bday-badge.bday-collapsed::before { display: none; }
  .bday-badge.bday-collapsed .bday-badge-emoji { font-size: 1.5em; }
}