/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Geometric Background Shapes ── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,188,110,0.08) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.geo-circle-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,188,110,0.06) 0%, transparent 70%);
  bottom: 10%; left: 5%;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 60px 104px 60px;
  border-color: transparent transparent rgba(26,188,110,0.07) transparent;
  top: 25%; right: 8%;
  transform: rotate(15deg);
  pointer-events: none;
}
.geo-dots {
  position: absolute;
  top: 18%; left: 48%;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, rgba(26,188,110,0.25) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}
.geo-stripe {
  position: absolute;
  pointer-events: none;
}
.geo-stripe-1 {
  top: 30%; left: 0;
  width: 6px; height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(26,188,110,0.12), transparent);
  transform: rotate(25deg);
}
.geo-stripe-2 {
  bottom: 15%; right: 15%;
  width: 120px; height: 4px;
  background: linear-gradient(to right, transparent, rgba(26,188,110,0.15), transparent);
  transform: rotate(-15deg);
}

/* ── Reveal Animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
@supports not (animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1)) {
  .reveal { transition: opacity 0.5s ease, transform 0.5s ease; }
}

/* ── Navbar Scroll State ── */
.nav-scrolled {
  background: rgba(6, 13, 31, 0.92) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ── Mobile Menu Animation ── */
.menu-line { display: block; }
#menu-btn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
#menu-btn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 20px; }

/* ── Custom Select Arrow ── */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231ABC6E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ── Service Card Hover Glow ── */
.service-card { perspective: 800px; }

/* ── Smooth Scroll Offset for Anchor Links ── */
section[id] { scroll-margin-top: 80px; }

/* ── Selection Color ── */
::selection { background: rgba(26,188,110,0.3); color: #fff; }
