/* =====================================================
   INDUSTRY SUBPAGES — PREMIUM LIGHT STYLES v3.1 (Fixed FAQ Spacing)
   hjLabs.in  |  Electric Violet + Neon Teal palette
   ===================================================== */

:root {
  --ind-primary: #6C63FF;
  --ind-teal: #00D4AA;
  --ind-pink: #FF6B9D;
  --ind-light-bg: #f8fafc;
  --ind-card-bg: #ffffff;
  --ind-text-main: #0f172a;
  --ind-text-muted: #475569;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--ind-light-bg);
  color: var(--ind-text-main);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* JUMBOTRON HERO */
.jumbotron {
  background: radial-gradient(ellipse 80% 55% at 50% 10%, rgba(108, 99, 255, 0.08) 0%, transparent 70%),
              linear-gradient(160deg, #ffffff 0%, #f1f5f9 50%, #ffffff 100%);
  color: var(--ind-text-main);
  padding: 80px 0 60px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.jumbotron::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal), var(--ind-pink));
}

.jumbotron .display-6 {
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, var(--ind-primary) 60%, var(--ind-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px !important;
}

.jumbotron .lead {
  color: var(--ind-text-muted);
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
}

/* MAIN HEADINGS */
h1.text-center {
  font-weight: 800;
  color: var(--ind-text-main);
  margin: 60px 0 40px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

h1.text-center::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal));
  border-radius: 2px;
}

h2 {
  font-weight: 800;
  color: var(--ind-text-main);
  margin-bottom: 20px; /* Reduced from 30px */
  margin-top: 10px; /* Reduced from 50px */
}

/* CARDS */
.card {
  background: var(--ind-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 20px 25px -5px rgba(108, 99, 255, 0.15), 0 8px 10px -6px rgba(0, 212, 170, 0.1);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
  background: white;
  position: relative;
  z-index: 2;
}

.card-title {
  color: var(--ind-text-main);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--ind-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ACCORDION (FAQs) */
.accordion {
  --bs-accordion-bg: #ffffff;
  --bs-accordion-color: var(--ind-text-main);
  --bs-accordion-border-color: rgba(0, 0, 0, 0.08);
  --bs-accordion-btn-color: var(--ind-text-main);
  --bs-accordion-btn-bg: #f8fafc;
  --bs-accordion-active-color: var(--ind-primary);
  --bs-accordion-active-bg: rgba(108, 99, 255, 0.05);
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  border-radius: 12px !important;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.accordion-item:hover {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.1);
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--ind-primary);
  background: rgba(108, 99, 255, 0.05);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-button::after {
  opacity: 0.6;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(41%) sepia(87%) saturate(2256%) hue-rotate(227deg) brightness(97%) contrast(105%);
  opacity: 1;
}

.accordion-body {
  color: var(--ind-text-muted);
  line-height: 1.7;
  padding: 1.5rem;
  background: #ffffff;
}

/* BREADCRUMB */
.breadcrumb {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.breadcrumb-item a {
  color: var(--ind-primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: var(--ind-teal);
}

.breadcrumb-item.active {
  color: var(--ind-text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8;
}

/* OVERRIDE CONTAINER SPACINGS FOR FAQs */
section.container.mt-5 {
  margin-top: 1rem !important; /* Reduced from 3rem (bootstrap mt-5 default) */
}

/* UTILITIES */
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* FADE-IN */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
