.elementor-4559 .elementor-element.elementor-element-8530b42{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-4559 .elementor-element.elementor-element-a421a9c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-4559 .elementor-element.elementor-element-40e0849 > .elementor-widget-container{padding:50px 0px 0px 0px;}.elementor-4559 .elementor-element.elementor-element-40e0849{text-align:center;}.elementor-4559 .elementor-element.elementor-element-40e0849 .elementor-heading-title{font-family:"Cairo", Sans-serif;font-size:22px;font-weight:400;line-height:31px;color:#2E2E2E;}.elementor-4559 .elementor-element.elementor-element-7a15683{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:30px 20px;--row-gap:30px;--column-gap:20px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:120px;--padding-left:15px;--padding-right:15px;}.elementor-4559 .elementor-element.elementor-element-7a15683.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-4559 .elementor-element.elementor-element-6d38d02{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4559 .elementor-element.elementor-element-df05f3a.elementor-element{--align-self:center;}@media(min-width:768px){.elementor-4559 .elementor-element.elementor-element-a421a9c{--width:100%;}.elementor-4559 .elementor-element.elementor-element-7a15683{--width:100%;}.elementor-4559 .elementor-element.elementor-element-6d38d02{--width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-4559 .elementor-element.elementor-element-6d38d02{--width:100%;}}@media(max-width:1024px){.elementor-4559 .elementor-element.elementor-element-7a15683{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:60px;--padding-bottom:60px;--padding-left:15px;--padding-right:15px;}}/* Start custom CSS for charifund-contact-form-widget, class: .elementor-element-df05f3a *//* Base styles - Mobile First Approach */
.volunteer-form-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    overflow: hidden;
}

.intro-section {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    border-radius: 10px;
}

.intro-section h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}

.intro-section p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label,
.main-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.wpcf7-form-control-wrap {
    display: block;
    position: relative;
    width: 100%;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-date,
.wpcf7-textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px; /* Prevents zoom on iOS */
    background: #f8f9fa;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    display: block;
}

/* Special styling for select dropdowns */
.wpcf7-select {
    width: 100%;
    max-width: 100%;
    padding: 10px 35px 10px 12px; /* Extra padding for arrow */
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' 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: right 10px center;
    background-size: 16px;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    display: block;
    cursor: pointer;
}

/* RTL arrow positioning */
[dir="rtl"] .wpcf7-select {
    background-position: left 10px center;
    padding: 10px 12px 10px 35px;
}

