/* ===========================
   SWADESHI MELA 2026 — CSS
   Colors: Saffron, Green, White
   =========================== */

:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C2A;
  --saffron-pale: #FFF3E8;
  --green: #138808;
  --green-light: #1aa80a;
  --green-pale: #E8F5E9;
  --white: #ffffff;
  --dark: #1a1a1a;
  --gray: #555555;
  --gray-light: #f5f5f5;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --font: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom: 3px solid var(--saffron);
}

.nav-brand .brand-sjm {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.3px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.brand-lockup img + img { margin-left: -11px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--saffron); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---- Font Size Control ---- */
.font-size-control {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--gray-light);
  border-radius: 6px;
  padding: 3px;
}

.fs-btn {
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: var(--gray);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.fs-btn:nth-child(1) { font-size: 11px; padding: 4px 7px; }
.fs-btn:nth-child(2) { font-size: 14px; padding: 3px 7px; }
.fs-btn:nth-child(3) { font-size: 18px; padding: 1px 7px; }

.fs-btn.fs-active {
  background: var(--saffron);
  color: var(--white);
}

.fs-btn:hover:not(.fs-active) {
  background: var(--border);
  color: var(--dark);
}

.lang-toggle {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}

.lang-toggle:hover { background: var(--green-light); }

.btn-register {
  background: var(--saffron);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-register:hover {
  background: var(--saffron-light);
  transform: translateY(-1px);
}

.btn-participate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 17px;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s, transform .15s, box-shadow .2s;
}

.btn-participate::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.btn-participate:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(19,136,8,.2);
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--saffron);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a0a 40%, #0d2b0d 100%);
  overflow: hidden;
  text-align: center;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: transform, opacity;
}

.hero-slide.active { opacity: 1; }

[data-kb="1"].active { animation: kb1 8s ease-in-out forwards; }
[data-kb="2"].active { animation: kb2 8s ease-in-out forwards; }
[data-kb="3"].active { animation: kb3 8s ease-in-out forwards; }
[data-kb="4"].active { animation: kb4 8s ease-in-out forwards; }
[data-kb="5"].active { animation: kb5 8s ease-in-out forwards; }
[data-kb="6"].active { animation: kb6 8s ease-in-out forwards; }
[data-kb="7"].active { animation: kb7 8s ease-in-out forwards; }

@keyframes kb1 { from { transform: scale(1.0) translate(0,0);     } to { transform: scale(1.12) translate(-2%,-1%); } }
@keyframes kb2 { from { transform: scale(1.12) translate(2%,1%);  } to { transform: scale(1.0)  translate(0,0);     } }
@keyframes kb3 { from { transform: scale(1.0)  translate(0,2%);   } to { transform: scale(1.1)  translate(2%,0);    } }
@keyframes kb4 { from { transform: scale(1.1)  translate(-2%,0);  } to { transform: scale(1.0)  translate(0,-2%);   } }
@keyframes kb5 { from { transform: scale(1.0)  translate(1%,1%);  } to { transform: scale(1.12) translate(-1%,-1%); } }
@keyframes kb6 { from { transform: scale(1.12) translate(-1%,1%); } to { transform: scale(1.0)  translate(1%,-1%);  } }
@keyframes kb7 { from { transform: scale(1.0)  translate(0,-1%);  } to { transform: scale(1.1)  translate(-2%,1%);  } }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,107,0,0.20) 0%, transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(19,136,8,0.15) 0%, transparent 55%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.52);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 24px;
  max-width: 800px;
}

.hero-logos {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
}

.hero-logos img {
  width: 78px;
  height: 78px;
  border: 3px solid rgba(255,255,255,0.92);
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.hero-logos img + img { margin-left: -12px; }

.contact-card a {
  color: inherit;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--saffron);
  text-decoration: underline;
}

