/**
 * Digital India Yug - Services Page Stylesheet
 * High-performance, zero-dependency CSS matching the Indian Tricolor palette
 */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.services-hero {
  position: relative;
  background-color: #0a284b;
  background-image: url('../images/banners/services-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  text-align: center;
}

.services-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 40, 75, 0.88) 0%, rgba(15, 61, 110, 0.82) 50%, rgba(10, 40, 75, 0.90) 100%);
  pointer-events: none;
  z-index: 1;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  z-index: 3;
}

.services-hero__bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(10, 40, 75, 0) 70%);
  pointer-events: none;
  z-index: 2;
}

.services-hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.services-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.services-hero__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff !important;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.text-saffron {
  color: #fbbf24 !important;
}

.services-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.services-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #0a284b;
  font-family: var(--font-family);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #0a284b;
}

.btn-hero-saffron {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-hero-saffron:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

.btn-hero-primary svg,
.btn-hero-saffron svg {
  transition: transform 0.25s ease;
}

.btn-hero-primary:hover svg,
.btn-hero-saffron:hover svg {
  transform: translateX(4px);
}


/* ==========================================================================
   2. STATS BAR
   ========================================================================== */
.services-stats-bar {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  padding: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.services-stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.services-stat {
  text-align: center;
  flex: 1;
}

.services-stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #0a284b;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.services-stat__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #06182e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services-stat__divider {
  width: 1px;
  height: 42px;
  background: rgba(10, 40, 75, 0.2);
}


/* ==========================================================================
   3. CORE SERVICES DETAILED CATALOG
   ========================================================================== */
.services-catalog {
  background-color: var(--bg-page);
  padding: 4.5rem 0;
}

.services-grid-detailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 15px rgba(10, 40, 75, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.service-detail-card--gold::before   { background: #f59e0b; }
.service-detail-card--blue::before   { background: #2563eb; }
.service-detail-card--green::before  { background: #138808; }
.service-detail-card--navy::before   { background: #0a284b; }
.service-detail-card--purple::before { background: #7c3aed; }
.service-detail-card--orange::before { background: #ea580c; }

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(10, 40, 75, 0.12);
  border-color: transparent;
}

.service-detail-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon-box--gold   { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.service-icon-box--blue   { background: rgba(37, 99, 235, 0.12);  color: #2563eb; }
.service-icon-box--green  { background: rgba(19, 136, 8, 0.12);   color: #138808; }
.service-icon-box--navy   { background: rgba(10, 40, 75, 0.1);    color: #0a284b; }
.service-icon-box--purple { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.service-icon-box--orange { background: rgba(234, 88, 12, 0.12);  color: #ea580c; }

.service-category {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.service-detail-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a284b;
  line-height: 1.2;
}

.service-detail-card__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #334155;
}

.service-features-list svg {
  color: #138808;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-detail-card__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.btn-card-action {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-card-action--gold   { background: rgba(245, 158, 11, 0.1); color: #b45309; }
.btn-card-action--blue   { background: rgba(37, 99, 235, 0.1);  color: #1d4ed8; }
.btn-card-action--green  { background: rgba(19, 136, 8, 0.1);   color: #0f6c06; }
.btn-card-action--navy   { background: rgba(10, 40, 75, 0.08);  color: #0a284b; }
.btn-card-action--purple { background: rgba(124, 58, 237, 0.1); color: #6d28d9; }
.btn-card-action--orange { background: rgba(234, 88, 12, 0.1);  color: #c2410c; }

.service-detail-card:hover .btn-card-action--gold   { background: #f59e0b; color: #ffffff; }
.service-detail-card:hover .btn-card-action--blue   { background: #2563eb; color: #ffffff; }
.service-detail-card:hover .btn-card-action--green  { background: #138808; color: #ffffff; }
.service-detail-card:hover .btn-card-action--navy   { background: #0a284b; color: #ffffff; }
.service-detail-card:hover .btn-card-action--purple { background: #7c3aed; color: #ffffff; }
.service-detail-card:hover .btn-card-action--orange { background: #ea580c; color: #ffffff; }


/* ==========================================================================
   4. PROCESS SECTION (ROAD TO SUCCESS)
   ========================================================================== */
.services-process {
  position: relative;
  background-color: #0a284b;
  background-image: url('../images/banners/services-process-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
  overflow: hidden;
}

.services-process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 40, 75, 0.90) 0%, rgba(15, 61, 110, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.services-process .container {
  position: relative;
  z-index: 2;
}

.services-process .section-title {
  color: #ffffff !important;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.services-process .section-subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}


.process-steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
}

.process-step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  flex: 1;
  position: relative;
  transition: var(--transition);
}

.process-step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: #f59e0b;
}

.process-step-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.process-step-desc strong {
  color: #ffffff;
}

.process-step-arrow {
  font-size: 2rem;
  color: #f59e0b;
  font-weight: 800;
  opacity: 0.7;
  user-select: none;
}


/* ==========================================================================
   5. PRICING & MEMBERSHIP CARD
   ========================================================================== */
.services-pricing {
  background-color: var(--bg-page);
  padding: 4.5rem 0;
}

.pricing-card-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.12);
  text-align: center;
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  padding: 0.45rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0a284b;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
}

.pricing-card__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing-card__price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.pricing-card__currency {
  font-size: 2rem;
  font-weight: 700;
  color: #0a284b;
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: #0a284b;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.pricing-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
}

.pricing-features svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pricing-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.btn-pricing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transition: var(--transition);
}

.btn-pricing-action:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

.pricing-guarantee {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}


/* ==========================================================================
   6. FAQ ACCORDION
   ========================================================================== */
.services-faq {
  background-color: var(--bg-muted);
  padding: 4.5rem 0;
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.faq-accordion-item[open] {
  border-color: #f59e0b;
  box-shadow: 0 4px 15px rgba(10, 40, 75, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a284b;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 600;
  color: #f59e0b;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-accordion-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
}


/* ==========================================================================
   7. SERVICES BOTTOM CTA
   ========================================================================== */
.services-cta {
  position: relative;
  background-color: #0a284b;
  background-image: url('../images/banners/services-cta-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
  overflow: hidden;
}

.services-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 40, 75, 0.85) 0%, rgba(15, 61, 110, 0.80) 50%, rgba(19, 136, 8, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  z-index: 3;
}

.services-cta__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.services-cta__label {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.services-cta__title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.services-cta__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 2.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.services-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: var(--transition);
}

.btn-cta-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}


/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .services-grid-detailed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-hero__title {
    font-size: 2.2rem;
  }
  .process-steps-grid {
    flex-direction: column;
  }
  .process-step-arrow {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }
  .services-stats-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .services-stat__divider {
    display: none;
  }
  .services-stat {
    min-width: 40%;
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding: 3.5rem 0 3rem;
  }
  .services-hero__title {
    font-size: 1.8rem;
  }
  .services-grid-detailed {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
  .pricing-card__title {
    font-size: 1.5rem;
  }
  .pricing-card__amount {
    font-size: 3rem;
  }
  .services-cta__title {
    font-size: 1.7rem;
  }
  .services-hero__actions,
  .services-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-saffron,
  .btn-cta-gold,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }
}
