/* ===================================================
   IAMCP Illuminate – Tabs Styling
   =================================================== */

/* ── TABS SECTION ────────────────────────────────── */
.tabs-section {
  padding: 1.5rem max(1rem, calc((100% - 1100px) / 2));
  background: var(--bg-white);
  max-width: 100%;
  scroll-margin-top: 100px;
}

/* ── TAB NAVIGATION ──────────────────────────────– */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #E5E7EB;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  position: sticky;
  top: 64px;
  background: var(--bg-white);
  z-index: 100;
  padding-top: 0.75rem;
}

.tab-button {
  padding: 0.85rem 1.5rem;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555555;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  bottom: -2px;
}

.tab-button:hover {
  color: #01A3EE;
}

.tab-button.active {
  color: #01A3EE;
  border-bottom-color: #01A3EE;
}

/* ── TAB CONTENT ─────────────────────────────────── */
.tabs-content {
  max-width: 1100px;
  margin: 0 auto;
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease forwards;
}

.tab-panel h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 1rem;
}

.tab-panel p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .tabs-nav {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .tab-panel h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .tabs-nav {
    gap: 0;
  }

  .tab-button {
    padding: 0.7rem 0.8rem;
    font-size: 0.75rem;
  }

  .tabs-section {
    padding: 1.5rem 1rem;
  }
}
