/* --- BASE COLORS & TYPOGRAPHY --- */
html, body {
  background: #fff;
  color: #222;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 17px;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  color: #2e7d32;
  margin-top: 0;
  font-family: inherit;
}
a {
  color: #2e7d32;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

/* --- LOGO & BRAND --- */
.brand-header { display: none; }
.navbar .logo-area {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.navbar .logo-area img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: hwb(130 76% 13%);
  box-shadow: 0 2px 8px rgba(46,125,50,0.07);
}
.navbar .logo-area span {
  font-size: 1.3rem;
  font-weight: 700;
  color: hwb(130 76% 13%);
  letter-spacing: 1px;
}

/* --- NAVBAR --- */
header {
  min-height: 80px;
  height: 80px;
  padding: 0.5rem 0;
  box-sizing: border-box;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s linear, background 0.2s linear;
  position: sticky;
  top: 0;
  z-index: 10;
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff !important;
  justify-content: flex-end;
  padding: 0 2rem;
  position: relative;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2e7d32;
  cursor: pointer;
  margin-left: 1rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  background: #fff !important;
}
.nav-links li a {
  color: #2e7d32;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.nav-links li a.active,
.nav-links li a:hover {
  background: #e8f5e9;
  color: #1b5e20;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(46,125,50,0.07);
}
/* Partner With Us nav button */
.nav-links li a.partner-btn {
  background: #2e7d32;
  color: #fff !important;
  border-radius: 20px;
  padding: 0.5rem 1.3rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(46,125,50,0.07);
  border: 2px solid #2e7d32;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.nav-links li a.partner-btn:hover,
.nav-links li a.partner-btn.active {
  background: #1b5e20;
  border-color: #1b5e20;
  color: #fff !important;
}

/* Hamburger menu responsive */
@media (max-width: 900px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff !important;
    width: 100%;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .navbar {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    text-align: left;
    white-space: normal;
  }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('assets/hero/hero-ecocapture-new.png') 20% center/cover no-repeat;
  opacity: 0.7;
  z-index: 0;
  filter: brightness(0.7);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 2rem;
  background: rgba(46,125,50,0.15);
  border-radius: 18px;
}
.hero-content h1 {
  color: #fff;
}
.hero-content p {
  color: #e0f2f1;
}
.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.cta-btn {
  background: #2e7d32;
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 12px rgba(46,125,50,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
}
.cta-btn.secondary {
  background: #fff;
  color: #2e7d32;
  border: 2px solid #2e7d32;
}
.cta-btn:hover, .cta-btn.secondary:hover {
  background: #1b5e20;
  color: #fff;
  border-color: #1b5e20;
}

/* --- VALUE PROP IMAGES --- */
.value-prop {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}
.value-col {
  flex: 1;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(46,125,50,0.07);
  padding: 1.5rem 1rem 1rem 1rem;
  margin: 0 0.5rem;
  color: #222;
}
.value-col img {
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.value-col h3 {
  color: #2e7d32;
}

/* --- PROJECT GALLERY --- */
.project-gallery {
  margin: 3rem auto;
  max-width: 1100px;
}
.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.project-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(46,125,50,0.07);
  padding: 1.5rem 1rem 1rem 1rem;
  width: 240px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  color: #222;
}
.project-card img {
  width: 100%;
  max-width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.project-card h3 {
  color: #388e3c;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
}

/* --- IMPACT --- */
.impact-infographic {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  text-align: center;
}
.impact-infographic > div {
  flex: 1;
  min-width: 180px;
  background: #f6f9f7;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 6px rgba(46,125,50,0.05);
  color: #222;
}
.impact-infographic img {
  width: 100%;
  max-width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.impact-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 3rem 0;
  text-align: center;
}
.stat {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(46,125,50,0.07);
  padding: 1.5rem 2rem;
  min-width: 180px;
  color: #222;
}
.counter {
  font-size: 2.5rem;
  color: #2e7d32;
  font-weight: 700;
  display: block;
}

/* --- TEAM --- */
.team {
  margin: 3rem auto;
  max-width: 1100px;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.team-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(46,125,50,0.07);
  padding: 1.5rem 1rem 1rem 1rem;
  width: 220px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  color: #222;
}
.team-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.team-card h4 {
  color: #388e3c;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
}
.team-advisors {
  margin-top: 2.5rem;
}
.team-advisors-title {
  text-align: center;
  color: #2e7d32;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* --- PARTNERS --- */
.partners {
  margin: 3rem auto;
  max-width: 1100px;
}
.partner-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.partner-logos img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(46,125,50,0.07);
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.partner-logos img:hover {
  transform: scale(1.08);
}

/* --- ABOUT --- */
.about {
  max-width: 900px;
  margin: 40px auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(46,125,50,0.07);
  color: #222;
}
.vision-mission {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}
.vision-mission > div {
  flex: 1;
  background: #f6f9f7;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 6px rgba(46,125,50,0.05);
  text-align: center;
  color: #222;
}

/* --- NEWS --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.news-item {
  background: #f6f9f7;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 6px rgba(46,125,50,0.05);
  position: relative;
  color: #222;
}
.news-item h3 {
  color: #2e7d32;
  margin-bottom: 0.5rem;
}
.news-date {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #2e7d32;
  color: #fff;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- CONTACT --- */
.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #222;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.contact-info-block {
  background: #f6f9f7;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 6px rgba(46,125,50,0.05);
  min-width: 220px;
  max-width: 320px;
  color: #222;
}
.contact-social {
  text-align: center;
  margin-top: 2rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2e7d32;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.social-link img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-top: 1rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(46,125,50,0.07);
}

/* --- CAREERS --- */
.careers-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}
.career-card {
  background: #f6f9f7;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 6px rgba(46,125,50,0.05);
  text-align: left;
  position: relative;
  color: #222;
}
.career-card h3 {
  margin-bottom: 0.5rem;
  color: #2e7d32;
}
.career-card .badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #2e7d32;
  color: #fff;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.career-card ul {
  margin: 0 0 0 1.2rem;
  padding: 0;
  font-size: 1rem;
}

/* --- PARTNER WITH US --- */
.partner-with-us {
  background: #e8f5e9 !important;      /* Soft green background */
  color: #181918 !important;           /* Deep green text */
  border: 2px solid #1b1c1b !important;/* Light green border */
  box-shadow: 0 2px 12px rgba(23, 24, 23, 0.07) !important;
  border-radius: 16px !important;
  padding: 2rem 1.5rem !important;
  max-width: 700px;
  margin: 3rem auto;
  display: block !important;
  visibility: visible !important;
}
.partner-with-us h3,
.partner-with-us h2 {
  color: #2e7d32 !important;           /* Brighter green for headings */
}
.partner-with-us ul {
  margin: 1rem 0 2rem 2rem;
  padding: 0;
  font-size: 1rem;
  color: #2e7d32 !important;           /* Slightly darker for contrast */
}
.partner-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
}
.partner-qr img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(47, 136, 51, 0.07);
  margin-bottom: 0.5rem;
}
.partner-qr span {
  color: #171817;
  font-weight: 600;
  font-size: 1.1rem;
}

/* --- FORMS --- */
.contact-form, .career-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto 0 auto;
  max-width: 400px;
  color: #222;
}
.contact-form input,
.contact-form textarea,
.career-form input,
.career-form textarea {
  padding: 0.7rem 1rem;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  color: #222;
  background: #fff;
}
.contact-form button,
.career-form button {
  margin-top: 0.5rem;
}

