/* India pillar pages — courier & medicine country hubs */
html { scroll-behavior: smooth; }

body.india-pillar-page {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.india-pillar-page h1,
body.india-pillar-page h2,
body.india-pillar-page h3 {
  font-family: 'Inter', system-ui, sans-serif;
}

.ubt-pro-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.ubt-pro-section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.ubt-pro-section--ruled {
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
  .ubt-pro-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.ubt-fed-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 30, 74, 0.06);
}

.ubt-fed-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 30, 74, 0.06);
}

.ubt-fed-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.ubt-fed-table-wrap caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #0f1e4a;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}

.ubt-fed-table-wrap thead th {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  padding: 0.65rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.ubt-fed-table-wrap tbody td {
  padding: 0.55rem 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  color: #374151;
}

.ubt-fed-table-wrap tbody tr:nth-child(even) {
  background: #fafbfc;
}

.ubt-fed-table-wrap tbody td:first-child {
  font-weight: 600;
  color: #1e40af;
}

details.ubt-details > summary {
  list-style: none;
}

details.ubt-details > summary::-webkit-details-marker {
  display: none;
}

/* Process flow infographic */
.india-pillar-process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%);
  border-radius: 1rem;
  border: 1px solid #e0e7ff;
}

.india-pillar-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e3a8a;
  min-width: 3.5rem;
}

.india-pillar-process-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.india-pillar-process-arrow {
  color: #93c5fd;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 480px) {
  .india-pillar-process-arrow {
    display: none;
  }
  .india-pillar-process-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
}

/* Sticky mobile CTA */
.india-pillar-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(15, 30, 74, 0.12);
  padding: 0.5rem;
  gap: 0.5rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.india-pillar-mobile-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.india-pillar-mobile-cta__btn i {
  font-size: 1rem;
}

.india-pillar-mobile-cta__btn--primary {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
  flex: 1.4;
}

.india-medicine-pillar-page .india-pillar-mobile-cta__btn--primary {
  background: #059669;
  border-color: #059669;
}

body.india-pillar-page {
  padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  body.india-pillar-page {
    padding-bottom: 0;
  }
}

.hero-bg.hero-pattern {
  background:
    radial-gradient(circle at 20% 50%, rgba(251, 146, 60, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    linear-gradient(135deg, #0f1e4a 0%, #1e3a8a 50%, #1d4ed8 100%);
}

.ubt-directory-search-sticky {
  position: sticky;
  top: 4rem;
  z-index: 20;
  background: #f9fafb;
  padding-bottom: 0.5rem;
}

.ubt-directory-country-card {
  min-height: 88px;
}

@media (min-width: 1024px) {
  .ubt-directory-search-sticky {
    top: 5rem;
  }
}

/* Sticky side quick menu — sticks while scrolling main content, releases at grid bottom */
@media (min-width: 1024px) {
  .india-pillar-section-aside {
    position: sticky;
    top: 6rem;
    align-self: start;
  }

  .india-pillar-section-aside .ubt-section-nav {
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Carrier comparison table */
.india-pillar-compare-table tbody th[scope="row"] {
  text-align: left;
  white-space: nowrap;
}

.india-pillar-compare-row--best {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%) !important;
}

.india-pillar-compare-row--best th[scope="row"],
.india-pillar-compare-row--best td {
  border-color: #a7f3d0;
}

.india-pillar-compare-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: #059669;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
