/* ==========================================================================
   PARAM SATSANG — PIXEL-ACCURATE DESIGN SYSTEM WITH REALISTIC TEMPLE & MONK
   Colors: Warm Ivory (#FDFBF3), Soft Paper Cream (#F8F3E4), Pale Sage (#E8EFD5), 
           Deep Earthy Maroon (#7A2418), Warm Saffron (#D97813), Gold (#C79A3B), Forest Green (#3F6838)
   ========================================================================== */

:root {
  --ivory-base: #FDFBF3;
  --paper-cream: #F8F3E4;
  --paper-card: #FAF6ED;
  --maroon-deep: #7A2418;
  --maroon-dark: #58141E;
  --saffron: #D97813;
  --saffron-bright: #E8872F;
  --gold: #C79A3B;
  --gold-light: rgba(199, 154, 59, 0.28);
  --forest-green: #3F6838;
  --sage-green: #6F8F55;
  --muted-teal: #1A6B72;
  --rose-pink: #A84353;
  --ink-text: #3D352D;
  --muted-text: #5A5248;
  --border-line: rgba(199, 154, 59, 0.35);
  --font-serif: 'Noto Serif Devanagari', 'Cormorant Garamond', serif;
  --font-sans: 'Noto Sans Devanagari', 'Nunito Sans', sans-serif;
  --transition-fast: 0.2s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-text);
  background-color: var(--ivory-base);
  background-image: 
    radial-gradient(ellipse at 15% 20%, rgba(232, 239, 213, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 35%, rgba(248, 243, 228, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 50% 12%, rgba(253, 251, 243, 0.8) 0%, transparent 60%);
  background-attachment: scroll;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before, body::after {
  content: '';
  position: fixed;
  top: 0;
  width: 120px;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

body::before {
  left: 0;
  background: radial-gradient(circle at 0% 30%, var(--gold) 1px, transparent 2px);
  background-size: 14px 14px;
}

body::after {
  right: 0;
  background: radial-gradient(circle at 100% 70%, var(--saffron) 1px, transparent 2px);
  background-size: 14px 14px;
}

body.menu-open {
  overflow: hidden;
}

/* ========================================================================== 
   SITE NAVIGATION
   ========================================================================== */

header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: calc(100% - 32px);
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(253, 251, 243, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(122, 36, 24, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 24px;
}

.header-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 42px);
  align-items: center;
}

.site-header nav a, .nav-register {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--maroon-deep);
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--transition-fast);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header nav a:hover, .nav-register:hover {
  color: var(--saffron);
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.4rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid transparent;
}

.primary-btn {
  background: var(--saffron);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(217, 120, 19, 0.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 120, 19, 0.35);
  background: var(--saffron-bright);
}

.header-cta {
  border-radius: 999px;
  padding: 0.72rem 1.65rem;
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--paper-card);
  background: var(--maroon-deep);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(122, 36, 24, 0.14);
}

.header-cta:hover {
  color: #FFF;
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(122, 36, 24, 0.18);
}

.secondary-btn {
  background: #FFFDF8;
  border-color: var(--maroon-deep);
  color: var(--maroon-deep);
}

.secondary-btn:hover {
  background: var(--maroon-deep);
  color: #FFF;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--maroon-deep);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION (3-Column Layout: Monk Left, Title Center, Temple Right)
   ========================================================================== */

.hero {
  position: relative;
  padding: 96px max(4%, calc((100% - 1280px) / 2)) 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.1fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
}

/* LEFT: Spiritual Teacher Portrait */
.hero-teacher-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.teacher-portrait-box {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.teacher-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 98%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 98%);
  pointer-events: none;
  filter: contrast(1.05) saturate(0.98);
}

.teacher-identification {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 10px;
  text-align: center;
  color: var(--maroon-deep);
  font-family: var(--font-serif);
  line-height: 1.3;
  width: 100%;
}

.teacher-identification span {
  color: var(--saffron);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
}

