/* SERVICES UNDER UNION AND STATES PAGE - SCOPED CSS | CIVIL SERVICES BLUE-GOLD THEME | NO COPYRIGHT */
.services-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* HERO SECTION - CIVIL SERVICES BLUE-GOLD THEME */
.services-page .part-hero {
  position: relative;
  background: linear-gradient(135deg, #1A237E 0%, #283593 15%, #303F9F 30%, #FF6F00 45%, #FF8F00 60%, #FFA000 75%, #FFB300 90%, #FFC107 100%);
  padding: 120px 20px 100px;
  text-align: center;
  overflow: hidden;
  border-bottom: 8px solid #1A237E;
  box-shadow: 0 10px 40px rgba(26,35,126,0.3);
}

.services-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}

/* Service pattern */
.services-page .hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent 60px, rgba(255,255,255,0.04) 60px, rgba(255,255,255,0.04) 120px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.04) 60px, rgba(255,255,255,0.04) 120px);
  animation: servicePattern 22s linear infinite;
}

@keyframes servicePattern {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 120px 120px, 120px 120px; }
}

/* Floating service icons */
.services-page .hero-overlay::after {
  content: '🏛️ 👥 📋';
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  opacity: 0.12;
  letter-spacing: 140px;
  animation: serviceFloat 18s ease-in-out infinite;
}

@keyframes serviceFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-35px) scale(1.05); }
}

.services-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInScale 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* भाग 14 - TOP */
.services-page .part-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E8EAF6 25%, #FFF8E1 50%, #E8F5E9 75%, #FFFFFF 100%);
  color: #1A237E;
  padding: 18px 58px;
  border-radius: 25px;
  font-weight: 900;
  font-size: 2.4rem;
  margin-bottom: 42px;
  box-shadow: 0 18px 50px rgba(26,35,126,0.5), 
              inset 0 -6px 0 rgba(26,35,126,0.3),
              inset 0 4px 0 rgba(255,255,255,1);
  border: 6px solid #283593;
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  transform: perspective(900px) rotateX(0deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-page .part-badge::before {
  content: '📜';
  font-size: 3.2rem;
  animation: scrollService 3.5s ease-in-out infinite;
}

@keyframes scrollService {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.15) rotate(-10deg); }
  75% { transform: scale(1.15) rotate(10deg); }
}

.services-page .part-badge:hover {
  transform: perspective(900px) rotateX(-15deg) translateY(-12px) scale(1.1);
  box-shadow: 0 30px 75px rgba(26,35,126,0.7);
}

/* संघ और राज्यों के अधीन सेवाएं - MIDDLE */
.services-page .hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 6px 30px rgba(26,35,126,0.9),
               0 4px 10px rgba(0,0,0,0.6),
               0 0 70px rgba(255,255,255,0.5);
  margin: 0 0 30px 0;
  letter-spacing: -2.5px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.services-page .hero-title::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 12px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #FF9933 15%,
    #FFFFFF 35%, 
    #1A237E 50%,
    #FFFFFF 65%,
    #FFB300 85%,
    transparent 100%);
  border-radius: 6px;
  box-shadow: 0 0 50px rgba(255,255,255,1);
}

/* Services Under the Union and the States - BELOW */
.services-page .hero-subtitle {
  font-size: 1.9rem;
  color: #FFFFFF;
  font-weight: 800;
  margin: 0 0 28px 0;
  text-shadow: 0 4px 18px rgba(26,35,126,0.95);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Articles - BOTTOM */
.services-page .hero-desc {
  font-size: 1.8rem;
  color: #1A237E;
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(255,255,255,1);
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(232,234,246,0.98) 100%);
  display: inline-block;
  padding: 22px 55px;
  border-radius: 60px;
  backdrop-filter: blur(30px);
  border: 5px solid #283593;
  box-shadow: 0 18px 60px rgba(26,35,126,0.6),
              inset 0 4px 0 rgba(255,255,255,1);
  letter-spacing: 2.5px;
}

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

.services-page .section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1A237E, #303F9F);
  color: white;
  padding: 15px 35px;
  border-radius: 55px;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(26,35,126,0.6);
}

.services-page .section-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1A237E;
  margin: 0 0 60px 0;
  text-align: center;
  text-shadow: 4px 4px 10px rgba(26,35,126,0.25);
}

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

.services-page .intro-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #E8EAF6 100%);
  padding: 70px 60px;
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(26,35,126,0.2);
  text-align: center;
  border: 6px solid #9FA8DA;
  position: relative;
}

.services-page .intro-box::before {
  content: '🏛️';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4.5rem;
  background: white;
  padding: 18px 35px;
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(26,35,126,0.35);
}

.services-page .intro-icon {
  font-size: 7rem;
  margin-bottom: 40px;
  filter: drop-shadow(0 10px 20px rgba(26,35,126,0.35));
}

.services-page .intro-title {
  font-size: 2.9rem;
  font-weight: 800;
  color: #1A237E;
  margin: 0 0 35px 0;
}

