.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
  z-index: 100;
  transition: width 0.1s linear;
}

.navbar {
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(6, 78, 59, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(6, 78, 59, 0.25);
}

.logo {
  text-decoration: none;
  color: inherit;
}

.nav-links a.active {
  color: #6ee7b7;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #34d399;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #34d399;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(52, 211, 153, 0.15);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #34d399;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 78, 59, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 40;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.hero-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(52, 211, 153, 0.08), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 78, 59, 0.06), transparent 45%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d1fae5;
  color: #065f46;
  padding: 6px 16px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-text h1 .accent {
  color: #34d399;
  font-weight: 400;
}

.hero-body {
  color: #475569;
  margin: 12px 0 20px;
  max-width: 620px;
}

.risk-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6ee7b7;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hero-risk-card h3 {
  font-size: 1.2rem;
  margin: 4px 0 12px;
  color: #fff;
}

.hero-risk-card p {
  color: #d1fae5;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 60;
}

.back-to-top:hover {
  background: #047857;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-progress {
    transition: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: #064e3b;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 24px 40px;
    gap: 4px;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 45;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    width: 100%;
    color: #d1fae5;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(52, 211, 153, 0.15);
  }

  .nav-links a.active::after {
    display: none;
  }

  .btn-join,
  .btn-admin {
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
  }

  .nav-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 18px rgba(6, 78, 59, 0.06);
  border-top: 3px solid #34d399;
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-card .form-group {
  margin-bottom: 20px;
}

.form-card .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #064e3b;
  font-size: 0.9rem;
}

.form-card .form-group input[type="text"],
.form-card .form-group input[type="email"],
.form-card .form-group input[type="tel"],
.form-card .form-group select,
.form-card .form-group textarea,
#contact-form .form-group input,
#contact-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: #f0fdf4;
  color: #0f172a;
  transition: 0.2s;
}

.form-card .form-group input:focus,
.form-card .form-group select:focus,
.form-card .form-group textarea:focus,
#contact-form .form-group input:focus,
#contact-form .form-group textarea:focus {
  outline: none;
  border-color: #34d399;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.form-card .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.checkbox-group label,
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #0f172a;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f0fdf4;
  transition: 0.2s;
}

.checkbox-group label:hover,
.checkbox-inline:hover {
  background: #d1fae5;
}

.checkbox-group input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #059669;
  cursor: pointer;
  flex-shrink: 0;
}

#contact-form .form-group {
  margin-bottom: 16px;
}

#contact-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #064e3b;
  font-size: 0.9rem;
}

#contact-form .form-group textarea {
  min-height: 90px;
  resize: vertical;
}

#contact a {
  color: #059669;
  text-decoration: none;
}

#contact a:hover {
  color: #047857;
  text-decoration: underline;
}

.status-msg {
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

.status-msg.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.status-msg.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

.gallery-grid {
  gap: 20px;
}

.gallery-item {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(6, 78, 59, 0.08);
  transition: 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 14px 18px;
  font-weight: 600;
  color: #064e3b;
  font-size: 0.9rem;
  background: #fff;
}

@media (max-width: 768px) {
  .form-card {
    padding: 24px;
  }

  .gallery-item img {
    height: 180px;
  }
}
