/* css/common.css */
:root {
  --bg: #ffffff;
  --text: #16212d;
  --muted: #5f6b78;
  --accent: #0b5f82;
  --accent-soft: #e9f3f7;
  --orange: #f46e3d;
  --radius: 14px;
  --max: 1100px;
}

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

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

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

.header {
  background: #f2f4f6;                  /* light gray */
  border-bottom: 1px solid rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(1.1);
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem .7rem;
}

.nav-links a {
  color: #1e2f3f;    /* slightly darker for contrast on gray */
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  font-weight: 500;
  color: #304354;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  max-width: var(--max);
  margin: 1.5rem auto 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  padding: 0 1rem;
}

.hero + .section {
  margin-top: 3rem;   /* bump as needed (e.g., 3rem) */
}

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

.hero-text p {
  color: var(--muted);
  max-width: 36rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: #fff;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.btn-secondary {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  color: #304354;
}

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #c7dbe7;
  min-height: 280px;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  max-width: var(--max);
  margin: 0 auto 2.8rem;
  padding: 0 1rem;
}

.section-title {
  font-size: 1.9rem;      /* bigger than default 1.5rem */
  color: var(--accent);   /* same as button bg (#0b5f82) */
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.04);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(6,29,48,0.03);
}

/* unified badge used on all sections */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);          /* softer, not button-like */
  color: var(--accent);
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(11,95,130,0.28);
  border-radius: 999px;
  font-size: 0.95rem;                      /* slightly bigger */
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(11, 95, 130, 0.12);
  margin-bottom: 0.75rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.testimonial {
  background: #f2f4f6;               /* light gray band */
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.1rem;
  color: #304354;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(6,29,48,0.03);
}

.testimonial p {
  margin: 0;
  line-height: 1.5;
}

.footer {
  background: var(--accent);
  color: #fff;
  padding: 1.8rem 1rem 2.2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .35rem;
  font-size: 1rem;            /* was smaller */
}

.footer-text {
  margin: .35rem 0;
  font-size: 0.95rem;         /* increased */
  opacity: 0.9;
}

.footer a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.95rem;         /* match text */
}

.how-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 100%;          /* so they all stretch evenly in the grid */
  align-items: center;
}

.how-card img {
  width: 100%;         /* take card content width */
  height: auto;        /* keep proportions */
  display: block;
  margin-bottom: .75rem;
}

.how-card p {
  margin: 0;
}

/* Benefits section */
.benefits-section {
  background: #f2f4f6;              /* light gray background */
  padding-top: 2.8rem;
  padding-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));  /* 3 per row */
  gap: 1.5rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.03);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  min-height: 180px;                /* make them look bigger */
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 10px 30px rgba(6,29,48,0.03);
}

.benefit-card h3 {
  margin: 0 0 .35rem;
  color: var(--accent);             /* same color as button background */
  font-size: 1.05rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.who-section {
  background: #f2f4f6;               /* light gray band */
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

.who-content {
  max-width: var(--max);     /* stretch to your page max width */
  margin: 0 auto;
  padding: 0 1rem;
  background: none;          /* no card look */
  border: 0;
  box-shadow: none;
  line-height: 1.7;
  color: #304354;
}

.who-content p {
  margin-top: 0;
  margin-bottom: .8rem;
}

.hero-beta {
    max-width: var(--max);
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: center;
}
.hero-beta h1 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    margin-bottom: .6rem;
}
.hero-beta p {
    color: var(--muted);
}
.hero-beta-side {
    background: #f2f5f7;
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem 1.3rem;
    font-size: .9rem;
}
.hero-beta-topline {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
}

/* services hero, same vibe as hero-beta */
.hero-services {
  max-width: var(--max);
  margin: 1.5rem auto 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  padding: 0 1rem;
  align-items: center;
}

.hero-services h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: .6rem;
}

.hero-services p {
  color: var(--muted);
  max-width: 36rem;
}

.btn-small {
  padding: .3rem .85rem;
  font-size: .78rem;
  border-radius: 999px;
}

.beta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}
.beta-section-gray {
    background: #f7f8f9;
    padding: 2.5rem 0 2.8rem;
}
.beta-light {
  background: #f4f5f6; /* light gray */
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.beta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.beta-light .card {
  background: #fff;
}

.beta-accent {
  color: var(--accent);
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}
.beta-section-gray {
  background: #f4f5f6;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

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

.beta-grid-steps .card {
  background: #fff;
  height: 100%;
}

section-title.beta-accent {
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.cta-center {
    text-align: center;
    margin-top: 1.2rem;
}
.partner-hero {
  text-align: center;
  max-width: 760px;
  margin: 2.5rem auto 2.8rem;
}

.partner-hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin-bottom: .75rem;
}

.partner-hero .lead {
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
 .badge {
    font-size: 1rem;           /* a bit bigger on mobile */
    padding: 0.6rem 1.2rem;    /* slightly roomier */
    margin-bottom: 1rem;
  }

  /* center it in hero/partner sections on mobile */
  .hero .badge,
  .partner-hero .badge {
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .who-content {
    padding: 1.1rem 1rem;
  }
  .hero-beta {
    grid-template-columns: 1fr;
  }
  .hero-beta-side {
      order: -1;
  }
  .beta-grid-steps {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .navbar {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;              /* stick to right edge of navbar */
    left: auto;            /* don't stretch full width */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    min-width: 180px;      /* decent width for menu */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links.open {
    display: flex;
  }
}
@media (max-width: 500px) {
  .hero-beta-topline {
    flex-wrap: wrap;
  }
}

