:root {
  --green: #5CB83A;
  --green-dark: #3d8227;
  --green-light: #e8f5e1;
  --text: #222222;
  --text-muted: #666666;
  --white: #ffffff;
  --grey-bg: #f8f9f6;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { height: 52px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--green); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #2d5a1b 0%, #5CB83A 100%); color: var(--white); padding: 80px 20px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; max-width: 620px; margin: 0 auto 32px; opacity: 0.92; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all .2s; border: none; }
.btn-primary { background: var(--white); color: var(--green-dark); }
.btn-primary:hover { background: var(--green-light); text-decoration: none; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); text-decoration: none; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ── */
section { padding: 64px 20px; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }
.section-header { margin-bottom: 48px; }
.bg-grey { background: var(--grey-bg); }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; text-align: center; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--green); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 32px 24px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: white; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* ── MEMBER CARDS ── */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.member-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.member-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.member-card img { width: 100%; height: 240px; object-fit: contain; object-position: center; background: #f4f7f2; }
.member-card-body { padding: 18px; }
.member-card-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.member-card-cat { font-size: 0.8rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.member-card-tag { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.member-card-city { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* ── MEMBER PROFILE PAGE ── */
.profile-wrap { padding: 60px 20px; }
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.profile-photo { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 1; }
.profile-photo-placeholder { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--green); }
.profile-name { font-size: 2rem; font-weight: 700; margin-bottom: 4px; }
.profile-company { font-size: 1.1rem; color: var(--green-dark); font-weight: 600; margin-bottom: 16px; }
.profile-badge { display: inline-block; background: var(--green-light); color: var(--green-dark); font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.profile-tagline { font-size: 1.05rem; font-style: italic; color: var(--text-muted); border-left: 3px solid var(--green); padding-left: 14px; margin-bottom: 24px; }
.profile-bio { font-size: 0.98rem; line-height: 1.75; margin-bottom: 28px; }
.profile-details { display: grid; gap: 10px; }
.profile-detail { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.profile-detail .icon { color: var(--green); font-size: 1rem; min-width: 20px; }
.profile-meta { margin-top: 24px; font-size: 0.8rem; color: var(--text-muted); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--green-dark); font-weight: 600; margin-bottom: 32px; }

/* ── DIRECTORY PAGE ── */
.dir-search { max-width: 480px; margin: 0 auto 40px; }
.dir-search input { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: 'Inter', sans-serif; outline: none; }
.dir-search input:focus { border-color: var(--green); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn { padding: 6px 16px; border: 2px solid var(--border); border-radius: 20px; background: none; cursor: pointer; font-size: 0.85rem; font-family: 'Inter', sans-serif; transition: all .2s; }
.filter-btn.active, .filter-btn:hover { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
#no-results { display: none; text-align: center; padding: 48px; color: var(--text-muted); }

/* ── FORM ── */
.form-wrap { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 40px; }
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: 6px;
  font-size: 0.95rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.password-gate { text-align: center; padding: 48px; }
.password-gate h2 { margin-bottom: 12px; }
.password-gate p { color: var(--text-muted); margin-bottom: 24px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: linear-gradient(135deg, #2d5a1b 0%, #5CB83A 100%); color: white; padding: 48px 20px; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 8px; }
.page-hero p { opacity: 0.88; }

/* ── TESTIMONIALS ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial { background: var(--white); border-radius: 10px; padding: 28px; border: 1px solid var(--border); }
.testimonial q { font-style: italic; font-size: 0.97rem; color: var(--text-muted); }
.testimonial cite { display: block; margin-top: 14px; font-size: 0.85rem; font-weight: 600; color: var(--green-dark); }

/* ── JOIN PAGE ── */
.benefits-list { list-style: none; display: grid; gap: 14px; }
.benefits-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; }
.benefits-list li::before { content: "✓"; color: var(--green); font-weight: 700; min-width: 20px; margin-top: 1px; }

/* ── CAROUSEL ── */
.carousel-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.carousel-grid { flex: 1; transition: opacity 0.3s ease; }
.carousel-arrow { background: var(--green); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.carousel-arrow:hover { background: var(--green-dark); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: background .2s; padding: 0; }
.carousel-dot.active { background: var(--green); }
@media (max-width: 768px) { .carousel-arrow { display: none; } }

/* ── FOOTER ── */
.site-footer { background: #1e3d10; color: rgba(255,255,255,0.85); padding: 48px 20px 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-logo p { font-size: 0.85rem; margin-top: 10px; opacity: 0.75; }
.site-footer h4 { color: white; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 8px; }
.site-footer a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); text-align: center; padding: 16px; font-size: 0.8rem; opacity: 0.6; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; gap: 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px; }
}
