:root {
  --mz-primary: #175f73;
  --mz-primary-hover: #0d4a5a;
  --mz-accent: #e5ac1b;
  --mz-text: #222222;
  --mz-body: #333333;
  --mz-muted: #666666;
  --mz-border: #e6e6e6;
  --mz-surface: #fafafa;
  --mz-white: #ffffff;
  --mz-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --mz-font-body: "Poppins", sans-serif;
  --mz-font-heading: "Fredoka", sans-serif;
  --mz-font-label: "DM Sans", sans-serif;
  --mz-focus: 0 0 0 3px rgba(23, 95, 115, 0.22);
  --mz-section-y: 96px;
}

body {
  color: var(--mz-muted);
  font-family: var(--mz-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--mz-text);
  font-family: var(--mz-font-heading);
  letter-spacing: 0;
}

p {
  color: var(--mz-muted);
}

a,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a {
  color: var(--mz-primary);
}

a:hover {
  color: var(--mz-primary-hover);
}

:focus-visible {
  outline: 0;
  box-shadow: var(--mz-focus);
}

.sec-pad {
  padding: var(--mz-section-y) 0;
}

.sec-title .sub-title {
  color: var(--mz-primary);
  font-family: var(--mz-font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sec-title h2 {
  font-size: clamp(2rem, 1.45rem + 1.8vw, 2.85rem);
  line-height: 1.2;
}

.theme-btn-one,
.theme-btn-two,
button.theme-btn-one,
button.theme-btn-two {
  border-radius: 6px;
  background: #25C3F3 !important;
  color: var(--mz-white) !important;
  font-family: var(--mz-font-label);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 14px 28px;
  text-transform: none;
}

.theme-btn-one:before,
.theme-btn-two:before {
  background: #0D7794 !important;
}

.theme-btn-one:hover,
.theme-btn-two:hover {
  color: var(--mz-white) !important;
}

.image-caption,
figure figcaption {
  color: var(--mz-muted);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.55;
  margin-top: 10px;
}

.page-title .bg-layer {
  background-position: center;
  background-size: cover;
}

.banner-carousel .active .slide-item .image-layer {
  transform: scale(1.03) !important;
}

.banner-style-two .banner-carousel .slide-item:before,
.banner-carousel .slide-item:before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.3));
}

.cause-block-one .inner-box,
.news-block-one .inner-box,
.news-block-two .inner-box,
.project-block-one .inner-box,
.service-block-one .inner-box,
.event-block-one .inner-box,
.events-block-one .inner-box {
  border-radius: 8px;
}

.cause-block-one .inner-box .image-box .image,
.news-block-one .inner-box .image-box,
.news-block-two .inner-box .image-box,
.project-block-one .inner-box .image-box,
.event-block-one .inner-box .image-box,
.events-block-one .inner-box .image-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.cause-block-one .inner-box .image-box .image img,
.news-block-one .inner-box .image-box img,
.news-block-two .inner-box .image-box img,
.project-block-one .inner-box .image-box img,
.event-block-one .inner-box .image-box img,
.events-block-one .inner-box .image-box img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease, opacity 250ms ease;
  width: 100%;
}

.cause-block-one .inner-box:hover .image-box .image img,
.news-block-one .inner-box:hover .image-box img,
.news-block-two .inner-box:hover .image-box img,
.project-block-one .inner-box:hover .image-box img,
.event-block-one .inner-box:hover .image-box img,
.events-block-one .inner-box:hover .image-box img {
  opacity: 1 !important;
  transform: scale(1.03) !important;
}

.clients-section {
  padding: 42px 0;
}

.clients-section .clients-logo {
  align-items: center;
  display: flex !important;
  height: 86px;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
}

.clients-section .clients-logo a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.clients-section .clients-logo-single {
  max-width: 240px;
}

.clients-section .clients-logo img {
  display: block;
  filter: grayscale(100%);
  height: auto !important;
  margin: 0 auto;
  max-height: 64px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.76;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
  width: auto !important;
}

.clients-section .clients-logo img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
}

.scroll-to-top {
  bottom: 98px;
  right: 18px;
}

.donation-landing {
  background: var(--mz-white);
  padding: 100px 0 86px;
}

.donation-landing__intro {
  margin-right: 30px;
}

