
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
    --primary: #2887ff;
    --primary-dark: #176bd1;
    --navy: #102b50;
    --text: #24364b;
    --muted: #718096;
    --background: #f4f8fd;
    --white: #ffffff;
    --border: #e4ebf4;
    --shadow: 0 20px 65px rgba(25, 65, 115, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    background:
        radial-gradient(circle at 10% 15%, rgba(40, 135, 255, 0.08), transparent 30%),
        var(--background);
    color: var(--text);
    min-height: 100vh;
}

/* HEADER */

.site-header {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 22px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--navy);
    font-family: "Outfit", sans-serif;
    font-size: 23px;
    font-weight: 600;
}

.brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 10px;
}

.brand strong {
    color: var(--primary);
}

.back-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

/* MAIN LAYOUT */

.donate-container {
    width: 100%;
    max-width: 1190px;
    margin: 35px auto 65px;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 65px;
    align-items: center;
}

/* LEFT INTRODUCTION */

.donate-intro {
    padding: 25px 0;
}

.eyebrow,
.form-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.donate-intro h1 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(36px, 4vw, 51px);
    line-height: 1.15;
    letter-spacing: -1.6px;
    color: var(--navy);
    max-width: 580px;
    margin-bottom: 23px;
}

.intro-text {
    max-width: 530px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 36px;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.impact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: #e5f1ff;
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.impact-item h3 {
    font-family: "Outfit", sans-serif;
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 5px;
}

.impact-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.thank-you {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px;
    padding: 17px;
    max-width: 510px;
    border-left: 3px solid var(--primary);
    background: rgba(40, 135, 255, 0.06);
    border-radius: 0 10px 10px 0;
}

.thank-you-icon {
    color: var(--primary);
    font-size: 23px;
}

.thank-you p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

/* DONATION FORM CARD */

.donate-form-section {
    background: var(--white);
    border: 1px solid rgba(225, 234, 245, 0.8);
    border-radius: 23px;
    padding: 38px;
    box-shadow: var(--shadow);
}

.form-heading {
    margin-bottom: 30px;
}

.form-heading .form-label {
    margin-bottom: 10px;
}

.form-heading h2 {
    font-family: "Outfit", sans-serif;
    font-size: 31px;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* FORM ELEMENTS */

.form-group {
    margin-bottom: 21px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 9px;
}

.form-group label span:not(.optional) {
    color: #e45b65;
}

.form-group label .optional {
    color: var(--muted);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fbfcfe;
    border-radius: 10px;
    padding: 14px 15px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input,
.form-group select {
    min-height: 49px;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a5b0be;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(40, 135, 255, 0.10);
}

/* AMOUNT OPTIONS */

.amount-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-bottom: 17px;
}

.amount-option {
    min-height: 43px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fbfcfe;
    color: var(--navy);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.amount-option:hover,
.amount-option.active {
    background: #eaf3ff;
    color: var(--primary-dark);
    border-color: var(--primary);
}

.custom-label {
    margin-top: 5px;
}

/* DONATION BUTTON */

.donate-button {
    width: 100%;
    min-height: 55px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(40, 135, 255, 0.25);
}

.donate-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-arrow {
    font-size: 20px;
}

/* MESSAGES */

.form-message {
    font-size: 13px;
    margin-top: 13px;
    line-height: 1.6;
}

.form-message.error {
    color: #d13c49;
}

.payment-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}

.payment-note span {
    font-size: 15px;
}

.payment-note p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

/* FOOTER */

.site-footer {
    max-width: 1190px;
    margin: 0 auto;
    padding: 22px 25px 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    font-size: 12px;
}

/* TABLET */

@media (max-width: 950px) {
    .donate-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .donate-intro h1 {
        font-size: 39px;
    }

    .donate-form-section {
        padding: 28px;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .site-header {
        padding: 17px 20px;
    }

    .brand {
        font-size: 19px;
    }

    .brand img {
        width: 39px;
        height: 39px;
    }

    .back-link {
        font-size: 12px;
    }

    .donate-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 20px auto 40px;
        padding: 0 17px;
    }

    .donate-intro {
        padding: 15px 0 0;
    }

    .donate-intro h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .intro-text {
        font-size: 14px;
        margin-bottom: 26px;
    }

    .impact-list {
        gap: 19px;
    }

    .impact-item h3 {
        font-size: 15px;
    }

    .impact-item p {
        font-size: 13px;
    }

    .thank-you {
        margin-top: 27px;
    }

    .donate-form-section {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .form-heading h2 {
        font-size: 27px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        line-height: 1.6;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .donate-intro h1 {
        font-size: 31px;
    }

    .donate-form-section {
        padding: 22px 15px;
    }

    .amount-options {
        gap: 7px;
    }

    .amount-option {
        font-size: 12px;
    }
}
