* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family: Inter, system-ui;
  background:#fff;
  color:#111;
}

/* NAV */
.nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px clamp(16px,5vw,60px);

  position:fixed;
  top:0;
  width:100%;
  z-index:1000;

  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(10px);
}

.nav-left img {
  width:clamp(130px,10vw,180px);
}

.nav-center {
  display:flex;
}

.nav-center a {
  margin:0 12px;
  font-size:14px;
  color:#555;
  text-decoration:none;
}

.nav-right {
  display:flex;
  gap:10px;
}

/* MOBILE MENU */
.menu-toggle {
  display:none;
  font-size:22px;
  cursor:pointer;
}

/* BUTTON */
.btn {
  padding:10px 18px;
  font-size:14px;
  border-radius:12px;
  border:none;
  cursor:pointer;
  display:inline-block;
}

.btn.primary { background: #446038; color:white; }
.btn.ghost { background:#eee; }
.btn.gradient {
  background:linear-gradient(90deg,#446038,#4E9F98);
  color:white;
}

/* HERO */
.hero {
  padding:220px clamp(16px,5vw,60px) 80px;
}

.hero-inner {
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.hero-left h1 {
  font-size:clamp(28px,3vw,42px);
  line-height:1.2;
}

.hero-left p {
  margin:20px 0;
  color:#666;
}

.hero-right img {
  width:100%;
  max-width: 65vw;
  animation: float 5s ease-in-out infinite;
}

/* SECTIONS */
.section {
  max-width:1200px;
  margin:auto;
  padding:80px clamp(16px,5vw,60px);
  text-align:center;
}

.section h2 {
  font-size:clamp(28px,3vw,48px);
  margin-bottom:20px;
}

.sub {
  color:#777;
  margin-bottom:40px;
}

/* GRID */
.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.grid-4 {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.cards img {
  width:100%;
}

.cards .card {
  background:#f9f9f9;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
  text-align:left;
}

.card h2 {
  font-size:18px;
  margin-bottom:10px;
}

/* FLOW */
.flow {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;

  /* background-color: red; */
}

/* .flow img {
  width:clamp(100px,12vw,180px);
} */

.flow span {
  font-size:20px;
  opacity:0.5;
}

/* HIGHLIGHT */
.highlight {
  max-width:700px;
  margin:50px auto 0;
  font-size:clamp(18px,2vw,28px);
  font-weight:600;
}

/* CTA */
.cta {
  padding:80px clamp(16px,5vw,60px);
  text-align:center;
  background:linear-gradient(90deg,#446038,#4E9F98);
  color:white;
}

.cta h2 {
  max-width:600px;
  margin:0 auto 20px;
  font-size:clamp(22px,2.5vw,36px);
}

/* FOOTER */
.footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px clamp(16px,5vw,60px);
}

.footer p a{
  color: #aaa;
}

.footer p a:hover {
  color: #007B8F !important;
}

/* -------- TABLET -------- */
@media (max-width: 900px) {

  .hero-inner {
    flex-direction:column;
    text-align:center;
  }

  .grid-3 {
    grid-template-columns:repeat(2,1fr);
  }

  .grid-4 {
    grid-template-columns:repeat(2,1fr);
  }
}

/* -------- MOBILE -------- */
@media (max-width: 720px) {

  .menu-toggle {
    display:block;
  }

  .nav-center {
    display:none;
    position:absolute;
    top:60px;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    align-items:center;
    padding:20px 0;
  }

  .nav-center a {
    margin:10px 0;
    font-size:16px;
  }

  .nav-center.active {
    display:flex;
  }

  .nav-right {
    display:none;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns:1fr;
  }

  .flow span {
    display:none;
  }

  .arrow-down {
  display: inline-block;
  rotate: 90deg;
  }

  .footer-sub {
    width: 100% !important;
  }

  .cards .card {
    text-align:center;
    width: 100% !important;
  }
}

/* ACTIVE NAV LINK */
.nav-center a.active {
  color: #446038;
  font-weight: 600;
  position: relative;
}

/* underline animation (premium feel) */
.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #446038;
}

/* mobile active state */
@media (max-width: 720px) {
  .nav-center a.active {
    background: rgba(108, 99, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
  }
}

/* HAMBURGER BASE */
.menu-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #111;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* 3 lines */
.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* ---------- ACTIVE STATE (CROSS) ---------- */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }
}

/* ---------- BASE ANIMATION ---------- */
.animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.animate.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- STAGGER (for cards) ---------- */
.cards > * {
  opacity: 0;
  transform: translateY(40px);
}

.cards.show > * {
  animation: cardReveal 0.7s forwards;
}

.cards.show > *:nth-child(1) { animation-delay: 0.05s; }
.cards.show > *:nth-child(2) { animation-delay: 0.1s; }
.cards.show > *:nth-child(3) { animation-delay: 0.15s; }
.cards.show > *:nth-child(4) { animation-delay: 0.2s; }
.cards.show > *:nth-child(5) { animation-delay: 0.25s; }
.cards.show > *:nth-child(6) { animation-delay: 0.3s; }
.cards.show > *:nth-child(7) { animation-delay: 0.35s; }
.cards.show > *:nth-child(8) { animation-delay: 0.4s; }

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- HERO ENTRY ---------- */
.hero-left {
  animation: heroFade 1s ease forwards;
}

.hero-right {
  animation: heroFade 1.2s ease forwards;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- OVERLAY ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- MOBILE MENU SLIDE ---------- */
@media (max-width: 720px) {

  .nav-center {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);

    flex-direction: column;
    align-items: center;
    gap: 16px;

    padding: 24px 0;

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
    z-index: 1000;
  }

  .nav-center.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-center a {
    font-size: 16px;
  }
}

/* ---------- BODY LOCK ---------- */
body.menu-open {
  overflow: hidden;
}