.donation-landing__tag {
  color: var(--mz-primary);
  display: inline-block;
  font-family: var(--mz-font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.donation-landing__intro h2,
.donation-landing__heading h3 {
  color: var(--mz-text);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.donation-landing__intro h2 {
  font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.875rem);
}

.donation-landing__heading h3 {
  font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.125rem);
}

.donation-landing__intro p,
.donation-landing__heading p,
.donation-landing__note p {
  color: var(--mz-muted);
  font-size: 16px;
  line-height: 1.8;
}

.donation-landing__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.donation-landing__link {
  color: var(--mz-primary);
  font-family: var(--mz-font-label);
  font-weight: 700;
}

.donation-landing__bank {
  background: var(--mz-surface);
  border: 1px solid var(--mz-border);
  border-radius: 8px;
  padding: 36px;
}

.donation-bank-card {
  background: var(--mz-white);
  border-radius: 8px;
  box-shadow: var(--mz-shadow);
  height: 100%;
  padding: 28px;
}

.donation-bank-card h4 {
  color: var(--mz-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.donation-bank-card dl {
  margin: 0;
}

.donation-bank-card dt {
  color: var(--mz-primary);
  font-family: var(--mz-font-label);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.donation-bank-card dd {
  color: var(--mz-body);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

.donation-bank-card dd:last-child {
  margin-bottom: 0;
}

.donation-landing__note {
  align-items: center;
  border-top: 1px solid var(--mz-border);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 26px;
}

.donation-landing__note p {
  margin: 0;
}

.floating-donate {
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  font-family: var(--mz-font-label);
  pointer-events: none;
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px));
  z-index: 9999;
}

.floating-donate__button,
.floating-donate__panel,
.floating-donate__close {
  pointer-events: auto;
}

.floating-donate__button {
  align-items: center;
  background: #25C3F3;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  color: var(--mz-white);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  white-space: nowrap;
}

.floating-donate__button:hover,
.floating-donate__button:focus-visible {
  background: #0D7794;
}

.floating-donate__mark {
  align-items: center;
  background: var(--mz-white);
  border-radius: 50%;
  color: #25C3F3;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 20px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  transition: transform 220ms ease;
  width: 24px;
}

.floating-donate.is-open .floating-donate__mark {
  transform: rotate(45deg);
}

.floating-donate__panel {
  background: var(--mz-white);
  border-radius: 12px;
  bottom: calc(100% + 12px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  max-height: min(70vh, 420px);
  max-width: min(300px, calc(100vw - 32px));
  opacity: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 22px;
  position: absolute;
  right: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  visibility: hidden;
  width: 300px;
}

.floating-donate.is-open .floating-donate__panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.floating-donate__close {
  align-items: center;
  background: var(--mz-surface);
  border: 0;
  border-radius: 50%;
  color: var(--mz-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 10px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  width: 36px;
}

.floating-donate__panel h4 {
  color: var(--mz-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  padding-right: 36px;
}

.floating-donate__panel p {
  color: var(--mz-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.floating-donate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-donate__actions .theme-btn-one,
.floating-donate__secondary {
  display: block;
  min-height: 48px;
  text-align: center;
  width: 100%;
}

.floating-donate__actions .theme-btn-one {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 12px 20px;
}

.floating-donate__secondary {
  align-items: center;
  border: 1px solid #25C3F3;
  border-radius: 6px;
  color: #25C3F3;
  display: flex;
  font-weight: 700;
  justify-content: center;
  padding: 13px 24px;
}

.floating-donate__secondary:hover {
  background: #25C3F3;
  color: var(--mz-white);
}

/* Dim page behind the open panel on phones (backdrop sits outside the widget) */
.floating-donate__backdrop {
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  bottom: 0;
  display: none;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
  visibility: hidden;
  z-index: 9998;
}

html.floating-donate-open .floating-donate__backdrop {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@media only screen and (max-width: 991px) {
  :root {
    --mz-section-y: 78px;
  }

  .donation-landing {
    padding: 80px 0 70px;
  }

  .donation-landing__intro {
    margin-bottom: 40px;
    margin-right: 0;
  }

  .floating-donate {
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
  }

  .floating-donate__button {
    min-height: 50px;
    padding: 11px 16px;
  }

  .floating-donate__panel {
    max-width: min(300px, calc(100vw - 24px));
    width: min(300px, calc(100vw - 24px));
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --mz-section-y: 64px;
  }

  .donation-landing__bank {
    padding: 24px;
  }

  .donation-bank-card {
    height: auto;
    margin-bottom: 24px;
  }

  .donation-landing__note {
    display: block;
  }

  .donation-landing__note .theme-btn-one {
    margin-top: 18px;
  }

  .floating-donate {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: auto;
    right: max(14px, env(safe-area-inset-right, 0px));
  }

  .floating-donate__button {
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px 10px 12px;
    width: auto;
  }

  .floating-donate__mark {
    font-size: 18px;
    height: 22px;
    width: 22px;
  }

  .floating-donate__panel {
    bottom: calc(100% + 10px);
    left: auto;
    max-height: min(65vh, 380px);
    max-width: min(320px, calc(100vw - 28px));
    padding: 18px 16px 16px;
    right: 0;
    width: min(320px, calc(100vw - 28px));
  }

  .floating-donate__panel h4 {
    font-size: 18px;
  }

  .floating-donate__panel p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .floating-donate__backdrop {
    display: block;
  }

  html.floating-donate-open {
    overflow: hidden;
  }

  .scroll-to-top {
    bottom: 84px;
    right: 8px;
  }
}

/* Very small phones: icon-only FAB so it never crowds the screen */
@media only screen and (max-width: 380px) {
  .floating-donate__button {
    border-radius: 50%;
    gap: 0;
    height: 52px;
    justify-content: center;
    min-height: 52px;
    padding: 0;
    width: 52px;
  }

  .floating-donate__button > span:not(.floating-donate__mark) {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .floating-donate__panel {
    max-width: calc(100vw - 24px);
    right: 0;
    width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .banner-carousel .active .slide-item .image-layer,
  .cause-block-one .inner-box:hover .image-box .image img,
  .news-block-one .inner-box:hover .image-box img,
  .news-block-two .inner-box:hover .image-box img,
  .project-block-one .inner-box:hover .image-box img,
  .event-block-one .inner-box:hover .image-box img,
  .events-block-one .inner-box:hover .image-box img {
    transform: none !important;
  }
}
