/* --- MODAL OVERLAY --- */
#giving-request {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99999999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
  justify-content: center;
  align-items: center;
  pointer-events: all;
}

/* --- INNER CARD --- */
#giving-request-inner {
  overflow-y: auto;
  width: 90%;
  max-width: 800px;
  max-height: min(659px, 90vh);
  background-color: #1E1D1F;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); /* Deeper shadow for depth */
  position: relative;
  box-sizing: border-box;
}

/* --- CLOSE BUTTON --- */
.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10;
}
.close-button svg {
  fill: white;
  width: 18px;
  height: 18px;
}

/* --- LOGO & TEXT --- */
.section-logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.section-logo img {
  max-width: 100px;
  height: auto;
}

.section-text {
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
.main-heading {
  color: #FFFFFF;
  font-size: clamp(1.1rem, 5vw, 2rem);
  white-space: nowrap;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-text p {
  color: #E2AE2F; /* Yellow accent */
  font-size: clamp(1.1rem, 5.5vw, 2rem);
  
  white-space: nowrap;
  margin: 0;
  font-weight: 400;
  font-family: "Source Sans 3", sans-serif;
  
  margin-block: 0px 0.9rem;
  line-height: 43.5px;
}



/* --- BUTTONS --- */
.action-group {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px; /* Space above footer */
}

/* Donate Button (Gradient) */
.btn-donate {
  background: linear-gradient(90deg, #1EB9AB 0%, #4BA56C 100%);
  border-radius: 50px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: rgba(0, 0, 0, 0.42) 0px 12px 17px 0px;
}
.btn-donate:hover {
  background: linear-gradient(90deg, #4BA56C 0%, #1EB9AB 100%);
}

/* Internal flex container for icon + text */
.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Space between icon and text */
  padding-left: 20px;
  padding-right: 20px;
  height: 44px;
  width: 100%;
  box-sizing: border-box;
}

/* Icon Styling */
.btn-content svg {
  width: 16px;
  height: 16px;
  fill: white;
  flex-shrink: 0; /* Prevents icon from shrinking */
}

/* Text Styling */
.btn-text {
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  text-align: center;
  
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
}

.btn-later .btn-text {
  color: rgba(255, 255, 255, 0.8);
}

.btn-later:hover .btn-text {
  color: #FFFFFF;
}

.btn-donate .btn-text {
  color: #FFFFFF;
}

.btn-donate:hover .btn-text {
  color: rgba(255, 255, 255, 0.8);
}

/* Maybe Later Button (Solid) */
.btn-later {
  background-color: #56515A; /* Dark grey */
  
  border-radius: 50px;
  display: block;
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  height: 44px;
  text-align: center;
  transition: background-color 0.2s ease;
  
  display: flex;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.42) 0px 12px 17px 0px;
}
.btn-later:hover {
  background-color: #3B3A3E;
}

/* --- FOOTER LOGO --- */
.section-footer-logo {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
.section-footer-logo img {
  max-width: 378px;
  opacity: 0.9;
}
