/* Base styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Layout containers */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header and navigation */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav {
    background: #34495e;
    padding: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Hero section */
.hero {
    background: #3498db;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Page titles */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Buttons */
.button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background: #c0392b;
}

/* Cards */
.card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Donation steps */
.steps {
    margin-bottom: 2rem;
}

.step {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #3498db;
}

/* Forms */
form {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Contact information */
.contact-info {
    background: #eee;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

/* Call to action */
.cta {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 4px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 3rem 1rem;
}

.thank-you-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 5px 0;
    }
}

footer a,
.contact-info a {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.3s;
}

footer a:hover,
.contact-info a:hover {
    opacity: 0.8;
}

.form-container {
    margin-bottom: 2rem;
}

.form-container iframe {
    min-height: 600px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Google Forms Embedding Styles */
.google-form-container {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 2rem;
}

.google-form-container iframe {
    width: 100%;
    min-height: 700px;
    /* Adjust based on your form length */
    border: none;
    overflow: hidden;
}

/* Make iframe taller on mobile to prevent scrolling */
@media (max-width: 768px) {
    .google-form-container iframe {
        min-height: 900px;
    }
}

.share-message {
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Hover animation for share icons */
.fab,
.fas {
    transition: transform 0.3s ease;
}

.fab:hover,
.fas:hover {
    transform: scale(1.2);
}