/* General Styles */
* {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Light gray background for a clean look */
    padding: 10px;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus, #join-btn:focus {
    outline: 2px solid #0056b3;
    outline-offset: 3px;
}


.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: left; /* Align main content for readability */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Header Styles */
.header-container {
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 20px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.1);
}

h1 {
    font-size: 1.8rem;
    color: #000000;
    margin: 0;
    font-weight: 700;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

#join-btn {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #007bff;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#join-btn:hover {
    background-color: #0056b3;
}

.social-link img {
    height: 40px;
    width: 40px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Main Content Styles */
header {
    margin-bottom: 20px;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
}

header p {
    font-size: 0.9rem;
    color: #555;
}

section {
    margin-bottom: 20px;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

section h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #555;
}

section p,
section ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

ul {
    margin-left: 20px;
    list-style-type: disc;
}

/* Footer Styles */
footer {
    max-width: 900px;
    margin-top: 200px;
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: wrap; /* Allows wrapping for better responsiveness */
    gap: 15px; /* Adds space between items in the footer */
}

footer p {
    color: #555;
    font-size: 14px;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 15px; /* Adds space between links */
}

.footer-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0056b3;
}

.donate-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

.donate-link:hover {
    color: #0056b3;
}

@media (max-width: 768px) {
    .header-container, .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .right-section, .left-section {
        flex-direction: column;
        align-items: center;
    }

    .main-container {
        padding: 15px;
    }
}
