body {
  width: 100%;

  overflow-x: hidden;
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(200, 184, 232, 0.137) 0%,
      rgba(170, 212, 232, 0.268) 50%,
      rgba(244, 184, 193, 0.15) 100%
    ),
    url("/foundation/image/appealbanner.webp") center/cover
      no-repeat;

  animation: zoomOut 10s ease forwards;
}

@keyframes zoomOut {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 110px;
  background: var(--bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: fadeUp 0.9s 0.3s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: "Candara", serif;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 18px;
  text-shadow: 0 2px 18px rgba(74, 48, 96, 0.28);
}

.hero h1 span {
  color: #333;
}

.hero p {
  color: rgba(0, 0, 0, 0.52);
  font-size: 20px;
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.hero-cta {
  display: inline-block;
  background: var(--white);
  color: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  padding: 15px 44px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(70, 70, 70, 0.45);
}

.hero-cta:hover {
  background: var(--rose-lt);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(200, 184, 232, 0.55);
}

/* =========================================================
   DONATE SECTION
========================================================= */

.donate-section {
  position: relative;

  overflow: hidden;

  background: linear-gradient(135deg, #fdf8f0 0%, #f8f1ff 45%, #eef5e8 100%);

  padding: 60px 0px;
}

/* SOFT GLOW */

.donate-section::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -120px;

  width: 340px;
  height: 340px;

  border-radius: 50%;

  background: radial-gradient(rgba(220, 190, 255, 0.18), transparent 70%);

  pointer-events: none;
}
.donate-section {
  scroll-margin-top: 120px;
}

.donate-section::after {
  content: "";

  position: absolute;

  bottom: -120px;
  left: -120px;

  width: 320px;
  height: 320px;

  border-radius: 50%;

  background: radial-gradient(rgba(180, 230, 190, 0.18), transparent 70%);

  pointer-events: none;
}

/* =========================================================
   TITLE
========================================================= */

.donate-section h2 {
  font-family: "Candara", sans-serif;

  font-size: clamp(1.6rem, 3.5vw, 2.5rem);

  color: #2d2416;

  margin-bottom: 15px;

  text-align: center;

  line-height: 1.1;
}

.donate-section p {
  color: #5c4a32;

  font-size: 20px;

  margin: auto;

  margin-bottom: 40px;

  line-height: 1.4;

  text-align: center;
}

/* =========================================================
   GRID
========================================================= */

.form-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
  margin-bottom: 12px;

  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.form-group.show-form {
  opacity: 1;

  transform: translateY(0);
}

/* LABEL */

.form-group label {
  display: block;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: #7a6d5d;

  margin-bottom: 10px;
}

/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 13px 45px 13px 15px;

  border: 1.5px solid rgba(0, 0, 0, 0.08);

  border-radius: 18px;

  font-size: 16px;

  font-family: "Candara", sans-serif;

  background: rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(8px);

  color: #2d2416;

  transition: 0.3s ease;

  outline: none;
}

.form-group select {
  padding-right: 60px !important;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232d2416' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  background-repeat: no-repeat;

  background-position: right 18px center;

  background-size: 18px;
}

/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c8b8e8;

  box-shadow: 0 0 0 4px rgba(200, 184, 232, 0.18);
}

/* TEXTAREA */

.form-group textarea {
  resize: vertical;

  min-height: 120px;
}

/* =========================================================
   ROW
========================================================= */

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;
}

/* =========================================================
   AMOUNT PRESETS
========================================================= */

.amount-presets {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

  margin-bottom: 20px;

  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.amount-presets.show-form {
  opacity: 1;

  transform: translateY(0);
}

/* PRESET */

.preset {
  background: rgba(255, 255, 255, 0.88);

  border: 1.5px solid rgba(0, 0, 0, 0.06);

  border-radius: 18px;

  padding: 16px 10px;

  text-align: center;

  cursor: pointer;

  transition: 0.3s ease;

  font-family: "Candara", sans-serif;

  font-size: 19px;

  font-weight: 700;

  color: #2d2416;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

/* HOVER */

.preset:hover,
.preset.active {
  background: linear-gradient(135deg, #d7c2ff, #f7c4d0);
  align-self: center;
  color: #2d2416;

  border-color: #b68ef1;

  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(181, 141, 241, 0.25);
}

/* SMALL */

.preset small {
  display: block;

  font-size: 12px;

  color: #7a6d5d;

  margin-top: 5px;

  font-weight: 500;
}

/* =========================================================
   CUSTOM INPUT
========================================================= */

.custom-amount-wrap {
  position: relative;
}

.custom-amount-wrap span {
  position: absolute;

  left: 16px;
  top: 50%;

  transform: translateY(-50%);

  color: #7a6d5d;

  font-weight: 700;
}

.custom-amount-wrap input {
  padding-left: 34px;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-btn {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding: 18px 22px;

  border: none;

  border-radius: 20px;

  background: linear-gradient(135deg, #6ca15f, #4f8c5c);

  color: #fff;

  font-size: 18px;

  font-weight: 700;

  font-family: "Candara", sans-serif;

  cursor: pointer;

  transition: 0.35s ease;

  box-shadow: 0 14px 35px rgba(79, 140, 92, 0.25);

  margin-top: 16px;

  position: relative;

  overflow: hidden;
}

.submit-btn i {
  font-size: 18px;
}

.submit-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 45px rgba(79, 140, 92, 0.35);
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  opacity: 0.7;

  cursor: not-allowed;
}

/* =========================================================
   CONTACT CARD
========================================================= */

.contact-card {
  max-width: 800px;
  height: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #f9f4ff 100%);

  border-radius: 20px;

  padding: 25px 30px;

  border: 1px solid rgba(0, 0, 0, 0.05);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);

  transition: 0.5s ease;

  opacity: 0;

  transform: translateY(80px);

  z-index: 10;
}

.contact-card.show-contact {
  opacity: 1;

  transform: translateY(0);
}

/* GLOW */

.contact-card::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -120px;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  background: radial-gradient(rgba(212, 183, 255, 0.18), transparent 70%);
}

/* HOVER */

.contact-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.08);
}

