/* ============================================================
   Evergreen Networks — Site Stylesheet
   ============================================================ */

:root {
  --green-dark:   #1a4d2e;
  --green-mid:    #2d7a4f;
  --green-light:  #4caf72;
  --white:        #ffffff;
  --off-white:    #f5f7f5;
  --text:         #1c1c1c;
  --text-muted:   #5a6e5c;
  --border:       #d4e0d6;
  --max-width:    1100px;
  --radius:       8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout ---- */
header, main, footer { width: 100%; }
section { padding: 4rem 1.5rem; }
section:nth-child(even) { background: var(--off-white); }
.inner { max-width: var(--max-width); margin: 0 auto; }

/* ---- Header ---- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--green-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
nav { display: flex; gap: 1.5rem; }
nav a { color: var(--white); font-size: 0.95rem; opacity: 0.9; }
nav a:hover { opacity: 1; text-decoration: none; }

/* ---- Hero ---- */
#hero {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
}
#hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
#hero p  { font-size: 1.2rem; opacity: 0.85; max-width: 600px; margin: 0 auto 2rem; }

/* ---- CTA Button ---- */
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--green-light);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.cta-button:hover { background: var(--green-mid); text-decoration: none; }

/* ---- Section headings ---- */
h2 {
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}
section > p {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.service-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 0.5rem; }
.service-card p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }

/* ---- Contact Form ---- */
form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
input, textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}
textarea { resize: vertical; }
button[type="submit"] {
  padding: 0.8rem 1.75rem;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
button[type="submit"]:hover { background: var(--green-mid); }

/* ---- Footer ---- */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
footer a { color: rgba(255,255,255,0.85); }
footer a:hover { color: var(--white); }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  nav { gap: 1rem; font-size: 0.85rem; }
  #hero { padding: 4rem 1rem; }
  .service-card { padding: 1.25rem; }
}