.wpcf7-textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-date:focus,
.wpcf7-textarea:focus {
    outline: none;
    border-color: #4a7c59;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.wpcf7-select:focus {
    outline: none;
    border-color: #4a7c59;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

/* Select option styling */
.wpcf7-select option {
    padding: 10px;
    background: #fff;
    color: #333;
    direction: rtl;
    text-align: right;
}

.wpcf7-select option:hover,
.wpcf7-select option:focus {
    background: #f0f8f0;
}

/* Disabled select styling */
.wpcf7-select:disabled {
    background-color: #e9ecef;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Checkbox Styling - Mobile First */
.checkbox-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.wpcf7-list-item {
    margin: 0 !important;
    display: block;
    width: 100%;
}

.wpcf7-list-item-label {
    display: block;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    font-weight: normal;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.3;
}

.wpcf7-list-item input[type="checkbox"] {
    display: none;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
    background: #4a7c59;
    color: white;
    border-color: #4a7c59;
}

.wpcf7-list-item-label:hover {
    background: #e9ecef;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:hover {
    background: #2c5530;
}

/* Focus for accessibility */
.wpcf7-list-item-label:focus-within,
.wpcf7-list-item-label:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 25px;
}

.wpcf7-submit {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    outline: none;
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Success and Error Messages */
.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin: 15px 0;
    font-size: 14px;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Special Option */
.special-option {
    margin-top: 15px;
    padding: 15px;
    background: #e8f5e8;
    border-radius: 8px;
    border: 2px solid #4a7c59;
}

.special-option small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-style: italic;
    font-size: 12px;
}

/* Loading indicator */
.wpcf7-spinner {
    margin: 0 auto;
    display: block;
}

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    body {
        margin: 0;
        padding: 0;
    }
    
    .volunteer-form-wrapper {
        width: 100%;
        margin: 0;
        padding: 15px;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
    }
    
    .intro-section {
        padding: 15px 10px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .intro-section h3 {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .intro-section p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .form-row {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .form-row label,
    .main-label {
        font-size: 14px;
        margin-bottom: 6px;
        display: block;
        width: 100%;
    }
    
    .wpcf7-form-control-wrap {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-tel,
    .wpcf7-date,
    .wpcf7-textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px 10px;
        font-size: 16px;
        border-radius: 6px;
        margin: 0;
    }
    
    .wpcf7-select {
        width: 100%;
        max-width: 100%;
        padding: 12px 35px 12px 10px;
        font-size: 16px;
        border-radius: 6px;
        margin: 0;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' 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: right 8px center;
        background-size: 18px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        min-height: 48px; /* Better touch target */
    }
    
    /* RTL positioning for mobile */
    [dir="rtl"] .wpcf7-select {
        background-position: left 8px center;
        padding: 12px 10px 12px 35px;
    }
    
    .wpcf7-select option {
        padding: 12px;
        font-size: 16px;
        background: #fff;
        color: #333;
    }
    
    .checkbox-section {
        padding: 15px 10px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .wpcf7-list-item {
        width: 100%;
        margin: 0;
    }
    
    .wpcf7-list-item-label {
        padding: 15px 12px;
        font-size: 14px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        display: block;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .wpcf7-submit {
        padding: 15px 20px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
        margin-top: 20px;
    }
    
    .form-submit {
        margin-top: 20px;
        width: 100%;
    }
}

/* Large Mobile Devices & Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .volunteer-form-wrapper {
        width: 95%;
        max-width: 95%;
        margin: 10px auto;
        padding: 20px;
    }
    
    .intro-section h3 {
        font-size: 20px;
    }
    
    .intro-section p {
        font-size: 15px;
    }
    
    .form-row label,
    .main-label {
        font-size: 15px;
    }
    
    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-tel,
    .wpcf7-date,
    .wpcf7-textarea {
        padding: 12px 15px;
    }
    
    .wpcf7-select {
        padding: 12px 35px 12px 15px;
        background-position: right 12px center;
        background-size: 16px;
        min-height: 46px;
    }
    
    [dir="rtl"] .wpcf7-select {
        background-position: left 12px center;
        padding: 12px 15px 12px 35px;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .wpcf7-list-item {
        width: 100%;
    }
    
    .wpcf7-list-item-label {
        font-size: 14px;
        padding: 12px 14px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .wpcf7-submit {
        width: auto;
        min-width: 250px;
        padding: 15px 30px;
    }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .volunteer-form-wrapper {
        width: 90%;
        padding: 30px;
    }
    
    .intro-section h3 {
        font-size: 22px;
    }
    
    .form-row label,
    .main-label {
        font-size: 16px;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .wpcf7-list-item-label {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 20px;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    .volunteer-form-wrapper {
        width: 85%;
        max-width: 800px;
        padding: 30px;
    }
    
    .intro-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .intro-section h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .intro-section p {
        font-size: 16px;
    }
    
    .form-row {
        margin-bottom: 20px;
    }
    
    .form-row label,
    .main-label {
        font-size: 16px;
    }
    
    .checkbox-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .wpcf7-list-item {
        display: inline-block;
        width: auto;
        flex: 0 0 auto;
    }
    
    .wpcf7-list-item-label {
        display: inline-block;
        width: auto;
        text-align: right;
        border-radius: 20px;
        font-size: 16px;
    }
    
    .wpcf7-submit {
        padding: 15px 40px;
        font-size: 18px;
        width: auto;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .volunteer-form-wrapper {
        max-width: 900px;
        padding: 40px;
    }
    
    .intro-section h3 {
        font-size: 26px;
    }
    
    .checkbox-group {
        gap: 15px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .volunteer-form-wrapper {
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
}

/* Print Styles */
@media print {
    .volunteer-form-wrapper {
        box-shadow: none;
        border: 1px solid #ccc;
        padding: 20px;
    }
    
    .wpcf7-submit {
        display: none;
    }
    
    .intro-section {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-tel,
    .wpcf7-date,
    .wpcf7-textarea {
        padding: 14px 16px; /* Larger touch targets */
        min-height: 48px;
    }
    
    .wpcf7-select {
        padding: 14px 40px 14px 16px; /* Larger touch targets */
        min-height: 48px;
        background-size: 18px;
        background-position: right 12px center;
    }
    
    [dir="rtl"] .wpcf7-select {
        background-position: left 12px center;
        padding: 14px 16px 14px 40px;
    }
    
    .wpcf7-list-item-label {
        padding: 14px 18px; /* Larger touch targets */
        min-height: 44px; /* iOS recommended touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .wpcf7-submit {
        padding: 16px 32px;
        min-height: 48px; /* Better touch target */
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .volunteer-form-wrapper {
        padding: 15px;
    }
    
    .intro-section {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .intro-section h3 {
        font-size: 18px;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if required */
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-tel,
    .wpcf7-date,
    .wpcf7-select,
    .wpcf7-textarea,
    .wpcf7-list-item-label,
    .wpcf7-submit {
        transition: none;
    }
    
    .wpcf7-submit:hover {
        transform: none;
    }
}/* End custom CSS */