/* Reset & Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #0e1218;
  color: #e0e5ec;
  line-height: 1.6;
}
a { color: #00c1de; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Header / Nav */
header.navbar {
  background-color: #0f172a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease, background-color 0.2s ease;
}
header.navbar.scrolled {
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  background-color: rgba(15, 23, 42, 0.9);
}
.navbar .logo { font-size: 1.5rem; font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; }
.nav-links a:focus { outline: 2px solid #00c1de; outline-offset: 2px; }

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(90deg, #001219, #002736);
}
.hero h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  max-width: 60ch;
  margin: 0 auto 2rem;
}
.btn {
  display: inline-block;
  background: #00c1de;
  color: #0e1218;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.05s ease;
}
.btn:hover { background: #01a9c3; }
.btn:active { transform: translateY(1px); }

/* Sections */
main section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #00c1de;
  display: inline-block;
}

/* Reveal on Scroll */
section.js-observe {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
section.fade-in {
  opacity: 1;
  transform: none;
}

/* Team Grid */
.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}
.card {
  background: #1a1f2a;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Process Steps */
.steps {
  padding-left: 0;
  margin: 1rem 0 0;
}
.steps li {
  list-style: none;
  margin-bottom: 1rem;
  background: #161c26;
  padding: 1rem;
  border-left: 4px solid #00c1de;
  border-radius: 6px;
}

/* Contact Form */
form {
  display: grid;
  gap: 1rem;
}
.field { display: grid; gap: 0.5rem; }
.inline { display: flex; align-items: center; gap: .5rem; }
label { font-weight: 600; }
input, textarea {
  background: #1a1f28;
  color: #e0e5ec;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.9rem 1rem;
  border-radius: 6px;
}
input:focus, textarea:focus {
  outline: 2px solid #00c1de;
  outline-offset: 2px;
}

.hint { color: #9ca3af; font-size: 0.9rem; }
.chip {
  opacity: .9;
  border: 1px solid #ddd;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.75rem;
}

button {
  background: #00c1de;
  color: #0e1218;
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease, opacity 0.2s ease;
}
button:hover { background: #01a9c3; }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.status { min-height: 1.25rem; font-size: 0.95rem; margin-top: 0.25rem; }
.status.ok { color: #7ee787; }
.status.error { color: #ff7b72; }

.note { font-size: 0.9rem; margin-top: 0.5rem; color: #9ca3af; }

/* Donate button */
.btndonate {
  display: inline-block;
  background: transparent;
  border: 1px solid #00c1de;
  color: #00c1de;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}
.btndonate:hover { background: rgba(0,193,222,0.12); }

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #141821;
  font-size: 0.9rem;
  color: #8e949e;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0d1a26;
    position: absolute;
    right: 0;
    top: 60px;
    width: 100%;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.show { display: flex; }
  .hamburger { display: block; }
  .hero h1 { font-size: 2rem; }
}
