/* ============================================
   BECOME A VOLUNTEER - MODAL VERSION
   ============================================ */

.become-a-volunteer-at-p4t {
    background-color: #ffffff;
    padding: 50px 0;
}

.become-a-volunteer-at-p4t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Header */
.become-a-volunteer-at-p4t-header {
    text-align: center;
    margin-bottom: 38px;
}

.become-a-volunteer-at-p4t-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #F37021;
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.become-a-volunteer-at-p4t-header h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0;
}

.become-a-volunteer-at-p4t-header h2 span {
    color: #F37021;
}

.become-a-volunteer-at-p4t-header-line {
    width: 50px;
    height: 3px;
    background-color: #F37021;
    margin: 14px auto 0;
}

/* Intro */
.become-a-volunteer-at-p4t-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.become-a-volunteer-at-p4t-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444444;
}

/* Three Column Grid */
.become-a-volunteer-at-p4t-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.become-a-volunteer-at-p4t-card {
    background-color: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 28px;
}

.become-a-volunteer-at-p4t-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.become-a-volunteer-at-p4t-card h3 i {
    color: #F37021;
}

.become-a-volunteer-at-p4t-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.become-a-volunteer-at-p4t-card li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    padding-left: 18px;
    position: relative;
}

.become-a-volunteer-at-p4t-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #F37021;
}

.become-a-volunteer-at-p4t-card li strong {
    color: #1A5F7A;
}

.become-a-volunteer-at-p4t-support-item {
    margin-bottom: 16px;
}

.become-a-volunteer-at-p4t-support-item:last-child {
    margin-bottom: 0;
}

.become-a-volunteer-at-p4t-support-item h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1A5F7A;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.become-a-volunteer-at-p4t-support-item h4 i {
    color: #F37021;
}

.become-a-volunteer-at-p4t-support-item p {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

/* CTA Button */
.become-a-volunteer-at-p4t-cta {
    text-align: center;
}

.become-a-volunteer-at-p4t-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #F37021;
    color: #ffffff;
    padding: 16px 48px;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.become-a-volunteer-at-p4t-apply-btn:hover {
    background-color: #d55a0d;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(243, 112, 33, 0.35);
}

.become-a-volunteer-at-p4t-cta-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #777777;
}

/* ============================================
   MODAL
   ============================================ */

.become-a-volunteer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.become-a-volunteer-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.become-a-volunteer-modal {
    background-color: #ffffff;
    border-radius: 14px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.become-a-volunteer-modal-overlay.active .become-a-volunteer-modal {
    transform: scale(1);
}

.become-a-volunteer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 2px solid #eeeeee;
}

.become-a-volunteer-modal-header h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.become-a-volunteer-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #f5f5f5;
    color: #555555;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.become-a-volunteer-modal-close:hover {
    background-color: #F37021;
    color: #ffffff;
}

.become-a-volunteer-modal-body {
    padding: 32px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

/* ============================================
   FORM STYLING
   ============================================ */

.become-a-volunteer-form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eeeeee;
}

.become-a-volunteer-form-section:last-of-type {
    border-bottom: none;
}

.become-a-volunteer-form-section h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1A5F7A;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.become-a-volunteer-form-section h4 i {
    color: #F37021;
}

.become-a-volunteer-form-group {
    margin-bottom: 18px;
}

.become-a-volunteer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.become-a-volunteer-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 6px;
}

.become-a-volunteer-form-group label .required {
    color: #F37021;
}

.become-a-volunteer-form-group input,
.become-a-volunteer-form-group select,
.become-a-volunteer-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.become-a-volunteer-form-group input:focus,
.become-a-volunteer-form-group select:focus,
.become-a-volunteer-form-group textarea:focus {
    outline: none;
    border-color: #F37021;
}

.become-a-volunteer-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F37021' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.become-a-volunteer-form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Custom Checkboxes */
.become-a-volunteer-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.become-a-volunteer-checkbox {
    position: relative;
    display: block;
}

.become-a-volunteer-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.become-a-volunteer-checkbox span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 0.9rem;
    color: #555555;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    text-align: center;
}

.become-a-volunteer-checkbox:hover span {
    border-color: #F37021;
    background-color: rgba(243, 112, 33, 0.05);
}

.become-a-volunteer-checkbox input:checked + span {
    background-color: #F37021;
    border-color: #F37021;
    color: #ffffff;
    font-weight: 700;
}

.become-a-volunteer-checkbox input:checked + span::before {
    content: '✓ ';
    margin-right: 6px;
}

/* Consent Checkboxes */
.become-a-volunteer-consent-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.become-a-volunteer-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px !important;
    border: 2px solid #eeeeee !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background-color: #ffffff !important;
}

