:root {
  --purple: #4B3B9E;
  --purple-dk: #352B78;
  --purple-lt: #EAE7F8;
  --yellow: #F5C842;
  --yellow-dk: #C9A22A;
  --yellow-lt: #FDF4D0;
  --dark: #1C1825;
  --mid: #5A556B;
  --light: #F8F7F4;
  --white: #FFFFFF;
  --border: rgba(28,24,37,0.10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-box {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-box svg { width: 20px; height: 20px; fill: var(--yellow); }
.nav-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700;
  color: var(--dark); letter-spacing: -0.01em;
}
.nav-brand-text span { color: var(--purple); }
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--mid);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-btn {
  background: var(--purple); color: var(--white);
  padding: 9px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.01em;
  transition: background 0.2s;
}
.nav-btn:hover { background: var(--purple-dk); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute; 
  inset: 0;
  background-image: url('../img/uploads/hero-image.jpg');
  background-size: cover; 
  background-position: center 30%;
  /* Extra safety ke liye */
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,24,37,0.82) 0%, rgba(75,59,158,0.60) 55%, rgba(28,24,37,0.30) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px 60px;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--yellow);
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1.5px; background: var(--yellow);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.08;
  color: #FFFFFF; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero h1 em { font-style: italic; color: var(--yellow); }
.hero-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 17px; font-weight: 400; color: #f3f3f3;
  margin-bottom: 28px; letter-spacing: 0.01em;
}
.hero-desc {
  font-size: 17px; line-height: 1.75; color: #f3f3f3;
  max-width: 520px; margin-bottom: 44px; font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-solid {
  background: var(--yellow); color: var(--dark);
  padding: 13px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-solid:hover { background: #e8ba38; transform: translateY(-1px); }
.btn-outline-white {
  background: transparent; color: #fff;
  padding: 13px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.40);
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.80); background: rgba(255,255,255,0.07); }

/* Hero stats bar */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
}
.stat-cell {
  flex: 1; padding: 22px 40px;
  border-right: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 700; color: #fff; line-height: 1;
}
.stat-num sup { font-size: 16px; color: var(--yellow); vertical-align: super; }
.stat-label { font-size: 12px; color: #f3f3f3; font-weight: 400; letter-spacing: 0.04em; }

/* ── SECTION COMMON ── */
section { padding: 96px 56px; }
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--purple);
  background: var(--purple-lt); padding: 5px 12px; border-radius: 4px;
  margin-bottom: 18px;
}
.section-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 700;
  line-height: 1.12; color: var(--dark); letter-spacing: -0.02em;
}
.section-h em { font-style: italic; color: var(--purple); }
.section-lead {
  font-size: 16px; line-height: 1.75; color: var(--mid);
  max-width: 540px; margin-top: 16px; font-weight: 400;
}

/* ── ABOUT ── */
.about {
  background: var(--light);
  display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center;
}
.about-cards { display: flex; flex-direction: column; gap: 20px; }
.about-card {
  background: var(--white); border-radius: 10px;
  border: 1px solid var(--border); padding: 28px 32px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.about-card:hover { box-shadow: 0 4px 20px rgba(75,59,158,0.10); border-color: rgba(75,59,158,0.20); }
.about-icon {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.about-icon.pur { background: var(--purple-lt); }
.about-icon.yel { background: var(--yellow-lt); }
.about-card h3 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.about-card p { font-size: 14px; line-height: 1.65; color: var(--mid); }

/* ── EVENTS ── */
.events { background: var(--white); }
.events-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 20px; flex-wrap: wrap;
}
.link-arrow {
  font-size: 14px; font-weight: 500; color: var(--purple);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1px solid rgba(75,59,158,0.3);
  padding-bottom: 2px; transition: gap 0.2s;
}
.link-arrow:hover { gap: 8px; }
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ecard {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  background: var(--white);
}
.ecard:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(28,24,37,0.10); }
.ecard-banner {
  height: 160px; position: relative; overflow: hidden;
}
.ecard-banner img { width: 100%; height: 100%; object-fit: cover; }
.ecard-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(28,24,37,0.70) 100%);
}
.ecard-date-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--yellow); color: var(--dark);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
}
.ecard-type {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  color: white; font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 4px;
}
.ecard-body { padding: 22px 24px 24px; }
.ecard-body h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.ecard-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.ecard-meta-item { font-size: 12px; color: var(--mid); display: flex; align-items: center; gap: 4px; }
.ecard-desc { font-size: 13px; line-height: 1.65; color: var(--mid); margin-bottom: 18px; }
.ecard-register {
  font-size: 13px; font-weight: 600; color: var(--purple);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.ecard-register:hover { gap: 8px; }

/* ── COMMUNITY ── */
.community {
  background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.community .tag { background: rgba(245,200,66,0.15); color: var(--yellow); }
.community .section-h { color: #fff; }
.community .section-h em { color: var(--yellow); }
.comm-features { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.comm-feat {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.comm-feat:first-child { padding-top: 0; }
.comm-feat:last-child { border-bottom: none; }
.comm-feat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--yellow);
  min-width: 40px; line-height: 1;
}
.comm-feat h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.comm-feat p { font-size: 13px; color: rgba(255,255,255,0.50); line-height: 1.65; }
.community-right { position: relative; }
.comm-image-wrap {
  border-radius: 14px; overflow: hidden; position: relative;
}
.comm-image-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; }
.comm-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(75,59,158,0.30) 0%, transparent 60%);
}
.comm-quote-card {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--yellow); border-radius: 10px;
  padding: 20px 24px; max-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.comm-quote-text { font-size: 13px; line-height: 1.6; color: var(--dark); font-weight: 400; margin-bottom: 12px; }
