/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Import Instrument Sans font */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --Primary: #2D8CD1;
  --Orange: #FF7B00;
  --Black: #101010;
  --Body-text: #444;
  --White: #FFF;
  --F8F8F8: #F8F8F8;
}

/* Button Styles */

/* Primary Button */
body .primary-button {
  border-radius: 50px;
  background: var(--Primary, #2D8CD1);
  padding: 10px 20px;
  text-align: center;
  color: var(--White, #FFF);
  transition: all .3s ease-in-out;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  width: max-content;
  transform: none;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

body .primary-button:hover {
  background: #0A578F;
  transform: none;
}

/* Orange Button */
body .orange-button {
  display: flex;
  gap: 4px;
  border-radius: 50px;
  padding: 10px 20px;
  border: 1px solid #FF7B00;
  color: var(--Black, #101010);
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  width: max-content;
  text-align: center;
  transition: all .3s ease-in-out;
  transform: none;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

body .orange-button:hover {
  background: var(--Orange, #FF7B00);
  color: #fff;
  line-height: 120%;
  font-size: 16px;
}

/* Section Styles */

/* Top Section (.don-top-sec) */
.don-top-sec {
  width: 100%;
  max-width: 1800px;
  margin: 40px auto 80px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 800px;
}

.don-top-sec .col-f {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  object-position: center center;
}

.don-top-sec .col-s {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.don-top-sec .title {
  color: #000;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: 95%;
  max-width: 611px;
  margin-bottom: 24px;
}

.don-top-sec .subtitle {
  max-width: 496px;
  color: #000;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin-bottom: 40px;
}

/* Text Section (.don-text-sec) */
.don-text-sec {
  max-width: 984px;
  margin: 0 auto 140px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.don-text-sec .title {
  color: #101010;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 50px;
  font-weight: 500;
  line-height: 95%;
}

.don-text-sec .subtitle {
  color: #101010;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
  max-width: 626px;
}

/* Cards Section (.don-cards-sec) */
.don-cards-sec {
  display: flex;
  flex-direction: column;
  margin: 0 auto 40px;
  align-items: center;
  max-width: 1800px;
}

.don-cards-sec .title {
  color: var(--Black, #101010);
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 95%;
  max-width: 656px;
  margin-bottom: 60px;
}

.don-cards-sec .cards {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 10px;
}

.don-cards-sec .cards .card {
  width: 100%;
  height: 430px;
  display: flex;
  border-radius: 16px;
  flex-direction: column;
  justify-content: space-between;
}

.don-cards-sec .cards .card .upper-text {
  color: var(--White, #FFF);
  font-family: "Instrument Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  margin-top: 32px;
  margin-left: 24px;
  margin-right: 24px;
}

.don-cards-sec .cards .card .text {
  color: var(--White, #FFF);
  font-family: "Instrument Sans", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 95%;
  max-width: 650px;
  margin: auto auto 32px 24px;
}

.don-cards-sec .cards .card .text .blue {
  color: #AADBFF;
}

.don-cards-sec .custom-card {
  width: 100%;
  height: max-content;
  min-height: 394px;
  position: relative;
  border-radius: 16px;
  background: #F8F8F8;
  overflow: hidden;
  display: flex;
  padding-top: 90px;
}

.don-cards-sec .custom-card .text {
  color: var(--Black, #101010);
  font-family: "Instrument Sans", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 95%;
  margin-top: auto;
  margin-left: 24px;
  margin-bottom: 32px;
  max-width: 1133px;
}

.don-cards-sec .custom-card .text .blue {
  color: var(--Primary, #2D8CD1);
}

.don-cards-sec .custom-card .bg-image {
  position: absolute;
  right: 0;
  top: 0;
}

/* Donation Methods Section (.don-methods) */
.don-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto 140px;
}

.don-methods .title {
  color: var(--Black, #101010);
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 95%;
  max-width: 716px;
  margin-bottom: 24px;
}

.don-methods .subtitle, .don-cards-sec .subtitle {
  margin-bottom: 60px;
  max-width: 460px;
  color: var(--Body-text, #444);
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
}

.don-methods .cards {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.don-methods .cards .card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #2D8CD1;
  height: 350px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.don-methods .cards .card-s {
  border: 1px solid #FF7B00;
}

.don-methods .cards .card .card-title {
  color: var(--Black, #101010);
  font-family: "Instrument Sans", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 95%;
  max-width: 407px;
  margin-bottom: auto;
}

.don-methods .cards .card .card-title .blue {
  color: #2D8CD1;
}

.don-methods .cards .card-s .card-title .blue {
  color: #FF7B00;
}

.don-methods .cards .card .bottom-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 488px;
}

.don-methods .cards .card .bottom-images img {
  width: 80px;
  height: 80px;
}

.don-methods .cards .card-f {
  background: url("../images/donation_page/card-f-bg.svg") no-repeat;
  background-position: 0 100%;
}

.don-methods .cards .card-s {
  background: url("../images/donation_page/card-s-bg.svg") no-repeat;
  background-position: 0 0;
}

.don-methods .buttons-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.don-methods .buttons-row .orange-button {
  width: 143px;
  justify-content: center;
}

.don-methods .cards .card .arrow {
  width: 35px;
  height: 34px;
  position: absolute;
  right: 32px;
  bottom: 21px;
  transform: rotate(0deg);
  transition: transform .3s ease-in-out;
}

/* Media Queries */

/* @media screen and (max-width: 1919px) */
@media screen and (max-width: 1919px) {
  .don-top-sec {
    width: calc(100% - 80px);
    height: 682px;
  }

  .don-cards-sec {
    width: calc(100% - 90px);
  }

  .don-cards-sec .cards {
    gap: 10px;
  }

  .don-methods {
    width: calc(100% - 90px);
  }

  .don-methods .cards {
    gap: 10px;
  }

  .don-methods .cards .card {
    overflow: hidden;
    height: 390px;
    max-width: 750px;
  }

  .don-methods .cards .card .bottom-images img {
    width: 60px;
    height: 60px;
  }

  .don-methods .cards .card .bottom-images {
    max-width: 332px;
  }

  .don-methods .cards .card-f {
    background: url("../images/donation_page/card-f-bg-1600.svg") no-repeat;
    background-position: 0 100%;
  }

  .don-methods .cards .card-s {
    background: url("../images/donation_page/card-s-bg-1600.svg") no-repeat;
    background-position: 0 0;
  }
}

/* @media screen and (max-width: 1599px) */
@media screen and (max-width: 1599px) {
  .don-cards-sec .custom-card {
    min-height: 309px;
  }

  .don-cards-sec .custom-card .text {
    font-size: 28px;
    max-width: 703px;
    margin-left: 16px;
    margin-bottom: 24px;
  }

  .don-cards-sec .custom-card .bg-image {
    width: 474px;
    object-fit: contain;
    right: -20px;
  }

  .don-top-sec {
    height: 682px;
    gap: 13px;
    justify-content: center;
  }

  .don-top-sec .col-f {
    width: 633px;
    flex-grow: 0;
  }

  .don-top-sec .col-s {
    width: 571px;
    min-width: 571px;
  }

  .don-top-sec .title {
    font-size: 48px;
  }

  .don-text-sec .title {
    font-size: 40px;
    max-width: 707px;
  }

  .don-text-sec {
    margin-bottom: 100px;
  }

  .don-cards-sec {
    margin-bottom: 100px;
    width: calc(100% - 80px);
  }

  .don-cards-sec .cards .card {
    height: 300px;
  }

  .don-cards-sec .cards .card .upper-text {
    margin-top: 24px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .don-cards-sec .cards .card .text {
    font-size: 24px;
    max-width: 500px;
    margin: auto auto 24px 16px;
  }

  .don-methods {
    width: calc(100% - 80px);
    margin-bottom: 100px;
  }

  .don-methods .cards .card {
    height: 250px;
    max-width: 595px;
    padding: 32px 16px;
  }

  .don-methods .cards .card .card-title {
    font-size: 32px;
    max-width: 303px;
  }

  .don-methods .cards .card .bottom-images img {
    width: 40px;
    height: 40px;
  }

  .don-methods .cards .card .bottom-images {
    gap: 8px;
    max-width: 280px;
  }

  .don-methods .cards .card-f {
    background: url("../images/donation_page/card-f-bg-1280.svg") no-repeat;
    background-position: 0 100%;
  }

  .don-methods .cards .card-s {
    background: url("../images/donation_page/card-s-bg-1280.svg") no-repeat;
    background-position: 0 0;
  }
}

/* @media screen and (max-width: 1279px) */
@media screen and (max-width: 1279px) {
  .don-cards-sec .custom-card {
    min-height: 281px;
  }

  .don-cards-sec .custom-card .text {
    font-size: 24px;
  }

  .don-cards-sec .custom-card .bg-image {
    width: auto;
    right: -130px;
    top: auto;
    height: 100%;
    bottom: 0;
  }

  .don-top-sec {
    width: calc(100% - 40px);
    height: 580px;
  }

  .don-top-sec .col-f {
    width: 492px;
  }

  .don-top-sec .col-s {
    max-width: 476px;
    width: 476px;
    min-width: 0;
  }

  .don-top-sec .title {
    font-size: 40px;
    max-width: 394px;
  }

  .don-top-sec .subtitle {
    font-size: 16px;
    max-width: 376px;
  }

  .don-text-sec .title {
    font-size: 32px;
  }

  .don-text-sec .subtitle {
    font-size: 18px;
  }

  .don-methods {
    width: calc(100% - 40px);
  }

  .don-methods .title {
    font-size: 32px;
  }

  .don-methods .subtitle, .don-cards-sec .subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 424px;
  }

  .don-cards-sec {
    width: calc(100% - 40px);
  }

  .don-cards-sec .title {
    font-size: 32px;
    max-width: 426px;
  }

  .don-cards-sec .cards .card {
    height: 250px;
  }

  .don-cards-sec .cards .card .upper-text {
    font-size: 16px;
  }

  .don-cards-sec .cards .card .text {
    font-size: 18px;
    max-width: 500px;
  }

  .don-methods .cards .card {
    padding: 24px 16px;
    height: 220px;
    max-width: 487px;
  }

  .don-methods .cards .card .card-title {
    font-size: 28px;
  }

  .don-methods .cards .card .arrow {
    width: 21px;
    height: 20px;
    right: 16px;
    bottom: 17px;
  }

  .don-methods .cards {
    margin-bottom: 24px;
  }
}

/* @media screen and (max-width: 1023px) */
@media screen and (max-width: 1023px) {
  .don-cards-sec .custom-card .text {
    z-index: 1;
    max-width: 576px;
  }

  .don-cards-sec .custom-card .bg-image {
    width: auto;
    right: -130px;
    top: auto;
    height: 100%;
    bottom: 0;
    z-index: 0;
  }

  .don-top-sec {
    height: max-content;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .don-top-sec > .col-f {
    height: 580px;
  }

  .don-top-sec > .col-f, .don-top-sec > .col-s {
    max-width: 100%;
    width: 100%;
  }

  .don-text-sec {
    margin-bottom: 80px;
  }

  .don-text-sec .title {
    max-width: 582px;
  }

  .don-text-sec .subtitle {
    max-width: 524px;
  }

  .don-cards-sec {
    margin-bottom: 80px;
  }

  .don-methods {
    margin-bottom: 80px;
  }
}

/* @media screen and (max-width: 767px) */
@media screen and (max-width: 767px) {
  .don-cards-sec .custom-card {
    height: max-content;
    padding-top: 113px;
    min-height: max-content;
  }

  .don-cards-sec .custom-card .text {
    font-size: 20px;
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 16px;
  }

  .don-cards-sec .custom-card .bg-image {
    bottom: -50px;
  }

  .don-top-sec {
    width: calc(100% - 20px);
    gap: 5px;
  }

  .don-top-sec > .col-f {
    height: 460px;
  }

  .don-top-sec .title {
    font-size: 36px;
    max-width: 275px;
  }

  .don-top-sec .subtitle {
    max-width: 276px;
    margin-bottom: 32px;
  }

  .don-text-sec {
    width: calc(100% - 40px);
    gap: 16px;
  }

  .don-cards-sec {
    width: calc(100% - 20px);
  }

  .don-cards-sec .cards {
    flex-direction: column;
  }

  .don-cards-sec .cards .card {
    height: 200px;
  }

  .don-cards-sec .cards .card .upper-text {
    margin-top: 16px;
  }

  .don-cards-sec .cards .card .text {
    font-size: 18px;
    max-width: 350px;
    margin: auto auto 16px 12px;
  }

  .don-methods {
    width: calc(100% - 20px);
  }

  .don-methods .title {
    margin-bottom: 16px;
  }

  .don-methods .cards {
    flex-direction: column;
  }

  .don-methods .cards .card {
    padding: 16px 12px;
    height: 170px;
  }

  .don-methods .cards .card .card-title {
    font-size: 24px;
    max-width: 231px;
  }

  .don-methods .cards .card-s .bottom-images img {
    width: 30px;
    height: 30px;
    max-width: 242px;
  }

  .don-methods .cards .card .arrow {
    bottom: 10px;
  }
}


.video-embed-container iframe {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 480px) {
  [dir="rtl"] .progress-bar-wrapper {
    flex-direction: column!important;
  }

  [dir="rtl"] .progress-bar-left {
    align-items: flex-start!important;
  }

  [dir="rtl"] .progress-bar-right {
    align-items: flex-end!important;
  }
  .blue-card {
    margin: 10px!important;
  }
}

/* @media screen and (max-width: 375px) - iPhone SE */
@media screen and (max-width: 667px) and (orientation: landscape) {
  [dir="rtl"] .progress-bar-wrapper {
    flex-direction: column!important;
  }

  [dir="rtl"] .progress-bar-left {
    align-items: flex-start!important;
  }

  [dir="rtl"] .progress-bar-right {
    align-items: flex-end!important;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

.donate-page {
  --d-primary: #FF7B00;
  --d-primary-hover: #e66d00;
  --d-secondary: #1f2a35;
  --d-accent: #2D8CD1;
  --d-cream: #fbf8f4;
  --d-cream-gradient: linear-gradient(135deg, #fbf8f4, #f9efdc);
  --d-blue-gradient: linear-gradient(135deg, #dbe9f7, #c6dcf3);
  font-family: "Instrument Sans", sans-serif !important;
  background: #fff;
  color: var(--d-secondary);
  margin: 0;
  padding: 0;
  width: 100%;
}

.donate-page .donate-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Hero: page-wide, text left, video right — full-height, dark gradient */
.donate-page .donate-hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 7vw;
  min-height: 100vh;
  background: linear-gradient(180deg, #2D8CD1 0%, #1f2a35 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donate-page .donate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 53, 0.8) 0%, rgba(31, 42, 53, 0.95) 100%);
  z-index: 0;
}

.donate-page .donate-hero > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .donate-page .donate-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .donate-page .donate-hero {
    text-align: center;
  }
}

.donate-page .donate-video-col {
  min-width: 0;
}

/* Mobile: text → video → currency (selectors) → modals. Desktop: selectors inside text-col. */
.donate-page .donate-hero .donate-text-col {
  order: 1;
}
.donate-page .donate-hero .donate-video-col {
  order: 2;
}
.donate-page .donate-hero .donate-hero-selectors--desktop {
  display: none;
}
.donate-page .donate-hero .donate-hero-selectors--mobile {
  order: 3;
}
.donate-page .donate-hero .donate-hero-modals {
  order: 4;
}

@media (min-width: 900px) {
  .donate-page .donate-hero .donate-hero-selectors--desktop {
    display: block;
  }
  .donate-page .donate-hero .donate-hero-selectors--mobile {
    display: none;
  }
  .donate-page .donate-hero .donate-hero-modals {
    grid-column: 1 / -1;
  }
}

.donate-page .donate-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0d141a;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.donate-page .donate-video-wrap [data-video-frame-target="cover"] {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.donate-page .donate-video-wrap [data-video-frame-target="cover"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-page .donate-video-wrap .donate-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease;
}

.donate-page .donate-video-wrap [data-video-frame-target="cover"]:hover .donate-play-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.donate-page .donate-video-wrap .donate-play-btn {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.donate-page .donate-video-wrap [data-video-frame-target="cover"]:hover .donate-play-btn {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.donate-page .donate-video-wrap .donate-play-btn svg {
  width: 80px;
  height: 80px;
  fill: white;
}

.donate-page .donate-video-wrap [data-video-frame-target="embedContainer"] {
  position: absolute;
  inset: 0;
  display: none;
}

.donate-page .donate-video-wrap [data-video-frame-target="embedContainer"] iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.donate-page .donate-text-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 900px) {
  .donate-page .donate-text-col {
    align-items: center;
    text-align: center;
  }
}

.donate-page .donate-hero-title {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 12px;
}

.donate-page .donate-hero-title .donate-hero-accent {
  color: var(--d-primary);
}

.donate-page .donate-intro-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .donate-page .donate-intro-row {
    align-items: center;
  }
}

.donate-page .donate-intro-text {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-align: left;
}

@media (max-width: 900px) {
  .donate-page .donate-intro-text {
    text-align: center;
  }
}

.donate-page .donate-cta-wrap {
  flex-shrink: 0;
}

.donate-page .donate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--d-primary) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(255, 123, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-page .donate-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(255, 123, 0, 0.4);
}

.donate-page .donate-cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.4);
}

/* Wave separator */
.donate-page .donate-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.donate-page .donate-wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

@media (min-width: 768px) {
  .donate-page .donate-wave svg {
    height: 96px;
  }
}

/* Section wrappers */
.donate-page .donate-section {
  padding: 50px 7vw;
  text-align: center;
}

@media (max-width: 900px) {
  .donate-page .donate-section {
    padding: 0;
  }
}

.donate-page .donate-section-blue {
  background: var(--d-blue-gradient);
}

.donate-page .donate-section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.donate-page .donate-section-title {
  font-size: 3rem;
  line-height: 1.1em;
  font-weight: 700;
  color: var(--d-secondary);
  margin: 0 0 1rem;
}

.donate-page .donate-section-subtitle {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--d-secondary);
}

/* Selectors row */
.donate-page .donate-selectors {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 980px;
}

.donate-page .donate-selectors .donate-selectors-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.donate-page .donate-selectors-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.donate-page .donate-selectors .selector-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.donate-page .donate-selectors .selector-group label {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--d-secondary);
  white-space: nowrap;
}

.donate-page .donate-selectors .selector-control {
  padding: 0.65rem 1rem;
  font-size: 1.05rem;
  font-family: "Instrument Sans", sans-serif !important;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  min-width: 160px;
}

.donate-page .donate-selectors .selector-control:focus {
  outline: none;
  border-color: var(--d-accent);
  box-shadow: 0 0 0 3px rgba(45, 140, 209, 0.2);
}

.donate-page .donate-gateway-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  flex-shrink: 0;
  flex-basis: 100%;
  margin-top: 0.25rem;
}

.donate-page .donate-gateway-icons img {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Two columns: Block 4 left 50%, Block 3 right 50% */
.donate-page .donate-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 980px;
  margin: 24px auto 0;
  width: 100%;
  text-align: left;
}

@media (min-width: 768px) {
  .donate-page .donate-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.donate-page .donate-two-col > * {
  min-width: 0;
}

/* Long text block (right column) */
.donate-page .donate-long-text {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
}

.donate-page .donate-long-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--d-secondary);
  margin: 0 0 1rem;
}

.donate-page .donate-long-text p:last-child {
  margin-bottom: 0;
}

/* Impact stats (left column) */
.donate-page .donate-impact {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
}

.donate-page .donate-impact-headline {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--d-secondary);
  text-align: center;
  margin: 0 0 1.5rem;
  line-height: 1.35;
}

.donate-page .donate-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.donate-page .donate-stat {
  text-align: center;
  padding: 1rem 0.5rem;
  background: #fbf7f1;
  border-radius: 14px;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.donate-page .donate-stat-value {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--d-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.donate-page .donate-stat-label {
  font-size: 0.875rem;
  color: var(--d-secondary);
  line-height: 1.3;
}

/* Tax */
.donate-page .donate-tax {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

.donate-page .donate-tax-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.donate-page .donate-tax-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
}

.donate-page .donate-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.donate-page .donate-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 16px rgba(255, 123, 0, 0.35);
  border: none;
  cursor: pointer;
}

.donate-page .donate-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(255, 123, 0, 0.4);
}

.donate-page .donate-btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.4);
}

.donate-page .donate-btn-find {
  background: var(--d-primary) !important;
  color: #fff !important;
}

.donate-page .donate-btn-find:hover {
  background: var(--d-primary-hover) !important;
}

.donate-page .donate-btn-anbi {
  background: #fff !important;
  color: var(--d-secondary) !important;
  border: 2px solid var(--d-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.donate-page .donate-btn-anbi:hover {
  background: var(--d-accent) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(45, 140, 209, 0.35);
}

/* Modals */
.donate-page .donate-modal {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin-bottom: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, margin-bottom 0.35s ease;
}

.donate-page .donate-modal.donate-modal-visible {
  max-height: none;
  opacity: 1;
  visibility: visible;
  margin-bottom: 2rem;
}

.donate-page .donate-modal-dialog {
  background: var(--d-cream);
  border-radius: 16px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
  padding: 1.5rem 1.5rem 1.75rem;
}

.donate-page .donate-modal-dialog h3 {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
  color: #000;
}

.donate-page .donate-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--d-secondary);
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.7;
}

.donate-page .donate-modal-close:hover {
  opacity: 1;
}

.donate-page .donate-modal-form .form-group {
  margin-bottom: 1rem;
}

.donate-page .donate-modal-form label,
.donate-page .donate-modal-form .donate-modal-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #000;
}

.donate-page .donate-modal-form input[type="text"],
.donate-page .donate-modal-form input[type="email"],
.donate-page .donate-modal-form input[type="number"],
.donate-page .donate-modal-form input[type="tel"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.donate-page .donate-modal-amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 479px) {
  .donate-page .donate-modal-amount-options {
    grid-template-columns: 1fr;
  }
}

.donate-page .donate-modal-amount-option {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.donate-page .donate-modal-amount-option:hover {
  border-color: var(--d-primary);
  background: rgba(255, 123, 0, 0.08);
}

.donate-page .donate-modal-amount-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.donate-page .donate-modal-amount-option input[type="radio"]:checked ~ .donate-radio-label {
  font-weight: 600;
}

.donate-page .donate-modal-amount-option:has(input[type="radio"]:checked) {
  border-color: var(--d-primary);
  background: rgba(255, 123, 0, 0.08);
}

.donate-page .donate-modal-amount-option .donate-radio-label {
  flex: 1;
  font-size: 1rem;
  color: var(--d-secondary);
}

.donate-page .donate-modal-amount-option:has(.donate-modal-amount-option-other-wrap) {
  grid-column: 1 / -1;
}

.donate-page .donate-modal-amount-option--other {
  border-color: var(--d-accent);
  background: rgba(45, 140, 209, 0.06);
}

.donate-page .donate-modal-amount-option--other:hover {
  border-color: var(--d-primary);
  background: rgba(255, 123, 0, 0.08);
}

.donate-page .donate-modal-amount-option--other .donate-radio-label {
  font-weight: 500;
}

.donate-page .donate-modal-amount-option-other-wrap {
  margin-top: 0.5rem;
  display: none;
}

.donate-page .donate-modal-amount-option-other-wrap.visible {
  display: block;
}

.donate-page .donate-eur-amount-input-wrap {
  display: inline-flex;
  align-items: center;
  max-width: 12rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
}

.donate-page .donate-eur-amount-input-wrap:focus-within {
  border-color: var(--d-primary);
  box-shadow: 0 0 0 2px rgba(255, 123, 0, 0.2);
}

.donate-page .donate-eur-amount-prefix {
  padding: 0.5rem 0 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--d-secondary);
}

.donate-page .donate-modal-amount-option-other-wrap input {
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0;
  font-size: 1rem;
}

.donate-page .donate-modal-amount-option-other-wrap input:focus {
  outline: none;
}

.donate-page .donate-frequency-group {
  margin-top: 0.5rem;
}

.donate-page .donate-frequency-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.donate-page .donate-frequency-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.donate-page .donate-frequency-option:hover {
  border-color: var(--d-primary);
  background: rgba(255, 123, 0, 0.08);
}

.donate-page .donate-frequency-option:has(input[type="radio"]:checked) {
  border-color: var(--d-primary);
  background: rgba(255, 123, 0, 0.08);
  font-weight: 600;
}

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

.donate-page .donate-period-group {
  margin-top: 0.75rem;
}

.donate-page .donate-period-group .form-control {
  margin-top: 0.25rem;
  width: 100%;
  max-width: 12rem;
}

.donate-page .donate-modal-form .donate-modal-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--d-primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

.donate-page .donate-modal-form .donate-modal-submit:hover {
  background: var(--d-primary-hover);
}

.donate-page .donate-modal-dialog--jgive {
  padding-bottom: 1rem;
}

.donate-page .donate-jgive-iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  height: 75vh;
  border: 0;
  border-radius: 0.5rem;
  background: #fff;
}

@media (max-width: 767px) {
  .donate-page .donate-jgive-iframe {
    min-height: 900px;
  }
}