.hero-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-title span { color: var(--saffron); }

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--saffron-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 28px;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-pills span {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--saffron);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-how-participate {
  border-color: rgba(255,255,255,.72);
  background: rgba(19,136,8,.72);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.btn-how-participate:hover {
  border-color: var(--white);
  background: var(--green);
  transform: translateY(-2px);
}

.visitor-counter {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 3;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.visitor-counter strong {
  color: var(--saffron-light);
  font-size: 1rem;
}

/* ===== IMPACT STRIP ===== */
.impact-strip {
  background: var(--dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
}

.strip-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.strip-item:last-child { border-right: none; }

.strip-item strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}

.strip-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--gray-light);
}

.section-saffron {
  background: linear-gradient(135deg, var(--saffron) 0%, #e05a00 100%);
}

.section-tag {
  display: inline-block;
  background: var(--saffron-pale);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-tag.light {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title.light { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--saffron);
  transition: transform 0.2s;
}

.about-card:hover { transform: translateY(-4px); }

.about-icon { font-size: 2.2rem; margin-bottom: 16px; }

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== OBJECTIVES GRID ===== */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.obj-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid var(--green);
  transition: transform 0.2s;
}

.obj-card:hover { transform: translateY(-3px); }
.obj-icon { font-size: 1.8rem; }

.obj-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.obj-card p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ===== SNAPSHOT ===== */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.snapshot-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--saffron);
  transition: transform 0.2s;
}

.snapshot-card:hover { transform: translateY(-4px); }
.snap-icon { font-size: 1.8rem; margin-bottom: 10px; }

.snap-label {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.snap-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--saffron);
}

/* ===== PARTICIPATE ===== */
.participate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.part-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.part-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-pale);
}

.part-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.part-card ul li {
  font-size: 0.9rem;
  color: var(--gray);
  padding-left: 18px;
  position: relative;
}

.part-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.part-card-warning {
  border-top: 4px solid #e53935;
}

.part-card-warning h3 {
  border-bottom-color: #ffebee;
}

.part-card-warning ul li::before {
  content: '✗';
  color: #e53935;
}

/* ===== CATEGORIES ===== */
.categories-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.cat-tag {
  background: var(--white);
  border: 2px solid var(--saffron);
  color: var(--saffron);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: default;
}

.cat-tag:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== IMPACT ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.impact-card {
  text-align: center;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}

.impact-card:hover { background: rgba(255,255,255,0.18); }

.impact-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.impact-plus {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  display: inline-block;
}

.impact-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 48px;
}

.gallery-item { border-radius: var(--radius); overflow: hidden; }

.g-large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-placeholder {
  background: linear-gradient(135deg, var(--saffron-pale), var(--green-pale));
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed var(--border);
  transition: background 0.2s;
}

.gallery-placeholder:hover {
  background: linear-gradient(135deg, #ffe0c2, #c8e6c9);
}

.gallery-placeholder span { font-size: 2rem; }

.gallery-placeholder p {
  font-size: 0.82rem;
  color: var(--gray);
  text-align: center;
  padding: 0 12px;
}

.gallery-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 16px;
  font-style: italic;
}

/* ===== REGISTER FORM ===== */
.register-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
  border-top: 4px solid var(--saffron);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width { flex: 1 0 100%; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--dark);
  transition: border 0.2s;
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
}

.btn-full { width: 100%; margin-top: 8px; font-size: 1rem; }

.form-success {
  display: none;
  background: var(--green-pale);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 20px;
  max-width: 760px;
  margin-inline: auto;
}

