*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --green-dark: #053b2f;
  --green-bright: #13c38b;
  --green-mid: #0a6f55;
  --bg-light: #f4f6f7;
  --text-main: #0b1220;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Navbar */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(4, 33, 26, 0.96), rgba(4, 33, 26, 0.94));
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}

.logo a {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: #ecfdf5;
}

.logo span {
  color: var(--green-bright);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: #e5f4ef;
  opacity: 0.8;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: var(--green-bright);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: #e5f4ef;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #16a34a22, #020617 65%);
  color: #e5f4ef;
  padding-block: 3.5rem 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 0.98rem;
  max-width: 32rem;
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--green-bright), #22c55e);
  color: #022c22;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.45);
}

.btn.ghost {
  background: transparent;
  color: #e5f4ef;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.6);
}

.btn.secondary {
  background-color: var(--white);
  color: var(--green-dark);
}

.btn.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.btn.full-width {
  width: 100%;
}

/* Hero stats and visual */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  min-width: 160px;
}

.stat-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.stat-card p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top, rgba(45, 212, 191, 0.35), rgba(15, 23, 42, 1));
  border-radius: 24px;
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  max-width: 320px;
}

.hero-ev {
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-ev::before,
.hero-ev::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 3px solid #ecfdf5;
  width: 64px;
  height: 64px;
  bottom: -18px;
}

.hero-ev::before {
  left: 18%;
}

.hero-ev::after {
  right: 18%;
}

.hero-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #dbeafe;
}

/* Sections */

.section {
  padding-block: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(45, 212, 191, 0.7);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.card-list {
  padding-left: 1.1rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-list li + li {
  margin-top: 0.25rem;
}

/* CTA strip */

.cta-strip {
  background: linear-gradient(120deg, var(--green-dark), var(--green-mid));
  color: #ecfdf5;
  padding-block: 2.2rem;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-strip h2 {
  margin: 0 0 0.4rem;
}

.cta-strip p {
  margin: 0;
  font-size: 0.95rem;
}

/* Page hero */

.page-hero {
  padding-block: 3rem 1.5rem;
  background: linear-gradient(to bottom, #022c22, #064e3b);
  color: #e5f4ef;
}

.page-hero h1 {
  margin-bottom: 0.4rem;
}

.page-hero p {
  margin: 0;
  color: #cbd5f5;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 2.4fr);
  gap: 2.3rem;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.contact-tabs {
  display: inline-flex;
  background-color: #e2f3ec;
  border-radius: 999px;
  padding: 0.22rem;
  margin-bottom: 1rem;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
}

.tab-btn.active {
  background-color: var(--white);
  color: var(--green-dark);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.contact-form.hidden {
  display: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.form-row label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.6);
}

/* Footer */

.site-footer {
  background-color: #020617;
  color: #e5f4ef;
  padding-block: 2.4rem 1.3rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 1.8rem;
  align-items: flex-start;
}

.site-footer h3 {
  margin: 0 0 0.4rem;
}

.site-footer h4 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
}

.footer-text {
  margin: 0;
  color: #9ca3af;
  font-size: 0.9rem;
  max-width: 22rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  font-size: 0.87rem;
  color: #cbd5f5;
}

.site-footer li + li {
  margin-top: 0.25rem;
}

.site-footer a {
  color: #e5f4ef;
  opacity: 0.85;
  font-size: 0.87rem;
}

.site-footer a:hover {
  opacity: 1;
}

.footer-contact {
  color: #cbd5f5;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-bottom-links {
  display: flex;
  gap: 0.8rem;
}

/* Utilities */

.alt-bg {
  background-color: #e5f4ef;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid,
  .footer-grid,
  .cta-strip-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding-block: 0.7rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(4, 33, 26, 0.98);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.1rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease-out, opacity 0.16s ease-out;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-block: 2.4rem 2.2rem;
  }

  .hero-stats {
    gap: 0.6rem;
  }

  .hero-card {
    max-width: 100%;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* styles.css – add at the end */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.6rem 1.6rem;
  max-width: 420px;
  width: calc(100% - 2.5rem);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.4);
  text-align: left;
}

.modal-dialog h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.modal-dialog p {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

#modal-close-btn {
  min-width: 120px;
}


.logo-img {
  height: 36px;
  display: block;
}


/* styles.css – keep your existing file and add/adjust these parts */

/* Logo */
.logo-img {
  height: 36px;
  display: block;
}

/* Existing styles remain as before... */

/* Metrics grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.metrics-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.metrics-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.metrics-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

/* Trust logos */
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.trust-logo {
  background-color: #e5f4ef;
  border-radius: 12px;
  padding: 0.9rem 0.7rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px dashed rgba(148, 163, 184, 0.8);
}

/* CTA strip buttons */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn.ghost.light-border {
  border-color: rgba(226, 232, 240, 0.8);
  color: #e5f4ef;
}

.btn.ghost.light-border:hover {
  background: rgba(15, 23, 42, 0.5);
}

/* Modal (already added, keep or add if missing) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.6rem 1.6rem;
  max-width: 420px;
  width: calc(100% - 2.5rem);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.4);
  text-align: left;
}

.modal-dialog h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.modal-dialog p {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

#modal-close-btn {
  min-width: 120px;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .trust-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .metrics-grid,
  .trust-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



/* replace your existing .step-card and .step-badge css with this */

/* Steps – desktop */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem 3rem; /* extra left padding for badge */
}

.step-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--green-bright);
  color: #022c22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Steps – mobile */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);  /* single column */
  }

  .step-card {
    padding: 1.2rem 1.2rem 1.4rem 2.6rem;   /* a bit tighter on small screens */
  }

  .step-badge {
    left: 10px;
  }
}

:root {
  --header-height: 72px;   /* adjust if your header is taller/shorter */
}

/* when jumping to anchors (#about, #services, #how-it-works),
   leave space so the section is not hidden behind the header */
#about,
#services,
#how-it-works,
.page-hero {
  scroll-margin-top: var(--header-height);
}
