/* =========================================================
   Travel Wanders Hub Pvt. Ltd. — site styles
   Built on Bootstrap 5.3
   ========================================================= */

:root {
  --maroon: #5b1f1d;
  --maroon-dark: #3e1312;
  --maroon-soft: #7a2d29;
  --amber: #f7b21b;
  --amber-dark: #e09a00;
  --orange: #f2731f;
  --navy: #16257a;
  --navy-dark: #0d1550;
  --cream: #fdfaf1;
  --cream-2: #f6efdc;
  --ink: #2a1a18;
  --muted: #6d5c58;
  --line: #eadfc6;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(62, 19, 18, .35);

  --bs-body-font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: #fff;
  --bs-link-color-rgb: 91, 31, 29;
}

html { scroll-padding-top: 84px; }
body { font-size: 1.02rem; line-height: 1.65; overflow-x: hidden; }
main, footer { overflow-x: clip; }
h1, h2, h3, h4 { font-weight: 700; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--maroon-dark); border: 0; box-shadow: 0 10px 22px -10px rgba(247, 178, 27, .8); }
.btn-amber:hover, .btn-amber:focus { background: var(--amber-dark); color: var(--maroon-dark); }
.btn-maroon { background: var(--maroon); color: #fff; border: 0; }
.btn-maroon:hover, .btn-maroon:focus { background: var(--maroon-dark); color: #fff; }
.btn-outline-maroon { border: 1.5px solid var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline-maroon:hover { background: var(--maroon); color: #fff; }
.btn-outline-cream { border: 1.5px solid rgba(253, 250, 241, .7); color: var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--maroon); }

/* ---------- Navbar ---------- */
.site-nav { background: rgba(253, 250, 241, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: .55rem 0; transition: box-shadow .25s ease; }
.site-nav.scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.brand-logo { height: 44px; width: auto; border-radius: 8px; }
.brand-name { font-family: "Lobster", cursive; color: var(--maroon); font-size: 1.45rem; line-height: 1; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .5rem .8rem !important; border-radius: 999px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--maroon); background: var(--cream-2); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--maroon); box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 120px;
  background: radial-gradient(circle at 85% 20%, rgba(247, 178, 27, .25), transparent 40%),
              linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 55%, var(--maroon-soft) 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(var(--cream) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(247, 178, 27, .15); color: var(--amber); border: 1px solid rgba(247, 178, 27, .4); padding: .35rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; letter-spacing: .03em; }
.hero-title { font-family: "Lobster", cursive; font-weight: 400; color: var(--cream); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin: 1.2rem 0 1rem; }
.hero-title span { display: block; color: var(--amber); }
.hero-lead { font-size: 1.2rem; color: rgba(253, 250, 241, .85); max-width: 32em; margin: 0 auto 2rem; }
@media (min-width: 992px) { .hero-lead { margin-left: 0; } }
.hero-lead strong { color: var(--cream); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
.hero-wave path { fill: #fff; }

/* Tourist club card (CSS recreation of the brochure card) */
.card-stage { position: relative; perspective: 1200px; max-width: 470px; margin: 0 auto; }
.club-card {
  position: relative; aspect-ratio: 1.586; border-radius: 20px; padding: 7% 7.5%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .07) 1.5px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 60%, #24379b 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #fff; overflow: hidden;
  transform: rotateY(-12deg) rotateX(6deg) rotate(-3deg);
  animation: floatCard 6s ease-in-out infinite;
}
.club-card::before { /* gold arc as on the brochure card */
  content: ""; position: absolute; left: -55%; top: -40%; width: 115%; height: 180%;
  border-right: 5px solid var(--amber); border-radius: 50%;
  background: rgba(0, 0, 0, .12);
}
.club-card > * { position: relative; }
.club-card-logo { position: absolute; top: 8%; left: 6%; width: 22%; border-radius: 6px; }
.club-card-title { position: absolute; top: 18%; right: 7%; text-align: right; font-weight: 800; font-size: clamp(1rem, 3vw, 1.35rem); line-height: 1.15; letter-spacing: .02em; }
.club-card-chip { position: absolute; top: 40%; left: 7%; width: 13%; aspect-ratio: 1.3; border-radius: 6px; background: linear-gradient(135deg, #f8d46a, #c99512); }
.club-card-number { position: absolute; bottom: 30%; right: 7%; font-weight: 700; font-size: clamp(1.1rem, 3.4vw, 1.6rem); letter-spacing: .12em; color: #ffcb47; text-shadow: 0 1px 0 #8a5a00; }
.club-card-dates { position: absolute; bottom: 17%; right: 7%; display: flex; gap: 1rem; font-weight: 700; font-size: .85rem; }
.club-card-dates span { display: flex; align-items: center; gap: .3rem; }
.club-card-dates small { font-size: .5rem; line-height: 1.05; font-weight: 600; opacity: .85; }
.club-card-name { position: absolute; bottom: 14%; left: 6%; font-weight: 700; color: #ffcb47; font-size: clamp(.75rem, 2.2vw, .95rem); letter-spacing: .04em; }
.stage-badge { position: absolute; bottom: -22px; right: 8%; background: var(--cream); color: var(--maroon); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); display: flex; gap: .5rem; align-items: center; }
.stage-badge i { color: var(--orange); }
@keyframes floatCard {
  0%, 100% { transform: rotateY(-12deg) rotateX(6deg) rotate(-3deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) rotate(-2deg) translateY(-12px); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-maroon { background: linear-gradient(160deg, var(--maroon-dark), var(--maroon)); }
.section-tag { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); margin-bottom: .6rem; }
.section-tag::before { content: ""; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; }
.tag-light { color: var(--amber); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1rem; }
.section-title em { font-family: "Lobster", cursive; font-style: normal; font-weight: 400; color: var(--maroon); }
.text-cream { color: var(--cream) !important; }
.text-cream-muted { color: rgba(253, 250, 241, .78); }
.text-muted-soft { color: var(--muted); }
.lead-text { font-size: 1.15rem; color: var(--ink); }

/* Intro */
.intro-visual { position: relative; border-radius: 28px; overflow: visible; }
.intro-visual img { border-radius: 28px; box-shadow: var(--shadow); border: 6px solid #fff; }
.lets-go {
  position: absolute; left: -18px; bottom: 28px; background: var(--maroon); color: var(--cream);
  font-family: "Lobster", cursive; font-size: 1.6rem; line-height: 1.05; padding: .9rem 1.3rem;
  border-radius: 16px; transform: rotate(-6deg); box-shadow: var(--shadow);
}
.mini-stat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; height: 100%; }
.mini-stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--maroon); line-height: 1.1; }
.mini-stat span { color: var(--muted); font-size: .95rem; }

/* Highlights */
.hl-card {
  height: 100%; background: rgba(253, 250, 241, .06); border: 1px solid rgba(253, 250, 241, .15);
  border-radius: var(--radius); padding: 1.75rem; color: rgba(253, 250, 241, .88);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.hl-card:hover { transform: translateY(-6px); background: rgba(253, 250, 241, .1); border-color: var(--amber); }
.hl-card i { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--amber); color: var(--maroon-dark); font-size: 1.5rem; margin-bottom: 1rem; }
.hl-card p { margin: 0; }
.hl-card strong { color: var(--amber); font-weight: 600; }
.hl-card-accent { background: var(--amber); border-color: var(--amber); color: var(--maroon-dark); }
.hl-card-accent:hover { background: var(--amber); }
.hl-card-accent i { background: var(--maroon); color: var(--amber); }
.hl-card-accent strong { color: var(--maroon-dark); }

/* Membership plans */
.plan {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem;
  box-shadow: 0 10px 30px -22px rgba(62, 19, 18, .4); transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.plan-head h3 { font-size: 1.4rem; margin: 0; }
.plan-term { background: var(--cream-2); color: var(--maroon); font-weight: 700; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: var(--maroon); margin: 1.2rem 0 1rem; line-height: 1; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: .25rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.plan-list li { display: flex; gap: .65rem; margin-bottom: .75rem; color: var(--muted); }
.plan-list i { color: var(--orange); flex: none; margin-top: .15rem; }
.plan-elite { background: linear-gradient(160deg, var(--maroon-dark), var(--maroon)); border-color: var(--maroon); color: var(--cream); }
.plan-elite h3, .plan-elite .plan-price { color: var(--cream); }
.plan-elite .plan-price small, .plan-elite .plan-list li { color: rgba(253, 250, 241, .8); }
.plan-elite .plan-list i { color: var(--amber); }
.plan-elite .plan-head { border-color: rgba(253, 250, 241, .2); }
.plan-elite .plan-term { background: var(--amber); color: var(--maroon-dark); }
.plan-ribbon { position: absolute; top: -14px; left: 2rem; background: var(--amber); color: var(--maroon-dark); font-weight: 700; font-size: .8rem; padding: .3rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }

.elite-benefits { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 2rem; }
.elite-benefits h3 { color: var(--maroon); }
.eb-item { display: flex; gap: .9rem; background: #fff; border-radius: 14px; padding: 1rem 1.1rem; height: 100%; border: 1px solid var(--line); }
.eb-item i { font-size: 1.5rem; color: var(--orange); flex: none; }

.grand-offer { background: linear-gradient(90deg, var(--amber), #ffc94a); border-radius: 22px; padding: 1.75rem 2rem; color: var(--maroon-dark); position: relative; overflow: hidden; }
.grand-offer::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.grand-offer > * { position: relative; z-index: 1; }
.offer-badge { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--amber); font-size: 1.7rem; }
.offer-kicker { display: block; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; font-size: .85rem; margin-bottom: .25rem; }
.price-new { font-weight: 800; background: var(--maroon); color: #fff; padding: .05rem .5rem; border-radius: 6px; white-space: nowrap; }
.price-old { text-decoration: line-through; opacity: .75; white-space: nowrap; }

/* Fun N Earn chart */
.chart-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.chart-table { --bs-table-bg: transparent; font-size: 1.05rem; }
.chart-table thead th { background: var(--maroon); color: var(--cream); font-weight: 600; padding: 1.1rem 1.5rem; border: 0; white-space: nowrap; }
.chart-table tbody td { padding: .95rem 1.5rem; border-color: var(--line); font-variant-numeric: tabular-nums; }
.chart-table tbody tr:nth-child(even) td { background: var(--cream); }
.chart-table tbody tr { transition: background .2s ease; }
.chart-table tbody tr:hover td { background: #fff4d6; }
.chart-table td:first-child { font-weight: 600; }
.chart-table .amt { display: inline-block; min-width: 78px; text-align: center; font-weight: 800; color: var(--maroon-dark); background: rgba(247, 178, 27, .3); padding: .2rem .7rem; border-radius: 999px; }
.chart-note { display: flex; gap: .6rem; margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }
.chart-note i { color: var(--orange); }

/* Terms */
.terms-palm { width: 200px; margin-top: 2rem; opacity: .9; }
.terms-list { counter-reset: t; list-style: none; padding: 0; margin: 0; }
.terms-list li { counter-increment: t; position: relative; padding: 1rem 1rem 1rem 4rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.terms-list li:last-child { border-bottom: 0; }
.terms-list li::before {
  content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 1rem;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--cream-2); color: var(--maroon); font-weight: 800;
}

/* Form */
.form-card { background: #fff; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.steps-nav { list-style: none; display: flex; gap: .5rem; padding: 0 0 1.25rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.steps-nav button { display: flex; align-items: center; gap: .5rem; white-space: nowrap; background: transparent; border: 1.5px solid var(--line); color: var(--muted); padding: .4rem 1rem .4rem .4rem; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: all .2s ease; }
.steps-nav button .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--ink); font-size: .8rem; }
.steps-nav button:hover { border-color: var(--amber); color: var(--ink); }
.steps-nav button.active { background: var(--maroon); border-color: var(--maroon); color: var(--cream); }
.steps-nav button.active .n { background: var(--amber); color: var(--maroon-dark); }
.steps-nav button.done .n { background: #198754; color: #fff; }
.steps-nav button.has-error { border-color: #dc3545; }
.form-step { border: 0; padding: 0; margin: 0; display: none; }
.form-step.active { display: block; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.form-label { font-weight: 600; font-size: .95rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .7rem .9rem; background-color: var(--cream); }
.form-control:focus, .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(242, 115, 31, .2); background-color: #fff; }
.form-check-input:checked { background-color: var(--maroon); border-color: var(--maroon); }
.form-hint { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.req { color: #c0392b; }
.done-icon { font-size: 3.2rem; color: #198754; line-height: 1; margin-bottom: .5rem; }
.summary-list { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; background: var(--cream); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; }
.summary-list dt { font-weight: 600; }
.summary-list dd { margin: 0; word-break: break-word; color: var(--muted); }
@media (max-width: 575.98px) { .summary-list { grid-template-columns: 1fr; } .summary-list dd { margin-bottom: .5rem; } }

/* Footer */
.site-footer { background: var(--maroon-dark); color: var(--cream); padding: 72px 0 24px; }
.footer-logo { height: 56px; border-radius: 10px; }
.footer-title { color: var(--amber); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer-line { display: flex; gap: .75rem; color: rgba(253, 250, 241, .82); margin-bottom: .85rem; }
.footer-line i { color: var(--amber); flex: none; margin-top: .15rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.gst { color: rgba(253, 250, 241, .6); letter-spacing: .05em; }
.footer-bottom { border-top: 1px solid rgba(253, 250, 241, .12); margin-top: 3rem; padding-top: 1.25rem; text-align: center; font-size: .9rem; color: rgba(253, 250, 241, .55); }

/* Back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--maroon-dark); font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 1030; text-decoration: none; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); color: var(--maroon-dark); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 991.98px) {
  .hero { padding: 120px 0 110px; }
  .site-nav .navbar-collapse { background: var(--cream); border-radius: 16px; padding: .75rem; margin-top: .5rem; border: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .lets-go { left: 12px; }
  .stage-badge { right: 50%; transform: translateX(50%); white-space: nowrap; }
}
@media (max-width: 575.98px) {
  .brand-name { font-size: 1.2rem; }
  .chart-table thead th, .chart-table tbody td { padding: .8rem .9rem; font-size: .95rem; }
  .plan { padding: 1.5rem; }
  .grand-offer { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .club-card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .plan:hover, .hl-card:hover { transform: none; }
}

/* Print: only the enrolment summary */
@media print {
  .site-nav, .hero, .section:not(#join), .site-footer, .to-top, #join .text-center.mb-4, #formDone .btn { display: none !important; }
  #join { padding: 0; background: #fff; }
  .form-card { box-shadow: none; border: 0; }
}
