/* Custom geometric animations */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  background: #fefce8;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  background: #fef9c3;
  border-radius: 50%;
  bottom: 15%;
  left: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 120px;
  height: 120px;
  background: #fef08a;
  border-radius: 50%;
  top: 30%;
  left: 15%;
  animation: float 10s ease-in-out infinite;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #fefce8;
  top: 20%;
  right: 10%;
  animation: spin 20s linear infinite;
  opacity: 0.08;
}

.geo-triangle-2 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid #fef9c3;
  bottom: 25%;
  right: 20%;
  animation: spin 15s linear infinite reverse;
  opacity: 0.06;
}

.geo-square-1 {
  width: 100px;
  height: 100px;
  background: #fefce8;
  top: 60%;
  left: 8%;
  animation: spin 25s linear infinite;
  opacity: 0.08;
  border-radius: 12px;
}

.geo-square-2 {
  width: 60px;
  height: 60px;
  background: #fef08a;
  top: 10%;
  left: 40%;
  animation: spin 18s linear infinite reverse;
  opacity: 0.06;
  border-radius: 8px;
}

.geo-dots {
  background-image: radial-gradient(circle, #fefce8 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  width: 300px;
  height: 300px;
  top: 50%;
  right: 5%;
  opacity: 0.1;
}

.geo-circle-4 {
  width: 500px;
  height: 500px;
  background: #047857;
  border-radius: 50%;
  bottom: -200px;
  right: -150px;
  opacity: 0.3;
  animation: float 12s ease-in-out infinite;
}

.geo-square-3 {
  width: 150px;
  height: 150px;
  background: #059669;
  top: 10%;
  left: -50px;
  opacity: 0.2;
  animation: spin 30s linear infinite;
  border-radius: 20px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .scroll-reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Nav scroll state */
nav.scrolled {
  background: rgba(250, 249, 244, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

nav.scrolled .nav-link {
  color: #065f46;
}

nav.scrolled .nav-logo {
  color: #065f46;
}

/* Mobile menu */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileMenu.open {
  max-height: 400px;
}

.mobile-link {
  display: block;
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
}

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