/* ==========================================================================
   Landing page theme - matches the "Arpanam" event page reference design.
   Loaded only by index.php, after style.css / responsive.css.
   Form markup & JS hooks are untouched - this file only restyles them.
   ========================================================================== */

:root {
  --am-primary: #db0074;
  --am-primary-hover: #b8005f;
  --am-primary-soft: #fdecf4;
  --am-secondary: #006b9b;
  --am-success: #2f7a12;
  --am-ink: #111318;
  --am-body: #1f2329;
  --am-muted: #4a505a;
  --am-bg: #f4f5f7;
  --am-card: #ffffff;
  --am-border: #e5e7eb;
  --am-border-soft: #eff0f2;
  --am-gray-100: #f2f3f5;
  --am-radius: 12px;
  --am-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .06);
  --am-header-h: 60px;
  --am-font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body.am-theme {
  font-family: var(--am-font);
  background: var(--am-bg);
  background-image: none;
  color: var(--am-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.am-theme a { color: var(--am-primary); text-decoration: none; }
.am-theme a:hover { text-decoration: underline; }
/* style.css has a global `svg { color:#fff; margin-right:2px; cursor:pointer }` - reset it for our icons */
.am-i { color: inherit; cursor: inherit; margin-right: 0; transition: none; }
.am-theme .am-i { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; }
.am-theme button { font-family: var(--am-font); }

.am-theme .am-section,
.am-theme #register { scroll-margin-top: calc(var(--am-header-h) + 16px); }

.am-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  border-radius: 6px;
  padding: 12px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .1s;
  white-space: nowrap;
}
.am-theme a.am-btn:hover { text-decoration: none; }
.am-theme .am-btn-primary { background: var(--am-primary); color: #fff; }
.am-theme .am-btn-primary:hover { background: var(--am-primary-hover); color: #fff; box-shadow: 0 6px 16px rgba(219, 0, 116, .25); }
.am-btn-primary:active { transform: translateY(1px); }
.am-btn-lg { padding: 14px 32px; font-size: 18px; }

.am-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.am-theme a.am-pill:hover { text-decoration: none; }
.am-theme .am-pill-primary { background: var(--am-primary); color: #fff; }
.am-theme .am-pill-primary:hover { background: var(--am-primary-hover); color: #fff; }
.am-theme .am-pill-soft { background: rgba(0, 107, 155, .05); border-color: rgba(0, 107, 155, .2); color: var(--am-secondary); }
.am-theme .am-pill-soft:hover { background: rgba(0, 107, 155, .1); border-color: rgba(0, 107, 155, .3); color: var(--am-secondary); }

/* ---------- Header ---------- */
.am-theme .header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--am-header-h);
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--am-border-soft);
  box-shadow: none;
  z-index: 1030;
  transition: box-shadow .3s;
}
.am-theme .header-section.whiteDiv { background: #fff; box-shadow: 0 2px 10px rgba(16, 24, 40, .06); }
.am-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.am-logo-link { display: flex; align-items: center; }
.am-theme .logo-image { width: auto; height: 42px; display: block; }

.am-theme .menu-ul.am-menu { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.am-theme .menu-ul.am-menu li { display: flex; align-items: center; }
.am-theme .am-menu-link {
  position: relative;
  color: var(--am-body);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color .2s, color .2s;
}
.am-theme .am-menu-link:hover { background: rgba(219, 0, 116, .05); color: var(--am-primary); text-decoration: none; }
.am-theme .am-menu-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--am-primary);
  transform: scaleX(0);
  transition: transform .2s;
}
.am-theme .am-menu-link.active::after { transform: scaleX(1); }
.am-theme .menu-ul.am-menu li.am-menu-actions {
  gap: 10px;
  margin-left: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--am-border);
}

.am-header-mobile { display: none; align-items: center; gap: 8px; }
.am-theme .am-menu-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--am-border);
  color: var(--am-ink);
  font-size: 20px;
  cursor: pointer;
}
.am-theme nav { display: none; }

/* ---------- Page wrapper ---------- */
.am-theme .banner-section { margin-top: var(--am-header-h); padding: 0 0 48px; }

