@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --green-deep: #00703C;
  --green-mid: #2d9b5a;
  --green-light: #54b666;
  --green-pale: #e6f5ec;
  --green-glow: rgba(0, 112, 60, 0.12);
  --cream: #fafaf7;
  --white: #ffffff;
  --ink: #0f1f14;
  --ink-soft: #3a4a40;
  --muted: #7a8c80;
  --border: #d8e8dc;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-card: 0 4px 24px rgba(0,112,60,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── NAVBAR ── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7%;
  height: 70px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.5px;
}

.branding img { height: 38px; width: 38px; object-fit: contain; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-right a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.nav-right a:hover { color: var(--green-deep); background: var(--green-pale); }
.nav-right a.alert { background: var(--green-deep); color: white !important; font-weight: 600; }
.nav-right a.alert:hover { background: var(--green-mid); }

.show-login {
  background: transparent;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
  padding: 7px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}
.show-login:hover { background: var(--green-deep); color: white; }

/* ── AUTH POPUP (LOGIN/SIGNUP MODAL) ── */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  background: rgba(8, 20, 12, 0.60);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.auth-overlay.active { opacity: 1; pointer-events: all; }

.auth-popup {
  background: #fff;
  border-radius: 22px;
  padding: 40px 36px 32px;
  width: 430px;
  max-width: 94vw;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.auth-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: #f2f2f2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Styling */
.form-element { margin-bottom: 14px; }
.form-element label { display: block; font-size: 0.76rem; font-weight: 700; color: #444; text-transform: uppercase; margin-bottom: 6px; }
.form-element input { width: 100%; padding: 11px 14px; border: 1.5px solid #d8e8dc; border-radius: 8px; outline: none; }
.form-element input:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(84,182,102,0.14); }

.btn-primary {
  width: 100%; height: 46px; border: none; background: var(--green-deep); color: #fff; 
  font-weight: 600; border-radius: 10px; cursor: pointer; transition: 0.2s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  color: var(--muted);
  padding: 30px 7%;
  text-align: center;
  font-size: 0.875rem;
  margin-top: auto; 
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

/* The button that shows the username */
.dropdown-btn {
  background: var(--green-pale);
  color: var(--green-deep);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.dropdown-btn:hover {
  background: var(--green-light);
  color: white;
}

/* The actual menu (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
  border-radius: 12px;
  z-index: 1;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Links inside the dropdown */
.dropdown-content a {
  color: var(--ink-soft);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--green-pale);
  color: var(--green-deep);
}

.dropdown-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Show the menu on hover */
.user-dropdown:hover .dropdown-content {
  display: block;
}

.logout-link {
  color: #e05555 !important;
}

.reaction-container { position: relative; display: inline-flex; }
.reactions-popover {
  position: absolute; bottom: 100%; left: 0; background: white; border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: flex; padding: 5px 10px; gap: 8px;
  visibility: hidden; opacity: 0; transform: translateY(10px); transition: 0.2s ease; z-index: 10;
}
.reaction-container:hover .reactions-popover { visibility: visible; opacity: 1; transform: translateY(-5px); }
.react-emoji { cursor: pointer; font-size: 1.5rem; transition: 0.2s; }
.react-emoji:hover { transform: scale(1.3); }


@media (max-width: 640px) {
  .nav-right a:not(.alert):not(.show-login) { display: none; }
}
/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 7% 90px;
  background: linear-gradient(135deg, #d4f5e0 0%, #f0faf4 40%, #fff9f0 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(84,182,102,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,112,60,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; max-width: 560px; }
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-text p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 440px;
}

.search-box {
  display: flex;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,112,60,0.15);
  max-width: 480px;
  border: 1.5px solid var(--border);
}
.search-box input {
  border: none;
  padding: 15px 22px;
  flex: 1;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  background: var(--green-deep);
  color: white;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 50px 50px 0;
  transition: background 0.2s ease;
}
.search-box button:hover { background: var(--green-mid); }

/* ── STALLS ── */
.section { padding: 60px 7%; }
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 14px;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--green-deep);
  border-radius: 3px;
}

.stall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-link:hover .card { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,112,60,0.16); }
.card img { width: 100%; height: 170px; object-fit: cover; }
.card-content { padding: 16px 18px; }
.card-content h3 { font-weight: 600; font-size: 1rem; color: var(--ink); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .navbar { padding: 0 5%; }
  .hero { padding: 50px 5% 60px; }
  .section { padding: 40px 5%; }
  .nav-right a:not(.alert):not(.show-login) { display: none; }
}


/* ── Form header ── */
.auth-icon { font-size: 2.2rem; margin-bottom: 10px; text-align: center; }

.auth-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f1f14;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
  text-align: center;
}

.auth-sub {
  font-size: 0.88rem;
  color: #7a8c80;
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.55;
}

/* ── Form fields ── */
.form-element { margin-bottom: 14px; }

.form-element label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  margin-bottom: 6px;
}

