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

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

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

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

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

.dpsp-page .part-badge {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: #0D6E05;
  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);
}

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

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

.dpsp-page .hero-desc {
  font-size: 1.3rem;
  color: #610000;
  font-weight: 600;
}

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

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

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

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

.dpsp-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 #C8E6C9;
}

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

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

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

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

/* CATEGORIES SECTION */
.dpsp-page .categories-section {
  padding: 80px 20px;
  background: white;
}

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

.dpsp-page .category-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 3px solid;
  transition: all 0.3s ease;
}

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

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

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

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

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

.dpsp-page .category-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0D6E05;
  margin: 0 0 8px 0;
}

.dpsp-page .category-eng {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.dpsp-page .category-divider {
  height: 3px;
  background: linear-gradient(90deg, #138808, transparent);
  margin: 15px auto 20px;
  border-radius: 2px;
  width: 60px;
}

.dpsp-page .category-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 20px 0;
  font-weight: 600;
}

.dpsp-page .category-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

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

.dpsp-page .category-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #138808;
  font-weight: 900;
  font-size: 1.2rem;
}

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

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

.dpsp-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

.dpsp-page .article-note {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: start;
  border-left: 4px solid #138808;
}

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

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

.dpsp-page .note-text strong {
  color: #0D6E05;
}

/* COMPARISON SECTION */
.dpsp-page .comparison-section {
  padding: 80px 20px;
  background: white;
}

.dpsp-page .comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.dpsp-page .comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 600px;
}

.dpsp-page .comparison-table thead {
  background: linear-gradient(135deg, #138808, #0D6E05);
  color: white;
}

.dpsp-page .comparison-table th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
}

.dpsp-page .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #E0E0E0;
  font-size: 1rem;
  line-height: 1.7;
}

.dpsp-page .comparison-table tbody tr:hover {
  background: #F1F8E9;
}

.dpsp-page .comparison-table tbody tr:last-child td {
  border-bottom: none;
}

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

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

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

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

.dpsp-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 */
.dpsp-page .part-footer {
  background: linear-gradient(180deg, #0D6E05 0%, #138808 100%);
  color: white;
  padding: 60px 20px 30px;
}

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

.dpsp-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;
}

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

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

.dpsp-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;
}

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

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

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

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

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

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

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

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

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

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