/* ---------- Hero ---------- */
.am-hero-card {
  position: relative;
  background: var(--am-card);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .08);
  overflow: hidden;
  margin-bottom: 24px;
}
.am-hero-media { position: relative; line-height: 0; background: #1b2a1a; }
.am-hero-media .banner-image { width: 100%; height: auto; }
@media (min-width: 768px) {
  .am-hero-media .banner-image { aspect-ratio: 1360 / 430; object-fit: cover; object-position: center 35%; }
}
.am-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px 44px calc(50% + 24px);
  line-height: 1.5;
  color: #fff;
  background:
    linear-gradient(270deg, rgba(12, 14, 24, .86) 0%, rgba(12, 14, 24, .62) 36%, rgba(12, 14, 24, .1) 62%, rgba(12, 14, 24, 0) 100%),
    linear-gradient(0deg, rgba(12, 14, 24, .45) 0%, rgba(12, 14, 24, 0) 50%);
}
.am-hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.am-hero-presents {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.am-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9f7e1;
  color: var(--am-success);
  font-size: 12px;
  font-weight: 600;
}
.am-hero-title {
  max-width: 640px;
  margin: 0 0 10px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.am-hero-sub { max-width: 560px; margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.am-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.am-hero-actions .am-btn-primary { box-shadow: 0 8px 24px rgba(219, 0, 116, .35); }
.am-theme .am-btn-glass {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.am-theme .am-btn-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.am-glass-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.am-glass-icon:hover { background: rgba(255, 255, 255, .22); }

.am-hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 12px; }
.am-fact { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.am-fact + .am-fact { border-left: 1px solid var(--am-border-soft); }
.am-fact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.f-pink { background: rgba(219, 0, 116, .08); color: var(--am-primary); }
.f-blue { background: rgba(0, 107, 155, .1); color: var(--am-secondary); }
.f-green { background: rgba(47, 122, 18, .1); color: var(--am-success); }
.f-amber { background: rgba(224, 161, 0, .14); color: #b07d00; }
.am-fact-label { display: block; font-size: 12px; font-weight: 500; color: var(--am-muted); }
.am-fact-value { display: block; font-size: 15px; font-weight: 600; color: var(--am-ink); line-height: 1.35; }

/* ---------- Two column layout ---------- */
.am-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px;
  align-items: start;
}
.am-aside { align-self: stretch; }
.am-main { min-width: 0; }

/* ---------- Cards & sections ---------- */
.am-card {
  display: block;
  background: var(--am-card);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
  padding: 20px;
  color: var(--am-body);
}
.am-section { margin-bottom: 24px; }
.am-card-title { font-size: 19px; font-weight: 700; color: var(--am-secondary); margin: 0 0 18px; letter-spacing: -.01em; }
.am-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
}
.am-section-head h2 { flex: 1; font-size: 19px; font-weight: 700; color: var(--am-secondary); margin: 0; letter-spacing: -.01em; }
.am-section-icon { color: var(--am-secondary); font-size: 20px; flex-shrink: 0; }
.am-collapse-toggle { cursor: default; }
.am-theme .am-collapse-chevron { display: none; color: var(--am-muted); font-size: 22px; transition: transform .2s; }

.am-prose { font-size: 16px; color: var(--am-body); }
.am-prose p { margin: 0 0 16px; }
.am-prose strong { color: var(--am-ink); font-weight: 600; }
.am-prose ul { list-style: disc; padding-left: 32px; margin: 0 0 16px; }
.am-prose li { margin-bottom: 8px; }
.am-prose li::marker { color: var(--am-ink); }
.am-note { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--am-border); font-size: 14px; color: var(--am-muted); }
.am-fineprint { margin: 4px 0 0; font-size: 13px; color: var(--am-muted); }

/* ---------- Organizer ---------- */
.am-organizer { margin-bottom: 16px; }
.am-org-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.am-org-logo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: contain;
  border: 2px solid var(--am-gray-100);
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}
.am-org-name { font-size: 18px; font-weight: 600; color: var(--am-ink); margin: 0; letter-spacing: -.01em; }
.am-org-desc { font-size: 15px; color: #3a3f47; line-height: 1.65; margin: 0; }
.am-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--am-border-soft);
}
.am-theme .am-social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--am-gray-100);
  color: #4b4f56;
  font-size: 20px;
  transition: background .2s, color .2s;
}
.am-theme .am-social a:hover { color: #fff; text-decoration: none; }
.am-theme .am-social a.am-fb:hover { background: #1877f2; }
.am-theme .am-social a.am-x:hover { background: #000; }
.am-theme .am-social a.am-yt:hover { background: #ff0000; }
.am-theme .am-social a.am-ig:hover { background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045); }
.am-theme .am-social a.am-li:hover { background: #0a66c2; }

/* ---------- Section navigation (sidebar) ---------- */
.am-section-nav {
  position: sticky;
  top: calc(var(--am-header-h) + 16px);
  background: #fff;
  border: 1px solid var(--am-border-soft);
  border-radius: var(--am-radius);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  overflow: hidden;
}
.am-section-nav ul { list-style: none; margin: 0; padding: 6px 0; }
.am-theme .am-section-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-left: 3px solid transparent;
  color: var(--am-body);
  font-size: 16px;
  transition: background .2s, color .2s, border-color .2s;
}
.am-theme .am-section-nav a .am-i { font-size: 18px; color: #9ca3af; transition: color .2s; }
.am-theme .am-section-nav a:hover { text-decoration: none; background: #fafafb; }
.am-theme .am-section-nav a:hover .am-i { color: var(--am-primary); }
.am-theme .am-section-nav a.active {
  border-left-color: var(--am-primary);
  background: rgba(219, 0, 116, .05);
  color: var(--am-primary);
  font-weight: 600;
}
.am-theme .am-section-nav a.active .am-i { color: var(--am-primary); }

/* ---------- Mobile tiles (hidden on desktop) ---------- */
.am-tiles { display: none; }

/* ---------- Table ---------- */
.am-table-wrap { overflow-x: auto; }
.am-table { width: 100%; border-collapse: collapse; font-size: 16px; border: 1px solid var(--am-border); }
.am-table th,
.am-table td { padding: 10px 12px; border: 1px solid var(--am-border); text-align: left; vertical-align: top; }
.am-table th { background: var(--am-gray-100); font-weight: 600; color: var(--am-ink); }
.am-table tbody tr:nth-child(odd) { background: #fafafb; }
.am-table td:first-child { white-space: nowrap; }

/* ---------- Steps ---------- */
.am-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.am-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  padding: 22px 20px 20px;
  text-align: left;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.am-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--am-secondary);
  opacity: 0;
  transition: opacity .25s;
}
.am-step:hover { border-color: rgba(0, 107, 155, .25); box-shadow: 0 10px 24px rgba(16, 24, 40, .08); transform: translateY(-3px); }
.am-step:hover::before { opacity: 1; }
.am-step-badge { position: relative; display: inline-flex; margin-bottom: 14px; }
.am-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 107, 155, .12), rgba(0, 107, 155, .04));
  color: var(--am-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.am-step-num {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--am-primary);
  border: 2px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(219, 0, 116, .3);
}
.am-step-title { font-weight: 600; font-size: 16px; color: var(--am-ink); margin-bottom: 6px; letter-spacing: -.01em; }
.am-step-desc { font-size: 14px; color: var(--am-muted); line-height: 1.6; }

.am-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(0, 107, 155, .05);
  border: 1px solid rgba(0, 107, 155, .15);
  color: var(--am-body);
  font-size: 14px;
}
.am-callout > .am-i { font-size: 22px; color: var(--am-secondary); flex-shrink: 0; }
.am-callout p { margin: 0; line-height: 1.6; }

/* ---------- Timeline ---------- */
.am-timeline-intro { margin: -4px 0 18px; font-size: 15px; color: var(--am-muted); }
.am-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.am-tl-item:not(.am-tl-final)::before,
.am-tl-or::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--am-border) 0 6px, transparent 6px 10px);
}
.am-tl-item:not(.am-tl-final)::before { top: 44px; }
.am-tl-or::after { z-index: 0; }
.am-tl-or::before { z-index: 1; }
.am-tl-item { position: relative; display: flex; gap: 16px; padding-bottom: 14px; }
.am-tl-node {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(47, 122, 18, .35);
  color: var(--am-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 0 4px #fff;
}
.am-tl-final .am-tl-node { border-color: rgba(219, 0, 116, .4); color: var(--am-primary); background: var(--am-primary-soft); }
.am-tl-body {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.am-tl-item:hover .am-tl-body { border-color: rgba(47, 122, 18, .3); box-shadow: 0 4px 14px rgba(16, 24, 40, .06); }
.am-tl-final:hover .am-tl-body { border-color: rgba(219, 0, 116, .3); }
.am-tl-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47, 122, 18, .1);
  color: var(--am-success);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.am-tl-final .am-tl-tag { background: rgba(219, 0, 116, .08); color: var(--am-primary); }
.am-tl-body h3 { font-size: 16px; font-weight: 600; color: var(--am-ink); margin: 0 0 4px; letter-spacing: -.01em; }
.am-tl-date { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--am-muted); }
.am-tl-date .am-i { font-size: 15px; color: #9ca3af; }
.am-tl-or { position: relative; display: flex; align-items: center; padding: 0 0 14px 60px; }
.am-tl-or span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--am-muted);
  background: var(--am-gray-100);
  border-radius: 999px;
  padding: 3px 10px;
}
.am-tl-or::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--am-border);
}

