/*
 * किल्ला स्पर्धा २०२६ - मुख्य स्टाईलशीट
 * १००% मॉकअप सुसंगत व पूर्णतः रिस्पॉन्सिव्ह डिझाइन
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Devanagari:wght@600;700;800&family=Tiro+Devanagari+Marathi:ital@0;1&family=Poppins:wght@400;500;600;700&family=Mukta:wght@600;700;800&display=swap');

:root {
  --primary-orange: #E65100;
  --primary-orange-hover: #D84315;
  --secondary-orange: #F57C00;
  --saffron: #FF6F00;
  --gold: #FFB300;
  --dark-maroon: #4A0E17;
  --maroon-header: #3E0B13;
  --cream-bg: #FCF9F2;
  --card-bg: #FFFFFF;
  --text-dark: #212121;
  --text-muted: #555555;
  --border-light: #EADBC8;
  --border-card: #F0E6D8;
  --accent-green: #2E7D32;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --font-marathi-heading: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  --font-marathi-body: 'Tiro Devanagari Marathi', 'Poppins', sans-serif;
  --font-sans: 'Poppins', sans-serif;
}

/* शून्य ओव्हरफ्लोसाठी मूलभूत नियम */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: var(--cream-bg);
  color: var(--text-dark);
  font-family: var(--font-marathi-body);
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
a,
div,
td,
th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================== १. नेव्हिगेशन बार ================== */
.site-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #F0EAE1;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1024px;
  margin: 0 auto;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bjp-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
  font-family: var(--font-marathi-heading);
}

.brand-sub-title {
  font-size: 0.8rem;
  color: #555555;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2E2E2E;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #D84315;
  border-radius: 2px;
}

.nav-cta-btn {
  background: linear-gradient(135deg, #E65100, #F57C00);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.3);
  cursor: pointer;
  border: none;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.45);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 2px solid #E65100;
  padding: 16px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer .nav-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 1rem;
}

.mobile-nav-drawer .nav-cta-btn {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  width: 100%;
}

/* ================== २. हिरो बॅनर ================== */
.hero-wrapper {
  background: #230B05;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero-banner-exact-img {
  width: 100%;
  max-width: 1024px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Screen Reader / SEO only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ================== ३. स्पर्धेविषयी विभाग ================== */
.about-section {
  padding: 40px 0 25px;
  background: #FAF7F2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.95fr;
  gap: 20px;
  align-items: center;
}

.about-badge-img {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.about-text-col p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2B2B2B;
}

.about-sketch-col {
  text-align: center;
}

.about-sketch-col img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.about-fort-col img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ================== ४. ३ माहिती कार्ड्स ================== */
.action-cards-section {
  padding: 20px 0 40px;
  background: #FAF7F2;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid #EFE8DE;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFF3E0;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-icon-circle img,
.gallery-icon-circle img,
.contact-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.feature-card.highlight .card-icon-circle {
  background: #E65100;
  color: #FFF;
}

.card-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.25rem;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid #D84315;
  color: #D84315;
  background: transparent;
  align-self: flex-start;
  cursor: pointer;
  transition: all 0.2s;
}

.card-btn-outline:hover {
  background: #D84315;
  color: #FFFFFF;
}

.card-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #E65100, #F57C00);
  color: #FFFFFF;
  border: none;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(230, 81, 0, 0.3);
  transition: all 0.2s;
}

.card-btn-solid:hover {
  box-shadow: 0 5px 14px rgba(230, 81, 0, 0.45);
  transform: translateY(-1px);
}

/* ================== ५. छायाचित्र गॅलरी ================== */
.gallery-section {
  background: #4A0E17;
  color: #FFFFFF;
  padding: 40px 0 45px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.gallery-main-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.6rem;
  line-height: 1.2;
}

.gallery-sub-title {
  font-size: 0.88rem;
  color: #FFCDD2;
}

.gallery-all-link {
  color: #FFD54F;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.gallery-all-link:hover {
  color: #FFE082;
  transform: translateX(3px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ================== ६. संपर्क विभाग ================== */
.contact-section {
  padding: 40px 0 35px;
  background: #FAF7F2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4A0E17;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.5rem;
  line-height: 1.2;
}

.contact-sub {
  font-size: 0.88rem;
  color: #666;
}

.contact-items-bar {
  display: flex;
  background: #FFFFFF;
  border: 1px solid #EFE8DE;
  border-radius: var(--radius-md);
  padding: 16px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.contact-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-right: 1px solid #EFE8DE;
}

.contact-bar-item:last-child {
  border-right: none;
}

.bar-item-icon {
  font-size: 1.2rem;
  color: var(--primary-orange);
}

.bar-item-text .item-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #212121;
}

.bar-item-text .item-sub {
  font-size: 0.78rem;
  color: #888;
}

.contact-silhouette-col {
  text-align: right;
}

.contact-silhouette-img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
}