.services-page .intro-text {
  font-size: 1.35rem;
  line-height: 2.3;
  color: #444;
  max-width: 1000px;
  margin: 0 auto;
}

.services-page .intro-text strong {
  color: #1A237E;
  font-weight: 800;
  background: linear-gradient(135deg, #E8EAF6, #C5CAE9);
  padding: 5px 14px;
  border-radius: 8px;
}

/* CHAPTERS SECTION */
.services-page .chapters-section {
  padding: 120px 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E8EAF6 100%);
}

.services-page .chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  margin-top: 80px;
}

.services-page .chapter-card {
  background: white;
  padding: 60px 50px;
  border-radius: 40px;
  box-shadow: 0 25px 70px rgba(26,35,126,0.2);
  border: 6px solid;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.services-page .chapter-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.9s ease;
}

.services-page .chapter-card:hover::before {
  top: -30%;
  right: -30%;
}

.services-page .chapter-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 35px 90px rgba(26,35,126,0.4);
}

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

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

.services-page .chapter-icon {
  font-size: 6rem;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}

.services-page .chapter-number {
  display: inline-block;
  background: linear-gradient(135deg, #C5CAE9, #9FA8DA);
  color: #1A237E;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  box-shadow: inset 0 3px 6px rgba(255,255,255,0.6);
}

.services-page .chapter-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1A237E;
  margin: 0 0 14px 0;
}

.services-page .chapter-eng {
  font-size: 1.3rem;
  color: #666;
  font-weight: 600;
  margin: 0 0 22px 0;
}

.services-page .chapter-divider {
  height: 6px;
  background: linear-gradient(90deg, #303F9F, transparent);
  margin: 25px 0 32px 0;
  border-radius: 3px;
}

.services-page .chapter-range {
  font-size: 1.2rem;
  line-height: 2;
  color: #555;
  margin: 0 0 28px 0;
  font-weight: 600;
}

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

.services-page .chapter-list li {
  padding: 14px 0 14px 40px;
  position: relative;
  font-size: 1.15rem;
  line-height: 2;
  color: #555;
}

.services-page .chapter-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #303F9F;
  font-weight: 900;
  font-size: 1.6rem;
}

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

.services-page .articles-grid {
  display: grid;
  gap: 50px;
  margin-top: 80px;
}

.services-page .article-card {
  background: white;
  border-radius: 40px;
  padding: 55px;
  box-shadow: 0 25px 75px rgba(26,35,126,0.2);
  border-left: 14px solid;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.services-page .article-card:hover {
  transform: translateY(-18px);
  box-shadow: 0 35px 90px rgba(26,35,126,0.35);
}

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

.services-page .article-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1A237E;
  background: linear-gradient(135deg, #C5CAE9, #9FA8DA);
  padding: 14px 32px;
  border-radius: 40px;
  box-shadow: inset 0 4px 8px rgba(255,255,255,0.8);
}

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

.services-page .article-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1A237E;
  margin: 0 0 25px 0;
}

.services-page .article-divider {
  height: 6px;
  background: linear-gradient(90deg, #303F9F, transparent);
  margin: 25px 0 35px 0;
  border-radius: 3px;
}

.services-page .article-content {
  margin-bottom: 35px;
}

.services-page .article-clause {
  font-size: 1.2rem;
  line-height: 2.2;
  color: #333;
  margin: 22px 0;
}

.services-page .article-clause strong {
  color: #1A237E;
  font-weight: 800;
  background: linear-gradient(135deg, #E8EAF6, #C5CAE9);
  padding: 4px 12px;
  border-radius: 6px;
}

.services-page .article-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 22px 35px;
}

.services-page .article-list li {
  padding: 14px 0 14px 35px;
  position: relative;
  font-size: 1.15rem;
  line-height: 2;
}

.services-page .article-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #303F9F;
  font-weight: 900;
  font-size: 1.5rem;
}

.services-page .article-note {
  background: linear-gradient(135deg, #E8EAF6, #C5CAE9);
  padding: 22px 28px;
  border-radius: 18px;
  display: flex;
  gap: 18px;
  align-items: start;
  border-left: 6px solid #303F9F;
  box-shadow: inset 0 3px 6px rgba(255,255,255,0.6);
}

.services-page .note-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.services-page .note-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}

.services-page .note-text strong {
  color: #1A237E;
}

/* SERVICES SECTION */
.services-page .services-section {
  padding: 120px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #FFF8E1 100%);
}

.services-page .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 70px;
}

.services-page .service-card {
  background: white;
  border-radius: 35px;
  box-shadow: 0 20px 60px rgba(26,35,126,0.18);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 50px 40px;
  text-align: center;
}

.services-page .service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(26,35,126,0.3);
}

.services-page .service-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.services-page .service-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1A237E;
  margin: 0 0 10px 0;
}

