/* ==========================================================================
   Volunteering Page Stylesheet: /main/volunteer.css
   ========================================================================== */

/* --- 1. Layout & Hero Adjustments --- */
.content-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* --- 2. Ways to Volunteer (Two-Column Section) --- */
.volunteer-roles-section {
    padding: 2.5rem 0 1.5rem 0;
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem auto;
}

.section-intro h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.roles-two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.role-category-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.role-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    border-radius: 10px;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.role-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.role-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0077b6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.role-item h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
    color: #1e293b;
}

.role-item p {
    margin: 0;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
}

/* Business / Corporate Note */
.business-note {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f8fafc;
    border-left: 4px solid #0077b6;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #334155;
    box-sizing: border-box;
}

.business-note i {
    font-size: 1.25rem;
    color: #0077b6;
    flex-shrink: 0;
}

.business-note p {
    margin: 0;
    line-height: 1.4;
}

.business-note a {
    color: #0077b6;
    font-weight: 600;
    text-decoration: underline;
}

/* --- 3. Passion Bridge Header (Transition to Cards) --- */
.passion-bridge {
    text-align: center;
    max-width: 680px;
    margin: 3.5rem auto 1.5rem auto;
    padding: 0 1rem;
}

.passion-bridge h2 {
    font-size: 1.85rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.bridge-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0077b6;
    margin-bottom: 0.75rem;
}

.bridge-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

/* --- 4. Modality Interest Cards Grid --- */
.ways-to-help {
    width: 100%;
    margin-bottom: 3.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card .icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-color: #f0f7ff;
    color: #0077b6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #1f2937;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

/* --- 5. Unified Connect / Contact Form --- */
.contact-form-container {
    max-width: 650px;
    margin: 2rem auto 4rem auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.contact-form-container h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #1f2937;
    font-size: 1.75rem;
}

.form-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0077b6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.radio-group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.35rem;
}

.radio-group-container label {
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    background-color: #0077b6;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: #023e8a;
}

/* --- 6. Responsive Breakpoints --- */
@media (max-width: 768px) {
    .roles-two-column-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.75rem 1.25rem;
        margin: 1.5rem 1rem 3rem 1rem;
    }

    .radio-group-container {
        gap: 1rem;
    }
}