/* ============================================================
   SudoIT – custom styles (Tailwind handles the heavy lifting)
   Only things that can't be done with Tailwind CDN live here.
   ============================================================ */

/* Hero geometric background */
.hero-bg {
  background-color: #0D1B2A;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(30, 136, 229, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 136, 229, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, transparent 25%, rgba(255,255,255,0.01) 25%,
      rgba(255,255,255,0.01) 50%, transparent 50%, transparent 75%,
      rgba(255,255,255,0.01) 75%);
  background-size: 100% 100%, 100% 100%, 60px 60px;
}

/* Navbar scroll effect — toggled by JS */
#navbar.scrolled {
  background-color: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* =================== Scroll Reveal =================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }
.reveal:nth-child(5) { transition-delay: 0.28s; }
.reveal:nth-child(6) { transition-delay: 0.35s; }

/* Hero fade-in */
.fade-in {
  animation: fadeInUp 0.8s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =================== Global =================== */
html { scroll-behavior: smooth; }

::selection {
  background-color: rgba(30, 136, 229, 0.3);
  color: #ffffff;
}
