*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F8F8F6;
  --sand: #F4F0E8;
  --forest: #123524;
  --green: #3AB54A;
  --blue: #3A7CA5;
  --violet: #A55CFF;
  --gold: #F5B434;
  --ink: #111111;
  --mist: #666666;
  --white: #ffffff;
  --sky: #EEF6FB;
  --mint: #EEF7EE;
  --lavender: #F5F0FF;
  --border: #ECEBE6;
  --r-card: 24px;
  --r-btn: 100px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.logo span {
  color: var(--green);
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}


/* NAV DROPDOWN */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
  cursor: pointer;
}
.nav-dropdown-trigger:hover { opacity: 1; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border-radius: 16px;
  padding: 8px;
  min-width: 160px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  opacity: 1;
  transition: background 0.2s, color 0.2s;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-dropdown-menu a:hover {
  background: var(--mint);
  color: var(--forest);
}

/* small arrow pointer at top of dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

/* Rotate chevron on hover */
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}


nav a:hover { opacity: 1; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(58,181,74,0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(17,17,17,0.25);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

/* SECTIONS */
section { padding: 120px 60px; }

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 20px;
}
.label-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--green);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(28px, 3.8vw, 46px); }
h2 { font-size: clamp(36px, 4vw, 58px); }
h3 { font-size: 22px; }

/* HERO */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding-top: 140px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,181,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-text h1 {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  position: relative;
}
.hero-line {
  display: flex;
  gap: 0.4em;
  align-items: baseline;
  overflow: hidden;
}
.hero-line-inner {
  display: inline-flex;
  gap: 0.05em;
  transform: translateY(100%);
  animation: line-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.hero-char {
  display: inline-block;
  background: linear-gradient(90deg, var(--ink) 0%, var(--forest) 50%, var(--green) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease infinite;
}
.hero-char.hero-em {
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  animation: shimmer 4s ease infinite;
}
.hero-char.space {
  width: 0.35em;
}
.hero-heading-accent {
  position: absolute;
  left: -20px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--blue), transparent);
  border-radius: 4px;
  opacity: 0;
  animation: accent-in 0.6s ease 0.8s forwards;
}
@keyframes line-reveal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes accent-in {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}
.hero-char {
  display: inline-block;
  opacity: 0;
  transform: rotateX(-90deg) translateY(15px);
  transform-origin: bottom center;
  animation: char-roll 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.035s * var(--i) + 0.15s);
}
.hero-char.hero-em {
  font-style: italic;
  color: var(--forest);
}
.hero-word {
  display: inline-flex;
}
@keyframes char-roll {
  0% { opacity: 0; transform: rotateX(-90deg) translateY(15px); }
  60% { opacity: 1; transform: rotateX(8deg) translateY(-2px); }
  85% { transform: rotateX(-2deg) translateY(1px); }
  100% { opacity: 1; transform: rotateX(0) translateY(0); }
}
.hero-text p {
  font-size: 17px;
  color: var(--mist);
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.gradient-line {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--violet));
  border-radius: 4px;
  margin-bottom: 28px;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
  min-height: 520px;
  padding-top: 80px;
}

/* Stats */
.hero-stat-topleft {
  position: absolute;
  top: -45px;
  left: 0;
  text-align: left;
  z-index: 3;
  padding: 16px 0;
  border-top: 2px solid var(--green);
  width: fit-content;
  min-width: 180px;
}
.hero-stat-midright {
  position: absolute;
  bottom: 450px;
  right: 0;
  text-align: right;
  z-index: 3;
  padding: 16px 0;
  border-bottom: 2px solid var(--forest);
  width: fit-content;
  min-width: 200px;
}
.hero-stat-topleft .hero-stat-num
 {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-midright .hero-stat-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.02em;
  

}
.hero-stat-topleft .hero-stat-lbl,
.hero-stat-midright .hero-stat-lbl {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-stat-topleft .hero-stat-lbl::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero-stat-midright .hero-stat-lbl::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
}

/* POPUP */
#popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
#popup-box {
  background: var(--cream);
  border-radius: 28px;
  padding: 40px 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.5s ease;
  text-align: center;
}
#popup-overlay.active #popup-box {
  transform: translateY(0);
}
#popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--mist);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 2;
}
#popup-close:hover { color: var(--ink); }
.popup-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
#popup-box h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--ink);
}
#popup-box h3 em {
  font-style: italic;
  color: var(--forest);
}
#popup-box p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.6;
  margin-bottom: 16px;
}
#popup-form { text-align: left; }
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 4px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
}
.form-group input::placeholder {
  color: #bbb;
}

/* LOGIN POPUP */
#login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#login-overlay.active {
  opacity: 1;
  visibility: visible;
}
#login-box {
  background: var(--cream);
  border-radius: 28px;
  padding: 40px 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.5s ease;
  text-align: center;
}
#login-overlay.active #login-box {
  transform: translateY(0);
}
#login-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--mist);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 2;
}
#login-close:hover { color: var(--ink); }