.form-success span { font-size: 2rem; display: block; margin-bottom: 8px; }
.form-success p { color: var(--green); font-weight: 500; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.contact-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.contact-icon { font-size: 2rem; margin-bottom: 10px; }

.contact-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--saffron);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 48px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.footer-reg {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--saffron); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1380px) {
  .navbar { padding-inline: 20px; }
  .nav-links { gap: 18px; }
  .font-size-control { display: none; }
  .nav-actions { gap: 8px; }
  .btn-participate,
  .btn-register { padding-inline: 14px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-register,
  .nav-actions .btn-participate { display: none; }
  .hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }

  .form-row { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-large { grid-column: 1 / 3; grid-row: auto; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .visitor-counter { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .g-large { grid-column: auto; }
  .strip-item { min-width: 50%; }
  .register-form { padding: 24px 18px; }
}

/* =========================================================
   ENGAGING LANDING PAGE — COMPACT, ANIMATED, REVEAL-DRIVEN
   ========================================================= */
.hero-title.typing-active {
  min-height: 1.1em;
}

.hero-title .typed-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotateX(70deg);
  animation: letterReveal .44s cubic-bezier(.2,.75,.25,1) forwards;
}

.hero-title .typed-space { width: .3em; }

.hero-title.typing-active::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: .78em;
  margin-left: 8px;
  background: var(--saffron);
  vertical-align: .02em;
  animation: cursorBlink .7s steps(1) infinite;
}

@keyframes letterReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes cursorBlink { 50% { opacity: 0; } }

/* Gallery becomes the first scroll experience */
#gallery {
  position: relative;
  padding-top: 76px;
  padding-bottom: 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 10%, rgba(255,107,0,.08), transparent 28%),
    radial-gradient(circle at 94% 90%, rgba(19,136,8,.07), transparent 28%),
    var(--white);
}

#gallery::before,
#gallery::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(255,107,0,.25);
  border-radius: 50%;
  pointer-events: none;
  animation: slowSpin 24s linear infinite;
}

#gallery::before { top: -75px; left: -55px; }
#gallery::after { right: -70px; bottom: -80px; animation-direction: reverse; }
@keyframes slowSpin { to { transform: rotate(360deg); } }

/* Continuous proof/impact strip */
.impact-strip {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(90deg, #0d5f22, var(--green), #0d5f22);
}

.impact-strip::before,
.impact-strip::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}

.impact-strip::before { left: 0; background: linear-gradient(90deg, #0d5f22, transparent); }
.impact-strip::after { right: 0; background: linear-gradient(-90deg, #0d5f22, transparent); }

.impact-strip .strip-item {
  flex: 0 0 250px;
  min-height: 104px;
  padding: 20px 30px;
  border-right: 1px solid rgba(255,255,255,.2);
}

.impact-strip.marquee-ready .strip-item {
  animation: impactScroll 28s linear infinite;
}

@keyframes impactScroll { to { transform: translateX(-1250px); } }

.short-copy { max-width: 630px; }

.compact-intro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}

.reveal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.reveal-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--saffron);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.reveal-card:hover,
.reveal-card.open {
  transform: translateY(-7px);
  border-color: rgba(255,107,0,.45);
  box-shadow: 0 18px 50px rgba(56,35,13,.13);
}

.reveal-trigger {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 128px;
  padding: 23px;
  border: 0;
  background: transparent;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
}

.reveal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--saffron-pale);
  font-size: 1.55rem;
}

.reveal-trigger small {
  display: block;
  margin-bottom: 4px;
  color: var(--saffron);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reveal-trigger strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.reveal-trigger b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 1.25rem;
  transition: transform .3s ease;
}

.reveal-card.open .reveal-trigger b { transform: rotate(45deg); }

.reveal-panel {
  max-height: 0;
  padding: 0 24px;
  border-top: 1px solid transparent;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .35s ease, opacity .3s ease, border-color .3s;
}

.reveal-card.open .reveal-panel {
  max-height: 330px;
  padding: 20px 24px 24px;
  border-color: var(--border);
  opacity: 1;
}

.reveal-panel ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.reveal-panel li {
  position: relative;
  padding-left: 19px;
  color: var(--gray);
  font-size: .85rem;
}

