/* ==============================
   COLOR VARIABLES
============================== */

:root {
  --ink: #17332f;
  --muted: #536663;
  --green: #0f6b63;
  --green-dark: #094b45;
  --gold: #c4932f;
  --cream: #f7f5ef;
  --white: #ffffff;
  --line: #dfe7e4;
  --shadow: 0 16px 40px rgba(16, 57, 52, 0.12);
}


/* ==============================
   GLOBAL RESET
============================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.technology-page {
    background-color: #dfe8e3;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}
.technology-page .hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(247,245,239,0.92) 0%,
            rgba(247,245,239,0.82) 35%,
            rgba(247,245,239,0.35) 60%,
            rgba(247,245,239,0.05) 100%
        );
}

.technology-page .hero h1 {
    font-size: clamp(2.5rem, 3.5vw, 4rem);
    line-height: 1.05;
}

.technology-page .hero-content {
    top: 70px;
}

/* ==============================
   SHARED CONTENT WIDTHS
============================== */

.content-wrap {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}
.tech-card {
    background: #fcfaf7;
    padding: 30px;
    margin-bottom: 35px;
    border-radius: 12px;
    border: 1px solid #e6ddd2;
    box-shadow: 0 4px 10px rgba(16, 57, 52, 0.08);
}

.narrow {
  max-width: 820px;
}


/* ==============================
   HEADER
============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.navbar {
  width: min(1200px, 92%);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}


/* Company wording */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 0;
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.brand-tagline {
  display: block;
  width: 100%;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}


/* Desktop navigation */

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a:hover {
  color: var(--green);
}


/* Logo after Contact */

.header-logo {
  display: block;
  width: 62px;
  height: 56px;
  margin-left: 4px;
  object-fit: contain;
  flex-shrink: 0;
}


/* Mobile header elements */

.mobile-header-logo {
  display: none;
}

.mobile-menu-icon {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}


/* ==============================
   HERO
============================== */

.hero {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-intro {
    background: #f8f1e8;
    padding: 8px 0 6px;
}

.hero-intro-label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9a5826;
}

.hero-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(247, 245, 239, 0.80) 0%,
            rgba(247, 245, 239, 0.65) 30%,
            rgba(247, 245, 239, 0.20) 55%,
            rgba(247, 245, 239, 0.00) 100%
        );
}

.hero-content {
    position: absolute;
    top: 110px;
    left: 140px;
    z-index: 2;
    max-width: 340px;
}

.eyebrow {
    color: #9a5826;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.hero h1 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #0f3342;
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 2.6vw, 2.8rem);
    line-height: 1.1;
}

.hero-copy {
    color: #0f3342;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 420px;
    margin-top: 20px;

    position: static;
    top: 140px;

    background: rgba(255,255,255,0.92);
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #c4932f;
}

/* ==============================
   COMMUNITIES PAGE FINAL STYLES
============================== */

.community-page .hero {
    position: relative;
    height: 520px;
    min-height: 0;
    overflow: hidden;
}

.community-page .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.community-page .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(247, 245, 239, 0.88) 0%,
        rgba(247, 245, 239, 0.68) 32%,
        rgba(247, 245, 239, 0.18) 62%,
        rgba(247, 245, 239, 0) 100%
    );
}