.teacher-identification strong {
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  font-weight: 700;
  color: var(--maroon-deep);
  white-space: nowrap;
  display: block;
}

/* CENTER: Core Content */
.hero-center-content {
  text-align: center;
  padding: 0 5px;
}

.sanskrit-inscription {
  text-align: center;
  margin: 0 auto 20px;
  padding: 0 16px;
  width: 100%;
  max-width: 1150px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sanskrit-line {
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 1.05vw, 0.98rem);
  font-weight: 600;
  color: var(--maroon-deep);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  text-align: center;
}

.ornament-arrow {
  color: var(--gold);
  font-size: 1.05rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
  color: var(--maroon-deep);
  line-height: 1.15;
  margin-bottom: 10px;
}

.title-sub {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 600;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 14px;
  max-width: 200px;
  pointer-events: none;
}

.title-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.title-divider .diamond {
  color: var(--saffron);
  font-size: 0.6rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* RIGHT: Photorealistic Jain Temple Overlay */
.hero-temple-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.temple-photo-box {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.temple-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 88%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 88%);
  pointer-events: none;
  filter: contrast(1.05) saturate(1.02);
}

/* HERO INFORMATION CARDS (Row of 4) */
.hero-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
}

.info-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(122, 36, 24, 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--saffron);
}

.card-icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(217, 120, 19, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
}

.card-icon-badge svg {
  width: 20px;
  height: 20px;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron);
}

.card-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--maroon-deep);
  line-height: 1.25;
}

.card-value small {
  font-size: 0.82rem;
  color: var(--muted-text);
  font-weight: normal;
}

/* ==========================================================================
   COMMON SECTIONS & HEADINGS
   ========================================================================== */

.section {
  padding: 60px max(4%, calc((100% - 1150px) / 2));
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.eyebrow-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--saffron);
  margin-bottom: 6px;
}

.eyebrow-strip .eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--maroon-deep);
  font-weight: 700;
}

.schedule-section .section-heading {
  margin-bottom: 22px;
}

.section-subtext {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--muted-text);
  margin-top: 6px;
}

/* ==========================================================================
   OFFICIAL RULES & REGULATIONS SECTION (3-Category Layout)
   ========================================================================== */

.rules-official-section {
  background: var(--ivory-base);
}

.age-badge-banner {
  max-width: 1150px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, rgba(199, 154, 59, 0.15), rgba(217, 120, 19, 0.12));
  border: 1px stroke var(--gold);
  border-left: 5px solid var(--saffron);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(122, 36, 24, 0.05);
}

.age-icon {
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--paper-card);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(122, 36, 24, 0.08);
}

.age-content strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--maroon-deep);
  display: block;
}

.age-content p {
  font-size: 0.95rem;
  color: var(--muted-text);
  margin-top: 2px;
}

/* 3 CATEGORIES GRID */
.rules-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto;
  align-items: start;
}

.rules-category-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(122, 36, 24, 0.05);
}

.category-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFF;
}

.header-maroon {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
}

.header-saffron {
  background: linear-gradient(135deg, var(--saffron), #C86922);
}

.header-green {
  background: linear-gradient(135deg, var(--forest-green), #1E4625);
}

.cat-icon {
  font-size: 1.4rem;
}

.category-header h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0;
}

.rules-list {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-box {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(253, 251, 244, 0.7);
  border-radius: 10px;
  border: 1px solid var(--border-line);
}

.highlight-box {
  background: rgba(217, 120, 19, 0.08);
  border-left: 4px solid var(--saffron);
}

.mandatory-box {
  background: rgba(63, 104, 56, 0.08);
  border-left: 4px solid var(--forest-green);
}

.warning-box {
  background: rgba(122, 36, 24, 0.08);
  border-left: 4px solid var(--maroon-deep);
}

.box-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.box-text h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--maroon-deep);
  margin-bottom: 4px;
}

.box-text p {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.48;
}

/* CARRY CHECKLIST */
.carry-checklist {
  padding: 20px;
}

.checklist-intro {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--maroon-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-text);
  background: rgba(253, 251, 244, 0.9);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-line);
}

