:root {
  --pfw-navy: #12375b;
  --pfw-red: #c62828;

  /* Background & surfaces */
  --pfw-bg: #f6f8fd;
  --pfw-surface: #ffffff;
  --pfw-surface-2: #f3f6fb;

  /* Text */
  --pfw-dark: #0d2438;
  --pfw-muted: #475569;
  --pfw-muted-2: #64748b;

  /* Borders & shadows */
  --pfw-border: rgba(18, 55, 91, 0.14);
  --pfw-border-strong: rgba(18, 55, 91, 0.22);
  --pfw-radius: 14px;

  --shadow-sm: 0 10px 28px rgba(13, 36, 56, 0.06);
  --shadow-md: 0 14px 40px rgba(13, 36, 56, 0.10);
  --shadow-lg: 0 18px 52px rgba(13, 36, 56, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pfw-dark);
  line-height: 1.65;

  /* Softer background (reduces “too white”) */
  background: radial-gradient(900px 380px at 18% 0%, #e9f1ff 0%, rgba(233, 241, 255, 0) 62%),
              radial-gradient(900px 380px at 82% 6%, #f2f6ff 0%, rgba(242, 246, 255, 0) 60%),
              linear-gradient(180deg, var(--pfw-bg) 0%, #ffffff 46%, #ffffff 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pfw-navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =================================
   HEADER
================================= */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 55, 91, 0.10);
  position: sticky;
  top: 0;
  z-index: 100;

  /* subtle glassy polish */
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo {
  width: 92px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--pfw-dark);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.84rem;
  color: var(--pfw-muted-2);
  line-height: 1.2;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.main-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 150ms ease, transform 150ms ease;
}

.main-nav a:hover {
  background: rgba(18, 55, 91, 0.06);
  transform: translateY(-1px);
}

.main-nav .nav-cta {
  background: var(--pfw-red);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(198, 40, 40, 0.22);
}

.main-nav .nav-cta:hover {
  background: #a51f1f;
  transform: translateY(-1px);
}

/* =================================
   HERO (HOME)
================================= */

.hero {
  background: radial-gradient(circle at top left, #e6efff 0, #ffffff 45%, #ffffff 100%);
  padding: 3.2rem 0 2.7rem;
  border-bottom: 1px solid rgba(18, 55, 91, 0.08);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-text p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--pfw-muted);
  max-width: 40rem;
}

.hero-actions {
  margin-top: 1.55rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-highlight {
  background: var(--pfw-surface);
  border-radius: var(--pfw-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--pfw-border);
  position: relative;
  overflow: hidden;
}

.hero-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 220px at 10% 10%, rgba(18, 55, 91, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-highlight h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.hero-highlight p {
  margin: 0 0 0.75rem;
  color: var(--pfw-muted);
}

.hero-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--pfw-muted);
}

.hero-list li + li {
  margin-top: 0.28rem;
}

/* =================================
   BUTTONS
================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn.primary {
  background: var(--pfw-navy);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(18, 55, 91, 0.26);
}

.btn.primary:hover {
  background: #0b2440;
  box-shadow: 0 16px 34px rgba(18, 55, 91, 0.32);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--pfw-navy);
  border-color: rgba(18, 55, 91, 0.18);
}

.btn.secondary:hover {
  background: rgba(18, 55, 91, 0.05);
  transform: translateY(-1px);
}

.btn.full-width {
  width: 100%;
}

/* =================================
   HOME GRID & STORIES
================================= */

.home-grid {
  padding: 1.4rem 0 2.7rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Shared card styling */
.card,
.story-card,
.highlight-box,
.donate-box,
.tier-card {
  background: var(--pfw-surface);
  border-radius: var(--pfw-radius);
  border: 1px solid var(--pfw-border);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.story-card:hover,
.highlight-box:hover,
.donate-box:hover,
.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pfw-border-strong);
}

.card {
  padding: 1.35rem 1.4rem;
}

.card.small {
  padding: 1.05rem 1.15rem;
}

.card h3,
.card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.07rem;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
}

.card-link {
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.card-link::after {
  content: "→";
  margin-left: 0.35rem;
}

.home-stories {
  background: linear-gradient(180deg, var(--pfw-surface-2) 0%, #ffffff 100%);
  padding: 2.8rem 0 3.2rem;
  border-top: 1px solid rgba(18, 55, 91, 0.08);
}

.section-header {
  text-align: center;
  margin-bottom: 1.6rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--pfw-muted-2);
  font-size: 1.02rem;
}

.story-card {
  padding: 1.35rem 1.4rem;
}

.story-card h3,
.story-card.big h2 {
  margin: 0 0 0.55rem;
}

.story-card p {
  margin: 0 0 0.6rem;
  font-size: 0.93rem;
  color: #4b5563;
}

.stories-cta {
  margin-top: 2rem;
  text-align: center;
}

/* =================================
   GENERIC PAGE LAYOUTS
================================= */

.page-header {
  padding: 2.4rem 0 1.5rem;
  border-bottom: 1px solid rgba(18, 55, 91, 0.10);
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 55%, #ffffff 100%);
}

.page-header h1 {
  margin: 0 0 0.45rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 0;
  color: var(--pfw-muted-2);
  max-width: 46rem;
  font-size: 1.02rem;
}

/* Sections feel more “designed” */
.page-section {
  padding: 2.3rem 0;
}

.page-section.alt {
  background: linear-gradient(180deg, var(--pfw-surface-2) 0%, #ffffff 100%);
  border-top: 1px solid rgba(18, 55, 91, 0.07);
  border-bottom: 1px solid rgba(18, 55, 91, 0.07);
}

/* Great for About/Programs/Stories text blocks */
.page-section h2 {
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-section h3 {
  margin: 1.15rem 0 0.55rem;
}

.page-section p {
  margin: 0 0 0.9rem;
  color: var(--pfw-muted);
  font-size: 0.98rem;
}

/* Two-column */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.9rem;
  align-items: flex-start;
}

/* Lists */
.checklist,
.bullets {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.checklist li + li,
.bullets li + li {
  margin-top: 0.3rem;
}

.leaders {
  list-style: none;
  padding-left: 0;
  margin: 0.35rem 0 0.9rem;
  font-size: 0.95rem;
}

.leaders li + li {
  margin-top: 0.35rem;
}

/* Highlight boxes (nice for “What we do”, “How to help”, sidebars) */
.highlight-box {
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.highlight-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--pfw-navy), var(--pfw-red));
  opacity: 0.9;
}

/* =================================
   SPONSOR TIERS
================================= */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.tier-card {
  padding: 1.35rem 1.45rem;
}

.tier-card.featured {
  border-color: rgba(198, 40, 40, 0.55);
  box-shadow: 0 18px 50px rgba(198, 40, 40, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, rgba(198, 40, 40, 0.04) 100%);
}

.tier-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
}

.tier-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* =================================
   CTA BANNERS
================================= */

.cta-section {
  background: linear-gradient(135deg, #0f2942 0%, #0b2238 100%);
  color: #e2e8f0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-inner h2 {
  margin: 0 0 0.45rem;
}

.cta-inner p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
}

.cta-section .btn.primary {
  background: #ffffff;
  color: var(--pfw-navy);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.cta-section .btn.secondary {
  border-color: rgba(226, 232, 240, 0.55);
  color: #e2e8f0;
  background: transparent;
}

/* =================================
   DONATE & CONTACT BOXES
================================= */

.donate-box {
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.donate-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--pfw-navy), var(--pfw-red));
  opacity: 0.9;
}

