/* ========================================
   Bi-STEM24 Donate Page
   ======================================== */

:root {
    --donate-green: #183b2b;
    --donate-green-light: #236b49;
    --donate-orange: #d66f2c;
    --donate-text: #4d5751;
    --donate-muted: #707a73;
    --donate-border: #e0e7e1;
    --donate-light: #f6f8f6;
    --donate-white: #ffffff;
}

body {
    margin: 0;
    color: var(--donate-text);
    background: var(--donate-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

body * {
    box-sizing: border-box;
}

.donate-container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

/* Hero */

.donate-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 65px 20px;
    overflow: hidden;
    background-image: url("../images/donate/donate.jpeg");
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    text-align: center;
}

.donate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(12, 28, 20, 0.72),
        rgba(12, 28, 20, 0.42)
    );
}

.donate-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--donate-white);
}

.hero-eyebrow,
.section-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

.hero-eyebrow {
    color: #f2c8a9;
}

.donate-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.15;
}

.donate-hero p {
    margin: 0;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.6;
}

/* Introduction */

.donate-intro {
    padding: 75px 0 45px;
}

.intro-heading {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.section-eyebrow {
    color: var(--donate-orange);
}

.intro-heading h2 {
    margin: 0;
    color: var(--donate-green);
    font-size: clamp(28px, 3.5vw, 39px);
    line-height: 1.3;
    font-weight: 700;
}

.heading-line {
    width: 58px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 5px;
    background: var(--donate-orange);
}

.intro-copy {
    max-width: 940px;
    margin: 0 auto;
}

.intro-copy p {
    margin: 0 0 20px;
    color: var(--donate-text);
    font-size: 16px;
    line-height: 1.9;
}

.intro-copy .intro-highlight {
    margin-top: 25px;
    padding: 18px 22px;
    border-left: 4px solid var(--donate-orange);
    border-radius: 0 6px 6px 0;
    background: var(--donate-light);
    color: var(--donate-green);
    font-weight: 600;
}

/* Form Section */

.donate-form-section {
    padding: 35px 0 85px;
    background: var(--donate-light);
}

.donate-form-card {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
    padding: 42px 44px;
    border: 1px solid var(--donate-border);
    border-radius: 12px;
    background: var(--donate-white);
    box-shadow: 0 12px 35px rgba(24, 59, 43, 0.07);
}

.form-heading {
    margin-bottom: 30px;
    text-align: center;
}

.form-heading h2 {
    margin: 0 0 12px;
    color: var(--donate-green);
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.35;
}

.form-heading p {
    max-width: 510px;
    margin: 0 auto;
    color: var(--donate-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Fields */

.donate-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--donate-green);
    font-size: 14px;
    font-weight: 700;
}

.form-group label span,
.form-note span {
    color: var(--donate-orange);
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d6dfd8;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #27352c;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input {
    min-height: 52px;
}

.form-group textarea {
    min-height: 145px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa39c;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--donate-green-light);
    box-shadow: 0 0 0 3px rgba(35, 107, 73, 0.1);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: none;
}

/* Submit Button */

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 53px;
    padding: 14px 22px;
    border: 0;
    border-radius: 6px;
    background: var(--donate-green);
    color: var(--donate-white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: var(--donate-green-light);
}

.submit-btn:active {
    transform: translateY(1px);
}

.submit-btn:focus-visible {
    outline: 3px solid #9ac7ad;
    outline-offset: 3px;
}

.button-arrow {
    font-size: 21px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.submit-btn:hover .button-arrow {
    transform: translateX(4px);
}

.form-note {
    margin: -8px 0 0;
    color: var(--donate-muted);
    font-size: 12px;
    text-align: center;
}

/* Responsive */

@media (max-width: 768px) {
    .donate-hero {
        min-height: 260px;
        padding: 50px 20px;
    }

    .donate-intro {
        padding: 55px 0 30px;
    }

    .intro-heading {
        margin-bottom: 28px;
    }

    .intro-copy p {
        font-size: 15px;
        line-height: 1.8;
    }

    .donate-form-section {
        padding: 30px 0 60px;
    }

    .donate-form-card {
        padding: 32px 25px;
    }
}

@media (max-width: 480px) {
    .donate-container {
        width: 92%;
    }

    .donate-hero {
        min-height: 220px;
        background-position: center;
    }

    .hero-eyebrow,
    .section-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .donate-hero h1 {
        font-size: 36px;
    }

    .donate-hero p {
        font-size: 16px;
    }

    .intro-heading h2 {
        font-size: 27px;
    }

    .intro-copy .intro-highlight {
        padding: 15px 16px;
    }

    .donate-form-card {
        padding: 27px 18px;
        border-radius: 9px;
    }

    .form-heading h2 {
        font-size: 25px;
    }

    .donate-form {
        gap: 19px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
}
