/* NSS SLIET Greenery Experience
   Dedicated theme layer — keep reusable and readable. */

:root {
  --nss-deep: #052d1a;
  --nss-green: #0c6b3c;
  --nss-leaf: #62b84f;
  --nss-lime: #c8f36a;
  --nss-mint: #eaf7e7;
  --nss-paper: #f5fbf1;
}

body.nss-greenery {
  background:
    radial-gradient(circle at 12% 12%, rgba(98, 184, 79, 0.22), transparent 26%),
    radial-gradient(circle at 88% 25%, rgba(200, 243, 106, 0.18), transparent 24%),
    linear-gradient(180deg, var(--nss-paper), #dcefdc 60%, #cbe6cd);
}

.nss-nature-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.nss-leaf {
  position: absolute;
  width: 24px;
  height: 52px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, #a8dd68, #247b43);
  opacity: 0.32;
  filter: blur(0.2px);
  animation: nssLeafFloat 14s ease-in-out infinite;
}

.nss-leaf::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(28deg);
}

.nss-leaf:nth-child(1) { left: 7%; top: 18%; animation-delay: -2s; }
.nss-leaf:nth-child(2) { left: 22%; top: 70%; transform: scale(0.7); animation-delay: -8s; }
.nss-leaf:nth-child(3) { left: 72%; top: 18%; transform: scale(0.8); animation-delay: -5s; }
.nss-leaf:nth-child(4) { left: 91%; top: 66%; transform: scale(0.65); animation-delay: -11s; }

@keyframes nssLeafFloat {
  0%, 100% { translate: 0 0; rotate: -12deg; }
  50% { translate: 42px -70px; rotate: 22deg; }
}

.nss-hero-shell {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(5, 45, 26, 0.97), rgba(12, 107, 60, 0.88)),
    url("../assets/photos/hero.jpg") center / cover;
}

.nss-hero-shell::before,
.nss-hero-shell::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 243, 106, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.nss-hero-shell::before {
  width: 72vw;
  height: 72vw;
  animation: nssSpin 45s linear infinite;
}

.nss-hero-shell::after {
  width: 48vw;
  height: 48vw;
  animation: nssSpin 28s linear infinite reverse;
}

.nss-hero-content {
  width: min(1180px, 90vw);
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 110px 0;
}

.nss-logo-orb {
  width: 132px;
  height: 132px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 12px rgba(200, 243, 106, 0.1), 0 28px 80px rgba(0, 0, 0, 0.22);
  animation: nssLogoPulse 4s ease-in-out infinite;
}

.nss-logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nss-display {
  max-width: 980px;
  margin: 30px 0;
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

.nss-display em {
  color: var(--nss-lime);
  font-family: Georgia, serif;
  font-weight: 400;
}

.nss-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8f4d0;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
}

.nss-scroll-cue::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  animation: nssLinePulse 1.8s ease-in-out infinite;
}

.nss-panel {
  position: relative;
  border: 1px solid rgba(12, 107, 60, 0.14);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  padding: clamp(30px, 5vw, 70px);
  box-shadow: 0 30px 90px rgba(5, 45, 26, 0.12);
  overflow: hidden;
}

.nss-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(98, 184, 79, 0.15);
  animation: nssBreathe 8s ease-in-out infinite;
}

.nss-viksit-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 243, 106, 0.24), transparent 25%),
    linear-gradient(145deg, #06331d, #12804a);
  box-shadow: 0 30px 80px rgba(5, 45, 26, 0.22);
  transform-style: preserve-3d;
}

.nss-viksit-card h2 {
  font-size: clamp(46px, 7vw, 90px);
  margin: 20px 0;
  line-height: 0.9;
}

.nss-viksit-card h2 span {
  color: var(--nss-lime);
}

.nss-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nss-year-tabs a {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nss-year-tabs a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.nss-social-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.nss-social-link {
  padding: 24px;
  border: 1px solid rgba(12, 107, 60, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nss-social-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(5, 45, 26, 0.14);
}

.nss-social-link strong {
  display: block;
  color: var(--nss-green);
  font-size: 18px;
  margin-bottom: 7px;
}

@keyframes nssSpin { to { rotate: 360deg; } }
@keyframes nssLogoPulse { 50% { scale: 1.06; rotate: 2deg; } }
@keyframes nssLinePulse { 50% { width: 70px; } }
@keyframes nssBreathe { 50% { scale: 1.35; opacity: 0.5; } }

@media (max-width: 800px) {
  .nss-social-strip { grid-template-columns: 1fr 1fr; }
  .nss-hero-shell::before { width: 110vw; height: 110vw; }
  .nss-hero-shell::after { width: 78vw; height: 78vw; }
}

@media (max-width: 520px) {
  .nss-social-strip { grid-template-columns: 1fr; }
  .nss-display { font-size: clamp(58px, 17vw, 90px); }
}

@media (prefers-reduced-motion: reduce) {
  .nss-leaf,
  .nss-hero-shell::before,
  .nss-hero-shell::after,
  .nss-logo-orb,
  .nss-scroll-cue::before,
  .nss-panel::after {
    animation: none;
  }
}