.check-mark {
  color: var(--saffron);
  font-weight: 900;
  font-size: 1.1rem;
}

/* ========================================================================== 
   TENTATIVE ITINERARY
   ========================================================================== */

.schedule-kicker {
  color: var(--saffron);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 2px 0 5px;
}

.itinerary-accordion {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.itinerary-item {
  overflow: hidden;
  border: 1px solid var(--border-line);
  border-radius: 12px;
  background: var(--paper-card);
  box-shadow: 0 4px 14px rgba(122, 36, 24, 0.04);
}

.itinerary-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px;
  border: 0;
  background: transparent;
  color: var(--maroon-deep);
  cursor: pointer;
  text-align: left;
}

.itinerary-trigger > span { display: grid; gap: 3px; }
.itinerary-trigger strong { font-family: var(--font-serif); font-size: 1.18rem; letter-spacing: 0.04em; }
.itinerary-trigger small { color: var(--saffron); font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; }
.itinerary-trigger b { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(199, 154, 59, 0.55); border-radius: 50%; color: var(--saffron); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; transition: transform var(--transition-fast), background var(--transition-fast); }
.itinerary-trigger:hover b, .itinerary-trigger[aria-expanded="true"] b { background: rgba(217, 120, 19, 0.1); transform: rotate(180deg); }

.itinerary-panel {
  display: grid;
  gap: 0;
  padding: 0 22px 18px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: height 200ms ease, opacity 180ms ease, transform 180ms ease;
}

.itinerary-panel.is-visible { opacity: 1; transform: translateY(0); }
.schedule-row { display: grid; grid-template-columns: minmax(120px, 0.42fr) 1fr; gap: 18px; padding: 12px 0; border-top: 1px solid rgba(214, 199, 178, 0.72); }
.schedule-row time { color: var(--muted-text); font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; }
.schedule-row span { color: var(--maroon-deep); font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }

@media (max-width: 768px) {
  .itinerary-trigger { padding: 17px 16px; }
  .itinerary-panel { padding: 0 16px 16px; }
  .schedule-row { grid-template-columns: 1fr; gap: 3px; padding: 11px 0; }
}

/* ==========================================================================
   VIDEO EMBED SECTION
   ========================================================================== */

