/* Global Styles */
.donate-us {
    width: 95%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Header Styles */

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    color: #1fb7ff;
    /* Blue primary color */
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Donation Options Styles */
.donation-options {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    margin-bottom: 40px;
}

.donation-options h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.donation-options p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.donation-option img {
    width: 100%;
    height: 300px;
}

.donation-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.donation-option {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-option:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.donation-option h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.donation-option p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.donation-option .instructions {
    margin-top: 10px;
}

/* Impact Stories Styles */
.impact-stories {
    background-color: #f0f8ff;
    /* Light blue background */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.impact-stories h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.impact-stories p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.impact-stories ul {
    list-style-type: none;
    padding: 0;
}

.impact-stories li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.impact-stories li i {
    margin-right: 10px;
    color: #007bff;
}

/* Tax Information Styles */
.tax-information {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    margin-bottom: 40px;
}

.tax-information h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.tax-information p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.tax-information .exemption-info {
    background-color: #f0f8ff;
    /* Pale blue background */
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.tax-information .exemption-info h3 {
    font-size: 1.8rem;
    color: #007bff;
    /* Blue primary color */
    margin-bottom: 10px;
}

.tax-information .exemption-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

/* Contact Information Styles */
.contact-information {
    background-color: #f5f5f5;
    /* Light gray background */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.contact-information h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-information p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.contact-information ul {
    list-style-type: none;
    padding: 0;
}

.contact-information li {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-information li a {
    color: #007bff;
    text-decoration: none;
}

.contact-information li a:hover {
    text-decoration: underline;
}

/* WhatsApp Chat Styles */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .whatsapp-chat img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    cursor: pointer;
  }
  
  .whatsapp-chat img:hover {
    transform: scale(1.1);
  }
  
  #whatsapp-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  #whatsapp-popup.hidden {
    display: none;
  }
  
  #whatsapp-message {
    width: 250px; /* Increased width */
    height: 40px; /* Increased height */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Increased font size */
  }
  
  #send-button {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 15px; /* Adjusted padding */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #send-button:hover {
    background-color: #20c256;
  }

/* Responsive Styles for Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .donate-us {
        width: 95%;
    }

    .donation-options,
    .impact-stories,
    .tax-information,
    .contact-information {
        padding: 20px;
    }

    .donation-options h2,
    .impact-stories h2,
    .tax-information h2,
    .contact-information h2 {
        font-size: 2rem;
    }

    .donation-options p,
    .impact-stories p,
    .tax-information p,
    .contact-information p {
        font-size: 1rem;
    }
}

/* Responsive Styles for Smartphones (up to 767px) */
@media (max-width: 767px) {
    .donate-us {
        width: 100%;
        padding: 10px; /* Reduce padding to ensure it fits */
        box-sizing: border-box; /* Include padding in width calculation */
    }

    header {
        padding: 10px; /* Add padding to avoid content touching edges */
    }

    header h1 {
        font-size: 2rem; /* Adjusted font size */
    }

    header p {
        font-size: 0.9rem; /* Smaller font size for better fit */
        margin-bottom: 5px; /* Reduced margin */
    }

    .donation-options,
    .impact-stories,
    .tax-information,
    .contact-information {
        padding: 15px;
        margin-bottom: 20px; /* Reduced margin to fit better */
        box-sizing: border-box; /* Include padding in width calculation */
    }

    .donation-options h2,
    .impact-stories h2,
    .tax-information h2,
    .contact-information h2 {
        font-size: 1.6rem; /* Adjusted font size */
        margin-bottom: 10px; /* Reduced margin */
    }

    .donation-options p,
    .impact-stories p,
    .tax-information p,
    .contact-information p {
        font-size: 0.9rem; /* Adjusted font size */
    }

    .donation-option img {
        width: 100%; /* Ensure image uses full width of container */
        height: auto; /* Maintain aspect ratio */
    }

    /* Adjust WhatsApp chat popup */
    #whatsapp-popup {
        width: 90%; /* Full width with some margin */
        max-width: 300px; /* Adjust max width for better fit */
    }

    #whatsapp-message {
        width: calc(100% - 22px); /* Adjust width with padding considered */
        height: auto; /* Adjust height automatically */
        font-size: 14px; /* Adjust font size */
    }

    #send-button {
        width: 100%; /* Full width for button */
        padding: 10px; /* Adjusted padding */
        box-sizing: border-box; /* Include padding in width calculation */
    }
}
