/* =========================================================
   REGISTRATION PAGE — Rajasthani Cultural Theme
   ========================================================= */

/* ── Page hero ── */
.reg-hero {
  margin: 1rem 0 0.5rem;
  text-align: center;
}

.reg-hero-inner-wrap {
  position: relative;
  padding: 2.5rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,164,73,0.26), transparent 65%),
    linear-gradient(180deg, rgba(253,245,225,0.98), rgba(238,220,180,0.95));
  border: 4px double var(--gold);
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(64,35,16,0.26),
    0 0 0 2px var(--maroon),
    inset 0 0 60px rgba(201,164,73,0.06);
}

/* treat the hero div itself as the styled box */
.reg-hero {
  position: relative;
  padding: 2.5rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,164,73,0.26), transparent 65%),
    linear-gradient(180deg, rgba(253,245,225,0.98), rgba(238,220,180,0.95));
  border: 4px double var(--gold);
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(64,35,16,0.26),
    0 0 0 2px var(--maroon),
    inset 0 0 60px rgba(201,164,73,0.06);
  animation: reg-hero-glow 5s ease-in-out infinite;
}

@keyframes reg-hero-glow {
  0%,100% { box-shadow: 0 16px 48px rgba(64,35,16,0.26), 0 0 0 2px var(--maroon), inset 0 0 60px rgba(201,164,73,0.06); }
  50%      { box-shadow: 0 16px 48px rgba(64,35,16,0.26), 0 0 0 2px var(--maroon), 0 0 55px rgba(201,164,73,0.2), inset 0 0 60px rgba(201,164,73,0.12); }
}

/* jaali overlay */
.reg-hero-jaali {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='14' stroke='%231a3a6a' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='18' cy='18' r='6' fill='%231a3a6a'/%3E%3Cline x1='18' y1='0' x2='18' y2='36' stroke='%231a3a6a' stroke-width='0.6'/%3E%3Cline x1='0' y1='18' x2='36' y2='18' stroke='%231a3a6a' stroke-width='0.6'/%3E%3C/svg%3E");
  pointer-events: none;
}

.reg-hero::before {
  content: "✦ ❖ ✦ ❖ ✦ ❖ ✦ ❖ ✦ ❖ ✦";
  display: block;
  text-align: center;
  color: var(--gold-dark);
  font-size: 0.7rem;
  letter-spacing: 6px;
  margin-bottom: 0.8rem;
  opacity: 0.6;
}

.reg-hero-eyebrow {
  color: var(--deep-green);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}

.reg-hero-h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  color: var(--maroon);
  margin: 0 0 0.4rem;
  text-shadow: 2px 3px 8px rgba(106,16,32,0.28), 0 0 40px rgba(201,164,73,0.15);
  animation: reg-h1-in 1.1s ease-out both;
  letter-spacing: 0.04em;
}

@keyframes reg-h1-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.reg-hero-sub {
  color: var(--saffron);
  font-family: "Marcellus", serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.1em;
}

.reg-arch {
  width: min(340px, 90%);
  margin: 0.65rem auto 0;
  opacity: 0.75;
  animation: arch-pulse 4s ease-in-out infinite;
}

.reg-arch svg { width: 100%; height: auto; }

@keyframes arch-pulse {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; filter: drop-shadow(0 0 5px rgba(201,164,73,0.5)); }
}

/* ── Steps grid ── */
.reg-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
  margin: 1.2rem 0 1.5rem;
}

.reg-step {
  text-align: center;
  padding: 1.2rem 1rem 1.1rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,164,73,0.1), transparent 60%),
    linear-gradient(180deg, rgba(255,252,240,0.98), rgba(242,228,198,0.94));
  border: 2px solid var(--gold-dark);
  border-top: 4px solid var(--maroon);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.reg-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(106,16,32,0.16);
}

.reg-step::after {
  content: "◈";
  position: absolute;
  bottom: 6px;
  right: 9px;
  color: rgba(201,164,73,0.45);
  font-size: 0.68rem;
}

.reg-step-num {
  font-family: "Marcellus", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
  text-shadow: 1px 2px 6px rgba(106,16,32,0.2);
  letter-spacing: 0.04em;
}

.reg-step-title {
  font-family: "Marcellus", serif;
  color: var(--maroon);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.reg-step-desc {
  font-size: 0.87rem;
  color: #5a3a28;
  margin: 0;
  line-height: 1.55;
}

/* ── Register button wrap ── */
.reg-btn-wrap {
  text-align: center;
  margin-top: 0.5rem;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  color: #fff8e8;
  text-decoration: none;
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 18px rgba(106,16,32,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.28s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.28s, background 0.28s;
  position: relative;
  overflow: hidden;
}

/* shimmer sweep on button */
.btn-register::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s ease;
}

.btn-register:hover::before { left: 140%; }

.btn-register:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 28px rgba(106,16,32,0.35), 0 0 20px rgba(201,164,73,0.22);
  background: linear-gradient(160deg, #8a1828, var(--maroon));
}

.btn-register-icon { font-size: 1.1rem; }

/* ── WhatsApp contact card ── */
.reg-whatsapp-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 auto;
  padding: 1.25rem 1.6rem;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(37,211,102,0.08), transparent 55%),
    linear-gradient(135deg, rgba(253,252,246,0.98), rgba(240,248,242,0.96));
  border: 2px solid #25D366;
  border-left: 5px solid #25D366;
  box-shadow: 0 4px 22px rgba(37,211,102,0.16), 0 2px 10px rgba(44,16,8,0.07);
  max-width: 480px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.reg-whatsapp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.26), 0 2px 10px rgba(44,16,8,0.1);
}

/* inner dashed border */
.reg-whatsapp-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(37,211,102,0.25);
  pointer-events: none;
}

.reg-wa-icon {
  flex-shrink: 0;
  animation: wa-icon-bounce 3s ease-in-out infinite;
}

@keyframes wa-icon-bounce {
  0%,100% { transform: translateY(0) scale(1); }
  45%      { transform: translateY(-6px) scale(1.08); }
  65%      { transform: translateY(-2px) scale(1.03); }
}

.reg-wa-text { flex: 1; }

.reg-wa-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.22rem;
}

.reg-wa-name {
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  color: var(--maroon);
  margin: 0 0 0.38rem;
}

.reg-wa-number {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Marcellus", serif;
  color: #128C3E;
  text-decoration: none;
  letter-spacing: 0.07em;
  border-bottom: 2px solid rgba(18,140,62,0.3);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}

.reg-wa-number:hover {
  color: #075E54;
  border-color: #075E54;
  transform: scale(1.04);
}

.reg-wa-hint {
  font-size: 0.74rem;
  color: #5a6a5a;
  margin: 0.28rem 0 0;
  opacity: 0.8;
}

.reg-contact-intro {
  margin-bottom: 1.2rem;
  color: var(--royal-blue);
}

/* ── Responsive ── */
@media (max-width: 500px) {
  .reg-steps-grid { grid-template-columns: 1fr; }
  .reg-whatsapp-card { flex-direction: column; text-align: center; }
  .reg-wa-text { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reg-hero,
  .reg-arch,
  .reg-hero-h1,
  .reg-wa-icon,
  .btn-register { animation: none !important; transition: none !important; }
}