.video-section {
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.video-container {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(122, 36, 24, 0.1);
  border: 3px solid var(--paper-cream);
  outline: 1px solid var(--gold);
  background: #000;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   REGISTER CTA & CONTACT BANNER
   ========================================================================== */

.register-cta-section {
  padding-top: 30px;
}

.register-card-box {
  background: linear-gradient(135deg, #FFF9EC, #F4E8D0);
  color: var(--maroon-deep);
  border: 1px solid var(--border-line);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(122, 36, 24, 0.2);
}

.register-card-box .eyebrow {
  color: var(--saffron);
}

.register-card-box h2 {
  color: var(--maroon-deep);
  margin-bottom: 12px;
}

.register-card-box p {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 1rem;
  opacity: 1;
}

.contact-section {
  padding-top: 15px;
}

.contact-box {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(122, 36, 24, 0.05);
}

.phone-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--maroon-deep);
  text-decoration: none;
}

.whatsapp-btn {
  background: #25D366;
  color: #FFF;
  border-color: #25D366;
}

.whatsapp-btn:hover {
  background: #1EBE5D;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: #ECE3D2;
  border-top: 1px solid var(--border-line);
  padding: 36px max(4%, calc((100% - 1150px) / 2));
  color: var(--maroon-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer-brand strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav a {
  color: var(--maroon-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
}

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

/* ==========================================================================
   REGISTRATION MODAL DIALOG
   ========================================================================== */

dialog#registration-dialog {
  border: 0;
  border-radius: 16px;
  max-width: min(850px, 94vw);
  max-height: 90vh;
  padding: 0;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  background: var(--ivory-base);
  margin: auto;
  overflow: hidden;
}

dialog#registration-dialog[open] {
  display: block;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

dialog form {
  padding: 30px 35px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.form-notice-top {
  font-size: 0.88rem;
  color: var(--maroon-deep);
  background: rgba(217, 120, 19, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  border-left: 3px solid var(--saffron);
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 36, 24, 0.08);
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--maroon-deep);
  cursor: pointer;
  line-height: 1;
  z-index: 100;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.close:hover {
  background: var(--maroon-deep);
  color: #FFF;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.form-grid label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-text);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wide {
  grid-column: 1 / -1;
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 9px 11px;
  border: 1px solid #D6C7B2;
  border-radius: 6px;
  background: #FFF;
  color: var(--ink-text);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(217, 120, 19, 0.15);
}

.progress-indicator {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 22px 0;
}

.progress-indicator span {
  min-width: 0;
  padding: 9px 6px;
  border-radius: 8px;
  color: var(--muted-text);
  background: var(--paper-cream);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.progress-indicator b { display: block; color: var(--saffron); font-size: 0.8rem; }
.progress-indicator .active { background: rgba(217, 120, 19, 0.16); color: var(--maroon-deep); outline: 1px solid var(--saffron); }
.progress-indicator .complete { background: rgba(63, 104, 56, 0.1); color: var(--forest-green); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3, .process-section h3 { font-family: var(--font-serif); color: var(--maroon-deep); margin: 0 0 16px; font-size: 1.25rem; }
.form-step > label { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--muted-text); }
.form-grid small, .form-step small { font-size: 0.75rem; font-weight: 400; color: var(--muted-text); line-height: 1.35; }
fieldset { border: 1px solid var(--border-line); border-radius: 10px; margin: 0 0 16px; padding: 14px; }
legend { color: var(--maroon-deep); font-family: var(--font-serif); font-weight: 700; padding: 0 6px; }
.radio-group { display: grid; gap: 9px; }
.radio-option { display: flex !important; align-items: flex-start; gap: 10px; padding: 11px; min-height: 44px; border: 1px solid var(--border-line); border-radius: 8px; color: var(--ink-text) !important; font-size: 0.9rem !important; font-weight: 500 !important; cursor: pointer; }
.radio-option input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--saffron); flex: 0 0 auto; }
.other-field { margin-top: 12px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form-error { color: #9D291A; font-size: 0.85rem; min-height: 1.2em; margin-top: 14px; }
.process-section { background: var(--paper-cream); border: 1px solid var(--border-line); border-radius: 12px; padding: 18px; }
.process-list { list-style: none; counter-reset: process; display: grid; gap: 12px; }
.process-list li { display: grid; gap: 3px; padding: 11px; background: var(--paper-card); border-radius: 8px; border-left: 3px solid var(--saffron); font-size: 0.88rem; color: var(--muted-text); }
.process-list strong { color: var(--maroon-deep); }
.participation-notice { margin-top: 16px; padding: 13px; border-left: 4px solid var(--maroon-deep); background: rgba(122, 36, 24, 0.08); color: var(--maroon-deep); font-weight: 700; line-height: 1.45; }
.confirmation { text-align: center; padding: 35px 12px; }
.confirmation h2 { color: var(--maroon-deep); font-family: var(--font-serif); margin: 8px 0; }
.confirmation p { color: var(--muted-text); line-height: 1.55; margin-bottom: 22px; }

/* REGISTRATION DOCUMENT QUESTIONNAIRE STYLES */
.form-header-document {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-line);
}

.form-header-document h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}

.doc-section-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.registration-document {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.question-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}

.q-label {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.35;
  display: block;
}

.helper-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted-text);
  line-height: 1.4;
  margin-top: 2px;
}

/* INPUTS & TEXTAREAS */
.question-field input[type="text"],
.question-field input[type="number"],
.question-field input[type="email"],
.question-field input[type="tel"],
.question-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-line);
  border-radius: 8px;
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-text);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.question-field input:focus,
.question-field textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3.5px rgba(217, 120, 19, 0.15);
}

