/* THE UNION PAGE - SCOPED CSS | NO COPYRIGHT ISSUE */
.union-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.union-page {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  background: linear-gradient(180deg, #E3F2FD 0%, #ffffff 100%);
  color: #333;
  line-height: 1.7;
}

/* HERO SECTION */
.union-page .part-hero {
  position: relative;
  background: linear-gradient(135deg, #ff7003 0%, #FFFFFF 50%, #2dff03 100%);
  padding: 100px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.union-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.05);
}

.union-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.union-page .part-badge {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: #0D47A1;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.union-page .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color:#020078;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  margin: 0 0 15px 0;
}

.union-page .hero-subtitle {
  font-size: 1.8rem;
  color: #784000;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.union-page .hero-desc {
  font-size: 1.3rem;
  color: #4d0008;
  font-weight: 600;
}

/* SECTION CONTAINER */
.union-page .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.union-page .section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.union-page .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0D47A1;
  margin: 0 0 40px 0;
  text-align: center;
}

/* INTRO SECTION */
.union-page .intro-section {
  padding: 60px 20px;
}

.union-page .intro-box {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
  border: 3px solid #BBDEFB;
}

.union-page .intro-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}

.union-page .intro-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0D47A1;
  margin: 0 0 20px 0;
}

.union-page .intro-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.union-page .intro-text strong {
  color: #0D47A1;
  font-weight: 700;
}

/* CHAPTERS SECTION */
.union-page .chapters-section {
  padding: 80px 20px;
  background: white;
}

.union-page .chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.union-page .chapter-card {
  background: white;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 3px solid;
  transition: all 0.3s ease;
}

.union-page .chapter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.union-page .card-saffron {
  border-color: #FF9933;
  background: linear-gradient(135deg, #FFF8E1 0%, #ffffff 100%);
}

.union-page .card-white {
  border-color: #1a237e;
  background: linear-gradient(135deg, #E3F2FD 0%, #ffffff 100%);
}

.union-page .card-green {
  border-color: #138808;
  background: linear-gradient(135deg, #E8F5E9 0%, #ffffff 100%);
}

.union-page .card-blue {
  border-color: #1976D2;
  background: linear-gradient(135deg, #E1F5FE 0%, #ffffff 100%);
}

.union-page .chapter-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.union-page .chapter-number {
  font-size: 0.95rem;
  color: #666;
  font-weight: 700;
  margin-bottom: 8px;
}

.union-page .chapter-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0D47A1;
  margin: 0 0 8px 0;
}

.union-page .chapter-eng {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.union-page .chapter-articles {
  display: inline-block;
  background: #BBDEFB;
  color: #0D47A1;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 15px 0;
}

.union-page .chapter-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.union-page .chapter-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
}

.union-page .chapter-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #1976D2;
  font-weight: 900;
  font-size: 1.2rem;
}

/* ARTICLES SECTION */
.union-page .articles-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #E3F2FD 100%);
}

.union-page .articles-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.union-page .article-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-left: 6px solid;
  transition: all 0.3s ease;
}

.union-page .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.union-page .article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.union-page .article-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0D47A1;
  background: #BBDEFB;
  padding: 6px 16px;
  border-radius: 20px;
}

.union-page .article-tag {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.union-page .article-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0D47A1;
  margin: 0 0 15px 0;
}

.union-page .article-divider {
  height: 3px;
  background: linear-gradient(90deg, #1976D2, transparent);
  margin: 15px 0 20px 0;
  border-radius: 2px;
}

.union-page .article-content {
  margin-bottom: 20px;
}

.union-page .article-clause {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin: 15px 0;
}

.union-page .article-clause strong {
  color: #0D47A1;
  font-weight: 700;
}

.union-page .article-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 15px 20px;
}

.union-page .article-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.8;
}

.union-page .article-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #1976D2;
  font-weight: 900;
  font-size: 1.2rem;
}

.union-page .article-note {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: start;
  border-left: 4px solid #1976D2;
}

.union-page .note-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.union-page .note-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
}

.union-page .note-text strong {
  color: #0D47A1;
}

/* POINTS SECTION */
.union-page .points-section {
  padding: 80px 20px;
  background: white;
}

.union-page .points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.union-page .point-card {
  background: linear-gradient(135deg, #E3F2FD 0%, #ffffff 100%);
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  border: 2px solid #BBDEFB;
  transition: all 0.3s ease;
}

.union-page .point-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(25,118,210,0.2);
  border-color: #1976D2;
}

.union-page .point-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.union-page .point-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0D47A1;
  margin: 0 0 12px 0;
}

.union-page .point-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* BACK BUTTON - PAGE के नीचे */
.union-page .back-button-container {
  position: relative;
  margin: 40px 20px;
  text-align: center;
}

.union-page .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 25px rgba(13,71,161,0.4);
  transition: all 0.4s ease;
  border: 3px solid white;
}

.union-page .back-btn:hover {
  transform: translateX(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(13,71,161,0.6);
}

.union-page .back-icon {
  font-size: 1.5rem;
  font-weight: 900;
}

.union-page .back-text-hindi {
  font-size: 0.95rem;
  opacity: 0.9;
  padding-left: 5px;
  border-left: 2px solid rgba(255,255,255,0.5);
}

/* FOOTER */
.union-page .part-footer {
  background: linear-gradient(180deg, #0D47A1 0%, #1976D2 100%);
  color: white;
  padding: 60px 20px 30px;
}

.union-page .footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.union-page .footer-download {
  background: rgba(255,255,255,0.1);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  margin-bottom: 40px;
}

.union-page .download-icon {
  font-size: 4rem;
  margin-bottom: 15px;
}

.union-page .download-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 25px 0;
}

.union-page .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FF9933, #FF6F00);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.union-page .download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255,153,51,0.5);
}

.union-page .btn-icon {
  font-size: 1.5rem;
}

.union-page .footer-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  margin: 40px 0;
}

.union-page .footer-bottom {
  text-align: center;
}

.union-page .footer-tricolor {
  height: 4px;
  background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  border-radius: 2px;
  margin: 20px 0;
}

.union-page .footer-copyright {
  font-size: 1.1rem;
  color: rgba(255,255,0.95);
  margin: 15px 0;
  font-weight: 600;
}

.union-page .footer-copyright strong {
  color: #FFCC80;
}

/* PRINT */
@media print {
  .union-page .back-button-container,
  .union-page .part-footer,
  .union-page button {
    display: none !important;
  }
  .union-page {
    background: white !important;
  }
  .union-page .article-card,
  .union-page .chapter-card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .union-page .hero-title {
    font-size: 2.2rem;
  }
  .union-page .hero-subtitle {
    font-size: 1.3rem;
  }
  .union-page .hero-desc {
    font-size: 1.1rem;
  }
  .union-page .section-title {
    font-size: 2rem;
  }
  .union-page .article-card,
  .union-page .chapter-card {
    padding: 25px 20px;
  }
  .union-page .article-title,
  .union-page .chapter-title {
    font-size: 1.5rem;
  }
  .union-page .chapters-grid {
    grid-template-columns: 1fr;
  }
  .union-page .back-btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
  .union-page .back-text-hindi {
    display: none;
  }
}

@media (max-width: 480px) {
  .union-page .hero-title {
    font-size: 1.8rem;
  }
  .union-page .intro-box {
    padding: 30px 20px;
  }
  .union-page .intro-title {
    font-size: 1.6rem;
  }
}
