/* =============================================
   PROJECTS PAGE — projects.css
   ============================================= */

/* ── INTRO ── */
.proj-intro {
  background: var(--off-white);
  padding: 90px 0 60px;
  text-align: center;
}
.proj-intro h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.proj-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 720px;
  margin: 0 auto 16px;
}
.proj-intro-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn-green-solid {
  height: 60px;
  padding: 0 32px;
  background: #3daf6c;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s;
}
.btn-green-solid:hover { background: #2d8a52; }

/* ── LISTING ── */
.proj-listing {
  background: var(--off-white);
  padding: 0 0 80px;
}

/* Filter bar */
.proj-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.proj-filter-label {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}
.proj-filter-fields {
  display: flex;
  gap: 16px;
  flex: 1;
  flex-wrap: wrap;
}
.proj-filter-fields input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid #dadada;
  border-radius: 0;
  background: #fff;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  flex: 1;
  min-width: 160px;
  outline: none;
  transition: border-color 0.2s;
}
.proj-filter-fields input::placeholder { color: #999; }
.proj-filter-fields input:focus { border-color: var(--green-dark); }
.proj-search-wrap {
  position: relative;
  flex: 1;
  min-width: 160px;
}
.proj-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}
.proj-search-wrap input { padding-left: 40px !important; width: 100%; box-sizing: border-box; }

/* Grid */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.proj-card {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.15); }
.proj-card-img { width: 100%; height: 340px; overflow: hidden; }
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.proj-card:hover .proj-card-img img { transform: scale(1.05); }
.proj-card-info { background: #0f3d2e; padding: 20px 22px 22px; }
.proj-card-info h3 { font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 10px; }
.proj-card-info p { font-family: "Lato", sans-serif; font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 3px; }
.proj-card-info p:last-child { margin-bottom: 0; }

/* Load More */
.proj-load-more { text-align: center; padding-bottom: 20px; }
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  background: transparent;
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s, color 0.3s;
}
.btn-load-more:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

/* ── HOW CAN WE HELP ── */
.proj-help {
  position: relative;
  height: 460px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.proj-help-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-help-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.52); }
.proj-help-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 0 80px; width: 100%; }
.proj-help-content h2 { font-family: "Montserrat", sans-serif; font-size: 40px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.proj-help-content p { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.6; margin-bottom: 28px; max-width: 400px; }
.proj-help-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  background: #3daf6c;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.3s;
}
.proj-help-btn:hover { background: #2d8a52; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .proj-intro { padding: 60px 0 40px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-card-img { height: 260px; }
  .proj-help { height: 360px; }
  .proj-help-content { padding: 0 40px; }
  .proj-help-content h2 { font-size: 30px; }
}
@media (max-width: 767px) {
  .proj-intro { padding: 50px 0 32px; }
  .proj-intro h1 { font-size: 28px; }
  .proj-intro-btns { flex-direction: column; align-items: center; }
  .proj-intro-btns .btn,
  .proj-intro-btns .btn-green-solid { width: 100%; justify-content: center; }
  .proj-filter { flex-direction: column; align-items: flex-start; }
  .proj-filter-fields { flex-direction: column; width: 100%; }
  .proj-search-wrap { width: 100%; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card-img { height: 240px; }
  .proj-help { height: 320px; }
  .proj-help-content { padding: 0 20px; }
  .proj-help-content h2 { font-size: 26px; }
}