.become-a-volunteer-consent:hover {
    border-color: #F37021 !important;
    background-color: rgba(243, 112, 33, 0.05) !important;
}

.become-a-volunteer-consent:has(input[type="checkbox"]:checked) {
    border-color: #F37021 !important;
    background-color: rgba(243, 112, 33, 0.08) !important;
}

.become-a-volunteer-consent input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    cursor: pointer !important;
    accent-color: #F37021 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    position: relative !important;
    opacity: 1 !important;
}

.become-a-volunteer-consent .consent-text {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #555555 !important;
    user-select: none !important;
}

/* Privacy Notice Box */
.become-a-volunteer-privacy-notice {
    background-color: rgba(26, 95, 122, 0.05);
    border-left: 4px solid #1A5F7A;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    margin-bottom: 0;
}

.become-a-volunteer-privacy-notice p {
    font-size: 0.9rem;
    color: #444444;
    margin: 0 0 12px 0;
}

.become-a-volunteer-privacy-notice strong {
    color: #1A5F7A;
    font-weight: 700;
}

.become-a-volunteer-privacy-notice ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.become-a-volunteer-privacy-notice li {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 8px;
}

.become-a-volunteer-privacy-notice a {
    color: #F37021;
    text-decoration: none;
    font-weight: 600;
}

.become-a-volunteer-privacy-notice a:hover {
    text-decoration: underline;
}

.become-a-volunteer-privacy-consent {
    margin-top: 16px;
    background-color: #ffffff !important;
    border: 2px solid #1A5F7A !important;
}

.become-a-volunteer-privacy-consent:hover {
    border-color: #F37021 !important;
    background-color: rgba(243, 112, 33, 0.05) !important;
}

/* Submit Button */
.become-a-volunteer-form-submit {
    text-align: center;
    margin-top: 24px;
}

.become-a-volunteer-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #F37021;
    color: #ffffff;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.become-a-volunteer-submit-btn:hover {
    background-color: #d55a0d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(243, 112, 33, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .become-a-volunteer-at-p4t-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .become-a-volunteer-at-p4t-container {
        padding: 0 25px;
    }

    .become-a-volunteer-at-p4t-header h2 {
        font-size: 2rem;
    }

    .become-a-volunteer-modal {
        width: 95%;
    }

    .become-a-volunteer-modal-header {
        padding: 20px 24px;
    }

    .become-a-volunteer-modal-body {
        padding: 24px 20px;
    }

    .become-a-volunteer-form-row {
        grid-template-columns: 1fr;
    }

    .become-a-volunteer-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .become-a-volunteer-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   EMAIL VERIFICATION STEP
   ============================================ */

.become-a-volunteer-verification-step {
    text-align: center;
    padding: 40px 20px;
}

.become-a-volunteer-verification-box {
    max-width: 500px;
    margin: 0 auto;
}

.verification-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(243, 112, 33, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.verification-icon i {
    font-size: 2.5rem;
    color: #F37021;
}

.become-a-volunteer-verification-box h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.become-a-volunteer-verification-box p {
    font-size: 1rem;
    color: #666666;
    margin: 8px 0;
}

.verification-email {
    font-size: 1.1rem !important;
    color: #F37021 !important;
    margin: 15px 0 30px !important;
}

.otp-input-group {
    margin: 30px 0;
}

.otp-input {
    width: 100%;
    max-width: 300px;
    padding: 16px 20px;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 8px;
    border: 3px solid #ddd;
    border-radius: 10px;
    font-weight: 700;
    color: #1a1a1a;
    transition: border-color 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #F37021;
    box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.1);
}

.verification-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.verify-btn,
.resend-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verify-btn {
    background-color: #F37021;
    color: #ffffff;
}

.verify-btn:hover:not(:disabled) {
    background-color: #d55a0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.3);
}

.verify-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.resend-btn {
    background-color: #f0f0f0;
    color: #555555;
}

.resend-btn:hover {
    background-color: #e0e0e0;
}

.verification-note {
    font-size: 0.9rem !important;
    color: #999999 !important;
    margin-top: 20px !important;
}

.verification-note #countdown {
    font-weight: 700;
    color: #F37021;
}

.verification-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    display: none;
}

.verification-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.verification-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.email-verification-notice {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-verification-notice i {
    color: #ffc107;
    font-size: 1.2rem;
}

.email-verification-notice span {
    font-size: 0.9rem;
    color: #856404;
}

@media (max-width: 767px) {
    .otp-input {
        font-size: 1.5rem;
        letter-spacing: 6px;
    }
    
    .verification-actions {
        flex-direction: column;
    }
    
    .verify-btn,
    .resend-btn {
        width: 100%;
        justify-content: center;
    }
}