.note {
  font-size: 0.9rem;
  color: var(--pfw-muted-2);
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.45rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.95rem;

  /* make “Send a Message” box feel less plain if wrapped in a card */
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(18, 55, 91, 0.18);
  padding: 0.6rem 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(18, 55, 91, 0.45);
  box-shadow: 0 0 0 4px rgba(18, 55, 91, 0.10);
}

.contact-form textarea {
  resize: vertical;
}

/* =================================
   FOOTER
================================= */

.site-footer {
  border-top: 1px solid rgba(18, 55, 91, 0.10);
  margin-top: 2rem;
  padding: 1.6rem 0 2.2rem;
  background: rgba(255, 255, 255, 0.95);
}

.footer-inner {
  text-align: center;
  font-size: 0.88rem;
  color: #6b7280;
}

.footer-contact {
  margin-top: 0.35rem;
}

/* =================================
   SMALL POLISH UTILITIES
================================= */

hr {
  border: 0;
  border-top: 1px solid rgba(18, 55, 91, 0.12);
}

main {
  /* helps pages feel less stark */
  padding-bottom: 0.5rem;
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    width: 64px;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    align-items: flex-start;
  }

  /* reduce hover transforms on touch */
  .card:hover,
  .story-card:hover,
  .highlight-box:hover,
  .donate-box:hover,
  .tier-card:hover {
    transform: none;
  }
}