/* RADIO GROUPS */
.registration-options {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.radio-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-line);
  border-radius: 8px;
  background: var(--paper-card);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.radio-label:hover {
  background: #FFF;
  border-color: var(--saffron);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--maroon-deep);
  flex-shrink: 0;
}

.radio-label span {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-text);
  line-height: 1.45;
  font-weight: 500;
}

/* OTHER SPECIFY INPUT */
.other-specify-wrapper {
  margin-top: 10px;
}

.other-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--saffron);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  background: #FFF;
}

/* SUBMIT BUTTON */
.doc-submit-btn {
  width: 100%;
  padding: 14px 28px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 24px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(217, 120, 19, 0.3);
}

/* ==========================================================================
   02 — NISHRA & GUIDANCE SECTION (2x2 CARD GRID)
   ========================================================================== */

.guidance-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 64px max(4%, calc((100% - 1150px) / 2));
}

.guidance-heading {
  text-align: left;
  margin-bottom: 36px;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}

.guidance-heading .eyebrow-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.eyebrow-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--saffron);
}

.eyebrow-text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--saffron);
  text-transform: uppercase;
}

.guidance-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  color: var(--maroon-deep);
  font-weight: 700;
  line-height: 1.2;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto;
}

.guidance-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.25);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(122, 36, 24, 0.03);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.guidance-card:hover {
  transform: translateY(-3px);
  border-color: var(--saffron);
  box-shadow: 0 8px 24px rgba(122, 36, 24, 0.07);
}

.guidance-card .card-label {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--saffron);
  text-transform: uppercase;
}

.guidance-card .card-name {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.35;
}

/* YOUTUBE SHORTS VIDEO SECTION */
.video-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 60px max(4%, calc((100% - 1150px) / 2));
}

.shorts-video-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(122, 36, 24, 0.12);
  border: 2px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.3);
  background: #000000;
}

.shorts-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 480px) {
  .shorts-video-container {
    max-width: 310px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   NEW EVENT INFORMATION SECTION
   ========================================================================== */

.event-info-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 60px max(4%, calc((100% - 1150px) / 2));
}

.event-info-container {
  max-width: 1150px;
  margin: 0 auto;
}

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.event-info-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.22);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(122, 36, 24, 0.04);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.event-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--saffron);
  box-shadow: 0 8px 24px rgba(122, 36, 24, 0.08);
}

.venue-card {
  grid-column: span 2;
}

.event-card-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--saffron);
  text-transform: uppercase;
}

.event-card-value {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.35;
}

.event-card-subtext {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.45;
}

/* ==========================================================================
   05 — REGISTRATION PROCESS SECTION
   ========================================================================== */

.reg-process-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 64px max(4%, calc((100% - 1150px) / 2));
}

.reg-process-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.process-step-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.25);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(122, 36, 24, 0.04);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.process-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--saffron);
  box-shadow: 0 8px 24px rgba(122, 36, 24, 0.08);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
  color: #FFF;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(122, 36, 24, 0.2);
}

.step-card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-card-content p {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--muted-text);
  line-height: 1.5;
}

/* IMPORTANT NOTICE BOX */
.reg-important-box {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  border-left: 5px solid var(--saffron);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 4px 16px rgba(122, 36, 24, 0.04);
}

.important-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.important-icon {
  font-size: 1.2rem;
}

.important-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.reg-important-box p {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--ink-text);
  line-height: 1.6;
}

/* START REGISTRATION BUTTON */
.reg-cta-wrapper {
  text-align: center;
  margin-top: 8px;
}

.start-reg-btn {
  padding: 0.9rem 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(217, 120, 19, 0.3);
}

.start-reg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(217, 120, 19, 0.4);
}

/* ==========================================================================
   CONTACT SECTION (3 PERSON CARDS)
   ========================================================================== */

.contact-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 60px max(4%, calc((100% - 1150px) / 2));
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
}

