:root {
  --green-dark: #0CA450;
  --green-mid: #2AA645;
  --green-light: #4AA93D;
  --orange: #FE9768;
  --peach: #FEC6AC;
  --white: #FFFFFF;
  --blue-light: #BEE2D1;
  --blue-bright: #39B8FC;
  --ink: #EAF3EE;

  --stage: #26382d;
  --stage-2: #2f4638;
  --line: rgba(234,243,238,.16);
  --line-soft: rgba(234,243,238,.1);
  --expo: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(12,164,80,.38), transparent 60%),
    radial-gradient(80% 55% at 100% 15%, rgba(57,184,252,.28), transparent 70%),
    radial-gradient(70% 55% at 0% 100%, rgba(254,151,104,.22), transparent 70%),
    var(--stage);
  background-attachment: fixed;
  opacity: 0;
  transition: opacity .45s ease;
}
body.loaded { opacity: 1; }

.page-loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  background: linear-gradient(160deg, #223526 0%, #2c4434 55%, #24363e 100%);
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.loader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  height: 64px; width: auto;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.loader-ring {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(234,243,238,0.12);
  border-top-color: var(--green-dark);
  animation: spin .9s linear infinite;
}
.loader-tagline {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #a9b8b0;
  opacity: 0; transform: translateY(6px);
}
body.first-load .loader-logo { animation: loaderIntro 1.1s ease forwards; }
body.first-load .loader-tagline { animation: taglineIn .6s ease .7s forwards; }

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .8; }
}
@keyframes loaderIntro {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes taglineIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- liquid glass floating nav (Parahgon-inspired: transparent glass pill,
   pointer-tracked specular highlight, inset+outer shadow for depth) ---------- */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px clamp(16px,4vw,32px) 0;
  display: flex; justify-content: center;
}
.glass {
  position: relative;
  width: 100%; max-width: 1180px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 100px;
  background: rgba(45,66,53,.42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -14px 24px -18px rgba(0,0,0,.6),
    0 18px 40px -22px rgba(0,0,0,.65);
  transition: background .5s var(--expo), border-color .5s var(--expo), box-shadow .5s var(--expo);
  overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(240px 140px at var(--mx,50%) var(--my,0%), rgba(190,226,209,.18), transparent 70%);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.glass:hover::before { opacity: 1; }
.glass.is-stuck {
  background: rgba(38,56,45,.7);
  border-color: rgba(234,243,238,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 22px 50px -24px rgba(0,0,0,.8);
}
.nav-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .4s var(--expo); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav-link {
  position: relative;
  padding-bottom: 4px;
  color: #a9b8b0;
  font-weight: 500;
  font-size: .8rem;
  white-space: nowrap;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-dark), var(--blue-bright));
  transition: width .3s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--white); }

.link-fade { position: relative; transition: color .25s ease, opacity .25s ease; }
.link-fade:hover { opacity: .7; }

.btn-glass-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, rgba(12,164,80,0.92), rgba(57,184,252,0.85));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; padding: .75rem 1.75rem; border-radius: 9999px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 8px 22px rgba(12,164,80,0.25);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-glass-primary:hover { filter: brightness(1.07); box-shadow: 0 12px 28px rgba(12,164,80,0.32); transform: translateY(-2px); }
.btn-glass-primary:active { transform: translateY(0); }

.btn-glass-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: rgba(234,243,238,0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(234,243,238,0.2);
  color: var(--ink); padding: .75rem 1.75rem; border-radius: 9999px; font-weight: 600;
  transition: all .25s ease;
}
.btn-glass-secondary:hover { background: rgba(234,243,238,0.12); border-color: rgba(234,243,238,.35); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.25); }

.btn-glass-sm {
  background: rgba(234,243,238,0.05); backdrop-filter: blur(8px);
  border: 1px solid rgba(234,243,238,0.16); border-radius: 9999px;
  transition: all .2s ease;
}
.btn-glass-sm:hover { background: rgba(234,243,238,0.12); transform: translateY(-1px); }

.blog-body h2 { font-size: 1.75rem; font-weight: 700; color: var(--ink); margin-top: 2rem; margin-bottom: 1rem; }
.blog-body h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-top: 1.5rem; margin-bottom: 0.75rem; }
.blog-body p { margin-bottom: 1.25rem; line-height: 1.75; }
.blog-body ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-body li { margin-bottom: 0.5rem; }

.marquee-container { overflow: hidden; position: relative; width: 100%; margin-bottom: 1rem; }
.marquee-track { display: inline-flex; gap: 1rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track-reverse { display: inline-flex; gap: 1rem; width: max-content; animation: marquee-reverse 35s linear infinite; }
.marquee-track-reverse:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.value-card {
  position: relative; overflow: hidden;
  background: rgba(234,243,238,0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(234,243,238,0.1);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.value-card:hover { transform: translateY(-4px); background: rgba(234,243,238,0.07); box-shadow: 0 14px 28px rgba(12,164,80,0.18); }
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--green-dark), var(--blue-bright));
  opacity: .8;
}

/* fully transparent glass — a border only, so a background watermark reads unhindered */
.pillar-card {
  background: transparent;
  border: 1px solid var(--line);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.pillar-card:hover { border-color: rgba(234,243,238,.28); background: rgba(234,243,238,.03); transform: translateY(-3px); }

.carousel-shell { position: relative; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 9999px; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  background: rgba(234,243,238,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(234,243,238,0.18);
  color: var(--ink);
  opacity: 0; transition: opacity .25s ease, background .25s ease, transform .25s ease;
  cursor: pointer;
}
.carousel-shell:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(234,243,238,0.18); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-arrow.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }

.footer-mist {
  position: relative;
  background: linear-gradient(160deg, #0B3A2A 0%, #0F5C46 45%, #14806B 100%);
  overflow: hidden;
}
.footer-mist::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 20% 100%, rgba(190,226,209,0.35), transparent 70%),
    radial-gradient(50% 40% at 80% 100%, rgba(57,184,252,0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.footer-mist::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, rgba(234,247,240,0) 0%, rgba(190,226,209,0.18) 55%, rgba(234,243,238,0.3) 100%);
  filter: blur(10px);
  pointer-events: none;
}
.footer-mark {
  position: absolute; right: -40px; bottom: -30px; width: 380px;
  opacity: .12; filter: blur(1px) grayscale(1) brightness(3);
  pointer-events: none;
}

.resource-disabled { opacity: .55; cursor: not-allowed; }

/* ---------- form fields: dark glass, applied globally so no per-input classes are needed ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
textarea, select {
  background: rgba(234,243,238,0.04);
  color: var(--ink);
  border-color: rgba(234,243,238,0.14) !important;
}
input[type="text"]::placeholder, input[type="email"]::placeholder,
input[type="tel"]::placeholder, textarea::placeholder { color: #7a8a82; }
select option { background: #0b130f; color: var(--ink); }