/* TITLE */

.contact-card h3 {
  font-family: "Candara", sans-serif;

  font-size: 32px;

  color: #2d2416;

  margin-bottom: 12px;
}

.contact-card p {
  color: #6d6255;

  font-size: 16px;

  line-height: 1.45;

  margin-bottom: 15px;

  text-align: left;
}

/* =========================================================
   PILLS
========================================================= */

.cta-pills {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 10px;
}

.cta-pill {
  padding: 8px 10px;

  border-radius: 40px;

  background: linear-gradient(135deg, #f2e7ff, #e7f4e5);

  color: #5c4a32;

  font-size: 13px;

  font-weight: 700;
}

/* =========================================================
   CONTACT LIST
========================================================= */

.contact-list {
  list-style: none;

  padding: 0;

  margin: 0;
}

.contact-list li {
  display: flex;

  align-items: flex-start;

  gap: 16px;

  padding: 18px 0;

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ICON */

.contact-list .icon {
  width: 50px;
  height: 50px;

  min-width: 50px;

  border-radius: 16px;

  background: linear-gradient(135deg, #f2e7ff, #e7f4e5);

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 20px;

  transition: 0.4s ease;
}

.contact-list li:hover .icon {
  transform: rotate(6deg) scale(1.08);
}

/* INFO */

.contact-list .info {
  line-height: 1.4;
}

.contact-list .info strong {
  display: block;

  font-size: 12px;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: #b98b95;

  margin-bottom: 4px;
}

.contact-list .info span {
  font-size: 16px;

  color: #5c4a32;
}

/* =========================================================
   MOBILE
========================================================= */

.medicaltext {
  transform: translateY(-37px) translateX(-100px);
}
@media (max-width: 991px) {
  .medicaltext {
    transform: translateY(0px) translateX(0px);
  }

  .form-grid {
    gap: 8px;
  }

  .contact-card {
    position: relative;

    top: 0;
  }
}

@media (max-width: 768px) {
  .medicaltext {
    transform: translateY(0px) translateX(0px);
  }
  .donate-section {
    padding: 20px 15px;
  }

  .donate-section h2 {
    font-size: 30px;
  }

  .donate-section p {
    font-size: 16px;

    margin-bottom: 45px;
  }

  .amount-presets {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 30px 22px;

    border-radius: 20px;
  }

  .contact-card h3 {
    font-size: 28px;
  }

  .submit-btn {
    font-size: 16px;
  }
}

/* ======================================================
   TOAST
====================================================== */

.custom-toast {
  position: fixed;

  top: 30px;
  right: 30px;

  z-index: 99999;

  padding: 16px 24px;

  border-radius: 18px;

  color: #fff;

  font-size: 15px;

  font-weight: 600;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

  transform: translateY(-30px);

  opacity: 0;

  transition: 0.35s ease;
}

.custom-toast.show {
  transform: translateY(0);

  opacity: 1;
}

.custom-toast.success {
  background: linear-gradient(135deg, #4f8c5c, #6fb37e);
}

.custom-toast.error {
  background: linear-gradient(135deg, #d45787, #ef6a98);
}

/* ======================================================
   SPIN
====================================================== */

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.form-grid > div {
  width: 100%;
}
.contact-card .submit-btn {
  margin-top: auto;
  padding: 14px 20px;
  font-size: 16px;
}

.donation-form-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  background: #f8f7f7;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.donation-form-card,
.contact-card {
  height: 100%;
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card .submit-btn {
  margin-top: auto;
}
