:root {
    --bg-color: #fff;
    --text-color: #333;
    --primary: #157e46;
    --header-bg: #f4f4f4;
    --nav-height: 60px;
    --accent-bg: #f5f8ef;
    --accent-bg-alt: #f4f4f4;
    --photo-bg: #e0e0e0;
    --dark-bg: #121212;
    --dark-text: #e0e0e0;
    --dark-header: #1e1e1e;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
h1, h2, h3 {
    margin-bottom: 0.5rem;
}
h1 {
    color: #0b4123;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
p {
    margin-bottom: 1.5rem;
}

/* Layout Containers */
main {
    padding: 1rem;
    padding-top: var(--nav-height);
}
section {
    max-width: 65%;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}
@media (max-width: 900px) {
    section {
        max-width: 100%;
        padding: 1rem;
    }
}

/* Navbar */
header {
    width: 100%;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    padding: 0 1rem;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-inner {
  max-width: 65%;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 900px) {
  .navbar-inner {
    max-width: 100%;
    padding: 0 1rem;
  }
}

.nav-menu {
    list-style: none;
    display: none;
}
.nav-menu li {
    margin: 0 0.5rem;
}
.nav-menu a {
    color: var(--text-color);
}
.nav-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
}
@media (min-width: 600px) {
    .nav-menu { display: flex; }
    .nav-toggle { display: none; }
}

/* About Section */
#about-section {
    padding: 2rem 0;
}
.about-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

.about-text {
    flex: 1 1 60%;
    min-width: 0;
    max-width: 60%;
}

.about-image {
    flex: 1 1 40%;
    min-width: 0;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-width: 100%;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        /* text-align: center; */
    }
    .about-text, .about-image {
        max-width: 100%;
    }
    .about-image { margin-top: 1rem; }
}

/* Work Process Section */
#work-process-section { padding: 2rem 0; }
.work-process-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 2rem;
}
.work-process-features > div {
    background: var(--accent-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    flex: 1 1 0;
    max-width: 340px;
    min-width: 220px;
    text-align: center;
}
.work-process-features > div:nth-child(2) {
    background: var(--accent-bg-alt);
}
.work-process-features img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1000px) {
    .work-process-features {
        flex-wrap: wrap;
    }
    .work-process-features > div {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* Consulting & Admin Section */
#consulting-admin-section {
    padding: 2rem 0;
}

#consulting-admin h2 {
    text-align: center;
}

.consulting-admin-lists {
  display: flex;
  gap: 50px;
  justify-content: center;
  max-width: 700px; /* Adjust as needed */
  margin: 0 auto;
}

.consulting-admin-list {
  flex: 0 1 auto;
  min-width: 220px; /* Optional: keeps columns readable */
}

/* Team Section */
#team-section {
    padding: 2rem 0;
    max-width: 65%;
    margin: 0 auto;
}
.team-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
.team-member,
.team-member-full {
    display: flex;
    flex-direction: column;
    background: var(--accent-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    width: 100%;
}
.team-member-full {
    max-width: 1000px;
    padding: 2rem 2.5rem;
}
.team-member-row {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    width: 100%;
}
.team-member-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    max-width: 260px;
    flex: 0 0 240px;
}
.team-member-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-member-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: var(--photo-bg);
}
.team-member-name h3 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    height: 1.5rem;
    font-weight: 700;
}
.team-member-credentials {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 1rem;
}
.team-member-bio {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}
.team-member-experience {
    width: 100%;
    margin-top: 1.5rem;
}
.team-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 2rem;
}
.team-row .team-member {
    max-width: 350px;
    margin: 0;
}
@media (max-width: 900px) {
    .team-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .team-member { max-width: 100%; }
    #team-section { max-width: 100%; padding: 1rem; }
    .team-member-photo { max-width: 100%; }
    .team-member-bio,
    .team-member-bio p,
    .team-education { /* text-align: center; */ align-items: center; }
}

/* Team Education */
.team-education {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}
.team-education > div { /* min-width as needed */ }
.team-education strong {
    font-size: 1.08rem;
    font-weight: bold;
}
.team-education-single {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 1rem;
}
.team-education-single .edu-label { font-weight: bold; }
.team-education-single .edu-details {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 400;
    color: #222;
}

/* Team Experience Grid */
.team-experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 2.5rem;
    margin: 2.5rem 0 1rem 0;
}
.team-experience-grid > div,
.team-experience > div {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 400;
}
@media (max-width: 1100px) {
    .team-experience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .team-experience-grid { grid-template-columns: 1fr; }
}

/* Contact Section */
#contact-section {
    padding: 2rem 0;
    max-width: 65%;
    margin: 0 auto;
}
.contact-container {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: var(--spacing);
}

.contact-form {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-width: 340px;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--secondary);
}

input, textarea {
  margin: 0; /* Remove extra margin */
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: 2px solid var(--primary);
}

.button,
.submit-button {
  background: #157e46;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.button:hover,
.submit-button:hover {
  background: #0b4123; /* Slightly darker green */
  color: #fff;
}

.contact-info-panel {
  flex: 1;
  padding: 1.5rem 0 1.5rem 1.5rem;
  background: transparent;
  min-width: 340px;
}

.contact-title {
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-desc {
  color: #aaa;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.08rem;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-info-list i {
  color: #c3c39c;
  font-size: 1.4rem;
  min-width: 1.4rem;
  vertical-align: middle;
}

.contact-info-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.contact-info-list .secure-send-link {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
    #contact-section {
        max-width: 100%;
        padding: 1rem;
    }
}

/* Utility & Misc */
.error {
    color: red;
    font-size: 0.9rem;
}
input, textarea, button {
    margin: 0.5rem 0;
    padding: 0.5rem;
}
input:focus, textarea:focus, button:focus {
    outline: 2px solid var(--primary);
}

/* Dark Mode */
.dark-mode {
    --bg-color: var(--dark-bg);
    --text-color: var(--dark-text);
    --header-bg: var(--dark-header);
}

.brand-logo {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.brand-img {
  height: 48px;
  width: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
}