/* Standalone inputs — direct children only, never inside .input-wrap */
.form-element > input[type="text"],
.form-element > input[type="email"],
.form-element > input[type="password"],
.form-element > input[type="tel"] {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d8e8dc;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: #0f1f14;
  background: #fafcfb;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.form-element > input[type="text"]:focus,
.form-element > input[type="email"]:focus,
.form-element > input[type="password"]:focus,
.form-element > input[type="tel"]:focus {
  border-color: #54b666;
  box-shadow: 0 0 0 3px rgba(84,182,102,0.14);
  background: #fff;
}

/* ── Password field wrapper (eye toggle) ── */
.input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #d8e8dc;
  border-radius: 8px;
  background: #fafcfb;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input-wrap:focus-within {
  border-color: #54b666;
  box-shadow: 0 0 0 3px rgba(84,182,102,0.14);
  background: #fff;
}

.input-wrap input {
  flex: 1;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: none !important;
  padding: 11px 4px 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: #0f1f14;
}
.input-wrap input:focus {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.toggle-pw {
  flex-shrink: 0;
  width: 40px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding: 0;
  margin: 0;
}
.toggle-pw:hover { color: #00703C; }

/* ── Forgot row ── */
.forgot-row { text-align: right; margin: -4px 0 12px; }
.forgot-row a {
  font-size: 0.83rem;
  color: #00703C;
  font-weight: 600;
  text-decoration: none;
}
.forgot-row a:hover { color: #54b666; text-decoration: underline; }

/* ── Primary button ── */
.btn-primary {
  width: 100%;
  height: 46px;
  border: none;
  background: #00703C;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,112,60,0.22);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 2px;
}
.btn-primary:hover { background: #2d9b5a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,112,60,0.3); }
.btn-primary:disabled { opacity: 0.7; transform: none; cursor: not-allowed; }



.btn-spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Switch / error text ── */
.auth-switch {
  font-size: 0.87rem;
  text-align: center;
  color: #666;
  margin-top: 12px;
}
.auth-switch a { color: #00703C; font-weight: 600; text-decoration: none; }
.auth-switch a:hover { color: #54b666; text-decoration: underline; }

#resend-timer { font-size: 0.82rem; color: #999; margin-left: 2px; }

.error-msg {
  color: #e05555;
  font-size: 11.5px;
  display: none;
  margin-top: 5px;
}


.otp-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 16px;
}
.otp-input {
  width: 46px;
  height: 54px;
  border: 2px solid #d8e8dc;
  border-radius: 10px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  color: #0f1f14;
  background: #fafcfb;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  caret-color: #00703C;
}
.otp-input:focus {
  border-color: #00703C;
  box-shadow: 0 0 0 3px rgba(0,112,60,0.13);
  background: #fff;
  transform: translateY(-2px);
}

/* PASSWORD STRENGTH BAR */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
}
.strength-bar {
  flex: 1;
  height: 5px;
  background: #e8eee9;
  border-radius: 5px;
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  z-index: 9999;
  width: 0;
  border-radius: 5px;
  transition: width 0.35s ease, background 0.35s ease;
}
.strength-label {
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 42px;
  text-align: right;
}


.success-check {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, #54b666, #00703C);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(0,112,60,0.3);
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#form-success h2 { text-align: center; }

#openLoginBtn {
    transition: all 0.3s ease;
    cursor: pointer;
}
#openLoginBtn:hover {
    transform: scale(1.05);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    gap: 10px;
    margin-top: 10px;
}

.btn-google img {
    width: 20px;
}

.btn-google:hover {
    background: #f1f1f1;
}

.auth-divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px; background: #eee;
}
.terms-popup {
  background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto; /* Scroll if text is too long */
    position: relative;
}

.auth-divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    color: #999;
    font-size: 12px;
}

/* recaptcha */
.form-element-recaptcha {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.g-recaptcha {
    transform: scale(0.95);
    transform-origin: center;
}


.error-msg {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 6px;
    text-align: center;
    min-height: 14px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.map-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.map-info-item i {
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-top: 4px;
}

.map-info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.map-info-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ── ABOUT US SECTION ── */
.about-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-pale) 100%);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  margin-bottom: 40px;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--green-deep);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 16px;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-deep);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,112,60,0.18);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--green-deep);
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ── CONTACT US SECTION ── */
.contact-section {
  background: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--ink-soft);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-top: 4px;
  width: 24px;
  text-align: center;
}

.contact-method h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-method a,
.contact-method p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.5;
}

.contact-method a:hover {
  color: var(--green-deep);
}

.contact-form {
  background: var(--cream);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d8e8dc;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(84,182,102,0.14);
}

/* ── TERMS SECTION ── */
.terms-section {
  text-align: center;
  padding: 20px 7%;
  background: var(--green-pale);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.terms-section a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
}

.terms-section a:hover {
  text-decoration: underline;
}

.terms-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 12, 0.60);
  backdrop-filter: blur(5px);
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.terms-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.terms-popup {
  background: #fff;
  border-radius: 22px;
  padding: 40px 36px;
  width: 700px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.terms-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.terms-content {
  padding-right: 10px;
}

.terms-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--green-deep);
  margin-bottom: 8px;
  text-align: center;
}

.terms-date {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.terms-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.terms-content h3:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.terms-content p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.93rem;
}

.terms-content ul {
  margin: 10px 0 10px 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.terms-content ul li {
  margin-bottom: 6px;
}

/* ── Responsive Adjustments ── */
@media (max-width: 640px) {
  .about-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .map-info {
    grid-template-columns: 1fr;
  }
  
  .terms-popup {
    padding: 30px 20px;
  }
}
