/* Lucky Life Foundation — shared styles (palette matched to educategirls.ngo: red + charcoal + white) */
:root {
  --teal-dark: #1c1a1a;
  --teal: #8a1216;
  --gold: #e5252a;
  --gold-dark: #a81b1f;
  --cream: #f7f7f7;
  --text: #2b2b2b;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --border: #e5e5e5;
  --shadow: 0 10px 30px rgba(20, 15, 15, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-dark);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--teal-dark);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-dark); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 780px;
  margin: 0 auto 20px;
  line-height: 1.25;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: #e6d9d9;
}

.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }

.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--teal-dark); transform: translateY(-2px); }

/* small hero for inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 2.1rem; margin-bottom: 10px; }
.page-hero p { color: #e6d9d9; max-width: 620px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--white); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 2rem; color: var(--teal-dark); margin-bottom: 14px; }
.section-head p { color: var(--text-light); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-card { text-align: center; }
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--gold-dark); }
.stat-card .label { color: var(--text-light); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Cards / Grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.program-icon {
  width: 62px;
  height: 62px;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px -6px rgba(20, 15, 15, 0.35);
  transform: rotate(-4deg);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), border-radius 0.35s ease;
}
.program-card:hover .program-icon {
  transform: rotate(3deg) scale(1.08);
  border-radius: 62% 38% 37% 63% / 59% 56% 44% 41%;
}
.program-icon img {
  width: 30px;
  height: 30px;
}

.program-card h3 { color: var(--teal-dark); font-size: 1.15rem; margin-bottom: 10px; }
.program-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Founder ---------- */
.founder-section {
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 46px;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
}

.founder-name { color: var(--teal-dark); font-size: 1.5rem; margin-bottom: 4px; }
.founder-role { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.founder-section p { margin-bottom: 16px; color: var(--text); }

/* ---------- Image frames ---------- */
.img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Badges / Quote ---------- */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.badge-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 14px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 180px;
}
.badge-pill .num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--gold-dark); }
.badge-pill .label { font-size: 0.82rem; color: var(--text-light); }

.quote-block {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--teal-dark);
  max-width: 820px;
  margin: 0 auto;
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-dark);
}

.breadcrumb-note {
  text-align: center;
  color: var(--text-light);
  max-width: 760px;
  margin: 0 auto 40px;
}

/* ---------- Values / Vision Mission Goals ---------- */
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vmg-card {
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.vmg-card h3 { color: var(--teal-dark); margin-bottom: 12px; }
.vmg-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Bank details card ---------- */
.bank-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  padding: 36px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.bank-details { display: flex; flex-direction: column; gap: 14px; }
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.bank-row:last-child { border-bottom: none; padding-bottom: 0; }
.bank-label { color: var(--text-light); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.bank-value { color: var(--teal-dark); font-weight: 700; text-align: right; }

.vmg-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }

@media (max-width: 640px) {
  .bank-row { flex-direction: column; gap: 4px; }
  .bank-value { text-align: left; }
  .vmg-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ---------- Newsletter / form feedback / honeypot ---------- */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.newsletter-form input[type="email"] {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
}
.newsletter-form input[type="email"]::placeholder { color: #b9a9a9; }
.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-dark); }

.form-feedback { font-weight: 600; }
.form-feedback.success { color: #7fd99a; }
.form-feedback.error { color: #ff9f9f; }

form.contact-form .form-feedback.success { color: #1c7a3d; }
form.contact-form .form-feedback.error { color: var(--gold-dark); }

.donation-status {
  display: none;
  max-width: 700px;
  margin: 24px auto 0;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}
.donation-status.success { background: #e7f7ec; color: #1c7a3d; border: 1px solid #b9e6c5; }
.donation-status.error { background: #fdecec; color: #a81b1f; border: 1px solid #f5c2c2; }

/* ---------- Donor details mini-form ---------- */
.donor-details-card {
  max-width: 700px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.donor-details-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.donor-details-row input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}
.donor-details-row input:focus {
  outline: none;
  border-color: var(--teal);
}

/* ---------- Donation tiers ---------- */
.give-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.give-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}
.give-card:hover { transform: translateY(-6px); }
.give-card.featured {
  border: 2px solid var(--gold);
  transform: scale(1.04);
}
.give-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.give-tag {
  position: absolute;
  top: -14px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
}
.give-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.give-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 22px;
  flex-grow: 1;
}

@media (max-width: 900px) {
  .give-grid { grid-template-columns: repeat(2, 1fr); }
  .give-card.featured { transform: none; }
  .give-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 560px) {
  .give-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cta-band p { margin-bottom: 26px; opacity: 0.95; }
.cta-band .btn-primary { background: var(--teal-dark); }
.cta-band .btn-primary:hover { background: var(--teal); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(135deg, var(--gold), var(--teal-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(20, 15, 15, 0.35);
  transform: rotate(-4deg);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.contact-info-item:hover .contact-icon {
  transform: rotate(3deg) scale(1.08);
}
.contact-icon img {
  width: 22px;
  height: 22px;
}
.contact-info-item h4 { color: var(--teal-dark); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--text-light); }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
form.contact-form label { font-weight: 600; font-size: 0.9rem; margin-bottom: -8px; }
form.contact-form input,
form.contact-form textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button {
  align-self: flex-start;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}
form.contact-form button:hover { background: var(--teal); }

.map-note {
  margin-top: 30px;
  padding: 20px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--teal-dark);
  color: #d6c9c9;
  padding: 60px 24px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto 40px;
}
.footer-grid h4 { color: var(--white); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.85rem;
  color: #a89a9a;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .vmg-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .founder-section { grid-template-columns: 1fr; padding: 32px; }
  .founder-photo { max-width: 200px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .hero h1 { font-size: 2rem; }
  .programs-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
