/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #444;
  background: #f2f2f2;
  min-height: 100vh;             /* enable sticky footer */
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; height: auto; }

:root {
  --green: #2ba24c;
  --green-dark: #257e3d;
  --green-soft: #b9d9c0;
  --text: #444;
  --muted: #7a7a7a;
  --bg: #f2f2f2;
  --white: #fff;
}

.container {
  max-width: 1120px; /* wide content width */
  margin: 0 auto;
  padding: 0 40px; /* standard side padding */
}

/* Top strip */
.top-strip {
  background: #d9d9d9;
  height: 36px;
  display: flex;
  align-items: center;
}
.top-strip .login-btn {
  margin-left: auto;
  margin-right: 16px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
}
.top-strip .login-btn:hover { background: var(--green-dark); }

/* Header */
.site-header {
  background: #fff;              /* full-bleed header */
  border-bottom: 1px solid #ececec; /* subtle modern separation */
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 12px;          /* vertical padding handled inside the container */
}
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  border-radius: 2px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  height: 64px; /* slightly smaller */
}
.tagline {
  color: #999;
  font-size: 13px;
}

.primary-nav {
  display: flex;
  align-items: center;
  background: transparent;
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px; /* slightly tighter, modern */
}
.primary-nav a {
  display: block;
  color: var(--green-dark); /* make header links green */
  text-decoration: none;
  padding: 8px 0;
}
.primary-nav a:hover { color: var(--green); }

/* Divider */
.divider {
  height: 8px;
  background: linear-gradient(to bottom, #f3f3f3, #e9e9e9);
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e2e2e2;
}

/* Hero */
.hero {
  background: #fff;
  padding: 36px 56px 24px; /* extra horizontal padding inside hero box */
}
.hero h1 {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 30px; /* larger, modern */
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0 0 12px 0;
}
.hero p {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.6;
}
.hero strong { color: var(--green-dark); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 16px 0 56px;
}
.card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e7e7e7;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 18px 20px 22px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card h2 {
  margin: 0 0 12px 0;
  color: var(--green-dark);
  font-size: 18px;
  position: relative;
}
.card h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 8px;
}
.card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* About page layout: wider left-aligned card */
.about-main .card {
  max-width: 1040px;  /* fuller width like the reference */
  margin-left: 0;     /* firmly left align */
  margin-top: 12px;   /* slight offset from divider */
}

/* Footer */
.site-footer {
  background: #0d6c3a;
  color: #d8f0e0;
  margin-top: auto;              /* stick footer to bottom */
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.footer-links a {
  color: #d8f0e0;
  text-decoration: none;
  margin-left: 10px;
  font-size: 14px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links .dot { margin: 0 6px; opacity: 0.7; }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { padding: 20px 0 10px; }
  .logo { height: 48px; }
  .menu-toggle { display: inline-block; }
  .primary-nav {
    position: static;
    width: 100%;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #eee;
  }
  .primary-nav li { border-bottom: 1px solid #f0f0f0; }
  .primary-nav a { padding: 12px 0; }
  .primary-nav { display: none; }
  .primary-nav.open { display: block; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 24px 24px 18px; }
  .container { padding: 0 20px; }
  .about-main .card { max-width: 100%; }
  .footer-inner { flex-direction: column; gap: 8px; align-items: flex-start; }
}