.community-page .hero-content {
    position: absolute;
    top: 38px;
    left: max(7%, 70px);
    width: 520px;
    max-width: 46%;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.community-page .hero h1 {
    margin: 12px 0 0;
    font-size: clamp(2.15rem, 3.2vw, 3.35rem);
    line-height: 1.05;
}

.community-page .hero-copy {
    position: static;
    width: 440px;
    max-width: 100%;
    margin: 18px 0 0;
    padding: 14px 18px;

    color: #0f3342;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid #c4932f;
    border-radius: 10px;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.community-page .section {
    padding: 58px 0;
}

.community-page .section-services {
    padding-top: 58px;
}

.community-page .content-wrap.narrow,
.community-page .container.narrow {
    width: min(920px, 88%);
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.community-page .section h2 {
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.08;
}

.community-page .section p {
    line-height: 1.75;
}

.community-page .section-communities {
    padding: 64px 0;
}

.community-page .cta {
    padding: 72px 0;
}

/* Communities tablet and mobile */
@media (max-width: 900px) {
    .community-page .hero {
        height: 620px;
    }

    .community-page .hero-image {
        object-position: 60% center;
    }

    .community-page .hero-content {
        top: 55px;
        left: 5%;
        width: 90%;
        max-width: 520px;
    }

    .community-page .hero-copy {
        max-width: 430px;
    }
}

@media (max-width: 520px) {
    .community-page .hero {
        height: 640px;
    }

    .community-page .hero-content {
        top: 40px;
        left: 6%;
        width: 88%;
    }

    .community-page .hero h1 {
        font-size: 2.15rem;
    }

    .community-page .hero-copy {
        font-size: 1rem;
        line-height: 1.5;
    }

    .community-page .section {
        padding: 44px 0;
    }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}



/* ==============================
   BUTTONS
============================== */

.button {
  display: inline-block;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}
.button {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    transition: 0.2s ease;
}

.button-primary {
    background: #0f6b63;
    color: #ffffff;
}

.button-primary:hover {
    background: #094b45;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
    display: inline-block;
    background: #0f6a63;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.button-primary:hover {
    background: #0c564f;
}

.button-secondary {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.72);
  border-color: var(--green);
}

.button-secondary:hover {
  color: var(--white);
  background-color: var(--green);
}

.dark-outline {
  background-color: transparent;
}

.button-light {
  color: var(--green-dark);
  background-color: var(--white);
}


/* ==============================
   MAIN SECTIONS
============================== */

.section {
    padding: 70px 0;
}

.section-approach {
    margin-top: -30px;
}

.section-approach {
    padding-top: 70px;
}

.section-image {
    width: 90%;
    max-width: 1000%;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 57, 52, 0.12);
}

.section-communities h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.section h2,
.cta h2 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro {
  text-align: center;
}


/* ==============================
   SERVICES
============================== */
.services-title {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
}

.services-title span {
    display: block;
}

.services-intro {
    max-width: 700px;
    margin: 25px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-services {
    background: #f7f5ef;
    padding-top: 35px;
}

.section-approach {
    background: #ffffff;
}

.section-communities {
    background: #e3ece8;
}

.cta {
    background: #0f6b63;
    color: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.service-card {
  padding: 28px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(16, 57, 52, 0.06);
}

.service-card h3 {
  margin-top: 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 0;
}

.centered-action {
  margin-top: 34px;
  text-align: center;
}

.services-list {
    width: fit-content;
    margin: 30px auto;
    text-align: left;
}

.services-list li {
    margin-bottom: 12px;
}

.knowledge-list {
    text-align: center;
}

.services-hero .hero-content {
    position: absolute;
    top: 90px;
    left: 45px;
    z-index: 2;
    max-width: 520px;
}

.services-hero .hero-copy {
    position: relative;
    top: 80px;
    left: 60px;

    max-width: 360px;

    background: rgba(255,255,255,0.92);
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #c4932f;
}

.services-hero h1 {
    font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.knowledge-list p {
    color: #0f5751;
    font-weight: 600;
    margin: 12px 0;
}


/* ==============================
   APPROACH
============================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}


/* ==============================
   COMMUNITIES AND INITIATIVE
============================== */

.section-communities {
  background-color: #edf5f2;
  text-align: center;
}

.section-initiative {
  text-align: center;
}

.community-page {
    background-color: #eef4f1;
}

.community-section-alt {
    background-color: #f7f5ef;
}

/* ==============================
   ABOUT PAGE
============================== */

.about-page {
    background-color: #eef4f1;
}

.about-page .section-services {
    background-color: #f7f5ef;
    padding: 60px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.about-page .section-communities {
    background-color: #e7efeb;
    padding: 60px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.about-page .hero {
    height: 400px;
}

.about-page .cta h2 {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
}

/* ==============================
   CALL TO ACTION
============================== */

.cta {
  padding: 82px 0;
  color: var(--white);
  background-color: var(--green-dark);
  text-align: center;
}

.cta p {
  color: #d9ebe7;
}


/* ==============================
   FOOTER
============================== */

.site-footer {
  padding: 36px 0;
  color: #dce9e6;
  background-color: #102622;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}


/* ==============================
   TABLET AND MOBILE
============================== */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .mobile-header-logo {
    display: block;
    width: 44px;
    height: 44px;
    margin-left: auto;
    object-fit: contain;
  }

  .mobile-menu-icon {
    display: block;
    margin-left: 2px;
  }

  .mobile-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 5%;
    background-color: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 610px;
    align-items: end;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% center;
}

  .hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(247,245,239,0.95) 0%,
            rgba(247,245,239,0.85) 30%,
            rgba(247,245,239,0.45) 60%,
            rgba(247,245,239,0.05) 100%
        );
}

  .hero-content {
    position: relative;
    z-index: 2;
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: 40px 0 90px;
    padding-left: 80px;
    max-width: 600px;
}

  .service-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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


/* ==============================
   SMALL PHONES
============================== */

@media (max-width: 520px) {

  .navbar {
    min-height: 72px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    display: none;
  }

  .mobile-header-logo {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    top: 72px;
  }

  .hero h1 {
    font-size: clamp(2rem, 4vw, 4rem);
  }

  .hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 90%);
  margin: 0 auto;
  padding: 15px 0 90px;
  padding-left: 25px;
}

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    text-align: center;
  }

  .section {
    padding: 45px 0;
}