/* ---------- Contact ---------- */
.am-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.am-theme .am-contact-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  background: #fff;
  color: var(--am-body);
  transition: border-color .2s, box-shadow .2s;
}
.am-theme .am-contact-card:hover { text-decoration: none; border-color: rgba(219, 0, 116, .25); box-shadow: 0 4px 14px rgba(16, 24, 40, .06); }
.am-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  grid-row: 1 / 3;
}
.am-contact-icon.c-blue { background: rgba(0, 107, 155, .1); color: var(--am-secondary); }
.am-contact-icon.c-green { background: rgba(37, 211, 102, .12); color: #128c4b; }
.am-contact-icon.c-pink { background: rgba(219, 0, 116, .08); color: var(--am-primary); }
.am-contact-icon.c-amber { background: rgba(224, 161, 0, .14); color: #b07d00; }
.am-contact-label { display: block; align-self: end; font-size: 12px; color: var(--am-muted); font-weight: 500; margin-bottom: 1px; }
.am-contact-value { display: block; align-self: start; color: var(--am-ink); font-weight: 600; font-size: 15px; word-break: break-word; }
.am-contact-addr { font-weight: 500; font-size: 14px; line-height: 1.45; }

/* ---------- Registration form (restyle only) ---------- */
.am-theme #register .form_wrapper {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 !important;
  padding: 0;
}
.am-theme #register .form_wrapper .row { margin-top: 0; }
.am-theme #register .reg-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: var(--am-secondary);
  letter-spacing: 0;
  margin-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--am-border);
}
.am-theme #register .reg-heading::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: var(--am-primary);
}
.am-theme #register .form_wrapper input[type=text],
.am-theme #register .form_wrapper input[type=email],
.am-theme #register .form_wrapper input[type=tel],
.am-theme #register .select_option select {
  font-family: var(--am-font);
  background: #fff;
  border: 1px solid #dcdfe4;
  border-radius: 8px;
  color: var(--am-ink);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.am-theme #register .form_wrapper input[type=text]:hover,