.reveal-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.reveal-panel a {
  color: var(--saffron);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

/* Interactive flip cards: compact information on the front, details on demand */
.flip-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.flip-card {
  min-height: 310px;
  outline: none;
  perspective: 1200px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 310px;
  transition: transform .72s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,107,0,.18);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(39,27,12,.12);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  align-items: center;
  color: var(--dark);
  text-align: center;
  background:
    radial-gradient(circle at 16% 15%, rgba(255,107,0,.16), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(19,136,8,.13), transparent 34%),
    #fff;
}

.flip-card-front::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border: 1px dashed rgba(255,107,0,.35);
  border-radius: 50%;
}

.flip-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 17px;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff4e8, #ffdfbd);
  box-shadow: 0 10px 24px rgba(255,107,0,.16);
  font-size: 2rem;
}

.flip-card-front small {
  margin-bottom: 7px;
  color: var(--saffron);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.flip-card-front h3,
.flip-card-back h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
}

.flip-hint {
  margin-top: 18px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 700;
}

.flip-card-back {
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,190,87,.28), transparent 31%),
    linear-gradient(145deg, #0c5b22, #148b31);
  transform: rotateY(180deg);
}

.flip-card-back h3 {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.flip-card-back ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 21px;
  padding: 0;
  list-style: none;
}

.flip-card-back li {
  position: relative;
  padding-left: 20px;
  color: rgba(255,255,255,.92);
  font-size: .84rem;
  line-height: 1.5;
}

.flip-card-back li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffd29f;
  font-weight: 800;
}

.flip-card-back a {
  width: fit-content;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.62);
}

.flip-card:focus-visible {
  border-radius: 20px;
  box-shadow: 0 0 0 4px rgba(255,107,0,.28);
}

/* Slow, continuous gallery movement from left to right */
.photo-flow-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 15px;
}

.photo-flow-heading span {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 700;
}

.photo-flow-heading small {
  color: var(--saffron);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.photo-flow {
  width: 100%;
  overflow: hidden;
  padding: 4px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.photo-flow-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding-inline: 9px;
  animation: photoFlowRight 48s linear infinite;
  will-change: transform;
}

.photo-flow:hover .photo-flow-track {
  animation-play-state: paused;
}

.photo-flow figure {
  position: relative;
  flex: 0 0 280px;
  height: 178px;
  margin: 0;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(24,37,25,.16);
}

.photo-flow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.photo-flow figure:hover img { transform: scale(1.055); }

.photo-flow figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 14px 12px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}

@keyframes photoFlowRight {
  from { transform: translateX(calc(-50% - 9px)); }
  to { transform: translateX(0); }
}

.detail-link-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.detail-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  color: var(--gray);
  text-decoration: none;
}

.detail-link-card strong { color: var(--saffron); font-size: .8rem; }

.opportunity-showcase {
  position: relative;
  overflow: hidden;
}

.decor-orbit {
  position: absolute;
  border: 1px dashed rgba(255,107,0,.3);
  border-radius: 50%;
  pointer-events: none;
  animation: slowSpin 26s linear infinite;
}
.orbit-one { top: -130px; right: -90px; width: 310px; height: 310px; }
.orbit-two { bottom: -110px; left: -80px; width: 240px; height: 240px; animation-direction: reverse; }

.action-tile-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.action-tile {
  position: relative;
  display: grid;
  min-height: 165px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s, color .3s, background .3s;
}

.action-tile::after {
  content: "→";
  position: absolute;
  right: 22px;
  bottom: 17px;
  color: var(--saffron);
  font-size: 1.4rem;
}

.action-tile:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--saffron), #ff8f32);
  transform: translateY(-6px);
}

.action-tile:hover::after { color: var(--white); }
.action-tile > span { color: var(--green); font-size: .72rem; font-weight: 700; }
.action-tile > strong { align-self: end; font-size: 1.05rem; }
.action-tile > em { color: var(--gray); font-size: .76rem; font-style: normal; }
.action-tile:hover > span, .action-tile:hover > em { color: rgba(255,255,255,.78); }