/* IMAGE SLIDER — clean contained box */
.image-slider {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  margin: 60px 0;
}
.img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.img-slide.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
.img-slide.exit {
  opacity: 0 !important;
  transform: translateX(-100%) !important;
}
.img-slide:first-child img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.img-slide:last-child img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TRUST BAR */
#trust {
  padding: 64px 60px;
  background: var(--forest);
  display: flex;
  justify-content: center;
  gap: 0;
}
.trust-item {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.trust-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.trust-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  margin-top: 6px;
}

/* WHO WE ARE */
#about {
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-img {
  border-radius: var(--r-card);
  background: linear-gradient(135deg, #d4e8c2, #b8d4a0);
  min-height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.about-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: translateX(0%);
}
.about-img-overlay {
  z-index: 1;
}
.about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}
.about-img-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: var(--forest);
  color: white;
  padding: 20px 26px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.about-img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.about-text h2 { margin-bottom: 28px; }
.about-text p {
  color: var(--mist);
  margin-bottom: 20px;
  font-size: 16px;
}

/* BRAND ARCHITECTURE */
#brand {
  background: var(--white);
  text-align: center;
}
#brand h2 { margin-bottom: 16px; }
#brand > p {
  color: var(--mist);
  margin-bottom: 60px;
  font-size: 17px;
}
.brand-grid {
  display: grid;
  /* grid-template-columns: 1fr 80px 1fr 80px 1fr; */
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.brand-card {
  border-radius: var(--r-card);
  padding: 44px 36px;
  text-align: center;
}
.brand-card.geneix { background: var(--sky); }
.brand-card.together { background: var(--mint); }
.brand-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  margin-top: 0;
}
.brand-card p {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.brand-arrow {
  text-align: center;
  font-size: 28px;
  color: var(--mist);
  opacity: 0.3;
}
.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card.salmira .brand-icon { background: rgba(18,53,36,0.1); }
.brand-card.geneix .brand-icon { background: rgba(58,124,165,0.1); }
.brand-card.together .brand-icon { background: rgba(58,181,74,0.12); }

/* WHAT WE DO */
#services {
  background: var(--white);
}
#services h2 { margin-bottom: 16px; }
#services > p { color: var(--mist); margin-bottom: 60px; font-size: 17px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border: none;
  border-radius: var(--r-card);
  padding: 44px 36px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card { background: var(--cream); }
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--violet), var(--green));
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 300;
  color: rgba(17,17,17,0.06);
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.service-card p { color: var(--mist); font-size: 15px; line-height: 1.8; }

/* HEALTH CONTINUUM */
#continuum {
  background: var(--cream);
}
#continuum h2 { margin-bottom: 16px; }
#continuum > p { color: var(--mist); margin-bottom: 60px; font-size: 17px; }
.continuum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
  gap: 24px;
}
.continuum-card {
  border-radius: var(--r-card);
  padding: 52px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  align-items: center;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
   z-index: 2;
  cursor: pointer;

}
.continuum-card:hover { transform: translateY(-4px); }
.continuum-card.soil { background: var(--mint); }
.continuum-card.crop { background: var(--sky); }
/* .continuum-card.human { background: var(--lavender); } */