.am-theme #register .form_wrapper input[type=email]:hover,
.am-theme #register .form_wrapper input[type=tel]:hover,
.am-theme #register .select_option select:hover { background: #fff; border-color: #c4c8cf; }
.am-theme #register .form_wrapper input[type=text]:focus,
.am-theme #register .form_wrapper input[type=email]:focus,
.am-theme #register .form_wrapper input[type=tel]:focus,
.am-theme #register .select_option select:focus {
  background: #fff;
  border-color: rgba(219, 0, 116, .55);
  box-shadow: 0 0 0 3px rgba(219, 0, 116, .12);
  outline: none;
}
.am-theme #register #book_name { background: #f8f9fa; cursor: default; }
.am-theme #register .select_option::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--am-muted);
  border-bottom: 2px solid var(--am-muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.am-theme #register .select_option:has(#book_name)::after { content: none; }
.am-theme .form-label.custom-label { color: var(--am-muted); font-size: 15px; }
.am-theme #register input:focus ~ label.custom-label,
.am-theme #register input:valid ~ label.custom-label,
.am-theme #register select:focus ~ label.custom-label,
.am-theme #register select:valid ~ label.custom-label { background: transparent; color: var(--am-secondary); }
.am-theme .about-para2 { color: var(--am-muted); }
.am-theme .label-para { font-size: 14px; color: var(--am-body); }
.am-theme .label-para.blu { color: var(--am-primary); }
.am-theme .checkbox { accent-color: var(--am-primary); cursor: pointer; }
.am-theme .priceDiv {
  background: var(--am-primary-soft);
  border: 1px solid rgba(219, 0, 116, .2);
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--am-ink);
}
.am-theme .rupeeIcon { width: 22px; vertical-align: middle; }
.am-theme #register .btn-submit {
  font-family: var(--am-font);
  background: var(--am-primary);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 14px 48px;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color .2s, box-shadow .2s;
}
.am-theme #register .btn-submit:hover { background: var(--am-primary-hover); color: #fff; box-shadow: 0 6px 16px rgba(219, 0, 116, .25); }

