/* ── Base / Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; }
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='%23065f46' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 1rem center !important; padding-right: 2.5rem !important; }

/* ── Scroll Reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal:not(.revealed) {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ── Fixed Background Geometric Shapes ── */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}
.circle-1 {
  width: 500px; height: 500px;
  background: #065f46;
  border-radius: 50%;
  top: -100px; right: -100px;
}
.circle-2 {
  width: 300px; height: 300px;
  background: #047857;
  border-radius: 50%;
  bottom: 20%; left: -80px;
}
.triangle-1 {
  width: 0; height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 208px solid #059669;
  top: 40%; right: 5%;
  opacity: 0.05;
}
.rect-1 {
  width: 180px; height: 180px;
  background: #10b981;
  border-radius: 24px;
  bottom: 10%; right: 10%;
  transform: rotate(25deg);
  opacity: 0.06;
}
.dot-grid {
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, #065f46 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  top: 60%; left: 5%;
  opacity: 0.1;
}

/* ── Dark section shapes ── */
.circle-3 {
  width: 600px; height: 600px;
  background: #022c22;
  border-radius: 50%;
  top: -200px; left: -200px;
  opacity: 0.3;
}
.triangle-2 {
  width: 0; height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-bottom: 277px solid #047857;
  bottom: -50px; right: -30px;
  opacity: 0.25;
}

/* ── Hero Geometric Shapes ── */
.hero-geo {
  position: absolute;
  pointer-events: none;
}
.geo-h1 {
  width: 300px; height: 300px;
  border: 3px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  top: 10%; left: 5%;
  animation: float-slow 8s ease-in-out infinite;
}
.geo-h2 {
  width: 150px; height: 150px;
  background: rgba(255,255,255,0.06);
  border-radius: 24px;
  top: 25%; right: 15%;
  transform: rotate(45deg);
  animation: float-slow 6s ease-in-out infinite reverse;
}
.geo-h3 {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  bottom: 20%; left: 12%;
  animation: float-slow 7s ease-in-out infinite;
}
.geo-h4 {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(255,255,255,0.07);
  top: 60%; right: 8%;
  animation: float-slow 9s ease-in-out infinite reverse;
}
.geo-h5 {
  width: 200px; height: 200px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  bottom: 10%; left: 25%;
  transform: rotate(15deg);
  animation: float-slow 10s ease-in-out infinite;
}

/* ── CTA Geometric Shapes ── */
.cta-geo { position: absolute; pointer-events: none; }
.geo-c1 {
  width: 400px; height: 400px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.geo-c2 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 32px;
  bottom: -50px; left: 10%;
  transform: rotate(30deg);
}

/* ── Animations ── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rot, 0deg)); }
}
.geo-h2 { --rot: 45deg; }
.geo-h5 { --rot: 15deg; }

/* ── Navbar ── */
.nav-scrolled {
  background: rgba(254,253,248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6,95,70,0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #059669;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-menu.open {
  max-height: 400px;
}
.mobile-nav-link { display: block; }

/* ── Utility ── */
@media (max-width: 639px) {
  .geo-h1 { width: 180px; height: 180px; }
  .geo-h2 { width: 90px; height: 90px; }
  .geo-h5 { width: 120px; height: 120px; }
}
