/* ==========================================================================
   SPANDAN Creative Challenge - Dedicated Stylesheet
   Phase 3 CR Implementation - High Precision Alignment & Responsive Styles
   ========================================================================== */

:root {
  --challenge-purple: #5D34A5;
  --challenge-purple-dark: #311B92;
  --challenge-purple-light: #F3E5F5;
  --challenge-green: #2E7D32;
  --challenge-green-light: #E8F5E9;
  --challenge-orange: #E65100;
  --challenge-orange-light: #FFF3E0;
  --challenge-blue: #1565C0;
  --challenge-blue-light: #E3F2FD;
  --challenge-pink: #AD1457;
  --challenge-pink-light: #FCE4EC;
  --challenge-yellow: #F57F17;
  --challenge-yellow-light: #FFFDE7;
  --challenge-card-border: rgba(93, 52, 165, 0.12);
  --challenge-shadow: 0 15px 40px rgba(49, 27, 146, 0.08);
  --challenge-shadow-hover: 0 22px 50px rgba(49, 27, 146, 0.14);
}

body.creative-challenge-page {
  background-color: #FAFAFD;
  color: #2D2D2D;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.challenge-hero {
  position: relative;
  background: linear-gradient(135deg, #F8F5FF 0%, #FFF5EC 50%, #F0F9FF 100%);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(93, 52, 165, 0.08);
}

.challenge-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 143, 0, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.challenge-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(93, 52, 165, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.challenge-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: var(--challenge-purple-dark);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(93, 52, 165, 0.1);
  border: 1px solid rgba(93, 52, 165, 0.15);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.challenge-badge-pill i {
  color: #FF8F00;
}

.challenge-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--challenge-purple-dark);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.challenge-hero h1 span.text-gradient {
  background: linear-gradient(135deg, #5D34A5 0%, #D81B60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #D81B60;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-hook-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-left: 5px solid #FF8F00;
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.hero-hook-card p {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #333333;
  margin: 0;
}

.hero-hook-card p strong {
  color: var(--challenge-purple-dark);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-challenge-primary {
  background: linear-gradient(135deg, #5D34A5 0%, #7B1FA2 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(93, 52, 165, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-challenge-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(93, 52, 165, 0.4);
}

.btn-challenge-outline {
  background: #FFFFFF;
  color: var(--challenge-purple-dark) !important;
  border: 2px solid var(--challenge-purple);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-challenge-outline:hover {
  background: var(--challenge-purple-light);
  transform: translateY(-2px);
}

.hero-quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.quick-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4A4A4A;
  border: 1px solid #EAEAEA;
}

.quick-badge i {
  color: #5D34A5;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image-card {
  background: #FFFFFF;
  padding: 1.2rem;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(49, 27, 146, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.hero-challenge-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6F00 0%, #FF8F00 100%);
  color: #FFFFFF;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(230, 81, 0, 0.35);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Introduction & Philosophy Banner
   -------------------------------------------------------------------------- */
.section-intro-banner {
  padding: 3rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid #F0EDF5;
}

.intro-banner-card {
  background: linear-gradient(135deg, #F3E5F5 0%, #FFF3E0 100%);
  border-radius: 24px;
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--challenge-shadow);
  border: 1px solid rgba(93, 52, 165, 0.1);
}

.intro-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.intro-subtext {
  font-size: 1.05rem;
  color: #4A4A4A;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.intro-tagline-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #D81B60;
  margin: 0;
  font-style: italic;
}

.facilitator-box {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.4rem;
  border-left: 5px solid #2E7D32;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.facilitator-box h4 {
  font-size: 1.05rem;
  color: var(--challenge-green);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.facilitator-box p {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Important Dates Timeline Strip
   -------------------------------------------------------------------------- */
.section-dates {
  padding: 3.5rem 0;
  background: #FAFAFD;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.8rem;
}

.section-header-center .section-pill {
  display: inline-block;
  background: var(--challenge-purple-light);
  color: var(--challenge-purple-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.6rem;
}

.section-header-center h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.section-header-center p {
  font-size: 1.05rem;
  color: #666666;
  margin: 0;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.date-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: var(--challenge-shadow);
  border: 1.5px solid var(--challenge-card-border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.date-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--challenge-shadow-hover);
}

.date-card.active-step {
  border: 1.5px solid #EBE4F5;
  background: #FFFFFF;
}

.date-card.active-step::after {
  display: none !important;
}

.date-step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--challenge-purple-light);
  color: var(--challenge-purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.date-card.date-sub .date-step-num {
  background: var(--challenge-orange-light);
  color: var(--challenge-orange);
}

.date-card.date-res .date-step-num {
  background: var(--challenge-green-light);
  color: var(--challenge-green);
}

.date-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--challenge-purple-dark);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.date-card.date-sub .date-val {
  color: var(--challenge-orange);
}

.date-card.date-res .date-val {
  color: var(--challenge-green);
}

.date-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 0.5rem;
}

.date-desc {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.5;
  margin: 0;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   3 Challenge Categories Section - PERFECT ROW & CARD ALIGNMENT
   -------------------------------------------------------------------------- */
.section-challenges {
  padding: 4rem 0 5rem;
  background: #FFFFFF;
  position: relative;
}

.mobile-category-segmented {
  display: none !important;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.challenge-card {
  background: #FFFFFF;
  border-radius: 26px;
  border: 1px solid #EBE7F2;
  box-shadow: var(--challenge-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

.challenge-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--challenge-shadow-hover);
}

/* Unified header with identical min-height */
.challenge-card-header {
  padding: 1.8rem 1.8rem 1.2rem;
  position: relative;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-cat-1 .challenge-card-header {
  background: linear-gradient(135deg, #FFFDE7 0%, #FFF3E0 100%);
  border-bottom: 1px solid #FFE082;
}

.card-cat-2 .challenge-card-header {
  background: linear-gradient(135deg, #E8F5E9 0%, #E0F2F1 100%);
  border-bottom: 1px solid #A5D6A7;
}

.card-cat-3 .challenge-card-header {
  background: linear-gradient(135deg, #EDE7F6 0%, #E3F2FD 100%);
  border-bottom: 1px solid #B39DDB;
}

.cat-grade-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.7rem;
}

.card-cat-1 .cat-grade-badge {
  background: #FFF8E1;
  color: #E65100;
  border: 1px solid #FFD54F;
}

.card-cat-2 .cat-grade-badge {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #81C784;
}

.card-cat-3 .cat-grade-badge {
  background: #EDE7F6;
  color: #4A148C;
  border: 1px solid #B39DDB;
}

.challenge-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #2D2D2D;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.challenge-theme-slogan {
  font-size: 0.95rem;
  font-weight: 700;
  color: #555555;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Card Body with strict flex alignment */
.challenge-card-body {
  padding: 1.6rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Short introductory description with matching height */
.challenge-core-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 1.2rem;
  min-height: 52px;
  display: flex;
  align-items: flex-start;
}

/* Challenge Example Box: Perfect Equal Height with pinned disclaimer */
.challenge-example-box {
  background: #FAFAFD;
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.4rem;
  border-left: 4px solid var(--challenge-purple);
  font-size: 0.88rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 325px;
}

.challenge-example-box.waste-box {
  border-left-color: #2E7D32;
}

.challenge-example-box.problem-box {
  border-left-color: #1565C0;
}

.example-title {
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.example-body {
  color: #555555;
  margin-bottom: 0.6rem;
}

.example-disclaimer {
  font-size: 0.82rem;
  color: #777777;
  font-style: italic;
  margin: 0;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px dashed #E2E2E2;
}

/* Submission format box with strict, pixel-aligned height across all 3 cards */
.submission-snapshot-box {
  background: #FFF9F2;
  border: 1px dashed #FFB74D;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.4rem;
  min-height: 100px;
  max-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.submission-snapshot-box h5 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #E65100;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.submission-snapshot-box p {
  font-size: 0.85rem;
  color: #444444;
  margin: 0;
  line-height: 1.45;
}

/* Register Button pinned to the bottom */
.btn-card-register {
  width: 100%;
  padding: 0.9rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
  background: var(--challenge-purple);
  color: #FFFFFF !important;
  margin-top: auto;
}

.btn-card-register:hover {
  background: var(--challenge-purple-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Benefits & Recognition Section
   -------------------------------------------------------------------------- */
.section-benefits {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #F9F7FC 0%, #FFFBF5 100%);
  border-top: 1px solid #F0EDF5;
  border-bottom: 1px solid #F0EDF5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.benefit-item-card {
  background: #FFFFFF;
  padding: 1.6rem 1.5rem;
  border-radius: 18px;
  border: 1px solid #EBE8F2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  height: 100%;
  transition: all 0.3s ease;
}

.benefit-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(93, 52, 165, 0.08);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--challenge-purple-light);
  color: var(--challenge-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 0.3rem;
}

.benefit-content p {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

.awards-trophy-banner {
  background: linear-gradient(135deg, #311B92 0%, #5D34A5 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  box-shadow: 0 20px 45px rgba(49, 27, 146, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.awards-trophy-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.award-banner-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  font-weight: 800;
}

.award-banner-text p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0;
  color: #FFE082;
  font-weight: 600;
}

.award-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.award-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
}

.award-pill i {
  color: #FFD54F;
}

/* --------------------------------------------------------------------------
   Judging Criteria & Parent Rules Section
   -------------------------------------------------------------------------- */
.section-rules-judging {
  padding: 4.5rem 0;
  background: #FFFFFF;
}

.rules-judging-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.judging-criteria-box {
  background: #FAFAFD;
  border-radius: 22px;
  padding: 2.2rem;
  border: 1px solid #EBE7F2;
  box-shadow: var(--challenge-shadow);
}

.judging-criteria-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.criteria-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.criterion-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid #EAE6F0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.criterion-card i {
  font-size: 1.2rem;
  color: var(--challenge-purple);
  width: 34px;
  height: 34px;
  background: var(--challenge-purple-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.criterion-card span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2D2D2D;
}

.criteria-golden-rule {
  background: #FFF8E1;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  border-left: 5px solid #FF8F00;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.criteria-golden-rule i {
  font-size: 1.8rem;
  color: #E65100;
  flex-shrink: 0;
}

.criteria-golden-rule p {
  font-size: 0.95rem;
  color: #5D4037;
  line-height: 1.55;
  margin: 0;
}

.parent-guidelines-box {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 2.2rem;
  border: 1px solid #E8E5F0;
  box-shadow: var(--challenge-shadow);
}

.parent-guidelines-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #D81B60;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.guideline-do-dont {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.guideline-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.guideline-item i {
  margin-top: 0.2rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.guideline-item.do i { color: #2E7D32; }
.guideline-item.dont i { color: #D32F2F; }

.guideline-item p {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.5;
  margin: 0;
}

.guideline-declaration-preview {
  background: #F4FBF7;
  border: 1px solid #A5D6A7;
  border-radius: 14px;
  padding: 1.1rem;
}

.guideline-declaration-preview h5 {
  font-size: 0.85rem;
  color: #1B5E20;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.guideline-declaration-preview blockquote {
  font-size: 0.88rem;
  font-style: italic;
  color: #2E7D32;
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Submission Details Section
   -------------------------------------------------------------------------- */
.section-submission-guide {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #F3F8FF 0%, #FAF6FF 100%);
  border-top: 1px solid #E5EDF8;
}

.submission-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

.sub-step-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(21, 101, 192, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sub-step-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1565C0;
  background: #E3F2FD;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.sub-step-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #2D2D2D;
  margin-bottom: 0.8rem;
}

.sub-step-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
}

.sub-step-card ul li {
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 0.75rem;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
}

.sub-step-card ul li i {
  color: #1565C0;
  margin-top: 0.22rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sub-step-card ul li span {
  padding: 0 !important;
}

.sub-step-card ul li .sub-step-text {
  flex: 1 1 auto;
  display: block;
  text-align: left;
  line-height: 1.55;
}

.sub-step-card ul li strong {
  color: #2D2D2D;
}

.submission-email-banner {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: var(--challenge-shadow);
  border: 2px dashed #5D34A5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sub-email-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.sub-email-info p {
  font-size: 0.95rem;
  color: #555555;
  margin: 0;
}

.sub-email-info strong.email-highlight {
  color: #5D34A5;
  background: #F3E5F5;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 1.05rem;
}

.btn-email-submit {
  background: var(--challenge-purple);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-email-submit:hover {
  background: var(--challenge-purple-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Registration & UPI Payment Flow Section
   -------------------------------------------------------------------------- */
.section-registration-flow {
  padding: 5rem 0;
  background: #FFFFFF;
  position: relative;
}

.reg-card-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(49, 27, 146, 0.12);
  border: 1px solid rgba(93, 52, 165, 0.15);
  overflow: hidden;
}

.reg-card-header {
  background: linear-gradient(135deg, #311B92 0%, #5D34A5 60%, #7B1FA2 100%);
  color: #FFFFFF;
  padding: 2.5rem 3rem 2rem;
  position: relative;
}

.reg-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
}

.reg-card-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  font-weight: 800;
}

.reg-card-header p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0;
  max-width: 750px;
  line-height: 1.55;
}

.reg-price-tag-badge {
  position: absolute;
  top: 2.2rem;
  right: 3rem;
  background: #FFD54F;
  color: #3E2723;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.reg-price-tag-badge small {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

.reg-form-body {
  padding: 2.5rem 3rem;
}

/* Two-column layout: Form Left, UPI Payment Right */
.reg-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
}

.reg-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #F0EDF5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.reg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.reg-form-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.reg-form-group.full-width {
  grid-column: span 2;
}

.reg-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 0.4rem;
}

.reg-form-group label span.required {
  color: #D32F2F;
}

.reg-form-group input,
.reg-form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #DAD5E5;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #2D2D2D;
  background-color: #FAF9FD;
  transition: all 0.25s ease;
}

.reg-form-group input:focus,
.reg-form-group select:focus {
  outline: none;
  border-color: var(--challenge-purple);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(93, 52, 165, 0.12);
}

.reg-form-group.has-error input,
.reg-form-group.has-error select {
  border-color: #D32F2F;
  background-color: #FFF5F5;
}

.reg-error-text {
  font-size: 0.8rem;
  color: #D32F2F;
  margin-top: 0.35rem;
  display: block;
  font-weight: 600;
}

.category-indicator-pill {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mandatory Declaration Box */
.declaration-agreement-box {
  background: #FAF8FE;
  border: 1.5px solid #D6CCEE;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0 1.2rem;
  transition: all 0.3s ease;
}

.declaration-agreement-box.disabled-box {
  opacity: 0.55;
  background: #F8F7FC;
  border-color: #E2DCF0;
  cursor: not-allowed;
}

.declaration-agreement-box.disabled-box .declaration-label {
  cursor: not-allowed;
}

.declaration-agreement-box.disabled-box input[type="checkbox"] {
  cursor: not-allowed;
}

.declaration-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  margin: 0;
}

.declaration-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  accent-color: var(--challenge-purple);
  flex-shrink: 0;
  cursor: pointer;
}

.declaration-label span {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #2D2D2D;
}

.declaration-label span strong {
  color: var(--challenge-purple-dark);
}

/* Right Column: UPI Payment Workflow */
.payment-flow-card {
  background: #FAFAFD;
  border-radius: 24px;
  border: 1px solid #E4E0EE;
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.payment-summary-receipt {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  border: 1px solid #EAE6F2;
  margin-bottom: 1.5rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: #555555;
}

.receipt-row.total {
  border-top: none;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--challenge-purple-dark);
}

.receipt-row.total .price-big {
  color: #2E7D32;
}

/* UPI Payment Channels */
.upi-pay-options-wrapper {
  margin-bottom: 1.5rem;
}

/* Mobile 1-Tap UPI Intent Button - Hidden on Desktop */
.mobile-upi-box {
  display: none;
  margin-bottom: 1.2rem;
}

.btn-upi-direct {
  width: 100%;
  background: linear-gradient(135deg, #00897B 0%, #00695C 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 137, 123, 0.28);
  transition: all 0.25s ease;
}

.btn-upi-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 137, 123, 0.38);
}

/* QR Code Status Guidance Banner */
.qr-status-banner {
  background: #FFF8E1;
  border: 1.5px solid #FFE082;
  color: #795548;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  transition: all 0.35s ease;
}

.qr-status-banner i {
  font-size: 1.1rem;
  color: #FF8F00;
  flex-shrink: 0;
}

.qr-status-banner.unlocked {
  background: #E8F5E9;
  border-color: #A5D6A7;
  color: #1B5E20;
}

.qr-status-banner.unlocked i {
  color: #2E7D32;
}

/* Desktop QR Code Card */
.desktop-qr-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.3rem;
  border: 1px solid #EAE6F0;
  text-align: center;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.qr-image-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 0.8rem;
  border-radius: 14px;
}

.qr-image-holder {
  background: #FFFFFF;
  padding: 0.5rem;
  display: inline-block;
  border-radius: 14px;
  border: 1.5px solid #E0E0E0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.qr-scan-image {
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

/* Blurred & Disabled state until Parent Declaration is checked */
.desktop-qr-card.qr-blurred .qr-scan-image {
  filter: blur(10px) grayscale(30%);
  opacity: 0.25;
  user-select: none;
  pointer-events: none;
}

.qr-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 5;
  box-sizing: border-box;
}

.desktop-qr-card:not(.qr-blurred) .qr-lock-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.qr-lock-overlay i {
  font-size: 1.4rem;
  color: var(--challenge-purple, #5D34A5);
  margin-bottom: 0.4rem;
}

.qr-lock-overlay span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.35;
}

.btn-upi-direct.upi-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(40%);
}

/* Challenge Multi-Step Flow (Step 1: Choice vs Step 2: UPI Form) */
.challenge-step-pane {
  animation: fadeInPane 0.3s ease forwards;
}

.challenge-choice-intro {
  margin-bottom: 2rem;
}

.challenge-choice-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--challenge-purple-dark, #311B92);
  margin-bottom: 0.5rem;
}

.challenge-choice-subtitle {
  font-size: 1rem;
  color: #555555;
}

.challenge-choice-grid {
  max-width: 720px;
  margin: 0 auto;
}

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.qr-holder-note {
  font-size: 0.82rem;
  color: #666666;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.upi-id-copy-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #F4F1FA;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #E4DCF0;
}

.upi-id-text {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--challenge-purple-dark);
}

.btn-copy-upi {
  background: #FFFFFF;
  border: 1px solid #D1C4E9;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--challenge-purple);
  transition: all 0.2s ease;
}

.btn-copy-upi:hover {
  background: var(--challenge-purple);
  color: #FFFFFF;
}

/* Payment Done Confirmation Checkbox */
.payment-confirm-toggle-box {
  background: #FFF9E6;
  border: 1.5px solid #FFE082;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.payment-confirm-toggle-box:hover {
  border-color: #FFB74D;
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.12);
}

.payment-confirm-toggle-box.checked {
  background: #E8F5E9;
  border-color: #81C784;
}

.payment-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  margin: 0;
  width: 100%;
}

.payment-confirm-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  accent-color: #2E7D32;
  cursor: pointer;
  flex-shrink: 0;
}

.payment-confirm-label span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2D2D2D;
  line-height: 1.45;
}

.payment-confirm-toggle-box.checked .payment-confirm-label span {
  color: #1B5E20;
}

/* Submit Action Button */
.btn-reg-submit {
  width: 100%;
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  color: #FFFFFF !important;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
  transition: all 0.3s ease;
}

.btn-reg-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 125, 50, 0.4);
}

.btn-reg-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #9E9E9E;
  box-shadow: none;
}

/* Success Confirmation Screen */
.reg-success-container {
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.success-celebration-icon {
  width: 84px;
  height: 84px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

.reg-success-container h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.reg-success-container p.success-lead {
  font-size: 1.1rem;
  color: #4A4A4A;
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.success-details-card {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  background: #F9F7FD;
  border-radius: 20px;
  padding: 1.8rem 2rem;
  text-align: left;
  border: 1px solid #E6DFF5;
}

.success-details-card h4 {
  font-size: 1.1rem;
  color: var(--challenge-purple-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  font-size: 0.92rem;
}

.success-details-grid div strong {
  color: #2D2D2D;
}

.success-actions-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.btn-whatsapp-confirm {
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-whatsapp-confirm:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.section-challenge-faq {
  padding: 4.5rem 0 5.5rem;
  background: #FAFAFD;
  border-top: 1px solid #EBE7F2;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  border: 1px solid #EAE6F0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #D1C4E9;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.3rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D2D2D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-question i.faq-icon {
  font-size: 0.95rem;
  color: var(--challenge-purple);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i.faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.4rem;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .challenge-hero h1 {
    font-size: 2.8rem;
  }

  .hero-tagline,
  .hero-cta-group,
  .hero-quick-badges {
    justify-content: center;
  }

  .intro-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .challenges-grid,
  .benefits-grid,
  .submission-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Reset fixed heights on mobile single-column view so cards flow naturally */
  .challenge-card-header {
    min-height: auto;
  }

  .challenge-core-desc {
    min-height: auto;
  }

  .challenge-example-box {
    min-height: auto;
  }

  .submission-snapshot-box {
    min-height: auto;
    max-height: none;
  }

  .rules-judging-grid,
  .reg-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .awards-trophy-banner {
    flex-direction: column;
    text-align: center;
  }

  .award-badges-row {
    justify-content: center;
  }

  .submission-email-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Hero Section Mobile Typography & Layout */
  .challenge-hero {
    padding: 2.2rem 0 2rem !important;
  }
  .challenge-badge-pill {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.95rem !important;
    margin-bottom: 0.8rem !important;
  }
  .challenge-hero h1 {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.6rem !important;
  }
  .hero-tagline {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    margin-bottom: 1.2rem !important;
    justify-content: center !important;
    text-align: center !important;
    display: block !important;
  }
  .hero-hook-card {
    background: #FFFFFF !important;
    border-left: 4px solid #FF8F00 !important;
    border-radius: 14px !important;
    padding: 1.1rem 1.2rem !important;
    margin-bottom: 1.4rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    text-align: center !important;
  }
  .hero-hook-card p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }
  .btn-challenge-primary,
  .btn-challenge-outline {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.4rem !important;
    font-size: 0.98rem !important;
  }

  /* Segmented Category & Submission Switchers: 'Classes:' on Left, Selectable on Right */
  .mobile-category-segmented {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    background: #F4F1FA !important;
    padding: 0.4rem 0.5rem 0.4rem 1.1rem !important;
    border-radius: 50px !important;
    margin: 0 auto 1.5rem !important;
    width: 100% !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    border: 1px solid #E6DFF5 !important;
  }

  .mob-tab-label {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: var(--challenge-purple-dark) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    padding: 0 !important;
  }

  .mob-tab-btn-group {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #E8E2F4 !important;
    padding: 3px !important;
    border-radius: 50px !important;
  }

  .mob-tab-btn, .mob-sub-tab-btn {
    background: transparent !important;
    border: none !important;
    padding: 0.45rem 0.9rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    color: #555555 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  .mob-tab-btn.active, .mob-sub-tab-btn.active {
    background: var(--challenge-purple) !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 10px rgba(93, 52, 165, 0.3) !important;
  }

  /* 0. Philosophy & Facilitator Banner: Flat, natural mobile flow (no card inside card) */
  .intro-banner-card {
    background: #FFFDF9 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1.5rem 0.5rem !important;
    border-radius: 0 !important;
  }
  .intro-text h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }
  .intro-subtext {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
  .intro-tagline-quote {
    font-size: 1.05rem !important;
    margin-top: 0.5rem !important;
  }
  .facilitator-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1rem 0 0 1rem !important;
    border-left: 3px solid #2E7D32 !important;
    border-radius: 0 !important;
    margin-top: 1.2rem !important;
    text-align: left !important;
  }
  .facilitator-box h4 {
    font-size: 1rem !important;
    margin-bottom: 0.4rem !important;
  }
  .facilitator-box p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  /* 1. Dates Grid: Sleek, compact milestones with IDENTICAL height and styling */
  .dates-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.8rem !important;
    padding: 0.5rem 0 1rem !important;
    align-items: stretch !important;
  }
  .dates-grid::-webkit-scrollbar {
    height: 4px;
  }
  .dates-grid::-webkit-scrollbar-thumb {
    background: #D1C4E9;
    border-radius: 4px;
  }
  .date-card {
    min-width: 82% !important;
    max-width: 85% !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center;
    background: #FFFFFF !important;
    border: 1.5px solid #EBE4F5 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    padding: 1.5rem 1.2rem !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 255px !important;
  }
  /* Remove slanted corner ribbon that makes card 1 different; make all 3 exactly identical */
  .date-card.active-step,
  .date-card.date-sub,
  .date-card.date-res {
    border: 1.5px solid #EBE4F5 !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
  }
  .date-card.active-step::after {
    display: none !important;
  }
  .date-step-num {
    margin: 0 auto 0.8rem !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }
  .date-val {
    font-size: 1.4rem !important;
    margin-bottom: 0.3rem !important;
  }
  .date-label {
    font-size: 0.95rem !important;
    margin-bottom: 0.4rem !important;
  }
  .date-desc {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-top: auto !important;
  }

  /* 2. Challenge Presentation on Mobile: Flat, Natural, No Chunky Box Nested in Box */
  .challenges-grid {
    display: block !important;
  }
  .challenge-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }
  .challenge-card-header {
    background: transparent !important;
    border-bottom: 2px solid #F0EDF5 !important;
    padding: 0.5rem 0 1rem !important;
    min-height: auto !important;
  }
  .cat-grade-badge {
    font-size: 0.8rem !important;
    padding: 0.3rem 0.8rem !important;
    margin-bottom: 0.5rem !important;
  }
  .challenge-card h3 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.3rem !important;
  }
  .challenge-theme-slogan {
    font-size: 0.92rem !important;
  }
  .challenge-card-body {
    padding: 1.2rem 0 0 !important;
  }
  .challenge-core-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #444444 !important;
    margin-bottom: 1.2rem !important;
    min-height: auto !important;
  }

  /* Flatten nested example-box: soft left border instead of boxed card */
  .challenge-example-box {
    background: transparent !important;
    border: none !important;
    border-left: 3px solid var(--challenge-purple) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.4rem 0 0.4rem 1rem !important;
    margin-bottom: 1.4rem !important;
    min-height: auto !important;
    font-size: 0.9rem !important;
  }
  .challenge-example-box.waste-box {
    border-left-color: #2E7D32 !important;
  }
  .challenge-example-box.problem-box {
    border-left-color: #1565C0 !important;
  }
  .example-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.35rem !important;
  }
  .example-body {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem !important;
  }
  .example-disclaimer {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    border-top: none !important;
    padding-top: 0.3rem !important;
  }

  /* Flatten submission-snapshot-box */
  .submission-snapshot-box {
    background: #FFFDF9 !important;
    border: 1px solid #FFE0B2 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 0.9rem 1rem !important;
    margin-bottom: 1.3rem !important;
    min-height: auto !important;
    max-height: none !important;
  }
  .submission-snapshot-box h5 {
    font-size: 0.8rem !important;
    margin-bottom: 0.25rem !important;
  }
  .submission-snapshot-box p {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }

  /* Register button full width */
  .btn-card-register {
    padding: 0.85rem 1.2rem !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
  }

  /* 3. Benefits on Mobile: Natural list flow without chunky individual cards */
  .benefits-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    margin-bottom: 2rem !important;
  }
  .benefit-item-card {
    background: #FFFFFF !important;
    border: 1px solid #F0EDF5 !important;
    box-shadow: none !important;
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.8rem !important;
  }
  .benefit-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  .benefit-content h4 {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.15rem !important;
  }
  .benefit-content p {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    color: #666666 !important;
  }

  /* 4. Submission Format Guide on Mobile: Flat & Clean */
  .submission-cards-grid {
    display: block !important;
  }
  .sub-step-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 1rem !important;
    margin-bottom: 0 !important;
  }
  .sub-step-card h4 {
    font-size: 1.25rem !important;
    margin-bottom: 0.6rem !important;
  }
  .sub-step-card ul li {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem !important;
  }

  /* 5. Judging Criteria on Mobile - Perfect Equal Sizing & Alignment Across All 6 */
  .criteria-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
    margin-bottom: 1.2rem !important;
  }
  .criterion-card {
    background: #FFFFFF !important;
    border: 1px solid #EAE6F0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    padding: 0.7rem 0.65rem !important;
    border-radius: 12px !important;
    gap: 0.55rem !important;
    display: flex !important;
    align-items: center !important;
    min-height: 56px !important;
  }
  .criterion-card i {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.95rem !important;
    background: var(--challenge-purple-light) !important;
    color: var(--challenge-purple) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .criterion-card span {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #2D2D2D !important;
  }

  /* Mobile General & Section Headers Optimization */
  .section-header-center {
    margin-bottom: 2rem !important;
  }
  .section-header-center h2 {
    font-size: 1.55rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px;
  }
  .section-header-center p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .section-pill {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.9rem !important;
  }

  /* Awards & Recognition Trophy Banner Mobile */
  .awards-trophy-banner {
    padding: 1.6rem 1.2rem !important;
    border-radius: 18px !important;
    text-align: center !important;
    gap: 1.2rem !important;
  }
  .award-banner-text h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.3rem !important;
  }
  .award-banner-text p {
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
  }
  .award-badges-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .award-pill {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.78rem !important;
    justify-content: center !important;
    border-radius: 25px !important;
  }

  /* Rules, Judging & Parent Guidelines Mobile */
  .section-rules-judging {
    padding: 2.2rem 0 !important;
  }
  .rules-judging-grid {
    gap: 1.5rem !important;
  }
  .judging-criteria-box,
  .parent-guidelines-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 0 !important;
    border-radius: 0 !important;
  }
  .judging-criteria-box h3,
  .parent-guidelines-box h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.9rem !important;
  }
  .criteria-golden-rule {
    padding: 0.8rem 1rem !important;
    border-radius: 12px !important;
    gap: 0.7rem !important;
  }
  .criteria-golden-rule i {
    font-size: 1.3rem !important;
  }
  .criteria-golden-rule p {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }
  .guideline-do-dont {
    gap: 0.75rem !important;
    margin-bottom: 1.2rem !important;
  }
  .guideline-item {
    gap: 0.6rem !important;
  }
  .guideline-item i {
    font-size: 0.95rem !important;
    margin-top: 0.15rem !important;
  }
  .guideline-item p {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }
  .guideline-declaration-preview {
    padding: 0.9rem 1rem !important;
    border-radius: 12px !important;
  }
  .guideline-declaration-preview h5 {
    font-size: 0.78rem !important;
  }
  .guideline-declaration-preview blockquote {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* Submission Guide & Email Banner Mobile */
  .section-submission-guide {
    padding: 2.2rem 0 !important;
  }
  .submission-email-banner {
    padding: 1.4rem 1rem !important;
    border-radius: 16px !important;
    gap: 1.2rem !important;
    text-align: center !important;
    background: #FAF8FE !important;
    border: 1.5px dashed #5D34A5 !important;
    box-shadow: none !important;
  }
  .sub-email-info h4 {
    font-size: 1.25rem !important;
    margin-bottom: 0.35rem !important;
  }
  .sub-email-info p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
  .sub-email-info strong.email-highlight {
    display: inline-block !important;
    margin: 0.3rem 0 !important;
    font-size: 0.92rem !important;
  }
  .btn-email-submit {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.8rem 1.2rem !important;
    font-size: 0.92rem !important;
  }

  /* ==========================================================================
     REGISTRATION & ₹99 UPI FORM MOBILE OPTIMIZATION
     ========================================================================== */
  .section-registration-flow {
    padding: 2rem 0 !important;
  }
  .reg-card-container {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
  }

  /* Streamlined Header with In-Flow Clean Price Badge */
  .reg-card-header {
    padding: 1.4rem 1rem !important;
    text-align: center !important;
    border-radius: 16px !important;
  }
  .reg-header-pill {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.85rem !important;
    margin-bottom: 0.6rem !important;
  }
  .reg-card-header h2 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.4rem !important;
  }
  .reg-card-header p {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }
  .reg-price-tag-badge {
    position: static !important;
    display: inline-flex !important;
    margin-top: 0.8rem !important;
    padding: 0.4rem 1.1rem !important;
    font-size: 1.1rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  }
  .reg-price-tag-badge small {
    font-size: 0.75rem !important;
  }

  /* Form Body & Grid Layout */
  .reg-form-body {
    padding: 1.3rem 1rem !important;
  }
  .reg-grid-layout {
    gap: 1.8rem !important;
  }

  .reg-section-title {
    font-size: 1.15rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.4rem !important;
    gap: 0.45rem !important;
  }

  /* Input fields & Row flow */
  .reg-form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .reg-form-group {
    margin-bottom: 0.85rem !important;
  }
  .reg-form-group.full-width {
    grid-column: span 1 !important;
  }
  .reg-form-group label {
    font-size: 0.82rem !important;
    margin-bottom: 0.3rem !important;
  }
  .reg-form-group input,
  .reg-form-group select {
    padding: 0.7rem 0.85rem !important;
    font-size: 0.92rem !important;
    border-radius: 10px !important;
  }

  .category-indicator-pill {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }

  /* Declaration agreement box on mobile */
  .declaration-agreement-box {
    padding: 0.9rem 1rem !important;
    border-radius: 12px !important;
    margin: 1rem 0 !important;
  }
  .declaration-label {
    gap: 0.6rem !important;
  }
  .declaration-label input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 0.1rem !important;
  }
  .declaration-label span {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }

  /* Payment Flow Card Mobile Streamlining - Flat and seamless */
  .payment-flow-card {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .payment-summary-receipt {
    padding: 0.8rem 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.1rem !important;
    background: #FAF8FE !important;
    border: 1px solid #EBE4F5 !important;
    box-shadow: none !important;
  }
  .receipt-row {
    font-size: 0.84rem !important;
    padding: 0.3rem 0 !important;
  }
  .receipt-row.total {
    font-size: 1.05rem !important;
    padding-top: 0.6rem !important;
    border-top: none !important;
  }

  /* 1-Tap UPI Intent Button - Visible on Mobile */
  .mobile-upi-box {
    display: block !important;
    margin-bottom: 0.9rem !important;
  }
  .btn-upi-direct {
    padding: 0.85rem 1rem !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }

  /* QR Code Card - Compact & Clean on Mobile */
  .desktop-qr-card {
    padding: 0.9rem 0.8rem !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    background: #FAF8FE !important;
    border: 1px solid #EBE4F5 !important;
    box-shadow: none !important;
  }
  .qr-image-holder {
    padding: 0.35rem !important;
    margin-bottom: 0.5rem !important;
  }
  .qr-scan-image {
    width: 140px !important;
    height: 140px !important;
  }
  .qr-holder-note {
    font-size: 0.78rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.35 !important;
  }
  .upi-id-copy-row {
    padding: 0.35rem 0.6rem !important;
    gap: 0.4rem !important;
  }
  .upi-id-text {
    font-size: 0.82rem !important;
  }
  .btn-copy-upi {
    padding: 0.25rem 0.55rem !important;
    font-size: 0.72rem !important;
  }

  /* Payment Done Confirmation Toggle Box */
  .payment-confirm-toggle-box {
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
  }
  .payment-confirm-label {
    gap: 0.6rem !important;
  }
  .payment-confirm-label input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
  }
  .payment-confirm-label span {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  /* Submit Action Button */
  .btn-reg-submit {
    padding: 0.9rem 1.2rem !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    gap: 0.5rem !important;
  }

  /* Success Screen Mobile */
  .reg-success-container {
    padding: 2rem 1.2rem !important;
  }
  .success-celebration-icon {
    width: 64px !important;
    height: 64px !important;
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
  }
  .reg-success-container h3 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  .reg-success-container p.success-lead {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
  }
  .success-details-card {
    padding: 1.2rem 1rem !important;
    border-radius: 14px !important;
    margin-bottom: 1.8rem !important;
  }
  .success-details-card h4 {
    font-size: 0.98rem !important;
    margin-bottom: 0.8rem !important;
  }
  .success-details-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    font-size: 0.85rem !important;
  }
  .success-actions-group {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }
  .btn-whatsapp-confirm,
  .btn-challenge-outline {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.8rem 1.2rem !important;
    font-size: 0.92rem !important;
  }
}
