.elementor-5675 .elementor-element.elementor-element-afd923c label{color:#fff;font-weight:500;}.elementor-5675 .elementor-element.elementor-element-afd923c textarea{width:80%;margin:0 auto;font-weight:500;}@media(min-width:768px){.elementor-5675 .elementor-element.elementor-element-14f43ce{width:100%;}}/* Start custom CSS */.page-header {
    display: none;
}

h3 {
  color: #fff
}/* General Form Styles */
.wpcf7 .main-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        background-image: linear-gradient(90deg, #120f3a 0%, #41bbfd 100%);
}

h2 {
    text-align: center;
    color: #333;
}

fieldset, .consent {
    max-width: 60%;
    margin: 20px auto;
}

.consent {
    margin: 0 auto;
}

p {
    margin: 0 auto;
}

legend {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

/* Labels & Inputs */
label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}

input {
    max-width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 30px;
}

.radio-group, textarea {
    margin-bottom: 30px !important;
}

/* Radio Buttons */
label input[type="radio"] {
    
    transform: scale(1.2); /* Bigger radio buttons */
}

/* Radio Button Group Styling */
fieldset label {
    display: inline-block;
    gap: 10px;
    cursor: pointer;
}

/* Submit Button */
button {
    display: block;
    width: 100%;
    background: #5A3F87;
    color: #fff;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7 .main-form button:hover {
    background: #201f3a;
}

/* Mobile Optimization */
@media (max-width: 600px) {
    .main-form {
        padding: 15px;
    }

    input, textarea {
        font-size: 14px;
        min-width: 100%;
        
    }

    button {
        font-size: 14px;
    }
    
    fieldset, .consent {
        max-width: 100%;
    }
    
}


/* Hide Default Contact Form 7 Radio Buttons */
.wpcf7-form-control.wpcf7-radio span {
    display: inline-block;
    color: #12133c;
}

/* Hide default radio inputs */
.wpcf7-form-control.wpcf7-radio input {
    display: none;
}

/* Custom Styled Labels */
.wpcf7-form-control.wpcf7-radio span label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #EEE;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover Effect */
.wpcf7-form-control.wpcf7-radio span label:hover {
    background: #ddd !important;
}

.main-form .wpcf7-list-item label:has(input[type="radio"]:checked) {
    background: #131640 !important;
    color: #fff;
    border-color: #131640;
}

.main-form .wpcf7-list-item label:has(input[type="radio"]:checked) span {
    color: #fff;
}

/* Default Contact Form 7 Radio Buttons - Hide Them */
.wpcf7-list-item input[type="radio"] {
    display: none;
}

/* Style Radio Button Labels */
.wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #EEE;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover Effect */
.wpcf7-list-item label:hover {
    background: #ddd;
}

/* Change Style When Radio is Selected */
.wpcf7-list-item input:checked + label {
    background: #5A3F87;
    color: #fff;
    border-color: #5A3F87;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #46b450;
    color: #fff;
    margin: 0 auto;
    text-align: center;
}/* End custom CSS */