.comm-quote-author { font-size: 12px; font-weight: 700; color: var(--purple); letter-spacing: 0.04em; }

/* ── SPEAKERS ── */
.speakers { background: var(--light); }
.speakers-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.speakers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.spk-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--border); padding: 28px 20px 24px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.spk-card:hover { box-shadow: 0 8px 28px rgba(75,59,158,0.10); border-color: rgba(75,59,158,0.20); }
.spk-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff;
}
.spk-name { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.spk-role { font-size: 12px; color: var(--mid); margin-bottom: 12px; }
.spk-tag {
  display: inline-block;
  background: var(--purple-lt); color: var(--purple);
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px;
}

/* ── JOIN / NEWSLETTER SECTION ── */
.join {
  background: var(--purple);
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
}

.join::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.07);
  pointer-events: none;
}

.join::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.05);
  pointer-events: none;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left: Text */
.join-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.join-left h2 em {
  font-style: italic;
  color: var(--yellow);
}

.join-left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.60);
  max-width: 400px;
  line-height: 1.7;
  font-weight: 300;
}

/* Right: Form */
.join-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Form rows */
.nl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nl-row-submit {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.nl-row-submit .nl-input {
  flex: 1;
}

/* Input fields */
.nl-input {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.40);
}

.nl-input:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.18);
}

/* Submit button */
.btn-nl {
  background: var(--yellow);
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  min-width: 130px;
}

.btn-nl:hover {
  background: #e8ba38;
  transform: translateY(-1px);
}

.btn-nl:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Alert messages */
.nl-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
}

.nl-alert-error {
  background: rgba(220, 38, 38, 0.15);
  color: #ff8a8a;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 3px solid #ff6b6b;
}

.nl-alert-success {
  background: rgba(26, 122, 74, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(26, 122, 74, 0.25);
  border-left: 3px solid #4ade80;
}

/* Note text */
.nl-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  min-height: 16px;
  transition: color 0.3s;
}

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.55);
  padding: 64px 56px 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.footer-brand span { color: var(--yellow); }
.footer-desc { font-size: 13px; line-height: 1.75; max-width: 260px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.fsoc {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.60);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 12px; font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.fsoc:hover { background: var(--yellow); color: var(--dark); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom span { color: var(--yellow); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 30px; }
  section { padding: 72px 30px; }
  .hero-content { padding: 110px 30px 100px; }
  .about, .community { grid-template-columns: 1fr; gap: 48px; }
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .speakers-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-cell { padding: 18px 24px; }
  
  .join { padding: 72px 30px; }
  .join-grid { grid-template-columns: 1fr; gap: 36px; }
  .join-left p { max-width: 100%; }
}

@media (max-width: 680px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 56px 20px; }
  .hero-content { padding: 100px 20px 120px; }
  .events-grid, .speakers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats-bar { flex-wrap: wrap; }
  .stat-cell { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .comm-quote-card { position: static; margin-top: 20px; max-width: 100%; }
  footer { padding: 48px 20px 28px; }
  
  .join { padding: 56px 20px; }
  .nl-row { grid-template-columns: 1fr; }
  .nl-row-submit { flex-direction: column; }
  .btn-nl { width: 100%; }
}