﻿/* Give Online Section - Mobile First */
.give-online-section, .be-part {
    padding-block: 48px;
}

.give-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.header-content .featured-title {
    text-align: center;
}

.amount-display {
    text-align: center;
    font-weight: 700;
    background: transparent;
    border: none;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

    .amount-display::placeholder {
        color: #000;
    }

    .amount-display:focus {
        border-bottom-color: #4a90e2;
    }

.give-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 16px;
    font-weight: 600;
    color: #282828;
    margin-bottom: 12px;
    font-family: "Newsreader", serif;
}

.select-wrapper {
    position: relative;
}

select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background: #fff;
    border: 1px solid #9e9fa2;
    border-radius: 8px;
    font-family: "Newsreader", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #676f7e;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

    select:focus {
        outline: none;
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

.select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.payment-option {
    padding: 10px;
    background: #fff;
    border: 1px solid #9e9fa2;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

    .payment-option:hover {
        border-color: var(--primary-dark);
    }

    .payment-option.active {
        border-color: var(--primary-dark);
    }

.btn {
    border-color: var(--primary-dark);
    text-transform: none;
    width: 100%;
    box-shadow: none;
}

    .btn:hover {
        background: #357abd;
        box-shadow: none;
        border-color: #357abd;
    }

    .btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        border-color: #ccc;
    }

/* Divider */
.or {
    font-family: "Newsreader", sans-serif;
    font-weight: 600;
    color: #282828;
    text-align: center;
    margin-block: -8px;
}

.other-ways-to-give-wrapper {
    background: #f7f5ed;
    padding-block: 48px;
}

.other-ways-to-give-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

    .other-ways-to-give-container .header-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

.header-content p {
    color: #676f7e;
    font-family: "Newsreader", sans;
    font-size: 16px;
    font-weight: 500;
    max-width: 650px;
    line-height: 1.6;
}

.ways-to-give {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.way-to-give {
    background: #fff;
    border: 1px solid #d7d1d1;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: start;
    max-width: 380px;
}

    .way-to-give img {
        width: 24px;
    }

    .way-to-give h3 {
        font-size: clamp(24px, 2vw, 28px);
        font-weight: 400;
        color: #282828;
        letter-spacing: -2%;
    }

    .way-to-give p {
        font-size: clamp(14px, 2vw, 16px);
        line-height: 180%;
        font-weight: 500;
        font-family: "Newsreader", serif;
        color: #676f7e;
    }

.be-part-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px 100px;
}

.be-part-image {
    display: flex;
    justify-content: center;
}

    .be-part-image img {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        min-height: 400px;
        object-fit: cover;
    }

.be-part-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

    .be-part-content span.section-label {
        margin-bottom: 12px;
    }

    .be-part-content p {
        color: #676F7E;
        font-family: "Newsreader", sans-serif;
        font-weight: 500;
        line-height: 1.6;
    }
/* Tablet Styles */
@media (min-width: 640px) {
    .give-online-section,
    .other-ways-to-give-wrapper,
    .be-part {
        padding-block: 72px;
    }

    .give-container {
        gap: 32px;
    }
}
/* Desktop Styles */
@media (min-width: 1024px) {
    .be-part-container {
        grid-template-columns: 8fr 9fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.section-title {
    animation-delay: 0.1s;
}

.accordion-item:nth-child(1) {
    animation-delay: 0.2s;
}

.accordion-item:nth-child(2) {
    animation-delay: 0.3s;
}

.featured-title {
    animation-delay: 0.1s;
}

.amount-display {
    animation-delay: 0.2s;
}

.give-form {
    animation-delay: 0.3s;
}
