/*
Theme Name: Move Weight Foundation
Author: Move Weight Foundation
Author URI: https://foundation.moveweight.com/
Description: A customizable WordPress theme for 501(c)(3) nonprofits with a vibrant Black and Sky Blue design.
Version: 4.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moveweight
Tags: nonprofit, donation, incubator, givewp, elementor
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.site-header {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

.custom-logo-link {
    display: flex;
    max-width: var(--logo-size);
    transition: transform 0.3s ease;
}

.custom-logo-link:hover {
    transform: scale(1.05);
}

.custom-logo {
    max-height: var(--logo-size);
    width: auto;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    border-radius: 0 0 12px 12px;
    z-index: 1001;
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    display: block;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(161, 202, 241, 0.2) 10%, transparent 40%);
    animation: bubble 15s infinite;
}

@keyframes bubble {
    0% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
    100% { transform: translate(0, 0); }
}

.hero {
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 8rem 1rem;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--background-color);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#about.section, #contribute.section, #contributors.section, #sponsor-donations.section, #budget.section, #contact.section {
    padding: 3rem;
}

#about h2, #contribute h2, #contributors h2, #sponsor-donations h2, #budget h2, #contact h2 {
    font-size: 2.5rem;
    text-align: center;
}

.give-form {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.give-btn {
    background: var(--primary-color) !important;
    color: var(--background-color) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.give-btn:hover {
    background: var(--accent-color) !important;
    transform: translateY(-2px) !important;
}

.contributor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.give-donor {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.give-donor:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.sponsor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.wpcf7-form input[type="text"]:focus, .wpcf7-form input[type="email"]:focus, .wpcf7-form textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.wpcf7-form input[type="submit"] {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.site-footer {
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-social a {
    margin: 0 0.5rem;
    font-size: 1.5rem;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin: 0.5rem 0;
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
}

.section p:where(:first-child:not(:last-child)) {
    color: #FF6B6B;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 107, 107, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.sidebar {
    width: 300px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .hero { padding: 6rem 1rem; min-height: 500px; }
    .hero h2 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .section { padding: 2rem 1rem; }
    .section h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .hero { padding: 4rem 1rem; min-height: 400px; }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .sponsor-list, .contributor-list { grid-template-columns: 1fr; }
    .cta-button { padding: 0.6rem 1.5rem; font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero h2 { font-size: 1.5rem; }
    .hero p { font-size: 0.9rem; }
    .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea { font-size: 0.9rem; padding: 0.6rem; }
    .wpcf7-form input[type="submit"] { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}