:root {
  --color-primary: #419D78;
  --btn-primary: #E5E5E5;
  --color-bg: #0a0a0a;
  --color-light: #ffffff;
  --font: 'Inter', sans-serif;
  --hover-color: #434BE7;
}

.privacy-note {
  font-size: .8rem;
  color: #aaa;
  margin-top: 10px;
}
.privacy-note a {
  color: #00AEEF;
  text-decoration: underline;
}

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

body {
  background: var(--color-bg);
  color: var(--color-light);
  font-family: var(--font);
  overflow-x: hidden;
}

/* SECTION */
.section { padding: 5rem 2rem; }
.section.dark { background: #111; }

/* GRID */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.expertise-grid li {
  list-style: none;  /* extra safety */
}
.card {
  padding: 2rem;
  background: #1b1b1b;
  border-radius: 8px;
  text-align: center;
}

/* PROJECTS GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 1rem;
}
.project {
  width: 180px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding-top: 50px;
}
.project img {
  width: 100%;
  transition: transform .4s ease;
}
.project:hover img { transform: scale(1.5); }
.project-overlay {
  position: absolute;
  bottom: 0; 
  left: 0;
  width: 100%;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: .4rem .6rem;
  text-align: center;
}
.project-overlay h3 { font-size: .9rem; }
.project-overlay p {
  font-size: .9rem;
  color: #aaa;
  margin-top: .5rem;
}

/* ABOUT PAGE */
.about, .mission {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin: 4rem 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;               /* important */
  max-width: 350px;          /* keeps layout clean */
  margin: 0 auto;            /* centers each card */
}

.team-member img {
  width: 100%;
  max-width: 250px;
  border-radius: 20px;
  margin-bottom: 1rem;
  display: block;
}

.team-member .bio {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: #ccc;
  max-width: 280px;
}

.team-member h3 {
  margin-top: .5rem;
  margin-bottom: .25rem;
  font-size: 1.2rem;
}

.team-member .role {
  color: #aaa;
  font-size: .9rem;
}


/* PROJECTS PAGE */
.cta {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta h2 {
  font-size: 2rem; 
  margin-bottom: 1rem;
}
.cta p {
  font-size: 1.1rem; 
  margin-bottom: 1.5rem;
}

/* CONTACT PAGE */
.contact {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}
.form-group { margin-bottom: 1rem; }
.form-group label { margin-bottom: .5rem; display: block; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem;
  border-radius: 4px;
  border: none;
  background: #222;
  color: #fff;
}
.contact-info a {
  color: #0f9;
  text-decoration: none;
}
.contact-info a:hover { text-decoration: underline; }

/* JOBS PAGE */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.job-card {
  background: #222;
  padding: 1.5rem;
  border-radius: 8px;
  transition: .3s;
}
.job-card:hover {
  transform: translateY(-5px);
  background: #2a2a2a;
}
.job-card p {
  color: #aaa;
  margin-bottom: 1rem;
}
.job-form {
  max-width: 600px;
  margin: 2rem auto;
}
.job-form input,
.job-form textarea,
.job-form select {
  width: 100%;
  padding: .75rem;
  background: #222;
  border: none;
  color: #fff;
  border-radius: 4px;
}
.job-form input[type="file"] {
  padding: .5rem;
}