.contact-person-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.25);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(122, 36, 24, 0.04);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.contact-person-card:hover {
  transform: translateY(-3px);
  border-color: var(--saffron);
  box-shadow: 0 8px 24px rgba(122, 36, 24, 0.08);
}

.contact-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.contact-phone {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--saffron);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 200ms ease;
}

.contact-phone:hover {
  color: var(--maroon-deep);
}

.whatsapp-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 22px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-contact-btn:hover {
  background: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* RULES & REGULATIONS 8-CARD GRID STYLES */
.rules-official-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 60px max(4%, calc((100% - 1150px) / 2));
}

.rules-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto;
}

.rule-detail-card {
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  outline: 1px solid rgba(199, 154, 59, 0.22);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(122, 36, 24, 0.04);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.rule-detail-card:hover {
  transform: translateY(-2px);
  border-color: var(--saffron);
  box-shadow: 0 8px 22px rgba(122, 36, 24, 0.08);
}

.rule-card-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--maroon-deep) !important; /* CRITICAL: DEEP MAROON HEADINGS */
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  line-height: 1.35;
}

.rule-card-text {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--ink-text);
  line-height: 1.55;
  margin: 0;
}

.rule-card-text strong {
  color: var(--maroon-deep);
  font-weight: 700;
}

.rule-checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--ink-text);
  line-height: 1.5;
}

.check-bullet {
  color: var(--saffron);
  font-weight: 700;
  flex-shrink: 0;
}

/* STANDALONE IMPORTANT NOTE SECTION */
.reg-note-section {
  background: var(--paper-cream);
  border-top: 1px solid var(--border-line);
  padding: 54px max(4%, calc((100% - 1150px) / 2));
}

.reg-note-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.reg-note-card {
  width: 100%;
  background: var(--paper-card);
  border: 1px solid var(--border-line);
  border-left: 5px solid var(--saffron);
  outline: 1px solid rgba(199, 154, 59, 0.22);
  border-radius: 14px;
  padding: 28px 36px;
  box-shadow: 0 4px 18px rgba(122, 36, 24, 0.04);
}

.reg-note-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon-deep) !important; /* DEEP MAROON HEADING (NOT WHITE) */
  line-height: 1.3;
  margin-bottom: 14px;
  text-align: left;
}

.reg-note-text {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink-text);
  line-height: 1.7; /* Comfortable readable line height 1.6-1.8 */
  text-align: justify; /* Justified text alignment */
  margin: 0;
}

.highlight-fee {
  color: #B42318 !important; /* Deep rich red highlight */
  font-weight: 700 !important;
}

.reg-note-cta {
  text-align: center;
  width: 100%;
}

@media (max-width: 600px) {
  .reg-note-section {
    padding: 34px 16px !important;
  }
  .reg-note-card {
    padding: 22px 20px !important;
  }
  .reg-note-title {
    font-size: 1.2rem !important;
  }
  .reg-note-text {
    font-size: 0.93rem !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }
}



