html { scroll-behavior: smooth; }

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

body {
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #fff;
}

/* ── LANGUAGE BAR ── */
.lang-bar {
  background: #1D9E75;
  text-align: right;
  padding: 8px 24px;
}
.lang-bar button {
  background: none;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  margin-left: 8px;
}
.lang-bar button.active {
  background: white;
  color: #1D9E75;
  font-weight: 600;
}

/* ── TOP NAV BAR ── */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.hamburger {
  position: absolute !important;
  top: 50%;
  left: 24px !important;
  right: auto !important;
  transform: translateY(-50%);
  z-index: 101;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1D9E75;
  font-weight: 800;
  font-size: 16px;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── SIDE DRAWER ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0 !important;
  right: auto !important;
  width: 280px;
  height: 100%;
  background: white;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  background: #1D9E75;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header .drawer-logo {
  color: white;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-header .drawer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.drawer-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.drawer-nav {
  flex: 1;
  padding: 16px 0;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  text-decoration: none;
  color: #444;
  font-size: 15px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border-radius: 0 8px 8px 0;
  margin-right: 8px;
}
.drawer-nav a:hover {
  background: #f0fdf8;
  color: #1D9E75;
  border-left-color: #1D9E75;
}
.drawer-nav a.active {
  background: #f0fdf8;
  color: #1D9E75;
  border-left-color: #1D9E75;
  font-weight: 700;
}
.drawer-nav .nav-icon { font-size: 18px; width: 24px; text-align: center; }
.drawer-divider {
  height: 1px;
  background: #eee;
  margin: 8px 24px;
}
.drawer-footer-note {
  padding: 16px 24px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #eee;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #1D9E75 0%, #0F6E56 100%);
  color: white;
  padding: 72px 40px;
  text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 14px; font-family: 'Outfit', sans-serif; line-height: 1.15; }
.page-hero p { font-size: 18px; opacity: 0.92; max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ── CONTENT ── */
.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 40px;
}
@media (max-width: 600px) {
  .content { padding: 40px 20px; }
  .page-hero { padding: 56px 24px; }
  .page-hero h1 { font-size: 32px; }
}

/* ── EVENT CARDS ── */
.event-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f9f9f7;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid transparent;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.09); border-color: #e0f0ea; }
.event-date {
  background: #1D9E75;
  color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  min-width: 60px;
}
.event-info { flex: 1; }
.event-info h3 { font-size: 17px; margin-bottom: 6px; }
.event-info p { font-size: 14px; color: #666; }

/* ── BUTTONS ── */
.btn-green {
  background: #1D9E75;
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}
.btn-green:hover { background: #0F6E56; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,110,86,0.25); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #333; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #1D9E75;
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
.btn-submit {
  width: 100%;
  background: #1D9E75;
  color: white;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}
.btn-submit:hover { background: #0F6E56; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,110,86,0.25); }

/* ── REWARD CARDS ── */
.reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.reward-card {
  background: #f9f9f7;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.reward-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-color: #1D9E75; }
.reward-points {
  font-size: 28px;
  font-weight: 800;
  color: #1D9E75;
  margin-bottom: 12px;
}
.reward-card h3 { font-size: 15px; margin-bottom: 8px; }
.reward-card p { font-size: 13px; color: #777; line-height: 1.6; }

.redeem-box {
  background: #E1F5EE;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}
.redeem-box h2 { font-size: 26px; margin-bottom: 12px; color: #0F6E56; }
.redeem-box p { font-size: 16px; color: #444; margin-bottom: 24px; line-height: 1.7; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.site-footer {
  background: #0F2318;
  color: #ccc;
  padding: 60px 40px 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 14px;
}
.footer-brand h3 {
  color: white;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
}
.footer-brand .footer-contact {
  margin-top: 16px;
  font-size: 13px;
  line-height: 2;
  color: #aaa;
}
.footer-brand .footer-contact a {
  color: #1D9E75;
  text-decoration: none;
}
.footer-col h4 {
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #1D9E75; }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-social a {
  height: 36px;
  padding: 0 12px;
  background: #1a2e1f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.footer-social a:hover { background: #1D9E75; color: white; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid #1a2e1f;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 13px;
  color: #666;
}
.footer-bottom a { color: #666; text-decoration: none; }
.footer-bottom a:hover { color: #1D9E75; }

/* ── HIDE OLD NAV LINKS ── */
.nav-links { display: none !important; }

/* ── DESKTOP DROPDOWN NAV ── */

/* On desktop: logo stays centered (hamburger stays absolute-left),
   dropdown nav sits absolute-right */
.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 769px) {
  nav {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .nav-links-desktop {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}
.nav-dropdown { position: relative; }
.nav-drop-btn {
  background: none;
  border: none;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-drop-btn:hover,
.nav-dropdown.open .nav-drop-btn {
  background: #f0fdf8;
  color: #1D9E75;
}
.nav-drop-arrow {
  font-size: 9px;
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-dropdown.open .nav-drop-arrow { transform: rotate(180deg); opacity: 0.9; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  min-width: 200px;
  padding: 8px 0;
  z-index: 500;
  border: 1px solid #efefef;
}
.nav-dropdown.open .nav-drop-menu { display: block; }
@media (min-width: 769px) { .nav-dropdown:hover .nav-drop-menu { display: block; } }
.nav-drop-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.nav-drop-menu a:hover { background: #f0fdf8; color: #1D9E75; }
.nav-drop-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  padding: 10px 20px 4px;
}
.nav-drop-divider { height: 1px; background: #f0f0ee; margin: 6px 0; }
.nav-signin-btn {
  background: #1D9E75;
  color: white !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-left: 10px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
}
.nav-signin-btn:hover { background: #0F6E56; transform: translateY(-1px); }

/* ── LANGUAGE ── */
.en { display: inline; }
.es { display: none; }
body.spanish .en { display: none; }
body.spanish .es { display: inline; }
/* ── FORCE VISIBILITY ── */
section, .hero, .stats, .mission, .how, .signup { display: block !important; visibility: visible !important; opacity: 1 !important; }