 /* Reset and Base Styles */
 * {
     box-sizing: border-box;
     -webkit-tap-highlight-color: transparent;
     font-family: 'Source Sans Pro', sans-serif;
 }

 .donation-popup-container {
     display: none;
     position: absolute;
     z-index: 100;
     width: 100%;
     height: 100%;
     justify-content: center;
 }

 .donation-popup-container .donation-popup {
     position: inherit;
     top: 30%;
     width: 75%;
     height: auto;
     background: #fff;
     padding: 50px 20px 20px 20px;
     text-align: center;
     border-radius: 30px;
 }

 .donation-popup .popup-red-text {
     color: red;
 }

 .donation-popup h3 {
     font-size: 1.7rem;
     margin-bottom: 15px;
     line-height: normal;
 }

 .donation-popup .donation-popup-buttons-container {
     display: flex;
     flex-flow: column;
     justify-content: center;
     align-items: center;
     gap: 10px;
 }


 .donation-popup .donation-popup-buttons-container button {
     border-radius: 50px;
     width: 100%;
     font-size: 1rem;
     padding: 35px 10px;
     border: none;
     font-weight: 600;
     cursor: pointer;
     flex-grow: 0;
 }

 #donation-popup-monthly-btn {
     background: #ED1F27;
     color: white;
 }



 footer {
     display: none;
 }

 /* Hide WordPress header for donation template */
 .site-header {
     display: none !important;
 }

 /* Ensure body and html don't interfere with sticky */
 html,
 body {
     overflow-x: visible !important;
     height: auto !important;
     position: static !important;
 }

 /* Hide any WordPress page wrapper that might interfere */
 #page {
     overflow: visible !important;
     height: auto !important;
     position: static !important;
 }

 /* Stepper Container - Mobile First */
 .donation-stepper-container {
     width: 100%;
     margin: 0;
     background: #F8F8F8;
     min-height: 100vh;
     overflow: visible;
     position: static;
 }

 /* Header Styles - Mobile Optimized */
 .stepper-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 15px 20px;
     background: #fff;
     border-bottom: 1px solid #f0f0f0;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     height: 60px;
     width: 100%;
     z-index: 1002;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .payment-btn {
     padding: 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-radius: 10px;
     border: 0;
 }

 .donation-summary-container {
     padding: 20px;
 }

 #donationSummaryHeader{
    font-size: 1.7rem;
    text-align: center;
    border-bottom:1.5px solid #2D2D2D;
    padding-bottom: 20px;
    margin-bottom: 0 !important;
 }

 #donationSummaryRedLine::after{
    background: none;
    border-bottom: 4px solid #e62c2c;
    content: "";
    display: block;
    margin:auto;
    width: 80%;
 }

 .summary-sub-section {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 0;
     color: #2D2D2D;
 }

 .payment-icon-label-container {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 5px 0;
     font-size: 1.3rem;
     color:#323232;
 }

 #paymentMethodHeader{
    font-size: 1.5rem;
    margin-top: 50px;
    padding: 0 10px;
 }

 .donor-information-container {
     padding: 15px 25px;
 }

 .info-grid {
     display: grid;
     grid-template-columns: auto auto;
     border-bottom: 1px solid gray;
     padding-bottom: 25px;

     & h4 {
         font-weight: 500;
     }
 }

 .payment-method-container {
     padding: 0px 25px;
 }

 .login-prompt {
     text-align: center;
 }

 .login-prompt h1 {
     font-weight: 400;
 }

 .login-prompt h4 {
     font-weight: 300;
     margin-bottom: 20px;
     font-size: 0.9rem;
 }



 .login-btn {
     color: red;
     padding: 20px 40px;
     border: 1px solid #ED1F27;
     border-radius: 30px;
     margin: 20px;
     background: white;
     text-transform: uppercase;
     font-size: 0.78rem;
 }

 .close-btn,
 .menu-btn {
     background: none;
     border: none;
     cursor: pointer;
     padding: 8px;
     display: flex;
     align-items: center;
     -webkit-tap-highlight-color: transparent;
 }

 .close-btn {
     margin-left: -8px;
 }

 .menu-btn {
     gap: 6px;
     margin-right: -8px;
 }

 .menu-icon {
     display: grid;
     grid-template-columns: repeat(2, 6px);
     gap: 3px;
 }

 .menu-icon span {
     width: 6px;
     height: 6px;
     background: #ff0000;
     border-radius: 50%;
 }

 .menu-text {
     font-weight: 600;
     color: #333;
     font-size: 14px;
 }

 /* Stepper Dots - Mobile Optimized */
 .stepper-dots {
     display: flex;
     gap: 6px;
     align-items: center;
 }

 .dot {
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: #d0d0d0;
     transition: all 0.3s ease;
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 5px;
     font-size: 0;
     color: transparent;
 }

 .dot.completed {
     background: #ED1F27;
     width: 6px;
     height: 6px;
     border-radius: 50%;
     font-size: 0;
     color: transparent;
 }

 .dot.active {
     background: #ED1F27;
     width: 20px;
     height: 20px;
     border-radius: 20px;
     color: white;
     font-size: 10px;
     font-weight: 600;
 }

 /* Content Area - Account for fixed header */
 .stepper-content {
     padding-top: 100px;
     min-height: 100vh;
     background: #eaeaea;
 }

 /* Step Panel Styles - Mobile Optimized */
 .step-panel {
     display: none;
     animation: fadeIn 0.3s ease;
     padding-bottom: 40px;
 }

 .step-panel.active {
     display: block;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateX(10px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .step-title {
     font-size: 20px;
     font-weight: 700;
     color: #1a1a1a;
     margin-bottom: 20px;
     text-align: center;
     line-height: 1.3;
 }

 /* Slider Container */
 .slider-container {
     position: relative;
     width: 100%;
     overflow: hidden;
     margin-bottom: 20px;
 }

 .slider-wrapper {
     display: flex;
     transition: transform 0.3s ease;
     cursor: grab;
     will-change: transform;
 }

 .slider-wrapper:active {
     cursor: grabbing;
 }

 .slider-wrapper.dragging {
     transition: none;
 }

 /* Mission Card - Mobile Optimized */
 .mission-card {
     position: relative;
     border-radius: 20px;
     overflow: hidden;
     height: 180px;
     min-width: 80%;
     flex-shrink: 0;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     margin-right: 15px;
 }

 .mission-card:last-child {
     margin-right: 0;
 }

 /* Slider Progress Indicator */
 .slider-progress {
     display: flex;
     justify-content: center;
     gap: 8px;
     margin: 15px 0;
 }

 .progress-dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: #d0d0d0;
     transition: all 0.3s ease;
 }

 .progress-dot.active {
     background: #ED1F27;
     width: 24px;
     border-radius: 4px;
 }

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

 .mission-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     padding: 16px;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3));
     color: white;
 }

 .mission-label {
     font-size: 11px;
     text-transform: uppercase;
     letter-spacing: 1px;
     opacity: 0.9;
 }

 .mission-title {
     font-size: 16px;
     font-weight: 600;
     margin-top: 4px;
     line-height: 1.2;
 }

 /* Donation Section - Mobile Optimized */
 .donation-section {
     padding: 20px;
     background: #ffffff;
     border-radius: 50px;
     display: flex;
     flex-flow: column;
     justify-content: center;
     align-items: center;
 }

 .section-title {
     font-size: 15px;
     font-weight: 600;
     margin-bottom: 16px;
     text-align: center;
     color: #333;
     line-height: 1.3;
     font-size: 1.8rem;
 }

 .crypto-option {
     width: 100%;
     padding: 12px;
     background: #e8f5e9;
     border: 1.5px solid #4caf50;
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     margin-bottom: 16px;
     cursor: pointer;
     transition: all 0.2s ease;
     font-size: 14px;
     font-weight: 500;
     color: #2e7d32;
     -webkit-tap-highlight-color: transparent;
 }

 .crypto-option:active {
     transform: scale(0.98);
 }

 /* Frequency Toggle - Mobile Optimized */
 .frequency-toggle {
     display: flex;
     background: #f5f5f5;
     border-radius: 8px;
     padding: 3px;
     margin-bottom: 16px;
     width: 70%;
 }

 .freq-btn {
     flex: 1;
     padding: 25px 8px;
     background: none;
     border: none;
     border-radius: 6px;
     font-size: 11px;
     font-weight: 600;
     letter-spacing: 0.5px;
     cursor: pointer;
     transition: all 0.2s ease;
     color: #666;
     -webkit-tap-highlight-color: transparent;
 }

 .freq-btn.active {
     background: #ED1F27;
     color: white;
 }

 /* Currency Selector - Mobile Optimized */
 .currency-selector {
     position: relative;
     margin-bottom: 16px;
     width: 80%;
 }

 .currency-selector select {
     width: 100%;
     padding: 11px 32px 11px 12px;
     border: 1px solid #ddd;
     border-radius: 8px;
     background: white;
     font-size: 14px;
     color: #666;
     appearance: none;
     -webkit-appearance: none;
 }


 .dropdown-arrow {
     position: absolute;
     right: 12px;
     top: 50%;
     transform: translateY(-50%);
     pointer-events: none;
 }

 /* Amount Grid - Mobile Optimized */
 .amount-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin-bottom: 16px;
 }

 .amount-btn {
     padding: 18px 12px;
     border: 2px solid #e0e0e0;
     background: white;
     border-radius: 8px;
     font-size: 2rem;
     font-weight: 600;
     color: #969696;
     cursor: pointer;
     transition: all 0.2s ease;
     -webkit-tap-highlight-color: transparent;
 }

 .amount-btn:active {
     transform: scale(0.97);
 }

 .amount-btn.selected {
     border-color: #ED1F27;
     background: #ED1F27;
     color: white;
 }

 /* Custom Amount - Mobile Optimized */
 .custom-amount {
     margin-bottom: 20px;
     width: 80%;
 }

 .custom-amount input {
     width: 100%;
     padding: 12px;
     border: 1px solid #ddd;
     border-radius: 8px;
     font-size: 14px;
     color: #333;
 }

 .custom-amount input::placeholder {
     color: #999;
     font-size: 13px;
 }

 /* Form Styles - Mobile Optimized */
 .donor-form {
     background: #ffffff;
     border-top-right-radius: 30px;
     border-top-left-radius: 30px;
     padding: 30px;
 }

 .please-fillout {
     text-align: center;
     font-size: 0.8rem;
     color: #666;
     padding: 20px;
 }

 .badge-container {
     display: flex;
     justify-content: center;
     margin-top: 10px;
 }

 .data-secure-badge {
     background: #15B213;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 0.6rem;
     gap: 10px;
     padding: 5px 13px;
     border-radius: 20px;
     color: white;
     width: fit-content;
 }


 .donor-form {
     padding: 20px;
     margin-top: 50px;
 }

 .payment-form {
     padding: 20px;
 }

 .form-group {
     margin-bottom: 16px;
 }

 .form-group label {
     display: block;
     font-size: 13px;
     color: #555;
     margin-bottom: 6px;
     font-weight: 500;
 }

 .form-group input,
 .form-group select {
     width: 100%;
     padding: 11px 12px;
     border: 1px solid #ddd;
     border-radius: 8px;
     font-size: 15px;
     background: white;
     -webkit-appearance: none;
 }

 .form-group input:focus,
 .form-group select:focus {
     outline: none;
     border-color: #ff0000;
 }

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

 .form-checkbox {
     display: flex;
     align-items: flex-start;
     gap: 10px;
     margin-bottom: 20px;
     padding: 0 2px;
 }

 .form-checkbox input[type="checkbox"] {
     width: 18px;
     height: 18px;
     margin-top: 1px;
     flex-shrink: 0;
 }

 .form-checkbox label {
     font-size: 14px;
     color: #555;
     line-height: 1.4;
 }

 /* Phone Input Styles */
 .phone-group .phone-input-wrapper {
     display: flex;
     gap: 10px;
     align-items: stretch;
 }

 .country-code-selector {
     position: relative;
     display: flex;
     align-items: center;
     background: white;
     border: 1px solid #ddd;
     border-radius: 8px;
     padding: 0;
     min-width: 90px;
     flex-shrink: 0;
     height: 47px;
 }

 .country-code-selector select {
     border: none;
     background: transparent;
     padding: 11px 24px 11px 32px;
     font-size: 15px;
     color: #333;
     width: 100%;
     height: 100%;
     outline: none;
     cursor: pointer;
     border-radius: 8px;
     overflow-y: auto;
     max-height: 200px;
 }

 .info-container {
     padding:5px 0px;
 }

 .info-container span{
    font-size: 0.7rem;
    color: #929292;
 }

 .info-container h4{
    font-size: 1.3rem;
 }

 .confirm-summary-container {
     background: #fff;
     border-top-left-radius: 30px;
     border-top-right-radius: 30px;
     display: flex;
     flex-direction: column;
     padding: 20px;
     position: fixed;
     bottom: 0;

     & button {
         color: white;
         background: #ED1F27;
         padding: 20px;
         text-transform: uppercase;
         border-radius: 20px;
         border: none;
         font-weight: 600;
         display: flex;
         justify-content: center;
         align-items: center;
         gap: 10px;

     }

     & h4 {
         font-size: 0.7rem;
         color: #666;
         text-align: center;
         margin-top: 10px;
         line-height: 1.3;
     }
 }

 /* Custom scrollbar for country code dropdown */
 .country-code-selector select::-webkit-scrollbar {
     width: 6px;
 }

 .country-code-selector select::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 3px;
 }

 .country-code-selector select::-webkit-scrollbar-thumb {
     background: #ED1F27;
     border-radius: 3px;
 }

 .country-code-selector select::-webkit-scrollbar-thumb:hover {
     background: #c41e20;
 }

 /* For Firefox */
 .country-code-selector select {
     scrollbar-width: thin;
     scrollbar-color: #ED1F27 #f1f1f1;
 }

 /* Improve dropdown on mobile devices */
 @media (max-width: 768px) {
     .country-code-selector select {
         font-size: 16px;
         /* Prevents zoom on iOS */
     }

     .country-code-selector select option {
         padding: 8px 12px;
         background: white;
         color: #333;
     }
 }

 .country-flag {
     position: absolute;
     left: 10px;
     font-size: 16px;
     pointer-events: none;
     z-index: 1;
     top: 50%;
     transform: translateY(-50%);
 }

 .country-code-selector .dropdown-arrow {
     position: absolute;
     right: 8px;
     top: 50%;
     transform: translateY(-50%);
     pointer-events: none;
     z-index: 1;
 }

 .phone-input-wrapper input[type="tel"] {
     flex: 1;
     padding: 11px 12px;
     border: 1px solid #ddd;
     border-radius: 8px;
     font-size: 15px;
     background: white;
     height: 47px;
     box-sizing: border-box;
 }

 .phone-input-wrapper input[type="tel"]:focus {
     outline: none;
     border-color: #ff0000;
 }

 .country-code-selector:focus-within {
     border-color: #ff0000;
 }

 .country-code-selector select:focus {
     outline: none;
 }

 /* Ensure proper alignment on mobile */
 .phone-input-wrapper {
     align-items: stretch;
 }

 /* Privacy Checkbox Styles */
 .privacy-checkbox {
     align-items: flex-start;
     margin-bottom: 20px;
 }

 .privacy-checkbox input[type="checkbox"] {
     width: 18px;
     height: 18px;
     margin-top: 2px;
     flex-shrink: 0;
     accent-color: #ED1F27;
 }

 .privacy-checkbox label {
     font-size: 13px;
     color: #666;
     line-height: 1.5;
 }

 .privacy-link,
 .terms-link {
     color: #ED1F27;
     text-decoration: none;
 }

 .privacy-link:hover,
 .terms-link:hover {
     text-decoration: underline;
 }

 /* Payment Methods - Mobile Optimized */
 .payment-methods {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-bottom: 20px;
 }

 .payment-method {
     display: flex;
     align-items: center;
     padding: 12px;
     border: 1.5px solid #ddd;
     border-radius: 8px;
     cursor: pointer;
     transition: all 0.2s ease;
     -webkit-tap-highlight-color: transparent;
 }

 .payment-method input[type="radio"] {
     width: 18px;
     height: 18px;
     margin-right: 10px;
 }

 .payment-method span {
     font-size: 14px;
     color: #333;
 }

 .payment-method:has(input:checked) {
     border-color: #ff0000;
     background: #fff5f5;
 }

 /* Donation Summary - Mobile Optimized */
 .donation-summary {
     background: #f8f8f8;
     padding: 14px;
     border-radius: 8px;
     margin-bottom: 20px;
 }

 .donation-summary h3 {
     font-size: 14px;
     font-weight: 600;
     margin-bottom: 10px;
     color: #333;
 }

 .summary-item {
     display: flex;
     justify-content: space-between;
     margin-bottom: 6px;
     font-size: 13px;
     color: #555;
 }

 .summary-item .amount-display,
 .summary-item .frequency-display {
     font-weight: 600;
     color: #333;
 }

 /* Button Styles - Mobile Optimized */
 .continue-btn,
 .submit-btn {
     width: 100%;
     padding: 14px;
     background: #ED1F27;
     color: white;
     border: none;
     border-radius: 8px;
     font-size: 15px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s ease;
     -webkit-tap-highlight-color: transparent;
 }

 .payment-icon {
     display: flex;
     align-items: center;
 }

 .continue-btn:active,
 .submit-btn:active {
     transform: scale(0.98);
     background: #ED1F27;
 }

 .back-btn {
     width: 100%;
     padding: 14px;
     background: white;
     color: #333;
     border: 1.5px solid #ddd;
     border-radius: 8px;
     font-size: 15px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s ease;
     margin-bottom: 10px;
     -webkit-tap-highlight-color: transparent;
 }

 .back-btn:active {
     transform: scale(0.98);
     background: #f5f5f5;
 }

 .button-group {
     margin-top: 24px;
     padding-bottom: 20px;
 }

 /* Tablet screens */
 @media (min-width: 768px) {
     .donation-stepper-container {
         max-width: 600px;
         margin: 0 auto;
         box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
     }

     .stepper-header {
         position: fixed;
         max-width: 600px;
         width: 100%;
     }

     .step-title {
         font-size: 26px;
     }

     .mission-card {
         height: 250px;
         padding: 20px;
     }

     .amount-grid {
         grid-template-columns: repeat(4, 1fr);
     }
 }

 /* Desktop screens */
 @media (min-width: 1024px) {
     body {
         background: #f5f5f5;
     }

     .donation-stepper-container {
         max-width: 800px;
         margin: 30px auto;
         background: white;
         box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
         border-radius: 12px;
         overflow: hidden;
     }

     .stepper-header {
         position: fixed;
         top: 0;
         width: 100%;
         max-width: none;
         height: 70px;
         padding: 20px 40px;
         background: white;
         border-radius: 0;
     }

     .stepper-content {
         padding-top: 70px;
     }

     .step-panel {
         padding: 40px 60px 60px;
     }

     .step-title {
         font-size: 32px;
         margin-bottom: 30px;
     }

     .mission-card {
         height: 350px;
         margin-bottom: 30px;
     }

     .mission-overlay {
         padding: 24px;
     }

     .mission-title {
         font-size: 20px;
     }

     .section-title {
         font-size: 18px;
         margin-bottom: 24px;
     }

     .crypto-option {
         padding: 16px;
         font-size: 16px;
         margin-bottom: 24px;
     }

     .frequency-toggle {
         margin-bottom: 24px;
     }

     .freq-btn {
         padding: 12px 16px;
         font-size: 13px;
     }

     .currency-selector select {
         padding: 14px 40px 14px 16px;
         font-size: 16px;
     }

     .amount-grid {
         grid-template-columns: repeat(4, 1fr);
         gap: 16px;
         margin-bottom: 24px;
     }

     .amount-btn {
         padding: 24px 16px;
         font-size: 18px;
     }

     .custom-amount input {
         padding: 14px 16px;
         font-size: 16px;
     }

     .form-group {
         margin-bottom: 20px;
     }

     .form-group label {
         font-size: 14px;
     }

     .form-group input,
     .form-group select {
         padding: 12px 16px;
         font-size: 16px;
     }

     .form-row {
         gap: 20px;
     }

     .payment-methods {
         gap: 14px;
     }

     .payment-method {
         padding: 14px 20px;
     }

     .donation-summary {
         padding: 20px;
         margin-bottom: 30px;
     }

     .donation-summary h3 {
         font-size: 16px;
     }

     .summary-item {
         font-size: 14px;
     }

     .continue-btn,
     .submit-btn {
         padding: 16px;
         font-size: 16px;
     }

     .back-btn {
         padding: 16px;
         font-size: 16px;
     }

     .button-group {
         margin-top: 40px;
     }
 }

 /* Large desktop screens */
 @media (min-width: 1440px) {
     .donation-stepper-container {
         max-width: 900px;
     }

     .step-panel {
         padding: 50px 80px 70px;
     }

     .step-title {
         font-size: 34px;
     }

     .mission-card {
         height: 400px;
     }
 }

 /* iOS specific fixes */
 @supports (-webkit-touch-callout: none) {

     input,
     select,
     textarea {
         font-size: 16px !important;
         /* Prevents zoom on focus */
     }
 }

 /* Safe area insets for modern phones */
 @supports (padding: max(0px)) {
     .stepper-header {
         padding-top: max(12px, env(safe-area-inset-top));
     }

     .button-group {
         padding-bottom: max(20px, env(safe-area-inset-bottom));
     }
 }