
/* Base styles */
.container {
    width: 100%;
    max-width: 1200px; /* Optional, can set maximum width */
    margin: 0 auto;
    padding: 0 15px; /* Added padding to prevent content from touching edges */
}

.top {
    margin-top: 5%;
    height: 45px;
    background-color: #008000;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the text */
}
.topup{
    margin-top: 5%;
    height: 45px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the text */
}

.topup h4{
    color: #008000;
}

.top h4 {
    color: #fff;
    font-size: 1.2rem; /* Default font size for better readability */
}

/* Donation Categories Styling */
.donation-categories {
    margin: 20px 0;
}

/* Media Queries for Responsiveness */

/* Mobile Devices */
@media screen and (max-width: 480px) {
    .top {
        margin-top: 13%;
        height: 35px; /* Reduced height for mobile screens */
    }

    .top h4 {
        font-size: 0.9rem; /* Smaller text size for mobile screens */
        padding-bottom: 20px;
    }

    .topup {
        margin-top: 15%;
        height: 35px; /* Reduced height for mobile screens */
        margin-bottom: -10%;
    }

    .topup h4 {
        font-size: 0.9rem; /* Smaller text size for mobile screens */
        padding-bottom: 20px;
    }

    .container {
        padding: 0 8px; /* Less padding for small screens */
    }

    h5{
        font-size: 0.7rem;
    }
    .donate-content{
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    }
}

@media screen and (max-width: 600px) {
    .top {
        margin-top: 13%;
        height: 40px; /* Reduced height for mobile screens */
    }

    .top h4 {
        margin-top: 10%;
        font-size: 1rem; /* Smaller text size for mobile screens */
        padding-bottom: 20px;
    }

    .topup {
        margin-top: 15%;
        margin-bottom: -10%;
        height: 40px; /* Reduced height for mobile screens */
    }

    .topup h4 {
        font-size: 1rem; /* Smaller text size for mobile screens */
        padding-bottom: 20px;
    }

    .container {
        padding: 0 10px; /* Less padding for small screens */
    }
    h5{
        font-size: 0.9rem;
    }
    .donate-content{
        padding-bottom: 0px;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
        }
}

/* Tablets and Smaller Desktops */
@media screen and (max-width: 768px) {
    .top {
        height: 50px; /* Slightly increased height for tablets */
    }

    .top h4 {
        font-size: 1.1rem; /* Adjust font size for better readability */
        padding-bottom: 20px;
    }

    .topup {
        height: 50px; /* Slightly increased height for tablets */
    }

    .topup h4 {
        font-size: 1.1rem; /* Adjust font size for better readability */
        padding-bottom: 20px;
    }

    .container {
        padding: 0 20px; /* Slightly larger padding on tablet screens */
    }
    h5{
        font-size: 1rem;
    }
    .donate-content{
        padding-bottom: 0px;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
        }
}

/* Larger Screens (Desktops) */
@media screen and (min-width: 1200px) {
    .container {
        padding: 0 30px; /* More padding for larger screens */
    }

    .top h4 {
        font-size: 1.5rem; /* Larger text size for large screens */
    }

    .topup h4 {
        margin-bottom: -7%;
        font-size: 1.5rem; /* Larger text size for large screens */
    }
}



table {
    width: 100%;
    border-collapse: collapse;
}
        
/* Table header styling */
thead {
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

/* Table cell styling */
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f2f2f2;
}

/* Zebra striping for rows */
tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

/* Table borders */
table, th, td {
    border: 1px solid #ddd;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    table {
        width: 100%;
        font-size: 14px;
    }
    th, td {
        padding: 10px;
    }
}
/* ///////////////////////////////////////////////////////////////////////////////////////////////////// */

/* .form-wrapper{
    background-color: #ffffff;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 12px;
    animation: fadeIn 1s ease-out;
} */

/* .form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-wrapper {
    margin-top: 2%;
    background-color: #ffffff;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 12px;
    animation: fadeIn 1s ease-out;
} */
/* Container Styling */
/* Container Styling */
.contact-form {
    background-color: #ffffff;
    padding: 25px 25px 25px 25px;
    border-radius: 10px;
    max-width: 85%; /* Allow it to scale fully */
    margin: 30px auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    color: #333;
    box-sizing: border-box;
}