/* ================== ७. फुटर ================== */
.site-footer {
  background: #3E0A10;
  color: #FFFFFF;
  padding: 16px 0;
  border-top: 3px solid var(--primary-orange);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #D1C4E9;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #FFF;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--primary-orange);
}

.admin-link-btn {
  font-size: 0.8rem;
  color: #FFD54F;
  border: 1px solid rgba(255, 213, 79, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

/* ================== ऑनलाईन नोंदणी अर्ज विभाग (INLINE SECTION) ================== */
.registration-section {
  padding: 40px 0 50px;
  background-color: var(--cream-bg);
  position: relative;
}

.registration-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #EFE4D6;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.reg-section-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #E0D4C5;
}

.reg-header-badge {
  display: inline-block;
  background: #FFF3E0;
  color: #D84315;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  border: 1px solid #FFE0B2;
}

.reg-main-heading {
  font-family: var(--font-marathi-heading);
  font-size: 2rem;
  color: #3E0B13;
  line-height: 1.25;
  margin-bottom: 8px;
}

.reg-sub-heading {
  font-size: 0.96rem;
  color: #555555;
  max-width: 600px;
  margin: 0 auto;
}

.reg-modal-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.4rem;
}

.reg-modal-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.reg-modal-body {
  padding: 25px 20px;
}

/* फॉर्म घटक */
.form-section-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.15rem;
  color: var(--primary-orange);
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #FFE0B2;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 5px;
}

.form-label .required-star {
  color: #D32F2F;
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #D5C9B8;
  border-radius: var(--radius-sm);
  font-family: var(--font-marathi-body);
  font-size: 0.95rem;
  background: #FFFFFF;
  color: #212121;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

/* गट निवड कार्ड्स */
.category-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-radio-label {
  position: relative;
  display: block;
  cursor: pointer;
}

.category-radio-label input {
  position: absolute;
  opacity: 0;
}

.category-card-box {
  background: #FFFFFF;
  border: 1.5px solid #D5C9B8;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  transition: all 0.2s;
}

.category-radio-label input:checked+.category-card-box {
  border-color: var(--primary-orange);
  background: #FFF3E0;
  box-shadow: 0 2px 6px rgba(230, 81, 0, 0.2);
}

.category-card-box .cat-icon {
  font-size: 1.2rem;
  margin-bottom: 2px;
  display: block;
}

.category-card-box .cat-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: #212121;
}

/* फोटो अपलोड झोन */
.photo-upload-zone {
  border: 2px dashed #D5C9B8;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
}

.photo-upload-zone:hover {
  border-color: var(--primary-orange);
  background: #FFFAF5;
}

.upload-zone-icon {
  font-size: 1.8rem;
  color: var(--primary-orange);
  margin-bottom: 6px;
}

.upload-zone-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.upload-zone-hint {
  font-size: 0.8rem;
  color: #777;
}

.photo-preview-container {
  display: none;
  margin-top: 10px;
  text-align: center;
}

.preview-thumb {
  max-width: 180px;
  max-height: 130px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  border: 2px solid #FFF;
}

/* थेट ठिकाण / Live Camera Box */
.live-location-box {
  background: #FFFFFF;
  border: 1.5px solid #D5C9B8;
  border-radius: var(--radius-md);
  padding: 16px;
}

.live-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-cam-capture {
  background: #4A0E17;
  color: #FFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-gps-get {
  background: #2E7D32;
  color: #FFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-manual-location {
  background: #E65100;
  color: #FFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-manual-location:hover {
  background: #D84315;
}

.location-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: #E8F5E9;
  color: #2E7D32;
  margin-top: 6px;
}

.manual-location-box.highlight-required {
  border: 2px solid #E65100 !important;
  background: #FFF3E0 !important;
  box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.25) !important;
  animation: pulse-manual-border 1.5s infinite ease-in-out;
}