/* ---------- Footer ---------- */
.am-footer {
  position: relative;
  margin-top: 96px;
  padding: 0;
  background: #0f1420;
  background-image:
    radial-gradient(900px 300px at 85% 0%, rgba(219, 0, 116, .14), transparent 60%),
    radial-gradient(700px 260px at 0% 100%, rgba(0, 107, 155, .16), transparent 60%);
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}
/* Footer without the overlapping CTA band (e.g. registration confirmation page) */
.am-footer.am-footer--no-cta { margin-top: 0; padding-top: 48px; }

/* CTA band overlapping the top edge */
.am-footer-cta {
  position: relative;
  top: -56px;
  margin-bottom: -16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 40px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #db0074 0%, #a3007a 55%, #5b2a86 100%);
  box-shadow: 0 18px 40px rgba(219, 0, 116, .28);
  overflow: hidden;
}
.am-footer-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}
.am-footer-cta h3 { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -.005em; color: #fff; }
.am-footer-cta p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .85); max-width: 640px; }
.am-theme .am-btn-white { position: relative; z-index: 1; background: #fff; color: var(--am-primary); font-weight: 600; flex-shrink: 0; }
.am-theme .am-btn-white:hover { background: #fff5fa; color: var(--am-primary-hover); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }

.am-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 8px 0 44px;
}
.am-footer-brand { max-width: 420px; }
.am-footer-logo-wrap {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #fff;
}
.am-footer-logo { height: 46px; width: auto; display: block; }
.am-footer-brand p { margin: 0 0 22px; line-height: 1.65; }
.am-footer-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.am-theme .am-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .2s, border-color .2s, transform .2s;
}
.am-theme .am-footer-social a:hover { transform: translateY(-2px); text-decoration: none; color: #fff; }
.am-theme .am-footer-social .s-fb:hover { background: #1877f2; border-color: #1877f2; }
.am-theme .am-footer-social .s-ig:hover { background: #e1306c; border-color: #e1306c; }
.am-theme .am-footer-social .s-x:hover { background: #000; border-color: #444; }
.am-theme .am-footer-social .s-li:hover { background: #0a66c2; border-color: #0a66c2; }
.am-theme .am-footer-social .s-yt:hover { background: #ff0000; border-color: #ff0000; }
.am-theme .am-footer-social .s-wa:hover { background: #25d366; border-color: #25d366; }

.am-footer h4 {
  position: relative;
  margin: 8px 0 22px;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.am-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--am-primary);
}
.am-footer-col ul { list-style: none; margin: 0; padding: 0; }
.am-footer-col li { margin-bottom: 13px; }
.am-theme .am-footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  word-break: break-word;
  transition: color .2s, transform .2s;
}
.am-theme .am-footer-col a .am-i { font-size: 16px; color: rgba(255, 255, 255, .45); transition: color .2s; }
.am-theme .am-footer-col a:hover { color: #fff; text-decoration: none; transform: translateX(3px); }
.am-theme .am-footer-col a:hover .am-i { color: #ff5aa8; }

.am-footer-locate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.am-theme .am-locate-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}
.am-theme .am-locate-line:hover { text-decoration: none; color: #fff; }
.am-locate-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(219, 0, 116, .18);
  color: #ff5aa8;
  font-size: 18px;
}
.am-locate-label { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.am-locate-addr { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-footer-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.am-theme .am-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.am-theme .am-footer-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; text-decoration: none; }

.am-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.am-footer-bottom p { margin: 0; }

/* ---------- Floating / mobile dock ---------- */
.am-theme .whatsapp-logo { right: 24px; bottom: 24px; width: 50px; z-index: 1020; }
.am-mobile-dock { display: none; }

@media (max-width: 1279.98px) {
  .am-container { padding: 0 24px; }
  .am-theme .am-menu-link { padding: 8px 10px; font-size: 14px; }
  .am-theme .menu-ul.am-menu li.am-menu-actions { margin-left: 4px; padding-left: 12px; }
  .am-footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .am-footer-brand { grid-column: 1 / -1; max-width: 560px; }
  .am-footer-cta { padding: 26px 28px; }
}

@media (max-width: 991.98px) {
  .am-container { padding: 0 12px; }
  .am-theme .menu-ul.am-menu { display: none; }
  .am-header-mobile { display: flex; }
  .am-theme .logo-image { height: 36px; }

  /* slide-in drawer (custom.js toggles nav.active) */
  .am-theme nav {
    display: block;
    position: fixed;
    top: var(--am-header-h);
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--am-header-h));
    background: #fff;
    box-shadow: 4px 0 24px rgba(16, 24, 40, .12);
    transition: left .3s ease;
    z-index: 1040;
    overflow-y: auto;
  }
  .am-theme nav.active { left: 0; width: 80% !important; }
  .am-theme nav ul { list-style: none; padding: 8px 0; margin: 0; text-align: left; }
  .am-theme nav ul li { padding: 0; border-bottom: 1px solid var(--am-border-soft); color: var(--am-ink); }
  .am-theme nav ul li a { display: block; padding: 14px 20px; }
  .am-theme nav ul li a:hover { text-decoration: none; background: rgba(219, 0, 116, .05); }
  .am-theme nav .menu-para { color: var(--am-ink); font-family: var(--am-font); font-size: 15px; font-weight: 500; margin: 0; }

  .am-hero-card { margin-bottom: 16px; border-radius: 0 0 14px 14px; }
  .am-hero-overlay { padding: 28px 28px 30px calc(42% + 12px); }
  .am-hero-title { font-size: 34px !important; }
  .am-hero-title { font-size: 36px; }
  .am-hero-sub { font-size: 16px; margin-bottom: 18px; }
  .am-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 4px; }
  .am-fact { padding: 14px 16px; }
  .am-fact:nth-child(3) { border-left: 0; }
  .am-fact:nth-child(n+3) { border-top: 1px solid var(--am-border-soft); }

  .am-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .am-layout > *, .am-aside > * { min-width: 0; }
  .am-aside { display: contents; }
  .am-section-nav { display: none; }
  .am-main { order: 1; }
  .am-organizer { order: 2; margin-bottom: 0; }

  .am-section { margin-bottom: 16px; }
  .am-card { padding: 16px 18px; }

  /* Overview collapses like the reference accordion */
  .am-collapse-toggle { cursor: pointer; }
  .am-theme .am-collapse-chevron { display: inline-block; }
  #overview.am-collapsed .am-collapse-chevron { transform: rotate(180deg); }
  #overview.am-collapsed .am-collapse-body { display: none; }
  #overview.am-collapsed .am-section-head { margin-bottom: 0; }

  .am-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
  .am-theme .am-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 92px;
    padding: 14px 8px;
    background: #fff;
    border: 1px solid var(--am-border);
    border-radius: 8px;
    color: var(--am-ink);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
  }
  .am-theme .am-tile:hover,
  .am-theme .am-tile:active { text-decoration: none; border-color: rgba(219, 0, 116, .3); box-shadow: 0 2px 8px rgba(16, 24, 40, .06); }
  .am-tile-icon { font-size: 24px; }
  .am-tile-ext { position: absolute; top: 8px; right: 8px; font-size: 13px; color: #9ca3af; }
  .t-pink { color: var(--am-primary); }
  .t-blue { color: var(--am-secondary); }
  .t-amber { color: #e0a100; }
  .t-green { color: #2f7a12; }

  .am-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-footer { margin-top: 80px; }
  .am-footer-locate { flex-direction: column; align-items: flex-start; }
  .am-locate-addr { white-space: normal; }

  /* bottom dock: CTA row + tab bar, as in the reference */
  body.am-theme { padding-bottom: 124px; }
  .am-mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--am-border-soft);
    box-shadow: 0 -4px 16px rgba(16, 24, 40, .06);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .am-mobile-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--am-border-soft);
    transition: margin .25s ease, opacity .25s ease;
  }
  .am-dock-hide-cta .am-mobile-cta-row { margin-top: -61px; opacity: 0; pointer-events: none; }
  .am-dock-share {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--am-ink);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
  }
  .am-theme .am-dock-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 6px;
    background: var(--am-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
  }
  .am-theme .am-dock-cta:hover { text-decoration: none; color: #fff; background: var(--am-primary-hover); }
  .am-mobile-bar { display: flex; justify-content: space-around; padding: 6px 4px; }
  .am-theme .am-mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
  }
  .am-theme .am-mobile-bar a:hover { text-decoration: none; color: var(--am-primary); }
  .am-theme .am-mobile-bar a .am-i { font-size: 21px; }
  .am-theme .whatsapp-logo { right: 14px; bottom: 136px; width: 46px; }
}

@media (max-width: 767.98px) {
  .am-hero-media .banner-image { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
  .am-hero-overlay { padding: 20px 18px 22px; background: linear-gradient(0deg, rgba(12, 14, 24, .9) 0%, rgba(12, 14, 24, .65) 38%, rgba(12, 14, 24, 0) 70%); }
  .am-hero-title { font-size: 30px; }
  .am-hero-sub { font-size: 14px; }
  .am-hero-actions .am-btn-lg { padding: 13px 20px; font-size: 16px; }
  .am-hero-actions .am-btn-primary { flex: 1; }
  .am-hero-actions .am-btn-glass { display: none; }
  .am-glass-icon { width: 46px; height: 46px; }
  .am-fact { gap: 10px; padding: 12px; }
  .am-fact-icon { width: 38px; height: 38px; font-size: 19px; }
  .am-fact-value { font-size: 14px; }
  .am-prose { font-size: 15px; }
  .am-prose ul { padding-left: 24px; }
  .am-table { font-size: 14px; }
  .am-table th, .am-table td { padding: 8px 10px; }
  .am-footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
  .am-footer-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 22px 20px; top: -44px; }
  .am-footer-cta h3 { font-size: 20px; }
  .am-footer-cta .am-btn { width: 100%; }
  .am-theme .am-locate-line { flex-wrap: wrap; row-gap: 6px; }
  .am-locate-addr { flex-basis: 100%; }
  .am-contact-grid { grid-template-columns: 1fr; }
  .am-footer-actions { width: 100%; }
  .am-footer-actions > * { flex: 1 1 auto; justify-content: center; }
  .am-footer-bottom { flex-direction: column; align-items: flex-start; }
  .am-tl-item:not(.am-tl-final)::before, .am-tl-or::after { left: 19px; }
  .am-tl-item:not(.am-tl-final)::before { top: 40px; }
  .am-tl-node { width: 40px; height: 40px; font-size: 18px; }
  .am-tl-or { padding-left: 56px; }
  .am-tl-or::before { left: 13px; }
  .am-theme #register .btn-submit { width: 100%; }
}

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

/* ==========================================================================
   Responsive fixes (tested at 320 / 360 / 375 / 390 / 414 / 430 / 768 / 820 /
   1024 / 1280 / 1440px)
   ========================================================================== */

/* Floating form labels: keep to one line, never run under the select arrow */
.am-theme #register .form-label.custom-label {
  max-width: calc(100% - 40px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-theme #register .select_option .form-label.custom-label { max-width: calc(100% - 64px); }

/* Timeline date line: keep the icon aligned with the first line when it wraps */
.am-tl-date { align-items: flex-start; }
.am-tl-date .am-i { margin-top: 3px; flex-shrink: 0; }

/* Contact values: wrap long emails cleanly instead of mid-word */
.am-contact-value { word-break: normal; overflow-wrap: anywhere; }

/* Hero: give the overlay enough height on tablets / small laptops */
@media (min-width: 768px) {
  .am-hero-media .banner-image { min-height: 460px; object-position: 22% 35%; }
}

/* Small laptops & tablet landscape (992 - 1199) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .am-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .am-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-hero-media .banner-image { min-height: 500px; }
  .am-hero-overlay { padding-left: calc(44% + 12px); padding-right: 36px; }
  .am-hero-title { font-size: 40px; }
  .am-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-fact:nth-child(3) { border-left: 0; }
  .am-fact:nth-child(n+3) { border-top: 1px solid var(--am-border-soft); }
  .am-org-desc { font-size: 15px; }
}

/* Touch devices: comfortable tap targets for footer links */
@media (max-width: 991.98px) {
  .am-footer-col li { margin-bottom: 4px; }
  .am-theme .am-footer-col a { padding: 6px 0; }
  .am-footer h4 { margin-bottom: 14px; }
}

@media (max-width: 767.98px) {
  .am-footer-col:last-child { grid-column: 1 / -1; }
}

/* Small phones (<= 420) */
@media (max-width: 420px) {
  .am-theme #register .form-label.custom-label { font-size: 14px; left: 18px; }
  .am-theme #register .form_wrapper input[type=text],
  .am-theme #register .form_wrapper input[type=email],
  .am-theme #register .form_wrapper input[type=tel],
  .am-theme #register .select_option select { padding-left: 17px; }

  .am-fact { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
  .am-fact-icon { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }

  .am-theme .am-contact-card { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 12px; }
  .am-contact-icon { width: 36px; height: 36px; font-size: 18px; }
  .am-contact-value { font-size: 14px; }

  .am-step { padding: 18px 16px 16px; }
  .am-tl-body { padding: 10px 12px; }
  .am-footer-cta h3 { font-size: 19px; }
}

/* Very small phones (<= 360) */
@media (max-width: 360px) {
  .am-container { padding: 0 10px; }
  .am-card { padding: 14px; }
  .am-hero-title { font-size: 27px !important; }
  .am-hero-overlay { padding: 16px 14px 18px; }
  .am-theme .am-header-mobile .am-pill { padding: 6px 12px; font-size: 14px; }
  .am-theme .logo-image { height: 32px; }
  .am-tiles { gap: 10px; }
  .am-theme .am-tile { font-size: 15px; min-height: 84px; }
}

/* Keep the small "floated" label size once a field is focused / filled */
.am-theme #register input:focus ~ label.custom-label,
.am-theme #register input:valid ~ label.custom-label,
.am-theme #register select:focus ~ label.custom-label,
.am-theme #register select:valid ~ label.custom-label {
  top: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* On phones/tablets hide the floating WhatsApp button while the form is on screen,
   so it never covers form fields */
@media (max-width: 991.98px) {
  .am-form-in-view .am-whatsapp { display: none; }
}

/* ---------- Steps to Participate as bullet points ---------- */
.am-step-list { list-style: none; margin: 0; padding: 0; }
.am-step-list li {
  position: relative;
  padding: 0 0 18px 48px;
}
.am-step-list li:last-child { padding-bottom: 0; }
.am-step-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 4px;
  width: 2px;
  background: var(--am-border);
}
.am-step-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--am-secondary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(0, 107, 155, .12);
}
.am-step-list p { margin: 0; padding-top: 4px; font-size: 16px; line-height: 1.65; color: var(--am-body); }
.am-step-list p strong { color: var(--am-ink); font-weight: 600; }
.am-step-list .am-step-note {
  margin-top: 10px;
  padding: 10px 14px;
  border-left: 3px solid var(--am-primary);
  border-radius: 0 8px 8px 0;
  background: var(--am-primary-soft);
  font-size: 14px;
}
@media (max-width: 767.98px) {
  .am-step-list li { padding-left: 42px; }
  .am-step-dot { width: 28px; height: 28px; font-size: 13px; }
  .am-step-list li:not(:last-child)::before { left: 13px; top: 30px; }
  .am-step-list p { font-size: 15px; padding-top: 2px; }
}