.moving-showcase {
  padding: 58px 0;
  background: linear-gradient(135deg, #122014, #174f22);
  color: var(--white);
  overflow: hidden;
}

.moving-title {
  display: grid;
  gap: 7px;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 24px;
}
.moving-title span { color: var(--saffron-light); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.moving-title strong { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.feature-marquee,
.sector-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.feature-marquee-track,
.sector-marquee-track {
  display: flex;
  width: max-content;
  animation: featureScroll 34s linear infinite;
}

.feature-marquee-track span {
  margin: 0 7px;
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: .85rem;
  white-space: nowrap;
}

@keyframes featureScroll { to { transform: translateX(-50%); } }

.participation-spotlight {
  background:
    radial-gradient(circle at 85% 10%, rgba(255,107,0,.09), transparent 30%),
    var(--white);
}

.participation-spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}

.bold-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.bold-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  font-weight: 600;
}
.bold-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }

.participation-side-panel {
  position: relative;
  padding: 42px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--saffron), #ff8e2d);
  color: var(--white);
  box-shadow: 0 25px 55px rgba(255,107,0,.25);
  overflow: hidden;
}

.participation-side-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

.participation-side-panel span,
.participation-side-panel strong,
.participation-side-panel p { position: relative; z-index: 1; display: block; }
.participation-side-panel span { margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.participation-side-panel strong { font-size: 1.7rem; }
.participation-side-panel p { margin: 10px 0 26px; color: rgba(255,255,255,.8); }
.participation-side-panel .btn-primary { background: var(--white); color: var(--saffron); }

.register-pulse { animation: registerPulse 2s ease-in-out infinite; }
@keyframes registerPulse { 50% { transform: scale(1.035); box-shadow: 0 10px 28px rgba(0,0,0,.18); } }

.sector-marquee-section {
  padding: 76px 0;
  background: var(--gray-light);
  overflow: hidden;
}

.sector-marquee { margin-top: 30px; }
.sector-marquee-track { animation-duration: 42s; }
.sector-marquee-track span {
  margin: 0 8px;
  padding: 17px 24px;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--saffron);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--dark);
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
}

