/* ========================================
   OUR OWN LANGUAGE — Global Styles
   ======================================== */

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

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --gray-dark: #1e1e1e;
  --gray: #2a2a2a;
  --gray-mid: #6b6b6b;
  --gray-light: #a0a0a0;
  --off-white: #f0eeeb;
  --white: #fafafa;
  --cream: #e8e4df;
  --accent: #d4c5b0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--black);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

h2 em {
  font-style: italic;
  color: var(--accent);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--gray-light);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.3s ease;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.5rem !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--black) !important;
  border-color: var(--white);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--black) 0%, #1a1815 50%, var(--black) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 197, 176, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -1%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s ease;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 8rem 0;
}

.section-dark {
  background: var(--dark);
}

.section-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  align-items: start;
}

.label-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
  position: sticky;
  top: 120px;
}

.section-content h2 {
  color: var(--white);
}

/* ========================================
   STATS BAR
   ======================================== */

.stats-bar {
  padding: 4rem 0;
  background: var(--gray-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-icon {
  display: block;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  opacity: 0.6;
}

.stat-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.stat-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.5;
}

/* ========================================
   CARDS
   ======================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  border-color: rgba(212, 197, 176, 0.2);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.card h3 {
  color: var(--white);
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========================================
   FEATURE LIST
   ======================================== */

.feature-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.6rem;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* ========================================
   TOOLS & RESOURCES GRID
   ======================================== */

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.tool-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 2.2rem;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  border-color: rgba(212, 197, 176, 0.2);
  transform: translateY(-3px);
}

.tool-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--dark) 100%);
  border-color: rgba(212, 197, 176, 0.15);
  padding: 3rem 2.5rem;
}

.tool-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.tool-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212, 197, 176, 0.3);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
  align-self: flex-start;
}

.tool-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.tool-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.tool-card p {
  font-size: 0.95rem;
  flex-grow: 1;
}

.tool-card .btn {
  align-self: flex-start;
  margin-top: 1.5rem;
}

.tool-location {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 1rem;
  font-weight: 500;
}

.tool-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.tool-link:hover {
  color: var(--white);
}

/* ========================================
   DONATE SECTION
   ======================================== */

.donate-options {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.donate-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  transition: border-color 0.4s ease;
}

.donate-card:hover {
  border-color: rgba(212, 197, 176, 0.2);
}

/* QR Code card — standalone, clickable */
.donate-card-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2.5rem;
}

.donate-card-qr a {
  display: block;
  line-height: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.donate-card-qr a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.donate-card-qr img {
  display: block;
  width: 200px;
  height: 200px;
}

.donate-card-qr p {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.donate-card-qr p strong {
  color: var(--accent);
}

/* PayPal card — separate with its own branding */
.donate-card-paypal {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.donate-card-paypal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.donate-card-paypal p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.donate-card-paypal .btn {
  align-self: flex-start;
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.2rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-mid);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--gray-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3rem;
}

.contact-form select:valid {
  color: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 5rem 0 2rem;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-brand .logo {
  font-size: 0.75rem;
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

/* ========================================
   BACK TO TOP
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

/* ========================================
   THANK YOU MESSAGE
   ======================================== */

.thank-you-msg {
  margin-top: 2.5rem;
  padding: 3rem;
  background: rgba(212, 197, 176, 0.05);
  border: 1px solid rgba(212, 197, 176, 0.2);
  text-align: center;
}

.thank-you-msg h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.thank-you-msg p {
  color: var(--gray-light);
  font-size: 1.05rem;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.card.reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.cards-grid .card:nth-child(1) { --i: 0; }
.cards-grid .card:nth-child(2) { --i: 1; }
.cards-grid .card:nth-child(3) { --i: 2; }

.tool-card.reveal {
  transition-delay: calc(var(--t, 0) * 0.1s);
}

.tools-grid .tool-card:nth-child(1) { --t: 0; }
.tools-grid .tool-card:nth-child(2) { --t: 1; }
.tools-grid .tool-card:nth-child(3) { --t: 2; }
.tools-grid .tool-card:nth-child(4) { --t: 3; }

.stats-grid .stat:nth-child(1) { transition-delay: 0s; }
.stats-grid .stat:nth-child(2) { transition-delay: 0.1s; }
.stats-grid .stat:nth-child(3) { transition-delay: 0.2s; }
.stats-grid .stat:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .label-tag {
    position: static;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card-featured {
    grid-column: auto;
  }

  .donate-options {
    grid-template-columns: 1fr;
  }

  .donate-card-paypal {
    text-align: center;
  }

  .donate-card-paypal .btn {
    align-self: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }

  .section {
    padding: 5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-content {
    padding: 0 1rem;
  }
}