/* --- FOOTER --- */
footer {
  background: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 24px 0 12px 0;
  margin-top: 40px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.footer-links {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #fff;
  margin: 0 0.5rem;
}
.sustainability {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #b2dfdb;
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
section {
  opacity: 1 !important;
  transform: none !important;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .navbar .logo-area img { width: 38px; height: 38px; }
  .navbar .logo-area span { font-size: 1.05rem; }
  .value-col, .stat, .solution-card, .impact-infographic > div, .team-card, .project-card {
    max-width: 95vw;
  }
}
@media (max-width: 700px) {
  .centered-title { font-size: 1.3rem; }
  .project-card { width: 95vw; }
  .contact-details { flex-direction: column; align-items: center; }
}

/* --- CONTACT INFO SQUARE --- */
.contact-info-square {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  max-width: 370px;
  width: 100%;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  box-sizing: border-box;
  background: #f1f8e9;
  border: 1.5px solid #c8e6c9;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(46,125,50,0.04);
  margin-top: 2.5rem;
  color: #234d20;
  font-size: 1.05rem;
  word-break: break-word;
}
.contact-info-square h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #2e7d32;
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-email-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
.contact-email-row span {
  font-size: 1.05rem;
  word-break: break-all;
}

/* --- LOGO BAR FADE OUT --- */
.brand-banner-horizontal {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  padding: 1.2rem 0 0.5rem 0 !important;
  background: hwb(135 94% 5%) !important;
  transition: opacity 0.5s, height 0.5s, padding 0.5s !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: hidden !important;
  z-index: 1000 !important;
}
.brand-banner-horizontal img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(46,125,50,0.10);
}
.brand-banner-horizontal span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b5e20;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(46,125,50,0.08);
}
.brand-banner-horizontal.hide {
  opacity: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* --- NEWS & CAREERS PAGE FIXES --- */
.news, .careers {
  margin-top: 110px !important; /* adjust if your header is taller/shorter */
}
.news, .careers, .news * , .careers * {
  color: #161716;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
}
.news h2, .careers h2, .news h3, .careers h3, .news h4, .careers h4 {
  color: #134923 !important;
  font-weight: 800;
} 
/* Center section titles for team and partners */
.team h2,
.partners h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
/* Center section titles for initiatives, team, and partners */
.project-gallery h2,
.team h2,
.partners h2,
.centered-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
/* --- Responsive grid: 2 columns on mobile, last card centered if odd --- */
@media (max-width: 700px) {
  .value-prop,
  .project-grid,
  .team-grid,
  .impact-infographic,
  .impact-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem !important;
    justify-items: center;
    align-items: stretch;
    padding-bottom: 1rem;
  }
  /* If only one card, make it full width */
  .value-prop:has(.value-col:only-child),
  .project-grid:has(.project-card:only-child),
  .team-grid:has(.team-card:only-child),
  .impact-infographic:has(div:only-child),
  .impact-stats:has(.stat:only-child) {
    grid-template-columns: 1fr;
  }
  /* Center last card if odd number of cards */
  .value-prop > :last-child:nth-child(odd),
  .project-grid > :last-child:nth-child(odd),
  .team-grid > :last-child:nth-child(odd),
  .impact-infographic > :last-child:nth-child(odd),
  .impact-stats > :last-child:nth-child(odd) {
    grid-column: 1 / span 2;
    justify-self: center;
  }
  /* Card sizing for grid */
  .value-col,
  .project-card,
  .team-card,
  .impact-infographic > div,
  .stat {
    width: 100%;
    max-width: 98vw !important;
    min-width: 0 !important;
    margin: 0;
    box-sizing: border-box;
  }
  /* Images inside cards */
  .value-col img,
  .project-card img,
  .team-card img,
  .impact-infographic img {
    width: 100% !important;
    max-width: 120px !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: 10px;
    margin: 0 auto 1rem auto;
    display: block;
  }
  .impact-infographic img {
    max-width: 100px !important;
    height: 70px !important;
  }
}
@media (max-width: 700px) {
  /* Partners: horizontal scroll for logos only */
  .partner-logos {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 1.2rem !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  .partner-logos img {
    min-width: 120px !important;
    max-width: 140px !important;
    height: 80px !important;
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    margin: 0;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(46,125,50,0.07);
    padding: 10px;
  }
}
@media (max-width: 700px) {
  .news-item {
    position: relative;
    padding-top: 2.2rem;
    /* Ensure enough space for the date badge */
  }
  .news-date {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    left: unset;
    font-size: 0.95rem;
    padding: 0.15rem 0.7rem;
    margin: 0;
    z-index: 2;
    border-radius: 12px;
    background: #2e7d32;
    color: #fff;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(46,125,50,0.10);
    /* Prevent overlap with content */
    pointer-events: none;
  }
  .news-item h3 {
    margin-top: 0.5rem;
  }
}
@media (max-width: 700px) {
  /* CONTACT DETAILS: Stack vertically, full width, spacing */
  .contact-details {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
    padding: 0 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .contact-info-block, .contact-info-square {
    max-width: 98vw !important;
    margin: 0 auto 1rem auto !important;
    padding: 1rem 0.9rem !important;
    box-sizing: border-box;
  }

  /* CONTACT FORM: Add padding, rounded, shadow, spacing from edges */
  .contact-form, .career-form {
    max-width: 98vw !important;
    padding: 1.2rem 1rem !important;
    margin: 1.2rem auto 0 auto !important;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(46,125,50,0.07);
  }
  .contact-form input,
  .contact-form textarea,
  .career-form input,
  .career-form textarea {
    font-size: 1rem !important;
    padding: 0.7rem 0.8rem !important;
    border-radius: 8px !important;
  }
  .contact-form button,
  .career-form button {
    width: auto !important;
    min-width: 110px;
    max-width: 90vw;
    font-size: 1rem !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 30px !important;
    margin: 0.5rem auto 0.5rem auto !important;
    display: inline-block !important;
    box-sizing: border-box;
  }
}
@media (max-width: 700px) {
  header {
    min-height: 48px !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.4rem !important;
    width: 100vw !important;
    min-width: 0 !important;
    position: relative;
  }
  .navbar .logo-area {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.12rem !important;
    padding: 0.12rem 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .navbar .logo-area img {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    border-radius: 5px !important;
  }
  .navbar .logo-area span {
    font-size: 0.82rem !important;
    margin-left: 0.07rem !important;
    color: #2e7d32 !important;
    letter-spacing: 0.7px;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }
  .nav-toggle {
    display: block !important;
    position: static !important;
    margin-left: auto !important;
    font-size: 1.7rem !important;
    z-index: 101 !important;
    background: none !important;
    border: none !important;
    color: #2e7d32 !important;
    cursor: pointer !important;
    align-self: center !important;
    height: 40px !important;
    width: 40px !important;
    padding: 0 !important;
  }
  .nav-links {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: none;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 100 !important;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    width: 100%;
    padding: 1rem 1.2rem !important;
    font-size: 1.08rem !important;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    word-break: break-word;
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.2rem !important;
    width: 100vw !important;
    min-width: 0 !important;
    position: relative;
    height: 44px !important;
  }
  .navbar .logo-area {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.06rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 60vw !important;
  }
  .navbar .logo-area img {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
  }
  .navbar .logo-area span {
    font-size: 0.68rem !important;
    margin-left: 0.05rem !important;
    color: #2e7d32 !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
  }
  .nav-toggle {
    display: block !important;
    position: static !important;
    margin-left: auto !important;
    font-size: 1.4rem !important;
    z-index: 101 !important;
    background: none !important;
    border: none !important;
    color: #2e7d32 !important;
    cursor: pointer !important;
    align-self: center !important;
    height: 36px !important;
    width: 36px !important;
    padding: 0 !important;
  }
}
/* --- FIX MOBILE NAVBAR TREMOR ON SCROLL AND MENU OPEN --- */
@media (max-width: 700px) {
  header {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.2rem !important;
    width: 100vw !important;
    min-width: 0 !important;
    position: relative;
    height: 44px !important;
    background: #fff !important;
  }
  .navbar .logo-area {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.06rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 60vw !important;
  }
  .navbar .logo-area img {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
  }
  .navbar .logo-area span {
    font-size: 0.68rem !important;
    margin-left: 0.05rem !important;
    color: #2e7d32 !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
  }
  .nav-toggle {
    display: block !important;
    position: static !important;
    margin-left: auto !important;
    font-size: 1.4rem !important;
    z-index: 101 !important;
    background: none !important;
    border: none !important;
    color: #2e7d32 !important;
    cursor: pointer !important;
    align-self: center !important;
    height: 36px !important;
    width: 36px !important;
    padding: 0 !important;
  }
  .nav-links {
    position: fixed !important;
    top: 44px !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: none;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 200 !important;
    border-top: 1px solid #e0e0e0;
    /* Prevents layout shift/tremble */
    transition: none !important;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    width: 100%;
    padding: 1rem 1.2rem !important;
    font-size: 1.08rem !important;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    word-break: break-word;
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
}
/* --- CONTACT PAGE PROFESSIONAL ALIGNMENT --- */
.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #222;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.contact-info-block,
.contact-info-square {
  background: #f6f9f7;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 6px rgba(46,125,50,0.05);
  min-width: 220px;
  max-width: 320px;
  color: #222;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.contact-social {
  text-align: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .contact-details {
    gap: 1.2rem;
    max-width: 98vw;
  }
  .contact-info-block,
  .contact-info-square {
    max-width: 98vw;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .contact-intro,
  .contact-social {
    max-width: 98vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .contact-details {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0 0.5rem !important;
    margin-bottom: 1.5rem !important;
    max-width: 98vw !important;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-info-block,
  .contact-info-square {
    max-width: 98vw !important;
    min-width: 0 !important;
    margin: 0 auto 1rem auto !important;
    padding: 1rem 0.9rem !important;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 700px) {
  .nav-links {
    /* Make the mobile menu background semi-transparent */
    background: rgba(255,255,255,0.6) !important;
    backdrop-filter: blur(1px);
  }
}
@media (max-width: 700px) {
  .navbar {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.2rem !important;
    width: 100vw !important;
    min-width: 0 !important;
    height: 44px !important;
    background: #fff !important;
  }
  .navbar .logo-area {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.06rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 60vw !important;
  }
  .navbar .logo-area img {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
  }
  .navbar .logo-area span {
    font-size: 0.68rem !important;
    margin-left: 0.05rem !important;
    color: #2e7d32 !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
  }
  .nav-toggle {
    display: block !important;
    position: absolute !important;
    top: 0;
    right: 0.1rem;
    margin: 0 !important;
    font-size: 1.4rem !important;
    z-index: 101 !important;
    background: none !important;
    border: none !important;
    color: #2e7d32 !important;
    cursor: pointer !important;
    align-self: center !important;
    height: 44px !important;
    width: 44px !important;
    padding: 0 !important;
  }
}
@media (max-width: 700px) {
  .nav-links {
    position: fixed !important;
    top: 44px !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 44px) !important;
    background: rgba(255,255,255,0.6) !important;
    backdrop-filter: blur(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: none;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 200 !important;
    border-top: 1px solid #e0e0e0;
    overflow-y: auto !important;
  }
  .nav-links.open {
    display: flex !important;
  }
}

