/* Boundary Oak Partners - Main Stylesheet */

:root {
  --green: #1B4D3E;
  --green-dark: #0F2E24;
  --green-light: #2E7D5A;
  --charcoal: #1F2A2E;
  --charcoal-light: #2C3A40;
  --off-white: #F8F9F7;
  --white: #FFFFFF;
  --grey: #5A6569;
  --light-grey: #E8ECEA;
  --border: #D1D9D5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--charcoal);
  background-image: url("../images/NewBuildVillage.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

/* ========== HEADER & NAVIGATION ========== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 56px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.3s;
}

/* ========== HERO / PAGE HEADER ========== */
.page-hero {
  background: linear-gradient(135deg, rgba(15, 46, 36, 0.82) 0%, rgba(27, 77, 62, 0.78) 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
  background: rgba(255, 255, 255, 0.94);
}

.section-alt {
  background: rgba(248, 249, 247, 0.96);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

/* ========== ABOUT PAGE ========== */
.intro-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.6rem 1.4rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  box-shadow: 0 4px 16px rgba(27, 77, 62, 0.08);
  border-color: var(--green-light);
}

.why-card .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
  color: var(--green);
}

.why-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.55;
}

/* Promise box */
.promise-box {
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  padding: 2.25rem 2rem;
  margin-top: 3rem;
}

.promise-box h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.promise-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.7rem 1.5rem;
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
}

.promise-list li::before {
  content: "✔";
  color: #A8E6CF;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== PROCESS PAGE ========== */
.process-steps {
  counter-reset: step;
  margin: 2rem 0 3rem;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}

.step-number {
  width: 48px;
  height: 56px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--grey);
  font-size: 0.98rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.4rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.benefit-card h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--grey);
}

.included-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.75rem;
  margin-top: 2.5rem;
}

.included-box h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.included-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.included-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
}

.included-list li::before {
  content: "✔";
  color: var(--green);
  font-weight: 700;
}

/* ========== FAQs ========== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--green);
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 800px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--grey);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-note {
  font-size: 0.9rem;
  color: var(--grey);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--grey);
}

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 0.5rem;
}

.contact-form {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

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

/* ========== FOOTER ========== */
.site-footer {
  background: var(--charcoal);
  color: #B0B8BC;
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #B0B8BC;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1140px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #3A454A;
  font-size: 0.85rem;
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step {
    grid-template-columns: 44px 1fr;
  }

  .step-number {
    width: 40px;
    height: 56px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.7rem 1rem;
  }

  .logo-link img {
    height: 42px;
  }

  .section {
    padding: 2.5rem 0;
  }
}

/* Larger brand logo in hero */
.hero-logo {
  margin: 0 auto 1.5rem;
  max-width: 220px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1); /* makes logo white on dark green hero */
}

/* Decorative floating leaf */
.floating-leaf {
  position: absolute;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Intro section with logo on the left */
.intro-with-logo {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.intro-logo img {
  width: 100%;
  height: auto;
  max-width: 200px;
}

.intro-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

@media (max-width: 700px) {
  .intro-with-logo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .intro-logo {
    display: flex;
    justify-content: center;
  }
  .intro-logo img {
    max-width: 160px;
  }
}



/* Home page: logo on left, text aligned with other pages */
.intro-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.75rem;
  align-items: start;
}

.intro-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.intro-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }
  .intro-logo {
    display: flex;
    justify-content: center;
  }
  .intro-logo img {
    max-width: 150px;
  }
}
