/* :root {
  --bg-main: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-light: #94a3b8;
  --border: #334155;
  --nav-bg: rgba(15, 23, 42, 0.9);

  --primary: #009e49;
  --accent-orange: #ff8c00;
} */
/* System preference: dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-light: #94a3b8;
    --border: #334155;
    --nav-bg: rgba(15, 23, 42, 0.9);
    --primary: #009e49;
    --accent-orange: #ff8c00;
  }
}

/* System preference: light mode */
@media (prefers-color-scheme: light) {
  :root {
    --bg-main: #fafafa;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --border: #f1f1f1;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --primary: #009e49;
    --accent-orange: #ff8c00;
  }
}

.logo-img {
  height: 170px; /* Set desired logo height */
  width: auto;
  margin-top: -50px; /* Pull logo up */
  margin-bottom: -50px; /* Pull logo down */
  position: relative;
  z-index: 10; /* Keep logo on top */
}

/* LIGHT MODE OVERRIDES */
body.light-mode {
  --bg-main: #fafafa;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-light: #64748b;
  --border: #f1f1f1;
  --nav-bg: rgba(255, 255, 255, 0.85);
}

/* Explicit dark mode override (optional, if you want a class for dark) */
body.dark-mode {
  --bg-main: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-light: #94a3b8;
  --border: #334155;
  --nav-bg: rgba(15, 23, 42, 0.9);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter Tight", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1140px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  z-index: 1000;
  overflow: visible;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.btn {
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: white !important; /* Ensure text is white on green */
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.banner-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 80px;
  background:
    radial-gradient(
      ellipse 60% 40% at 20% 30%,
      rgba(105, 181, 117, 0.18) 0%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 50% 30% at 80% 20%,
      rgba(34, 71, 128, 0.13) 0%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 40% 30% at 60% 80%,
      rgba(34, 71, 128, 0.1) 0%,
      transparent 100%
    ),
    var(--bg-main); /* Linked to background variable */
}

/* Mesh & Dots for visibility in both modes */
.dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(100, 116, 139, 0.1) 1px,
    transparent 0
  );
  background-size: 40px 40px;
  z-index: -1;
}

.banner-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}
.banner-title em {
  font-family: serif;
  color: var(--accent-orange);
  font-style: italic;
}
.banner-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.banner-cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 20px 48px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
}
.banner-visual-stack {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}
.floating-card {
  background: var(--card-bg);
  color: var(--text-main);
  padding: 15px 25px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
}

/* ANIMATION CLIP... REMAINS SAME */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.float-1 {
  animation: float 4s infinite;
}
.float-2 {
  animation: float 4.5s infinite;
  animation-delay: 0.5s;
}
.float-3 {
  animation: float 5s infinite;
  animation-delay: 1s;
}
.float-4 {
  animation: float 4.2s infinite;
  animation-delay: 1.5s;
}

/* METRICS */
.metrics-section {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  padding: 40px 0;
  text-align: center;
  color: white;
  border-radius: 40px;
  margin: 30px 4px;
}
.metrics-title {
  font-size: 48px;
  margin-bottom: 10px;
}
.metrics-sub {
  opacity: 0.8;
  margin-bottom: 20px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric-item h3 {
  font-size: 72px;
}
.metric-item p {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
}

/* PHILOSOPHY (Layout untouched as per request) */
.stacking-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 100px 0;
  position: relative;
}
.sticky-left {
  position: sticky;
  top: 150px;
  height: fit-content;
}
.side-title {
  white-space: nowrap;
  font-size: 48px;
  margin-bottom: 20px;
}
.side-desc em {
  color: var(--primary);
}
.cards-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 450px;
  margin-left: 65px;
}
.stack-card {
  position: sticky;
  border-radius: 36px;
  min-height: 500px;
  top: 100px;
  padding: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s;
  will-change: transform, top;
}