.partner-teaser { background: #fffaf5; }
.partner-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-teaser-grid a {
  display: grid;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.partner-teaser-grid a:hover { transform: translateY(-7px); box-shadow: 0 18px 45px rgba(0,0,0,.1); }
.partner-teaser-grid span { font-size: 1.8rem; }
.partner-teaser-grid strong { align-self: end; margin: 25px 0 6px; }
.partner-teaser-grid small { color: var(--gray); }
.center-cta { margin-top: 30px; text-align: center; }

.register-spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px max(24px, calc((100vw - 1200px)/2));
  background: linear-gradient(100deg, var(--green), #0a631b);
  color: var(--white);
}
.register-spotlight div { display: grid; }
.register-spotlight span { color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.register-spotlight strong { font-size: clamp(1.3rem, 2.5vw, 2.1rem); }
.register-spotlight a {
  flex: 0 0 auto;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--white);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  animation: registerPulse 2s ease-in-out infinite;
}

.floating-cta-group {
  position: fixed;
  z-index: 998;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity .25s, transform .25s;
}

.floating-register,
.floating-participate {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 15px 38px rgba(79,35,0,.3);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s;
}

.floating-participate {
  background: var(--green);
  box-shadow: 0 15px 38px rgba(7,72,22,.28);
}

.floating-register:hover,
.floating-participate:hover { transform: translateY(-4px); }
.floating-cta-group.hidden { opacity: 0; pointer-events: none; transform: translateY(15px); }

.landing-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.landing-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .reveal-grid,
  .flip-card-grid,
  .action-tile-grid,
  .partner-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .participation-spotlight-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 620px) {
  .reveal-grid,
  .flip-card-grid,
  .action-tile-grid,
  .partner-teaser-grid,
  .detail-link-row,
  .bold-bullets { grid-template-columns: 1fr; }
  .flip-card,
  .flip-card-inner,
  .flip-card-front,
  .flip-card-back { min-height: 285px; }
  .photo-flow-heading { display: grid; gap: 4px; }
  .photo-flow { -webkit-mask-image: none; mask-image: none; }
  .photo-flow figure { flex-basis: 235px; height: 155px; }
  .reveal-trigger { min-height: 105px; padding: 18px; }
  .detail-link-card { display: grid; }
  .participation-side-panel { padding: 30px 24px; }
  .register-spotlight { display: grid; }
  .register-spotlight a { text-align: center; }
  .floating-cta-group {
    right: 12px;
    bottom: 12px;
    align-items: flex-end;
    flex-direction: column;
    gap: 7px;
  }
  .floating-register,
  .floating-participate { padding: 10px 14px; font-size: .75rem; }
  .impact-strip .strip-item { flex-basis: 220px; }
  @keyframes impactScroll { to { transform: translateX(-1100px); } }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .typed-letter,
  .register-pulse,
  .register-spotlight a,
  .feature-marquee-track,
  .sector-marquee-track,
  .photo-flow-track,
  .impact-strip.marquee-ready .strip-item,
  #gallery::before,
  #gallery::after { animation: none !important; opacity: 1; transform: none; }
  .photo-flow { overflow-x: auto; }
  .flip-card-inner { transition-duration: .01ms; }
}

/* ===== HISTORY TIMELINE ===== */
.history-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.timeline-item {
  background: #fff;
  border-left: 4px solid var(--saffron);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.4rem;
}

.timeline-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #1a1a1a);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.875rem;
  color: var(--text-secondary, #555);
  line-height: 1.6;
  margin: 0;
}

/* ===== SBF COMPLIANCE GRID ===== */
.sbf-intro {
  font-size: 1rem;
  color: var(--text-secondary, #555);
  max-width: 680px;
  margin: 0 auto 1rem;
  text-align: center;
  line-height: 1.7;
}

.sbf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.sbf-badge {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sbf-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(19,136,8,0.15);
}

.sbf-badge-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.sbf-badge-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary, #777);
  margin-bottom: 0.35rem;
}

.sbf-badge-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .history-timeline { grid-template-columns: 1fr; }
  .sbf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sbf-grid { grid-template-columns: 1fr; }
}

/* ===== HINDI FONT ===== */
body.lang-hi {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-hi h4,
.lang-hi p, .lang-hi span, .lang-hi a, .lang-hi button,
.lang-hi label, .lang-hi input, .lang-hi select, .lang-hi textarea {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

/* ===== CHAPTERS ===== */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.chapter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chapter-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.10);
}

.chapter-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.chapter-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}

.chapter-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.chapter-link {
  color: var(--saffron);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.chapter-link:hover { text-decoration: underline; }

/* ===== FESTIVAL FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  padding: 1.25rem 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
  border-top: 3px solid transparent;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  border-top-color: var(--saffron);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

/* ===== STARTUP & ENTREPRENEURSHIP ===== */
.startup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.startup-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.startup-text p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.startup-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.startup-text ul li {
  padding: 0.4rem 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.startup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-self: start;
}

.startup-stat {
  background: var(--saffron-pale);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(255,107,0,0.15);
}

.startup-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--saffron);
  display: block;
  margin-bottom: 0.25rem;
}

.startup-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== SPONSOR BENEFITS ===== */
.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.sponsor-card {
  border-radius: 12px;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 1px solid rgba(0,0,0,0.02);
}

.sponsor-card:first-child { border-left: 4px solid var(--green); }
.sponsor-card:last-child { border-left: 4px solid var(--saffron); }

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

