/* AZIKASS NIGERIA LIMITED - supplemental styles (on top of Tailwind CDN) */

html {
  scroll-behavior: smooth;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero background */
.hero-bg {
  background: linear-gradient(120deg, #1c1030 0%, #3f1f68 55%, #5a2d8f 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.25), transparent 55%),
                     radial-gradient(circle at 10% 90%, rgba(193, 68, 14, 0.25), transparent 55%);
  pointer-events: none;
}

/* Sector card hover */
.sector-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(28, 16, 48, 0.25);
}

/* Rich text content coming from the WYSIWYG editor */
.rich-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #3f1f68;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.rich-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c1440e;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}
.rich-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: #374151;
}
.rich-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #374151;
}
.rich-content li {
  margin-bottom: 0.4rem;
}
.rich-content a {
  color: #3f1f68;
  text-decoration: underline;
}

/* Organisation chart (Corporate Structure page) */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.org-level {
  background: #f8f5ff;
  border: 1px solid #e4d9fb;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: #3f1f68;
  text-align: center;
}
.org-level.org-multi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0;
}
.org-level.org-multi span {
  background: #fff7ea;
  border: 1px solid #f0dcaa;
  color: #8a5a12;
  border-radius: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}
.org-arrow {
  color: #c1440e;
  font-size: 1.25rem;
  line-height: 1;
}

/* WYSIWYG output rendering inside admin preview */
.tox-tinymce {
  border-radius: 0.5rem !important;
}