.continuum-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-body);
  color: white;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  background: var(--forest);
}
.continuum-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(18,53,36,0.2);
  animation: spin 20s linear infinite;
}
.continuum-card:hover .continuum-dot {
  transform: scale(1.1) rotate(5deg);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.continuum-card h3 { margin-bottom: 14px; font-size: 24px; }
.continuum-card p { font-size: 15px; color: var(--mist); line-height: 1.8; }

/* WHY CHOOSE US */
#why {
  background: var(--forest);
  color: white;
}
#why h2 { color: white; margin-bottom: 16px; }
#why > p { color: rgba(255,255,255,0.55); margin-bottom: 60px; font-size: 17px; }
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.why-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-video-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 16/9;
}
.why-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-form-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
#why-form {
  position: relative;
  overflow: hidden;
}
.form-tabs {
  display: flex;
  gap: 0;
  position: relative;
}
.form-tab {
  flex: 1;
  padding: 14px 12px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.form-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.form-bg {
  display: none;
}
.why-form-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--green);
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.form-tab.active {
  color: white;
  font-weight: 600;
}
.why-form-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.why-form-card .why-form-content {
  padding: 32px;
  position: relative;
  z-index: 2;
}
#why-form {
  position: relative;
  overflow: hidden;
}
.form-panel-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(58,181,74,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.why-form-card input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: white;
  background: rgba(255,255,255,0.06);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 12px;
}
.why-form-card input:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.1);
}
.why-form-card input::placeholder {
  color: rgba(255,255,255,0.4);
}
.why-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-card {
  position: relative;
  overflow: visible;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.3s;
  cursor: default;
  z-index: 1;
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.why-card .why-icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: rgba(245,180,52,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.why-card > p {
  position: relative;
  z-index: 2;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.why-popup {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  min-height: 100%;
  background: #C8E6C0;
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  z-index: 0;
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.22, 1.4, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}
.why-card:hover .why-popup {
  opacity: 1;
  transform: translateY(-100%);
  pointer-events: auto;
}
.why-popup-icon { font-size: 26px; }
.why-popup h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--forest);
  margin: 0;
}
.why-popup p {
  font-size: 13px;
  color: var(--forest);
  line-height: 1.7;
  opacity: 0.8;
  padding: 0;
  margin: 0;
}

/* INDIA GATEWAY */
#gateway {
  background: var(--sky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
#gateway h2 { margin-bottom: 20px; }
#gateway > div > p { color: var(--mist); margin-bottom: 36px; font-size: 17px; }
.gateway-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}
.gateway-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 14px 26px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--border);
}
.gateway-item:hover {
  transform: translateX(8px);
  border-color: var(--green);
}
.gateway-item-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--forest);
}
.gateway-map {
  border-radius: var(--r-card);
  background: white;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.where-we-are {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}
.where-word {
  opacity: 0;
  transform: translateX(-44px) translateY(0);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #16354a;
  text-shadow: 0 4px 14px rgba(255,255,255,0.9);
}
.gateway-map:is(.visible, .replay) .where-word:nth-child(1) {
  animation: word-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}
.gateway-map:is(.visible, .replay) .where-word:nth-child(2) {
  animation: word-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.6s;
}
.gateway-map:is(.visible, .replay) .where-word:nth-child(3) {
  animation: word-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 1s;
}
.gateway-map:is(.visible, .replay) .where-we-are {
  animation: text-out 0.45s ease forwards 2s;
}
.india-map-image {
  width: 78%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.08) contrast(1.04);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transform-origin: 50% 58%;
}
.gateway-map:is(.visible, .replay) .india-map-image {
  animation: map-zoom-in 1.15s ease forwards 2.1s;
}
@keyframes word-in {
  0% {
    opacity: 0;
    transform: translateX(-44px) translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  84% {
    transform: translateX(0) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}
@keyframes text-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes map-zoom-in {
  0% {
    opacity: 0;
    visibility: visible;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: scale(1.18);
  }
}

/* QUALITY */
#quality {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
}
.quality-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 80px
  );
}
.quality-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 60px;
  max-width: 800px;
}
#quality h2 { color: white; margin-bottom: 20px; }
#quality p { color: rgba(255,255,255,0.6); margin-bottom: 52px; font-size: 17px; }
.quality-pillars {
  display: flex;
  gap: 0;
  justify-content: center;
}
.quality-pillar {
  padding: 16px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.quality-pillar:last-child { border-right: none; }

/* FINAL CTA */
#cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 50%, var(--violet) 100%);
  text-align: center;
  padding: 140px 60px;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.03) 60px,
    rgba(255,255,255,0.03) 120px
  );
}
#cta h2 { color: white; margin-bottom: 20px; position: relative; }
#cta p { color: rgba(255,255,255,0.75); margin-bottom: 48px; font-size: 18px; position: relative; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; position: relative; }
.btn-white {
  padding: 16px 36px;
  background: white;
  color: var(--ink);
  border: none;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.btn-white-outline {
  padding: 16px 36px;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* FOOTER */
footer {
  background: var(--ink);
  color: white;
  padding: 80px 60px 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: white; display: block; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 240px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.powered-by {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.powered-by span { color: var(--green); }

/* FADE-IN ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

@media (max-width: 900px) {
  header { padding: 0 24px; }
  nav { display: none; }
  section { padding: 80px 24px; }
  #hero { grid-template-columns: 1fr; padding-top: 120px; gap: 48px; }
  .hero-visual { display: none; }
  #about, #gateway { grid-template-columns: 1fr; gap: 48px; }
  .about-img { display: none; }
  .services-grid, .continuum-grid, .why-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand-arrow { display: none; }
  #trust { flex-wrap: wrap; gap: 32px; padding: 48px 24px; }
  .trust-item::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* PARTNER SYSTEM - INSIDE BRAND CARD */

.brand-card.salmira {
  position: relative;
  overflow: visible;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.partners-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 520px;
  margin: 40px auto 28px;
  overflow: visible;
}

.partners-logo {
  width: 400px;
  height: 400px;
  object-fit: contain;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.08));
}

.partners-logo:hover {
  transform: translate(-50%, -50%) scale(1.2);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.partners-list {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partners-wrapper:hover .partners-list {
  opacity: 1;
}

.partner-name {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--forest);
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease, transform 0.4s ease;
  transform: translate(-50%, -50%);
}

.partner-name:nth-child(1) {
  --tx: -360px;
  --ty: -160px;
}
.partner-name:nth-child(2) {
  --tx: 360px;
  --ty: -160px;
}
.partner-name:nth-child(3) {
  --tx: -400px;
  --ty: 0px;
}
.partner-name:nth-child(4) {
  --tx: 400px;
  --ty: 0px;
}
.partner-name:nth-child(5) {
  --tx: -360px;
  --ty: 160px;
}
.partner-name:nth-child(6) {
  --tx: 360px;
  --ty: 160px;
}

.partners-wrapper:hover .partner-name {
  transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)));
}

.partner-name:hover {
  color: var(--green);
}