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

body {
    font-family: "Open Sans", sans-serif;
    background-color: white;
    color: #111;
}

header {
    display: flex;
    background-color: white;
    height: 7vh;
    min-height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    align-items: center;
    padding: 0 1rem;
}

.logo{
    display: flex;
    margin-left: 10rem;
}

.header {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 0 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fa-solid, .fa-brands {
    color: rgba(0, 89, 255, 0.932);
}

h3 {
    margin-left: 0;
    font-weight: 650;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

nav {
    margin-left: 200px;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav ul li a {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.2s ease;
}

nav ul li a:hover {
    background-color: rgb(245, 248, 255);
    border-radius: 8px;
    color: rgba(0, 89, 255, 0.932);
}

#header_button {
    margin-left: 20px;
    height: 38px;
    width: auto;
    padding: 0 1.2rem;
    border: none;
    border-radius: 10px;
    background-color: black;
    white-space: nowrap;
}

#header_button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(12px, 2vw, 14px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

#section1 {
    background-color: rgb(0, 89, 255);
    color: white;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.fa-solid{
    font-size: 1.8rem;
    margin-top: 0.3rem;
    color: rgba(0, 89, 255, 0.932);
}

.h1_about {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.p_about {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-button {
    background-color: white;
    color: rgba(0, 89, 255, 0.932);
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hero-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

#donation-form {
    padding: 4rem 1.5rem 6rem;
}

.donation-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.donation-panel,
.amount-panel {
    background-color: #f9fbff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.donation-panel h2,
.amount-panel h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.panel-copy {
    font-size: 1rem;
    line-height: 1.8;
    color: #4d5568;
    margin-bottom: 1.75rem;
}

.payment-grid {
    display: grid;
    gap: 1.5rem;
}

.payment-card {
    background-color: white;
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1rem;
}

.payment-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 89, 255, 0.08);
    color: rgba(0, 89, 255, 0.92);
    font-size: 1.3rem;
}

.payment-card h3 {
    margin-bottom: 0.55rem;
}

.payment-card p {
    line-height: 1.75;
    color: #475569;
}

.payment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.85rem 1.3rem;
    border-radius: 10px;
    background-color: rgba(0, 89, 255, 0.1);
    color: rgba(0, 89, 255, 0.95);
    text-decoration: none;
    font-weight: 700;
}

.payment-button:hover {
    background-color: rgba(0, 89, 255, 0.2);
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-button {
    border: 1px solid rgba(0, 89, 255, 0.25);
    background-color: white;
    color: rgba(0, 89, 255, 0.95);
    padding: 1rem;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.amount-button:hover {
    transform: translateY(-2px);
    background-color: rgba(0, 89, 255, 0.08);
}

.custom-amount {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.custom-amount label {
    color: #334155;
    font-weight: 600;
}

.custom-amount input {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 14px;
    padding: 1rem;
    font-size: 1rem;
    outline: none;
}

.custom-amount input:focus {
    border-color: rgba(0, 89, 255, 0.5);
}

.donate-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background-color: black;
    color: white;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 1rem;
}

.donate-submit:hover {
    background-color: rgba(0, 0, 0, 0.85);
}

.small-note {
    color: #475569;
    font-size: 0.95rem;
}

.small-note a {
    color: rgba(0, 89, 255, 0.95);
    text-decoration: none;
}

@media (max-width: 980px) {
    .donation-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 7vh;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 999;
        margin-left: 0;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
        margin: 0;
    }

    #header_button {
        margin-left: 0;
    }

    #section1 {
        padding: 4rem 1.5rem 3rem;
    }

    #donation-form {
        padding: 2rem 1rem;
    }

    .donation-panel,
    .amount-panel {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0 0.75rem;
    }

    h3 {
        margin-left: 0;
        font-size: clamp(0.95rem, 2vw, 1.2rem);
    }

    nav {
        top: 60px;
    }

    #header_button {
        height: 36px;
        width: auto;
    }

    #header_button a {
        font-size: 13px;
        padding: 0 0.8rem;
    }

    .h1_about {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .p_about {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    #section1 {
        padding: 2.5rem 1rem;
    }

    #donation-form {
        padding: 1.5rem 0.75rem;
    }

    .donation-panel h2,
    .amount-panel h2 {
        font-size: 1.5rem;
    }

    .donation-panel,
    .amount-panel {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .panel-copy {
        font-size: 0.95rem;
    }

    .preset-amounts {
        grid-template-columns: 1fr;
    }

    .preset-amounts, .custom-amount {
        gap: 0.75rem;
    }
}