@keyframes pulse-manual-border {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(230, 81, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 81, 0, 0);
  }
}

/* सबमिट बटण */
.form-submit-wrapper {
  margin-top: 25px;
  text-align: center;
}

.btn-submit-form {
  background: linear-gradient(135deg, #E65100, #F57C00);
  color: #FFFFFF;
  border: none;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.btn-submit-form:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.55);
}

/* ================== अधिकृत पावती कार्ड स्टाईल्स (Official Receipt Card) ================== */
.success-receipt-card {
  background: #FFFFFF;
  border: 2px solid #2E7D32;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 30px;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.12);
  text-align: left;
}

.receipt-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #E0E0E0;
  margin-bottom: 18px;
}

.receipt-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.receipt-org-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #D84315;
  margin: 0 0 2px;
}

.receipt-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.35rem;
  color: #1B5E20;
  margin: 0 0 2px;
  line-height: 1.25;
}

.receipt-subtitle {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.receipt-badge-wrap {
  background: #E8F5E9;
  border: 1.5px dashed #2E7D32;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  margin-bottom: 20px;
}

.receipt-badge-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2E7D32;
  margin-bottom: 2px;
}

.receipt-reg-badge {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1B5E20;
  letter-spacing: 1px;
}

.receipt-date-time {
  font-size: 0.82rem;
  color: #555;
  margin-top: 4px;
}

