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

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

/* Zorg dat ankerdoelen niet onder de sticky header verdwijnen */
:target {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg: #f4efe6;
  --card: #ffffff;
  --text: #151515;
  --muted: #6b6b6b;
  --accent: #ff7a00;
  --accent-2: #ff8f2a;
  --green-900: #0b4d2b;
  --green-700: #0e6a38;
  --border: #e4ded2;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
/* root is het begin van de website en het verwijst naar de html, je kan met :root een variabele aanmaken en dan bijvoorbeeld in je body
kan je dan de color verwijzen naar de variabel,
het is dus de centrale plek om kleur en font etc te bepalen */

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.kicker {
  color: var(--muted);
  margin-top: -10px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: .02em;
}

h1,
h2,
h3 {
  font-family: "Bree Serif", serif;
  margin: 0 0 12px;
  color: var(--text);
}

h1 {
  font-size: clamp(28px, 5vw, 56px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  color: #fff;
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
}

h3 {
  font-size: clamp(18px, 2.5vw, 28px);
}

p {
  line-height: 1.6;
  margin: 0 0 1rem;
}

.big {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Make display-only forms look like static content (no black fieldset outline or notice text) */
.donation-form fieldset,
.details-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.donation-form input[disabled],
.details-form input[disabled],
.donation-form textarea[disabled],
.details-form textarea[disabled],
.donation-form select[disabled],
.details-form select[disabled],
.donation-form button[disabled],
.details-form button[disabled] {
  border-color: #EAEAEA;
  /* soft, neutral border */
  background: #EAEAEA;
  /* light background to indicate disabled */
  color: inherit;
  cursor: default;
}

/* hide the small notice paragraphs (we removed them from markup, but keep this as fallback) */
.notice {
  display: none;
}


.site-header {
  position: relative;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 106px;
  /* pad corrigeren: CSS-bestand staat in styles/, dus ga één niveau omhoog naar img/ */
  background: url('../img/bamboo.png') repeat center/cover;
  background-color: #0b4d2b;
  z-index: 1;
}

.site-header::after {
  display: none;
}

.site-header .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 120px 8px 120px;
  position: relative;
  min-height: 50px;
}


.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: absolute;
  left: 30px;
  top: 0;
  z-index: 100;
}

.logo-circle {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.logo-image {
  height: 60px;
  width: auto;
}

.top-nav {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
  flex: 1;
  justify-content: center;
  margin-left: 100px;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  white-space: nowrap;
}

.top-nav a:hover {
  text-decoration: underline;
}

.btn-doneer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.btn-doneer-top:hover {
  filter: brightness(.98);
}


.mainbar {
  padding: 12px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.main-nav a:hover {
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.search-btn {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: rgba(255, 255, 255, .25);
}

.btn {
  --bg: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--bg);
  border: 0;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn:hover {
  filter: brightness(.98);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

/* Hover / focus styles for interactive buttons (skip when disabled) */
.btn:not([disabled]):hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  filter: brightness(1.02);
}

.btn:not([disabled]):active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.22);
  outline-offset: 4px;
}

.btn-doneer {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  min-width: 220px;
  height: 48px;
  font-size: 16px;
}

/* Ensure all donation-related buttons share the same orange appearance and interactive behaviour */
.btn-doneer-top,
.btn-primary,
.btn-doneer {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  min-width: 220px;
  height: 48px;
  font-size: 16px;
}

/* Keep the orange appearance for donate buttons even when disabled (visual only) */
.btn-doneer[disabled],
.btn-primary[disabled],
.btn-doneer-top[disabled] {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  opacity: 0.85;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: default;
}

.hero {
  position: relative;
  background: #1a1a1a url('../img/panda2.jpg?v=3') center center/cover no-repeat;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 12% 12%;
  margin-top: -20px;
  margin-bottom: 40px;
  z-index: 10;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  display: none;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  text-align: left;
}

/* donation area: left (forms) + right (images + text) */
.doneren .donation-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.doneren .donation-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.doneren .donation-left h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.doneren .donation-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doneren .right-text {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.doneren .donation-layout>div {
  margin-bottom: 18px;
}

.doneren .donation-layout .btn {
  margin-top: 14px;
}

/* Each block contains a form and a side image. On small screens they stack; on wider screens the image sits beside the form. */
.doneren .donation-block,
.doneren .details-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.doneren .donation-form,
.doneren .details-form {
  max-width: 680px;
  /* a bit thinner */
}

.doneren .side-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.doneren .side-image {
  justify-self: end;
  max-width: 360px;
}

.doneren .side-image.tall img {
  max-height: 320px;
}

@media (min-width: 900px) {

  .doneren .donation-block,
  .doneren .details-block {
    grid-template-columns: 1fr 340px;
  }

  /* two-column layout for the whole donation area */
  .doneren .donation-layout {
    grid-template-columns: 1fr 480px;
    align-items: start;
  }
}

.donation-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.period {
  display: flex;
  gap: 12px;
  margin: 4px 0 14px;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.radio input {
  accent-color: var(--green-700);
}

/* Make the period radios look like interactive pills (hover + selected states) */
.period .radio {
  padding: 6px;
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
}

.period .radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.period .radio:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.period .radio input:not([disabled]):checked+span {
  /* Keep selected period visually neutral (no orange fill) */
  background: #fff;
  color: inherit;
  border-color: var(--border);
  box-shadow: none;
}

.period .radio input:disabled+span {
  opacity: 0.7;
  filter: grayscale(.2);
}

.amounts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 16px;
}

.amounts input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: #f8f8f8;
}

input[type="radio"]:checked+.chip {
  background: #ffefe2;
  border-color: var(--accent);
  color: #5a2e00;
  box-shadow: inset 0 0 0 2px rgba(255, 122, 0, .25);
}

.custom-amount {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-amount .euro {
  position: absolute;
  left: 12px;
  color: var(--muted);
  z-index: 1;
  pointer-events: none;
}

.custom-amount input[type="number"] {
  padding: 10px 12px 10px 24px;
  border-radius: 12px;
  border: 1px solid #747272;
  width: 160px;
  background: #EAEAEA;
}

.custom-amount input[type="number"]:focus {
  outline: 2px solid rgba(255, 122, 0, .25);
  border-color: var(--accent);
}

.iban-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.iban-field input {
  width: 100%;
  height: 44px;
  border: 1px solid #747272;
  border-radius: 0;
  padding: 0 12px;
  background: #EAEAEA;
}

.help {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 8px;
}

.side-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-image.tall {
  aspect-ratio: 16/11;
}

.details-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
}

.details-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field input {
  height: 44px;
  border: 1px solid #747272;
  border-radius: 0;
  padding: 0 12px;
  background: #EAEAEA;
}

.voorkeuren {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check input {
  accent-color: var(--green-700);
  margin-top: 5px;
}

.consent {
  margin: 10px 0 16px;
}


.mission-section {
  background: white;
  padding: 60px 0;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.mission-statement {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 600;
}

.mission-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 600px;
  max-width: 450px;
  margin-left: auto;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials .carousel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.slide {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.portrait {
  width: 100%;
  min-width: 400px;
  max-width: 500px;
  margin: 0 auto;
  flex-shrink: 0;
}

.portrait img {
  width: 100%;
  border-radius: 20px;
  height: 500px;
  object-fit: cover;
  display: block;
}

.quote {
  flex: 1;
  min-width: 0;
}

.quote .tekst {
  font-size: 1.05rem;
}

.carousel-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.carousel-nav:hover {
  background: #faf7f1;
}

.dots {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.dots button {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: .9rem;
}

.dots button[aria-selected="true"] {
  background: #111;
  color: #fff;
}

.quote-blok .quote-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.quote-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}


.site-footer {
  background: #111;
  color: #ddd;
  margin-top: 56px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.site-footer a {
  color: #ddd;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}


.spending-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0 16px;
  box-shadow: var(--shadow);
}

.spending-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 28px;
}

.chart-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.donut-chart {
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.legend-color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}

.legend-label {
  flex: 1;
}

.legend-value {
  font-weight: 700;
  color: var(--text);
}

.spending-text h3 {
  margin-bottom: 16px;
}

.spending-text ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.spending-text ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.spending-text ul li::before {
  content: "•";
  position: absolute;
  left: 12px;
  color: var(--accent);
  font-size: 20px;
}


.achievements-section {
  margin-top: 40px;
}

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

.achievement-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.achievement-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.achievement-content {
  padding: 20px;
}

.achievement-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.achievement-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}


.stories-section {
  margin-top: 40px;
  padding-bottom: 80px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.story-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.story-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 400px;
}

.story-featured img {
  position: absolute;
  inset: 0;
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: white;
}

.story-overlay h3 {
  color: white;
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.story-overlay p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.story-overlay .story-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s;
}

.story-overlay .story-link:hover {
  background: white;
}


.story-small {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.story-small img {
  height: 160px;
  flex-shrink: 0;
}

.story-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.story-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.story-content .story-link {
  color: var(--green-700);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.story-content .story-link:hover {
  text-decoration: underline;
}


.site-footer {
  background: var(--bg);
  color: var(--text);
  margin-top: 80px;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-social {
  text-align: center;
  margin-bottom: 40px;
}

.social-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #999;
  font-weight: 400;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.2s;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  background: #fafafa;
}


.footer-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-family: Inter, sans-serif;
  color: #555;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 28px;
}

.footer-payment-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  margin-top: 28px;
  color: #555;
  text-transform: uppercase;
}

.payment-logos {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-logo {
  font-size: 11px;
  padding: 6px 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-weight: 600;
}

.certification-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.cert-logo {
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 6px;
  flex-shrink: 0;
}

.cert-logo.anbi {
  font-size: 12px;
  font-weight: 700;
  color: #0066cc;
  background: #e6f2ff;
}

.cert-logo.cbf {
  font-size: 9px;
  font-weight: 700;
  color: white;
  background: #ff6600;
  line-height: 1.2;
  text-align: center;
  padding: 4px;
}

.cert-badge span {
  font-size: 11px;
  font-weight: 600;
  color: #555;
}


.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding-top: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.copyright {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.cookies-link {
  font-size: 12px;
  color: #999;
  text-decoration: none;
}

.cookies-link:hover {
  text-decoration: underline;
}

.footer-tagline {
  text-align: right;
}

.tagline {
  font-family: "Bree Serif", serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #333;
}


/* Responsive Media Queries */
@media (max-width: 1200px) {
  .container {
    width: 95vw;
  }

  .site-header .topbar {
    padding: 8px 60px;
  }

  .mainbar {
    padding: 12px 60px;
  }

  .donation-layout,
  .details-layout,
  .mission-layout,
  .spending-layout,
  .quote-blok .quote-layout {
    grid-template-columns: 1fr;
  }

  .side-image.tall {
    aspect-ratio: 16/9;
  }

  .mission-image {
    max-width: 100%;
    margin: 0 auto;
  }

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

  .footer-columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .footer-columns .footer-col:first-child {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .site-header .topbar {
    padding: 8px 30px;
  }

  .mainbar {
    padding: 12px 30px;
  }

  .top-nav {
    gap: 16px;
    margin-left: 80px;
  }

  .top-nav a {
    font-size: 13px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero {
    height: 380px;
  }

  .slide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portrait {
    min-width: 350px;
    max-width: 100%;
    order: -1;
  }

  .portrait img {
    height: 450px;
  }

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

  .story-featured,
  .story-small {
    grid-column: span 2;
  }

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

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-header .topbar {
    flex-direction: column;
    padding: 8px 20px;
    gap: 12px;
  }

  .logo {
    position: relative;
    left: 0;
    order: -1;
  }

  .logo-circle {
    width: 60px;
    height: 60px;
  }

  .logo-image {
    height: 45px;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    gap: 12px;
  }

  .top-nav a {
    font-size: 12px;
  }

  .mainbar {
    padding: 12px 20px;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero {
    height: 300px;
    border-radius: 0 0 40% 40% / 0 0 10% 10%;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

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

  .mission-image {
    max-height: 400px;
  }

  .carousel {
    grid-template-columns: 40px 1fr 40px !important;
    padding: 16px;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .portrait {
    min-width: 300px;
    max-width: 100%;
  }

  .portrait img {
    height: 400px;
    width: 100%;
    max-width: 100%;
  }

  .quote .tekst {
    font-size: 0.95rem;
  }

  .spending-layout {
    gap: 24px;
  }

  .donut-chart {
    max-width: 300px;
  }

  .achievement-card img {
    height: 180px;
  }

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

  .story-featured,
  .story-small {
    grid-column: span 1;
  }

  .story-featured {
    min-height: 300px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-columns .footer-col:first-child {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .container {
    width: 96vw;
  }

  .site-header .topbar {
    padding: 8px 12px;
  }

  .mainbar {
    padding: 12px 12px;
  }

  .logo-circle {
    width: 50px;
    height: 50px;
  }

  .logo-image {
    height: 38px;
  }

  .hero {
    height: 250px;
    border-radius: 0 0 30% 30% / 0 0 8% 8%;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    padding: 40px 0;
  }

  .donation-form,
  .details-form {
    padding: 16px;
  }

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

  .chip {
    width: 100%;
    justify-content: center;
  }

  .custom-amount {
    width: 100%;
  }

  .custom-amount input[type="number"] {
    width: 100%;
  }

  .side-image img,
  .mission-image img,
  .quote-image img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: cover;
  }

  .portrait {
    min-width: 280px;
    max-width: 100%;
  }

  .portrait img {
    height: 380px;
    width: 100%;
  }

  .story-featured {
    min-height: 250px;
  }

  .story-overlay {
    padding: 20px;
  }

  .story-overlay h3 {
    font-size: 20px;
  }

  .story-card img,
  .achievement-card img {
    height: 150px;
  }

  .btn-primary {
    min-width: 180px;
    height: 44px;
    font-size: 15px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .footer-logo-img {
    height: 50px;
  }
}