/* ====== Premium dark nonprofit-style CSS ====== */

:root{
  --bg: #07111f;
  --bg-2: #0b1728;
  --panel: rgba(14, 24, 40, 0.78);
  --panel-2: rgba(255,255,255,0.05);
  --card: rgba(255,255,255,0.07);
  --stroke: rgba(255,255,255,0.10);

  --text: #f4f7ff;
  --muted: #b6c2d9;
  --soft: #8da0bf;

  --brand: #67e8f9;
  --brand-2: #8b5cf6;
  --brand-3: #22c55e;
  --highlight: #38bdf8;

  --danger: #fb7185;
  --warning: #fbbf24;
  --white: #ffffff;

  --shadow-lg: 0 25px 60px rgba(0,0,0,0.45);
  --shadow-md: 0 16px 40px rgba(0,0,0,0.28);
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.18);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --max: 1120px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 10%, rgba(103,232,249,0.12), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(139,92,246,0.16), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(34,197,94,0.08), transparent 35%),
    linear-gradient(180deg, #040b14 0%, #08111d 35%, #0b1728 100%);
  min-height: 100vh;
}

a{
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease;
}

img{
  max-width: 100%;
  display: block;
}

.container{
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* ===== Header / Hero ===== */
header{
  position: relative;
  padding: 72px 0 28px;
  overflow: hidden;
}

header::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(103,232,249,0.12), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,0.18), transparent 24%);
  pointer-events: none;
}

.hero{
  position: relative;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

header h1{
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

header p{
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.btn:hover{
  transform: translateY(-2px);
}

.btn:active{
  transform: translateY(0);
}

.btn.primary{
  color: #07111f;
  background: linear-gradient(135deg, #67e8f9, #8b5cf6);
  box-shadow: 0 14px 34px rgba(103,232,249,0.18);
}

.btn.primary:hover{
  box-shadow: 0 18px 40px rgba(103,232,249,0.24);
}

.btn.secondary{
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.btn.secondary:hover{
  background: rgba(255,255,255,0.08);
}

/* ===== Nav ===== */
nav{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(7,17,31,0.68);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
}

nav a{
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-weight: 600;
}

nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border-color: rgba(103,232,249,0.20);
}

/* ===== Main ===== */
main{
  padding: 26px 0 80px;
}

section{
  margin-top: 18px;
}

/* ===== Card system ===== */
.card{
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(103,232,249,0.03), rgba(139,92,246,0.03));
  pointer-events: none;
}

.card > *{
  position: relative;
  z-index: 1;
}

.card h2{
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.card p{
  margin: 0 0 12px;
  color: var(--muted);
}

.grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 920px){
  .grid{
    grid-template-columns: 1.35fr 0.65fr;
    align-items: start;
  }
}

/* ===== Form ===== */
form{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

input[type="file"],
textarea,
input[type="text"],
input[type="email"]{
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-size: 15.5px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea{
  min-height: 155px;
  resize: vertical;
}

textarea::placeholder,
input::placeholder{
  color: var(--soft);
}

input[type="file"]::file-selector-button{
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(103,232,249,0.12), rgba(139,92,246,0.12));
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  margin-right: 12px;
  font-weight: 600;
  transition: 0.18s ease;
}

input[type="file"]::file-selector-button:hover{
  background: linear-gradient(135deg, rgba(103,232,249,0.20), rgba(139,92,246,0.20));
}

input[type="file"]:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus{
  border-color: rgba(103,232,249,0.34);
  box-shadow: 0 0 0 4px rgba(103,232,249,0.10);
  background: rgba(255,255,255,0.06);
}

button[type="submit"]{
  justify-self: start;
  min-height: 48px;
  padding: 12px 18px;
  border: none;
  border-radius: 14px;
  color: #07111f;
  font-weight: 800;
  background: linear-gradient(135deg, #67e8f9, #8b5cf6);
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(103,232,249,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

button[type="submit"]:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(103,232,249,0.24);
}

/* ===== Lists / tips ===== */
ul{
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

li{
  margin: 10px 0;
}

.callout{
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
}

.callout strong{
  color: var(--text);
}

/* ===== FAQ ===== */
.faq-item{
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.faq-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(103,232,249,0.16);
}

.faq-item b{
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
}

/* ===== Footer ===== */
footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 26px 0;
  color: var(--soft);
}

.small{
  font-size: 13px;
  color: var(--soft);
}

/* ===== Nice text selection ===== */
::selection{
  background: rgba(103,232,249,0.28);
  color: white;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar{
  width: 10px;
}

::-webkit-scrollbar-track{
  background: #08111d;
}

::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(103,232,249,0.4), rgba(139,92,246,0.45));
  border-radius: 999px;
}

/* ===== Mobile polish ===== */
@media (max-width: 640px){
  header{
    padding-top: 52px;
  }

  .hero{
    padding: 24px;
  }

  .card{
    padding: 18px;
  }

  header h1{
    max-width: 100%;
  }

  .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  button[type="submit"]{
    width: 100%;
  }

  nav .nav-inner{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
  }
}