.sponsor-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.sponsor-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.sponsor-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sponsor-card ul li {
  padding: 0.4rem 0;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sponsor-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE STACKING ===== */
@media (max-width: 768px) {
  .startup-layout { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .chapters-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-tagline { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-desc { animation-delay: 0.4s; }
.hero-pills { animation-delay: 0.5s; }
.hero-cta { animation-delay: 0.6s; }

/* ===========================
   EXPLORE ADD-ONS
   =========================== */

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.nav-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  border-top: 3px solid var(--saffron);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

/* Hover bridge so the menu doesn't close in the gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
}

.dropdown-menu li a:hover {
  background: var(--saffron-pale);
  color: var(--saffron);
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  position: relative;
  padding: 96px 24px 72px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(45,26,10,0.80) 45%, rgba(13,43,13,0.82) 100%),
    url('assets/hero-3.jpg') center/cover no-repeat;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,107,0,0.25) 0%, transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(19,136,8,0.20) 0%, transparent 55%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  animation: fadeInUp 0.7s ease both;
}

.page-hero .page-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--saffron-light); }

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb .container {
  font-size: 0.82rem;
  color: var(--gray);
}

.breadcrumb a { color: var(--saffron); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: var(--border); }

/* ===== E-BOOKS ===== */
.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.ebook-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--saffron);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ebook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.ebook-cover {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background: linear-gradient(135deg, var(--saffron-pale), var(--green-pale));
  border-bottom: 1px solid var(--border);
}

.ebook-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ebook-lang {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: 12px;
}

.ebook-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

.ebook-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
}

.ebook-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.ebook-btn {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.ebook-btn.view {
  background: var(--saffron);
  color: var(--white);
}
.ebook-btn.view:hover { background: var(--saffron-light); }

.ebook-btn.download {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}
.ebook-btn.download:hover { background: var(--saffron-pale); }

/* ===== VISITOR INFO ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}

.info-card .info-icon { font-size: 2rem; margin-bottom: 12px; }

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.info-card p, .info-card ul { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.info-card ul li { padding-left: 18px; position: relative; }
.info-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--saffron); font-weight: 700; }

.map-embed {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 40px auto 0; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; color: var(--saffron); font-size: 1.4rem; font-weight: 700; }
details[open] .faq-q::after { content: '\2013'; }

.faq-a {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== PARTNERSHIP TIERS ===== */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tier-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: transform 0.2s;
  position: relative;
}

.tier-card:hover { transform: translateY(-5px); }

.tier-card.featured {
  border-top-color: var(--saffron);
  box-shadow: 0 14px 34px rgba(255,107,0,0.18);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 12px;
}

.tier-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.tier-price { font-size: 1.5rem; font-weight: 700; color: var(--saffron); margin-bottom: 16px; }
.tier-card ul { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.tier-card ul li { font-size: 0.86rem; color: var(--gray); padding-left: 22px; position: relative; }
.tier-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== SUB-PAGE GALLERY (extra rows) ===== */
.gallery-grid.gallery-page {
  grid-template-rows: none;
}
.gallery-grid.gallery-page .gallery-item { grid-column: auto; grid-row: auto; }
.gallery-grid.gallery-page .gallery-placeholder { min-height: 200px; }

/* Production gallery images */
.gallery-item {
  position: relative;
  display: block;
  min-height: 200px;
  background: #15291d;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: block;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.045);
  filter: brightness(.82);
}
.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 2rem 1rem .9rem;
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  pointer-events: none;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(3,12,7,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.gallery-lightbox.open { opacity: 1; visibility: visible; }
.gallery-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}
.gallery-lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.35);
  font-size: 1.6rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .gallery-lightbox { padding: 1rem; }
}

/* ===== DROPDOWN — MOBILE ===== */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--saffron);
    border-radius: 0;
    min-width: 0;
    padding: 4px 0 4px 12px;
    margin: 6px 0 0;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown:hover .dropdown-menu { transform: none; }
  .dropdown-menu li a { padding: 8px 10px; }
  .nav-dropdown-toggle { justify-content: space-between; }
  .page-hero { padding: 72px 20px 56px; }
}