/* Your L-Borders */
.corner-glow-1 {
  background:
    linear-gradient(90deg, #4bfb2480 0%, #ff7a0680 70%, transparent 100%) top
      left / 85% 40px no-repeat,
    linear-gradient(180deg, #4bfb2480 0%, #ff7a0680 70%, transparent 100%) top
      left / 10px 75% no-repeat;
}
.corner-glow-2 {
  background:
    linear-gradient(90deg, #818cf880 0%, #ee4b4b80 70%, transparent 100%) top
      left / 85% 40px no-repeat,
    linear-gradient(180deg, #818cf880 0%, #ee4b4b80 70%, transparent 100%) top
      left / 10px 75% no-repeat;
}
.corner-glow-3 {
  background:
    linear-gradient(90deg, #24fbdb80 0%, #e7f47280 70%, transparent 100%) top
      left / 85% 40px no-repeat,
    linear-gradient(180deg, #24fbdb80 0%, #e7f47280 70%, transparent 100%) top
      left / 10px 75% no-repeat;
}

.card-content {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 32px;
  padding: 56px;
  height: 100%;
  min-height: calc(400px - 10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.stack-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.stack-card:nth-child(1) {
  top: 100px;
  z-index: 1;
}
.stack-card:nth-child(2) {
  top: 130px;
  z-index: 2;
}
.stack-card:nth-child(3) {
  top: 160px;
  z-index: 3;
}
.card-visual-placeholder {
  background: none;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  transition: transform 0.3s ease;
}

/* SERVICES */
.ecosystem-top-space {
  padding: 100px 0;
}
.modern-h2 {
  font-size: 42px;
  text-align: center;
}
.modern-p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  transition: 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.service-card.active {
  opacity: 1;
  transform: translateY(0);
}
.wide-service {
  grid-column: span 2;
}
.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.module-tags span {
  background: var(--border);
  color: var(--text-main);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* WORK SMARTER */
.powerful-options-section {
  padding: 100px 0;
  background: var(--bg-main);
}
.options-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}
.options-content {
  flex: 1;
}
.options-title {
  font-size: 42px;
  margin-bottom: 40px;
}
.option-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.option-box.active {
  opacity: 1;
  transform: translateY(0);
  border-left: 4px solid var(--accent-orange);
}
.options-sub {
  margin-bottom: 20px;
}
.option-box h4 {
  color: var(--accent-orange);
  margin-bottom: 8px;
}

/* IMAGE STACK */
.options-visual-container {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.stack-img {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.img-main {
  width: 80%;
  z-index: 3;
  top: 10%;
  left: 10%;
}
.img-sub-1 {
  width: 60%;
  z-index: 2;
  top: 40%;
  left: -5%;
  transform: rotate(-2deg);
}
.img-sub-2 {
  width: 60%;
  z-index: 1;
  top: 5%;
  right: -5%;
  transform: rotate(2deg);
}

/* CTA */
.cta-full-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}
.cta-dark-card {
  background: #0a0a0b;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-title {
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.cta-desc {
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 48px;
  font-size: 1.2rem;
}
.btn-primary-large {
  background: #23912e;
  color: white;
  padding: 20px 48px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: 0.3s;
}

.contact-section {
  padding: 100px 0;
  background-color: var(--bg-main);
  text-align: center;
}

.form-card {
  max-width: 700px;
  margin: 50px auto;
  border-radius: 16px;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
/* 

#zf_div_Oz44N0uNOjh3tPXaU-yFtyrLjW7R1pmnwF_tcCz_enc {
  width: 100%;
  display: flex;
  justify-content: center;
}

#zf_div_Oz44N0uNOjh3tPXaU-yFtyrLjW7R1pmnwF_tcCz_enc iframe {
  overflow: hidden !important;
}

#zf_div_cTdmqZjXlFWC3jRyqL2khW--qDZgVPDd4nmu0X-XarI iframe {
  max-width: 100%;
  margin: 0 auto;
  display: block;
} */

/* FOOTER */
footer {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .metrics-grid,
  .options-layout,
  .services-grid,
  .stacking-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
