/* ================= NGA / SKOOLA VARIABLES & GLOBAL ================= */
:root {
  --sk-blue: #042a41;
  --sk-darker-blue: #021a28;
  --sk-orange: #e65c3d;
  --sk-orange-hover: #cf4f33;
  --sk-bg-gray: #f8f9fa;
  --sk-text: #6b7a85;
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --color-border: #edf2f7;
  --color-error: #b91c1c;
  --color-error-bg: #fef2f2;
  --color-success-bg: #ecfdf5;
  --color-success-text: #065f46;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--sk-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sk-blue);
  font-weight: 800;
}

.sk-subtitle {
  color: var(--sk-orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.sk-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 25px 0;
  letter-spacing: -0.5px;
}

/* ================= BUTTONS (matching the main site's) ================= */
.btn-sk-orange {
  background-color: var(--sk-orange);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.btn-sk-orange:hover {
  background-color: var(--sk-orange-hover);
  color: #ffffff;
}

.btn-sk-outline {
  background-color: transparent;
  color: var(--sk-orange);
  border: 1px solid var(--sk-orange);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.btn-sk-outline:hover { background: var(--sk-orange); color: white; }

/* ================= HERO (same treatment as the main site's video hero) ================= */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--sk-blue);
  background-size: cover;
  background-position: center;
  padding: 70px 20px;
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(4, 42, 65, 0.82);
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content .sk-subtitle { color: #ffb199; }

.hero-content h1 {
  color: #ffffff;
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 20px 0;
  font-weight: 800;
}

.hero-content p {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 575.98px) {
  .hero { min-height: 0; padding: 50px 16px; }
  .hero-content h1 { font-size: 2rem; }
}

/* ================= GIVE WRAP (card + offline panel) ================= */
.give-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  position: relative;
}

@media (max-width: 900px) {
  .give-wrap { padding: 0 20px 70px 20px; gap: 30px; }
}

/* ================= DONATION CARD (overlaps the hero, like the site's
   newsletter box does with the footer) ================= */
.give-card {
  background: #ffffff;
  border-radius: 4px;
  border-top: 4px solid var(--sk-orange);
  box-shadow: 0 20px 50px rgba(4, 42, 65, 0.18);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

@media (max-width: 900px) {
  .give-card { margin-top: -50px; max-width: 100%; }
}

.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid #fca5a5;
}
.alert-success {
  background: var(--color-success-bg);
  color: var(--color-success-text);
  border: 1px solid #6ee7b7;
}

.freq-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.freq-btn {
  flex: 1;
  padding: 14px 10px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sk-text);
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.freq-btn.active {
  border-color: var(--sk-orange);
  color: var(--sk-orange);
  background: #fff2ee;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.amount-btn {
  padding: 14px 8px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sk-text);
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.amount-btn.active {
  border-color: var(--sk-orange);
  color: var(--sk-orange);
  background: #fff2ee;
}

@media (max-width: 420px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

.custom-amount {
  border: 2px solid var(--color-border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.custom-amount label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--sk-blue);
}

.custom-amount-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-symbol {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sk-blue);
}

.custom-amount-input input[type="number"] {
  flex: 1;
  border: none;
  font-size: 1.1rem;
  padding: 4px 0;
  min-width: 0;
  font-family: inherit;
}
.custom-amount-input input[type="number"]:focus { outline: none; }

.custom-amount-input select {
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--sk-text);
  font-size: 0.95rem;
  font-family: inherit;
}
.custom-amount-input select:focus { outline: none; }

.amount-error {
  color: var(--color-error);
  font-size: 0.85rem;
  margin: 4px 0 12px 0;
}

.btn-donate {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-size: 1.05rem;
  margin-top: 20px;
}

/* ================= OFFLINE GIVING ================= */
.offline-giving {
  flex: 1 1 380px;
  padding-top: 30px;
}

.offline-method {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.offline-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sk-orange);
  color: var(--sk-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-method-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 4px 0 10px 0;
  color: var(--sk-blue);
}

.offline-method-body p {
  margin: 0;
  color: var(--sk-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ================= MODAL (Additional Information) ================= */
.donate-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 42, 65, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.donate-modal-overlay.open { display: flex; }

.donate-modal {
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  border-top: 4px solid var(--sk-orange);
  padding: 30px 36px 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.donate-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.back-link {
  background: none;
  border: none;
  color: var(--sk-text);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--sk-text);
  cursor: pointer;
  padding: 0;
}

.donate-modal-total {
  text-align: center;
  padding: 10px 0 24px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}
.total-label {
  display: block;
  color: var(--sk-text);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.total-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--sk-blue);
}
.total-freq {
  display: block;
  color: var(--sk-orange);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--sk-blue);
  margin: 0 0 20px 0;
}

.mailing-address-block {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  margin: 20px 0;
}
.block-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--sk-blue);
}
.block-hint {
  color: var(--sk-text);
  font-size: 0.85rem;
  margin: 0 0 16px 0;
}

.form-group { margin-bottom: 16px; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }

label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--sk-blue);
}
label .hint {
  font-weight: 400;
  color: var(--sk-text);
  font-size: 0.8rem;
  display: block;
}

.form-group-checkbox label {
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--sk-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #1f2937;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sk-orange);
  box-shadow: 0 0 0 3px rgba(230, 92, 61, 0.15);
}

.error {
  display: block;
  color: var(--color-error);
  font-size: 0.82rem;
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* ================= THANK-YOU PAGE ================= */
.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.thankyou-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--sk-orange);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
}
.thankyou-card h1 { margin-top: 0; color: var(--sk-blue); }
.thankyou-card .btn-sk-orange { margin-top: 10px; }
