/* Custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile menu animation */
#mobile-menu.open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu.open .menu-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu.open .menu-line:nth-child(3) {
  width: 20px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav scroll state */
#nav.scrolled {
  background: rgba(12, 27, 102, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile nav links */
.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-link:last-child {
  border-bottom: none;
}

/* Geometric accent shapes */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

/* Ensure hero text is fully readable */
.hero-bg h1,
.hero-bg p,
.hero-bg a {
  position: relative;
  z-index: 10;
}

/* Subtle hover for images */
img {
  transition: transform 0.5s ease;
}

/* Selection color */
::selection {
  background: rgba(20, 184, 166, 0.3);
  color: #0c1b66;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0c1b66;
}
::-webkit-scrollbar-thumb {
  background: #14b8a6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0d9488;
}