/* Form Row and Column Layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
    margin-right: 15px;
    min-width: 280px; /* Ensures enough space for inputs */
}

.form-column:last-child {
    margin-right: 0;
}

/* Labels Styling */
.form-label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #555;
}

/* Input, Textarea, and File Input Styling */
.form-input, 
.form-textarea, 
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 5px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-input:focus, 
.form-textarea:focus, 
.form-control:focus {
    border-color: #E31937;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 5px #e3193796;
}

/* Textarea Styling */
.form-textarea {
    resize: vertical;
}

/* Button Styling */
.submit-button {
    background-color: #E31937;
    color: white;
    padding: 14px 22px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    width: 25%;
}

.submit-button:hover {
    background-color: #FFDE69;
}

/* Media Queries for Responsiveness */

/* Adjustments for large devices (desktops) */
@media (max-width: 1200px) {
    .form-column {
        flex: 1 1 48%; /* Adjust column width for large devices */
        margin-bottom: 20px;
    }

    .form-column:last-child {
        margin-right: 0;
    }

    .submit-button {
        width: 100%;
        font-size: 15px;
    }
}

/* Adjustments for medium devices (tablets and small laptops) */
@media (max-width: 992px) {
    .form-column {
        flex: 1 1 48%; /* Adjust column width for medium devices */
        margin-bottom: 20px;
    }

    .form-column:last-child {
        margin-right: 0;
    }

    .submit-button {
        width: 100%;
        font-size: 15px;
    }
}

/* Adjustments for small devices (mobiles, smartphones) */
@media (max-width: 768px) {
    .form-column {
        flex: 1 1 100%; /* Stack columns vertically */
        margin-right: 0;
        margin-bottom: 20px;
    }

    .form-label {
        font-size: 14px;
    }

    .submit-button {
        font-size: 14px;
    }
}

/* Adjustments for extra small devices (small smartphones) */
@media (max-width: 480px) {
    .contact-form {
        padding: 15px;
    }

    .form-label {
        font-size: 13px;
    }

    .submit-button {
        font-size: 13px;
    }
}

/* Targeting extra small devices (320px and below) */
@media (max-width: 320px) {
    .contact-form {
        padding: 10px; /* Further reduced padding */
    }

    .form-label {
        font-size: 11px; /* Smaller font size for very small devices */
    }

    .form-input, 
    .form-textarea, 
    .form-control {
        padding: 6px; /* Even smaller padding */
        font-size: 11px; /* Adjust font size for input fields */
    }

    .submit-button {
        font-size: 11px; /* Smaller font size for the submit button */
        padding: 8px 16px; /* Compact button padding */
    }
}



/* .contact-form{
    width: 100%;
}

.form-row{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.form-column{
    flex: 1;
    min-width: 250px;
}
.form-label{
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}
.form-input,
.form-textarea{
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s, transform 0.3s;
}
.form-input:focus,
.form-textarea:focus{
    border-color: #008000;
    outline: none;
    transform: scale(1.02);
}
.form-textarea{
    resize: none;
}
.submit-button{
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4CAF50, #008000);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.submit-button:hover{
    background: linear-gradient(135deg, #008000, #4CAF50);
    transform: scale(1.05);
}

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(-20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px){
    .form-wrapper{
        padding: 30px;
    }
    .title{
        font-size: 24px;
    }
    .subtitle{
        font-size: 14px;
    }
    .form-row{
        flex-direction: column;
    }
}

@media (max-width: 540px){
    .form-wrapper{
        padding: 20px;
    }
    .title{
        font-size: 20px;
    }
    .subtitle{
        font-size: 12px;
    }
    .form-row{
        flex-direction: column;
        gap: 15px;
    }
    .form-column{
        min-width: 100%;
    }
    .form-label{
        font-size: 12px;
    }
    .form-input,
    .form-textarea{
        padding: 10px;
    }
    .submit-button{
        padding: 10px;
        font-size: 14px;
    }
} */