.receipt-details-table {
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.receipt-row {
  display: flex;
  border-bottom: 1px solid #EFEFEF;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row:nth-child(even) {
  background: #FAFAFA;
}

.receipt-cell.label {
  width: 40%;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #333;
  border-right: 1px solid #EFEFEF;
  background: #FDFDFD;
}

.receipt-cell.value {
  width: 60%;
  padding: 9px 12px;
  font-size: 0.9rem;
  color: #111;
  word-break: break-word;
}

.receipt-cell.value.highlight {
  font-weight: 700;
  color: #E65100;
}

.receipt-footer-note {
  background: #FFFDE7;
  border: 1px solid #FFF59D;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #5D4037;
  margin-bottom: 20px;
}

.receipt-footer-note p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.receipt-sign-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.receipt-seal-badge {
  display: inline-block;
  background: #E8F5E9;
  color: #1B5E20;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #A5D6A7;
}

.receipt-sign-block {
  text-align: center;
  font-size: 0.82rem;
  color: #333;
}

.receipt-sign-block .sign-line {
  width: 140px;
  border-bottom: 1px solid #999;
  margin-bottom: 4px;
}

.receipt-actions {
  text-align: center;
  margin-top: 15px;
}

/* ================== ९. माहिती मॉडल्स (Rules, Dates, Gallery) ================== */
.info-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.info-modal.active {
  display: flex;
}

.info-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.info-modal-header {
  background: #4A0E17;
  color: #FFF;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-modal-title {
  font-family: var(--font-marathi-heading);
  font-size: 1.3rem;
}

.info-modal-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.info-modal-body {
  padding: 20px;
}

.info-modal-body ul {
  padding-left: 20px;
}

.info-modal-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 4500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 760px;
  max-height: 85vh;
  text-align: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.lightbox-caption {
  color: #FFF;
  margin-top: 10px;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -35px;
  right: 0;
  background: none;
  border: none;
  color: #FFF;
  font-size: 2rem;
  cursor: pointer;
}

/* Live Camera Modal */
.live-camera-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 6000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.camera-modal-content {
  background: #FFF;
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
}

.camera-modal-header {
  background: #4A0E17;
  color: #FFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.camera-video-stream {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  background: #000;
}

/* Location Choice Pills */
.location-choice-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.btn-choice-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid #E65100;
  background: #FFFFFF;
  color: #E65100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-choice-pill.active,
.btn-choice-pill:hover {
  background: #E65100;
  color: #FFFFFF;
}

/* Location Enable Prompt Modal */
.location-prompt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  z-index: 7000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.location-prompt-content {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border-top: 6px solid #E65100;
  max-width: 450px;
  width: 100%;
  padding: 26px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  animation: prompt-modal-appear 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes prompt-modal-appear {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.location-prompt-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  background: #FFF3E0;
  border: 2px solid #FFE0B2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #E65100;
  animation: bounce-pin 1.6s infinite ease-in-out;
}

@keyframes bounce-pin {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.btn-prompt-enable-yes {
  background: linear-gradient(135deg, #2E7D32, #388E3C);
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
  transition: all 0.2s ease;
}

.btn-prompt-enable-yes:hover {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  transform: translateY(-1px);
}

.btn-prompt-enable-no {
  background: #FFF3E0;
  color: #D84315;
  border: 1.5px solid #FF9800;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-prompt-enable-no:hover {
  background: #FFE0B2;
}

/* ================== १०. रिस्पॉन्सिव्ह मीडिया क्वेरीज (MOBILE FIXES) ================== */
@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .about-badge-img {
    margin: 0 auto 12px;
  }

  .about-text-col p {
    text-align: left;
  }

  .about-sketch-col img,
  .about-fort-col img {
    max-width: 320px;
    margin: 0 auto;
  }

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

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

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

  .contact-silhouette-col {
    text-align: center;
  }

  .contact-silhouette-img {
    margin: 0 auto;
    max-width: 300px;
  }
}

@media (max-width: 580px) {
  .registration-section {
    padding: 24px 0 32px;
  }

  .registration-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .reg-main-heading {
    font-size: 1.45rem;
  }

  .contact-items-bar {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .contact-bar-item {
    border-right: none !important;
    border-bottom: 1px solid #EFE8DE;
    padding: 6px 0;
  }

  .contact-bar-item:last-child {
    border-bottom: none;
  }

  .form-grid-2,
  .form-grid-3,
  .category-radio-group {
    grid-template-columns: 1fr;
  }

  .btn-submit-form {
    font-size: 0.98rem;
    padding: 12px 18px;
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ================== ११. अधिकृत पावती प्रिंट स्टाईल्स (@media print) ================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 12mm;
  }

  /* Reset body */
  html,
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-size: 11pt !important;
  }

  /* संपूर्ण पान लपवा - फक्त नोंदणी विभाग चालू ठेवा */
  body > * {
    display: none !important;
  }

  /* Show only the registration section which holds the receipt */
  body > .registration-section {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .registration-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .registration-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  /* Hide form, section header and print action buttons */
  .reg-section-header,
  #killaRegistrationForm,
  .no-print,
  .receipt-actions {
    display: none !important;
  }

  /* Print only the receipt card */
  #successReceipt {
    display: block !important;
    border: 2px solid #E65100 !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 680px !important;
    background: #FFFFFF !important;
    page-break-inside: avoid;
  }

  .receipt-header {
    border-bottom: 2px solid #E65100 !important;
  }

  .receipt-badge-wrap {
    background: #F1F8E9 !important;
    border: 1.5px solid #2E7D32 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .receipt-details-table {
    border: 1px solid #CCCCCC !important;
  }

  .receipt-row:nth-child(even) {
    background: #F8F8F8 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .receipt-footer-note {
    background: #FFFDE7 !important;
    border: 1px solid #FFE082 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .receipt-seal-badge {
    background: #E8F5E9 !important;
    border: 1px solid #2E7D32 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* ================== PWA, Notifications & Offline UI ================== */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-btn {
  background: #FFF3E0;
  border: 1px solid #FFE0B2;
  color: #E65100;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: var(--font-marathi-body);
}

.header-action-btn:hover {
  background: #FFE0B2;
  transform: translateY(-1px);
}

.header-action-btn.active {
  background: #E8F5E9;
  border-color: #C8E6C9;
  color: #2E7D32;
}

.header-action-btn.btn-pwa-install {
  background: linear-gradient(135deg, #FF6F00, #E65100);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 6px rgba(230, 81, 0, 0.25);
}

.header-action-btn.btn-pwa-install:hover {
  box-shadow: 0 4px 10px rgba(230, 81, 0, 0.4);
}

/* Network Offline / Online Floating Toast */
.network-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #212121;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.network-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.network-toast.offline {
  background: #C62828;
  border: 1px solid #FFCDD2;
}

.network-toast.online {
  background: #2E7D32;
  border: 1px solid #C8E6C9;
}

/* Mobile Nav Drawer Actions */
.mobile-nav-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F0F0F0;
}

.mobile-nav-actions .header-action-btn {
  flex: 1;
  justify-content: center;
  padding: 10px 12px;
  font-size: 0.95rem;
}

/* Footer SEO links bar */
.footer-seo-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  width: 100%;
}

.footer-seo-bar a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-seo-bar a:hover {
  color: #FFE082;
  text-decoration: underline;
}