/* ==========================================================================
   ThinkNext - Volunteer Page Stylesheet
   Executive Structure (Aligned with Expert Network & Editorial Theme)
   ========================================================================== */

:root {
    --tn-teal-dark: #0b202c;
    --tn-teal-card: #102e32;
    --tn-mint: #9ee0bd;
    --tn-mint-hover: #b4edd0;
    --tn-sage: #187552;
    --tn-sage-light: #edf5ef;
    --tn-border-light: #d6e2d8;
    --tn-text-main: #2b453b;
    --tn-text-muted: #556c62;
    --tn-text-light: #8fa0a8;
}

/* ── 2. Introduction & 3 Feature Cards ── */
.volunteer-intro-section {
    padding: 85px 0 90px;
    background: #ffffff;
}

.volunteer-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: stretch;
}

.volunteer-feature-card {
    background: #ffffff;
    border: 1px solid #d6e2d8;
    border-radius: 16px;
    padding: 38px 28px 34px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* NO top hover line (Home page consistency) */
.volunteer-feature-card::before,
.volunteer-feature-card::after {
    display: none !important;
}

.volunteer-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(21, 59, 44, 0.08);
    border-color: #90bca3;
}

.volunteer-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 22px;
}

.volunteer-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #e7f4eb;
    border: 1px solid #cce2d3;
    color: #187552;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.volunteer-feature-card:hover .volunteer-card-icon {
    background: #187552;
    color: #ffffff;
    transform: scale(1.06);
}

.volunteer-card-index {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #d8e5dd;
    line-height: 1;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.volunteer-feature-card:hover .volunteer-card-index {
    color: #187552;
    opacity: 0.35;
}

.volunteer-feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #102e32;
    margin: 0 0 10px;
    line-height: 1.35;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
}

.volunteer-feature-card p {
    font-size: 14.5px;
    color: #556c62;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 960px) {
    .volunteer-cards-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }
    .volunteer-feature-card {
        padding: 32px 24px;
    }
    .volunteer-feature-card h3 {
        min-height: auto;
    }
}

/* ── 3. Callout Section (Matched with About Us Dark Palette) ── */
.volunteer-callout-section {
    background: radial-gradient(circle at 15% 20%, rgba(24, 117, 82, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, #091e26 0%, #0c2730 100%) !important;
    padding: 85px 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(158, 224, 189, 0.15) !important;
    border-bottom: 1px solid rgba(158, 224, 189, 0.15) !important;
}

.volunteer-callout-section .section-label,
.volunteer-callout-section .volunteer-callout-label {
    background: rgba(188, 232, 209, 0.12) !important;
    color: #9ee0bd !important;
    border: 1px solid rgba(158, 224, 189, 0.25) !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    padding: 5px 16px !important;
    display: inline-block !important;
}

.volunteer-callout-content {
    max-width: 720px;
    margin: 0 auto;
}

.volunteer-callout-content h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(28px, 3.4vw, 38px) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 16px 0 12px !important;
}

.volunteer-callout-content p {
    font-size: 15px !important;
    color: #a6c4b8 !important;
    line-height: 1.65 !important;
    max-width: 620px !important;
    margin: 0 auto 30px !important;
}

.btn-apply-trigger {
    background: #9ee0bd !important;
    color: #092b26 !important;
    border: 1px solid #9ee0bd !important;
    padding: 13px 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    transition: all 0.25s ease !important;
}

.btn-apply-trigger:hover {
    background: #b8ebcf !important;
    border-color: #b8ebcf !important;
    color: #092b26 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

/* ── 4. Volunteer Form Section ── */
.volunteer-page-section {
    padding: 90px 0 110px;
    background: #f8fafc;
}

.volunteer-box-container {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d6e2d8;
    border-radius: 16px;
    padding: 44px 42px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.volunteer-box-header {
    margin-bottom: 28px;
    border-bottom: 1px solid #e5ede7;
    padding-bottom: 20px;
}

.volunteer-box-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: #102e32;
    margin: 0 0 8px;
}

.volunteer-box-header p {
    font-size: 0.94rem;
    color: #556c62;
    line-height: 1.6;
    margin: 0;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vol-input-group {
    margin-bottom: 22px;
}

.vol-input-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #234b3e;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.vol-input-group label .req-marker {
    color: #e11d48;
    margin-left: 2px;
}

.vol-input-group input[type="text"],
.vol-input-group input[type="email"],
.vol-input-group input[type="tel"],
.vol-input-group select,
.vol-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #c9dec2;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: #102e32;
    background: #fbfdfa;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.vol-input-group input::placeholder,
.vol-input-group textarea::placeholder {
    font-size: 13px;
    color: #8da499;
}

.vol-input-group input:focus,
.vol-input-group select:focus,
.vol-input-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #187552;
    box-shadow: 0 0 0 3px rgba(24, 117, 82, 0.12);
}

/* Custom SVG Chevron on Select */
.vol-input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fbfdfa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23187552' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 14px 14px;
    padding-right: 44px;
    cursor: pointer;
    line-height: 1.4;
}

/* File Upload */
.vol-input-group input[type="file"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #c9dec2;
    border-radius: 8px;
    background: #fbfdfa;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: #234b3e;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.vol-input-group input[type="file"]::file-selector-button {
    background: #edf5ee;
    border: 1px solid #c9dec2;
    color: #187552;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vol-input-group input[type="file"]::file-selector-button:hover {
    background: #187552;
    color: #ffffff;
    border-color: #187552;
}

.vol-input-group input[type="file"]:focus {
    outline: none;
    border-color: #187552;
    box-shadow: 0 0 0 3px rgba(24, 117, 82, 0.12);
    background: #ffffff;
}

.file-hint {
    display: block;
    font-size: 12px;
    color: #71877e;
    margin-top: 6px;
}

/* Captcha Row */
.captcha-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-flex input {
    flex: 1;
    min-width: 0;
}

.captcha-flex img,
.captcha-img {
    height: 42px;
    border-radius: 6px;
    border: 1px solid #c9dec2;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.captcha-flex img:hover,
.captcha-img:hover {
    opacity: 0.85;
}

/* Submit Button */
.btn-submit-volunteer {
    width: 100%;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid #187552;
    background: #187552;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 117, 82, 0.22);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-submit-volunteer:hover {
    background: #125e41;
    border-color: #125e41;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 117, 82, 0.32);
}

.btn-submit-volunteer:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Status Alerts */
.vol-status-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: none;
    font-size: 0.92rem;
    line-height: 1.5;
}

.vol-status-alert.alert-success {
    background: #edf5ef;
    border: 1px solid rgba(24, 117, 82, 0.3);
    color: #187552;
}

.vol-status-alert.alert-error {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

@media (max-width: 720px) {
    .volunteer-box-container {
        padding: 30px 20px;
    }
    .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
