*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #0f2240;
  color: #ffffff;
  overflow-x: hidden;
}

/* ─── Header ─── */
#header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #58d68d;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #ffffff;
}

.mobile-nav-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* ─── Wave Divider ─── */
.wave-divider {
  line-height: 0;
}

/* ─── Service Cards ─── */
.card-service {
  will-change: transform;
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Form Styles ─── */
select option {
  background: #0a1628;
  color: #ffffff;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a1628;
}

::-webkit-scrollbar-thumb {
  background: #1a3d6e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #24528f;
}

/* ─── Selection ─── */
::selection {
  background: rgba(46, 204, 113, 0.3);
  color: #ffffff;
}