/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile Optimization)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .hero-teacher-wrapper {
    justify-content: center;
    order: 1;
  }

  .teacher-portrait-box {
    max-width: 240px;
  }

  .hero-center-content {
    order: 2;
  }

  .hero-temple-wrapper {
    order: 3;
  }

  .rules-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guidance-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .venue-card {
    grid-column: span 1;
  }

  .process-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step-card {
    padding: 20px 22px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  header.site-header {
    position: fixed !important;
    top: 10px !important;
    left: 12px !important;
    right: 12px !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 16px !important;
    z-index: 10000 !important;
    background: rgba(253, 251, 243, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 10001;
  }

  .header-main {
    min-height: 54px;
    padding: 0 12px;
  }

  .site-header nav {
    display: none;
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
    max-height: calc(100vh - 88px) !important;
    z-index: 9999 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(253, 251, 243, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--border-line);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(122, 36, 24, 0.16);
    padding: 28px 20px;
    overflow-y: auto;
  }

  .site-header nav.mobile-active {
    display: flex;
  }

  .site-header nav a, .nav-register {
    font-size: 1.35rem;
  }

  .header-cta {
    margin-left: auto;
    margin-right: 8px;
    font-size: 0.88rem;
    padding: 0.52rem 0.95rem;
    min-height: 40px;
  }

  /* Compact Mobile Section Padding */
  .section,
  .event-info-section,
  .guidance-section,
  .video-section,
  .schedule-section,
  .rules-official-section,
  .reg-process-section,
  .contact-section {
    padding: 34px 16px !important;
  }

  .section-heading {
    margin-bottom: 20px !important;
  }

  /* Compact Mobile Hero */
  .hero {
    padding: 78px 16px 24px !important;
  }

  .sanskrit-inscription {
    margin-bottom: 14px !important;
  }

  .hero-container {
    gap: 16px !important;
  }

  .teacher-portrait-box {
    max-width: 180px !important;
  }

  .temple-photo-box {
    max-width: 200px !important;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  /* Mobile Rules Category Accordion */
  .rules-acc-trigger {
    cursor: pointer;
    padding: 14px 18px !important;
    border-radius: 12px;
  }

  .acc-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--saffron);
    font-weight: 700;
  }

  .rules-acc-panel {
    display: none;
    padding: 14px !important;
  }

  .rules-acc-trigger[aria-expanded="true"] + .rules-acc-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Mobile Modal Dialog */
  dialog {
    width: calc(100% - 24px) !important;
    max-width: 480px !important;
    border-radius: 16px !important;
  }

  dialog form {
    padding: 18px 16px 22px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Touch Targets minimum 44px */
  .question-field input,
  .question-field select,
  .question-field textarea,
  .radio-label,
  .button {
    min-height: 44px !important;
  }

  .radio-label {
    padding: 12px 14px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .start-reg-btn,
  .doc-submit-btn {
    width: 100% !important;
    min-height: 48px !important;
  }

  /* Mobile Section Level Accordions */
  .section-accordion-header {
    cursor: pointer;
    background: var(--paper-card);
    border: 1px solid var(--border-line);
    outline: 1px solid rgba(199, 154, 59, 0.22);
    border-radius: 14px;
    padding: 16px 20px !important;
    margin-bottom: 0 !important;
  }

  .main-acc-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--saffron);
    font-weight: 700;
  }

  .rules-main-panel,
  .reg-process-container {
    display: none;
    margin-top: 16px;
  }

  /* Mobile Sticky Bar */
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 10px 16px;
    background: rgba(253, 251, 243, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-line);
    box-shadow: 0 -4px 16px rgba(122, 36, 24, 0.08);
  }

  .mobile-sticky-btn {
    width: 100%;
    min-height: 48px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(217, 120, 19, 0.3);
  }
}

/* ==========================================================================
   DEVELOPER CREDIT SECTION (COMPACT SIGNATURE AT ABSOLUTE BOTTOM)
   ========================================================================== */

.developer-credit-section {
  background: var(--paper-card);
  border-top: 1px solid var(--border-line);
  padding: 22px max(4%, calc((100% - 1150px) / 2)) 24px;
  position: relative;
  z-index: 10;
}

.developer-credit-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.dev-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(122, 36, 24, 0.12);
  flex-shrink: 0;
}

.developer-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.35;
}

.dev-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--maroon-deep);
  font-weight: 600;
}

.dev-title strong {
  font-weight: 700;
  color: var(--maroon-deep);
}

.dev-age {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted-text);
}

.dev-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink-text);
  margin-top: 1px;
}

.dev-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #25D366;
  text-decoration: none;
  padding: 3px 10px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 6px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.dev-wa-btn:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

@media (max-width: 768px) {
  .developer-credit-section {
    padding: 18px 16px 20px !important;
  }
  .developer-credit-container {
    gap: 14px;
  }
  .dev-avatar-img {
    width: 56px;
    height: 56px;
  }
  .dev-title {
    font-size: 1.0rem;
  }
  .dev-age {
    font-size: 0.8rem;
  }
  .dev-contact {
    font-size: 0.84rem;
  }
}