.services-page .service-full {
  font-size: 1.3rem;
  color: #666;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.services-page .service-hindi {
  font-size: 1.4rem;
  color: #FF6F00;
  font-weight: 700;
  margin: 0 0 25px 0;
}

.services-page .service-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #303F9F 50%, transparent 100%);
  margin: 0 0 25px 0;
}

.services-page .service-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.services-page .service-list li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.services-page .service-list li:last-child {
  border-bottom: none;
}

.services-page .service-list li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: #303F9F;
  font-weight: 900;
  font-size: 1.8rem;
}

/* POINTS SECTION */
.services-page .points-section {
  padding: 120px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #E8F5E9 100%);
}

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

.services-page .point-card {
  background: linear-gradient(135deg, #E8EAF6 0%, #ffffff 100%);
  padding: 50px 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 55px rgba(26,35,126,0.18);
  border: 4px solid #9FA8DA;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-page .point-card:hover {
  transform: translateY(-15px) scale(1.04);
  box-shadow: 0 30px 75px rgba(26,35,126,0.35);
  border-color: #303F9F;
}

.services-page .point-icon {
  font-size: 4.5rem;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.services-page .point-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1A237E;
  margin: 0 0 20px 0;
}

.services-page .point-text {
  font-size: 1.15rem;
  line-height: 2;
  color: #555;
}

/* BACK BUTTON - PAGE के नीचे, FOOTER के ऊपर */
.services-page .back-button-container {
  position: relative;
  margin: 70px 20px;
  text-align: center;
}

.services-page .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 45px;
  background: linear-gradient(135deg, #1A237E 0%, #303F9F 100%);
  color: white;
  text-decoration: none;
  border-radius: 55px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 12px 35px rgba(26,35,126,0.6);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 4px solid white;
}

.services-page .back-btn:hover {
  transform: translateX(-10px) scale(1.1);
  box-shadow: 0 18px 50px rgba(26,35,126,0.8);
}

.services-page .back-icon {
  font-size: 2rem;
  font-weight: 900;
}

.services-page .back-text-hindi {
  font-size: 1.1rem;
  opacity: 0.98;
  padding-left: 10px;
  border-left: 2px solid rgba(255,255,255,0.7);
}

/* FOOTER */
.services-page .part-footer {
  background: linear-gradient(180deg, #1A237E 0%, #303F9F 100%);
  color: white;
  padding: 80px 20px 40px;
}

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

.services-page .footer-download {
  background: rgba(255,255,255,0.18);
  padding: 55px 40px;
  border-radius: 30px;
  text-align: center;
  backdrop-filter: blur(20px);
  border: 4px solid rgba(255,255,255,0.4);
  margin-bottom: 55px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

.services-page .download-icon {
  font-size: 5rem;
  margin-bottom: 25px;
}

.services-page .download-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 35px 0;
}

.services-page .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 55px;
  background: linear-gradient(135deg, #FF9933, #FF6F00);
  color: white;
  border: none;
  border-radius: 55px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.services-page .download-btn:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 18px 45px rgba(255,153,51,0.7);
}

.services-page .btn-icon {
  font-size: 2rem;
}

.services-page .footer-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  margin: 55px 0;
}

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

.services-page .footer-tricolor {
  height: 6px;
  background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  border-radius: 3px;
  margin: 30px 0;
  box-shadow: 0 0 25px rgba(255,255,255,0.6);
}

.services-page .footer-copyright {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.98);
  margin: 20px 0;
  font-weight: 600;
}

.services-page .footer-copyright strong {
  color: #9FA8DA;
}

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

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .services-page .part-hero {
    padding: 90px 20px 80px;
  }
  
  .services-page .part-badge {
    font-size: 1.6rem;
    padding: 16px 40px;
  }
  
  .services-page .hero-title {
    font-size: 2.8rem;
  }
  
  .services-page .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .services-page .hero-desc {
    font-size: 1.3rem;
    padding: 16px 35px;
  }
  
  .services-page .section-title {
    font-size: 2.3rem;
  }
  
  .services-page .article-card,
  .services-page .chapter-card {
    padding: 35px 30px;
  }
  
  .services-page .article-title,
  .services-page .chapter-title {
    font-size: 1.8rem;
  }
  
  .services-page .chapters-grid,
  .services-page .services-grid,
  .services-page .points-grid {
    grid-template-columns: 1fr;
  }
  
  .services-page .back-btn {
    padding: 16px 32px;
    font-size: 1.05rem;
  }
  
  .services-page .back-text-hindi {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-page .part-badge {
    font-size: 1.3rem;
    padding: 12px 28px;
  }
  
  .services-page .hero-title {
    font-size: 2.2rem;
  }
  
  .services-page .hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
  }
  
  .services-page .hero-desc {
    font-size: 1.1rem;
    padding: 12px 25px;
  }
  
  .services-page .intro-box {
    padding: 40px 25px;
  }
  
  .services-page .intro-title {
    font-size: 1.9rem;
  }
}
