.wpcf7-form {
    padding: 2.4rem 0 0 0;
    background: #F5F5F5;
}

.form-wrapper .contact-way-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}

.form-wrapper .contact-way-wrapper input {
    display: none;
}

.form-wrapper .contact-way-wrapper label {
    border: #18052B solid 1px;
    border-radius: 100rem;
    padding: 1rem 2rem;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.7rem;
    text-align: center;
    font-family: ralewaySemiBold;
    display: flex;
    justify-content: center;
}

.form-wrapper .contact-way-wrapper label:has(input:checked) {
    color: white;
    background-color: #18052B;
}

@media screen and (max-width: 768px) { 
    .form-wrapper .contact-way-wrapper {
        display: flex;
        overflow-x: auto;
    }

    .form-wrapper .contact-way-wrapper label {
        white-space: nowrap;
    }
}

/* ------------------------------------------ */
.form-wrapper .input-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-wrapper .input-wrapper input{
    width: 100%;
    background-color: #eee;
    padding: 1rem 2rem;
    border-radius: 100rem;
    font-size: 0.7rem;
    font-family: ralewayMedium;
}


@media screen and (max-width: 768px) { 
    .form-wrapper .input-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
}
/* ------------------------------------------ */
.form-wrapper .input-wrapper-note span textarea{
    width: 100%;
    background-color: #eee;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-family: ralewayMedium;
}

@media screen and (max-width: 768px) { 
    .form-wrapper .input-wrapper-note span textarea{
        border-radius: 1.5rem;
    }    
}
/* ------------------------------------------ */
.form-wrapper .submit-section{
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.form-wrapper .submit-section *{
    margin: 0;
}

.form-wrapper .submit-section label{
    display: flex;
    gap: 0.3rem;
    font-size: 0.9rem;
    line-height: 1.1rem;
    align-items: flex-start;
    position: relative;
    padding-left: 1.3rem;
}


.form-wrapper .submit-section label input {
    display: none;
}
  
/* Add inner styling with ::after */
.form-wrapper .submit-section label::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 1rem; /* Inner size */
height: 1rem;
border-radius: 0.2rem; /* Adjust for inner curve */
background-color: transparent; /* Empty background */
border: solid #18052b6c 1px;
}
  
/* Style the checkbox when checked */
.form-wrapper .submit-section label:has(input:checked) {
border-color: #18052b6c; /* Change border color when checked */
}

.form-wrapper .submit-section label:has(input:checked)::after {
background-color: #18052b6c; /* Add fill color when checked */
}



.form-wrapper .submit-section .wpcf7-submit{
    order:3;
    border-radius: 100rem;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 0.7rem;
    text-align: center;
    font-family: ralewayBold;
    color: white;
    background-color: #18052B;
    height: min-content;
}

.form-wrapper .submit-section .wpcf7-submit:hover{
    background-color: #18052bcc;
}

.form-wrapper .submit-section .wpcf7-spinner{
    margin: 0;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) { 
    .form-wrapper .submit-section{
        flex-direction: column;
    }

    .form-wrapper .submit-section .wpcf7-submit{
        order: 0;
        width: 100%;
    }
}

/* ------------------------------------------ */

.wpcf7-not-valid-tip {
    text-align: left;
    padding-left: 2rem;
    font-size: 0.7rem;
    font-family: ralewaySemiBold;
}

.wpcf7-response-output{
    border: #18052B solid 1px !important;
    border-radius: 100rem;
    font-family: raleway;
    padding: 2rem 3rem;
    font-size: 1rem;
}