html, body {
  scroll-behavior: smooth;
}

/* Active navigation */
.nav-btn.active {
  font-weight: 600;
  color: #1d4ed8;
  background-color: #dbeafe;
}

/* Section fade-in animation */
.content-section {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hotspots */
.hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}
.hotspot:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(37,99,235,0.4);
}

/* Tooltip styling */
.hotspot-tooltip {
  position: absolute;
  min-width: 200px;
  background: white;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hotspot-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}
.hotspot-tooltip h4 {
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 4px;
}
.hotspot-desc {
  color: #374151;
  font-weight: 400;
  line-height: 1.4;
}

/* Accordion styling */
.accordion-item + .accordion-item {
  margin-top: 8px;
}
.accordion-header .accordion-icon {
  transition: transform 0.3s ease;
}
.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  body {
    padding-top: 3.5rem; /* space for the menu button */
  }

  main {
    padding: 1.5rem;
  }

  .hotspot {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .content-section h1 {
    font-size: 1.75rem;
  }

  .content-section p {
    font-size: 0.95rem;
  }

  .next-btn {
    width: 100%;
    justify-content: center;
  }
}
