* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Gradient Background */
    color: white;
}

header {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffeb3b; /* Highlight on hover */
}

main {
    padding: 20px;
}

#upload-form {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-width: 600px; /* Limit max width for better readability */
    margin: 20px auto; /* Center the form */
}

h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px; /* Space between form fields */
}

label {
    display: block;
    margin: 5px 0;
}

input[type="text"],
input[type="file"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%; /* Full-width button */
}

button:hover {
    background-color: #45a049;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: relative; /* Adjust position */
    bottom: 0;
    width: 100%;
}
/* Track Delivery Page Styles */
#track-delivery-section {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0; /* Space above and below the section */
}

.hidden {
    display: none; /* Hide tracking result initially */
}

#tracking-form {
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    max-width: 400px; /* Limit width of the form */
    margin: 0 auto; /* Center the form */
}

.form-group {
    margin-bottom: 15px; /* Space between form elements */
}

#tracking-result {
    margin-top: 20px; /* Space above the results */
    padding: 15px;
    background: rgba(200, 200, 200, 0.3); /* Light background for results */
    border-radius: 5px;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #45a049;
}
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Gradient Background */
    color: white;
}

header {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffeb3b; /* Highlight on hover */
}

main {
    padding: 20px;
}

/* Hero Section */
#hero {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin: 20px 0; /* Space above and below */
}

#hero h2 {
    color: #4CAF50;
}

#donate-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#donate-button:hover {
    background-color: #45a049;
}

#greeting {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0; /* Space above and below the greeting */
    text-align: center; /* Center the greeting text */
}

#features {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0; /* Space between sections */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; /* Space between grid items */
}

.feature-item {
    background: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center; /* Center the feature text */
}

#testimonials {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0; /* Space between sections */
}

.testimonial-carousel {
    display: flex;
    flex-direction: column; /* Stack testimonials vertically */
    align-items: center; /* Center the testimonials */
}

blockquote {
    background: rgba(200, 200, 200, 0.3);
    padding: 15px;
    border-left: 5px solid #4CAF50; /* Left border for emphasis */
    margin: 10px 0;
    width: 80%; /* Limit width of blockquotes */
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: relative; /* Adjust position */
    bottom: 0;
    width: 100%;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline; /* Underline on hover */
}
/* Rewards Page Styles */
#rewards-section {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0; /* Space above and below the section */
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; /* Space between grid items */
}

.reward-item {
    background: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center; /* Center the reward text */
}

#progress {
    margin-top: 20px; /* Space above the progress section */
    background: rgba(200, 200, 200, 0.3); /* Light background for progress */
    padding: 15px;
    border-radius: 5px;
}

button#reset-progress-button {
    margin-top: 20px; /* Space above the button */
    background-color: #f44336; /* Red background for reset */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button#reset-progress-button:hover {
    background-color: #d32f2f; /* Darker red on hover */
}
