:root {
  --green: #5bb54c;
  --leaf: #0f8a4a;
  --teal: #0091a0;
  --deep-teal: #006b7c;
  --orange: #d3651b;
  --navy: #032b3a;
  --gray-100: #f5f8f9;
  --gray-200: #e1e8eb;
  --gray-600: #5a6872;
  --gray-800: #2b3a42;
  --radius: 1.1rem;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-800);
  background-color: #fff;
  line-height: 1.6;
}

.brand img {
  height: 60px;
  width: auto;
  display: block;
  margin-block: 0.05rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  width: 70%;
  margin: 0 auto;
  background: radial-gradient(circle at top left, rgba(91, 181, 76, 0.14), transparent 45%) #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Subtle shadow for depth */
}

.brand {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
}

.hero {
  padding: 0 clamp(1.5rem, 5vw, 5rem) 0 0;
  background: url('assets/hero.png') no-repeat top center;
  background-size: 100% auto;
  /* Aspect ratio constraint to ensure image fits (approx 1056/4032 = 0.26) */
  /* min-height: 27vw; Removed to tighten spacing */
  /* background: linear-gradient(135deg, rgba(0, 145, 160, 0.1), rgba(3, 43, 58, 0.05)); */
  /* Fallback for debug */
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  position: relative;
  /* Add overlay to ensure text readability */
}

/*
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.2) 100%);
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  z-index: 0;
}
*/

.hero-content {
  margin-top: 0;
  /* Align to top */
  position: relative;
  z-index: 1;
  max-width: 40%;
  /* Restrict width to ~1/3rd */
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  padding: 2.5rem;
  border-radius: 0;
  backdrop-filter: blur(8px);
  /* Limit width to keep text on the left */
}



.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--navy);
  margin-top: 0.4rem;
}

h1 {
  font-size: clamp(1.9rem, 4.8vw, 2.8rem);
  /* Reduced by ~20% */
}

.lead {
  font-size: 1.1rem;
  color: var(--gray-600);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.button {
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 145, 160, 0.2);
}

.button.primary:hover {
  transform: translateY(-1px);
}

.button.ghost {
  border-color: var(--teal);
  color: var(--teal);
}

.button.subtle {
  border: 1px solid rgba(3, 43, 58, 0.2);
  padding: 0.65rem 1.2rem;
}

.proof-points {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--gray-600);
}

.stat {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
}

/* Remove .hero-image styles as it's now background */

.hero-details {
  background: white;
  padding: 0 0 3rem 0;
  /* Add padding to separating from hero image */
}

/* Ensure the page shell inside hero-details centers content */
.hero-details .page-shell {
  min-height: auto;
  /* Override default min-height */
  background: transparent;
  /* Use transparent bg here */
  width: 70%;
  margin: 0 auto;
}

.hero-details .lead {
  max-width: 800px;
  /* Allow wide text run */
  font-size: 1.25rem;
  margin-bottom: 0;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
}

/* Sectors Section */
.sectors-section {
  margin-top: 4rem;
}

.section-lead {
  max-width: 900px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--gray-600);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sector-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3, 43, 58, 0.05);
  transition: transform 0.2s ease;
}

.sector-card:hover {
  transform: translateY(-5px);
}

.sector-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sector-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.sector-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Why Us Section */
.why-us {
  background: #fdfdfd;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.comparison-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #e1e8eb;
}

.comparison-card.highlight {
  border-top: 4px solid var(--orange);
  background: #fff;
  position: relative;
}

.comparison-card h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.comparison-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* Founder Section */
.founder-section {
  margin-top: 5rem;
}

.founder-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-top: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.founder-details h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.founder-stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
  row-gap: 0.5rem;
}

.founder-stats li {
  display: contents;
  font-size: 1rem;
  color: var(--gray-800);
}

.founder-stats strong {
  color: var(--deep-teal);
  font-weight: 700;
}

/* Philosophy Section */
.philosophy {
  background: #fff;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.philosophy-card {
  background: var(--gray-100);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  background: #fff;
  border-color: rgba(0, 145, 160, 0.3);
  box-shadow: 0 15px 40px rgba(3, 43, 58, 0.1);
  transform: translateY(-5px);
}

.philosophy-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.philosophy-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.philosophy-quote {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--teal);
  font-style: italic;
  color: var(--deep-teal);
  background: rgba(0, 145, 160, 0.05);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 900px) {

  .sectors-grid,
  .comparison-grid,
  .founder-profile,
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.section-header {
  max-width: 900px;
  /* Increased to allow longer headlines without wrapping */
}

.cards-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid transparent;
  box-shadow: 0 10px 25px rgba(3, 43, 58, 0.04);
  transition: border 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(0, 145, 160, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(3, 43, 58, 0.15);
}

.card ul {
  padding-left: 1.2rem;
  color: var(--gray-600);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91, 181, 76, 0.2), rgba(0, 145, 160, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--deep-teal);
}

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-shell {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



.contact {
  background: var(--navy);
  color: #f5fbff;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 0.6rem;
  border: none;
  font-family: inherit;
}

.contact-form button {
  justify-self: flex-start;
}

.contact-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-meta p {
  margin: 0.2rem 0;
}

.footer {
  padding: 1.5rem clamp(1.5rem, 5vw, 5rem) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.footer a {
  color: var(--teal);
}

.proof-points {
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
  flex-direction: row;
  align-items: flex-start;
}

.proof-points>div {
  flex: 0 1 auto;
  /* Allow sizing based on content, keeping them compactly side-by-side */
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center;
  }

  .brand img {
    height: 50px;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-group .button {
    text-align: center;
  }

  .proof-points {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero {
    padding-bottom: 2rem;
    /* Ensure content isn't flush with edge since we removed padding for desktop */
    padding-left: 1rem;
    padding-right: 1rem;
    /* Adjust background for mobile */
    background-size: cover;
    background-position: center top;
  }

  .hero-content {
    max-width: 100%;
    padding: 1.5rem;
  }

  .hero-details {
    padding-top: 2rem;
  }
}