/* ==========================================================================
   Hepta Advisory — Main Stylesheet
   ========================================================================== */

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ---------- Patterns ---------- */
.dot-pattern-light {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- Navbar ---------- */
#navbar {
  transition: all 0.4s ease;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(0, 36, 88, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- Logo ---------- */
.logo-dots {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 4px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ---------- Mobile Menu ---------- */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#mobile-menu.open {
  max-height: 500px;
}

/* ---------- Scroll Offset ---------- */
[id] {
  scroll-margin-top: 80px;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Accent Line ---------- */
.accent-line {
  display: block;
  width: 56px;
  height: 3px;
  background: #00ad00;
  margin-bottom: 1.5rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  border: 1px solid rgba(0, 52, 117, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00ad00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 52, 117, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ---------- Fixed Contact Button ---------- */
#fixed-contact {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
}

/* ---------- Fade-Up Keyframes ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up-d1 {
  animation: fadeUp 0.8s 0.12s ease forwards;
  opacity: 0;
}

.animate-fade-up-d2 {
  animation: fadeUp 0.8s 0.24s ease forwards;
  opacity: 0;
}

.animate-fade-up-d3 {
  animation: fadeUp 0.8s 0.36s ease forwards;
  opacity: 0;
}

/* ---------- Brand Quote ---------- */
blockquote.brand-quote {
  border-left: 4px solid #00ad00;
  padding-left: 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}

/* ---------- Floating Dots Animation ---------- */
@keyframes floatDots {
  0%, 100% {
    background-position: 0px 0px;
  }
  25% {
    background-position: -2px -2px;
  }
  50% {
    background-position: 2px 2px;
  }
  75% {
    background-position: -1px 1px;
  }
}