.page-template-page-contact footer:before {
    display: none;
}

.contact-section {
    padding: 90px 0 170px;
}

.contact-section .row {
    align-items: center;
}

#contact-form input {
    border: none;
    outline: none;
    border-bottom: 2px solid rgba(33, 51, 75, .10);
    background-color: var(--light-yellow);
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 30px;
    border-radius: 0;
	width: 100%;
}
#contact-form .gform_fields{
    row-gap: 0;
}
#contact-form textarea {
    border: none;
    outline: none;
    border-bottom: 2px solid rgba(33, 51, 75, .10);
    background-color: var(--light-yellow);
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    resize: none;
    height: 39px;
    min-height: 39px;
}

::placeholder {
    color: #5a5a5a;
    /*color: var(--dark-blue);*/
    font-size: 16px;
}

#contact-form {
    border-radius: 20px;
    position: relative;
    background-color: var(--light-yellow);
    padding: 50px;
    width: 515px;
    max-width: 100%;
    margin: 0 auto;
}

#contact-form:before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 94px;
    height: 4px;
    background-color: var(--yellow-color);
}

#contact-form .gfield_label {
    margin-bottom: 0;
    display: none;
}

#contact-form select {
    background-color: var(--light-yellow);
    border: none;
    border-bottom: 2px solid rgba(33, 51, 75, .10);
    outline: none;
    color: var(--dark-blue);
    padding-left: 0;
    padding-right: 0;
    -webkit-appearance: none;
    background-image: url("/wp-content/uploads/2024/08/Contact-2.svg");
    background-position-x: right;
    background-position-y: center;
    background-repeat: no-repeat;
    font-size: 16px;
    margin-bottom: 30px;
}

#contact-form select option {
    padding: 0;
}

#contact-form input[type="submit"] {
    padding: 10px 160px;
    background-color: var(--dark-blue);
    color: #fff;
    border-radius: 23px;
    margin: 18px auto 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s all ease-in;
}

#contact-form input[type="submit"]:hover {
    background-color: var(--yellow-color);
    color: var(--dark-blue);
}

#contact-form .gfield_description {
    opacity: 50%;
    font-size: 14px;
    padding-top: 0;
}

.contact-section h2 {
    padding-bottom: 40px;
    position: relative;
    margin-bottom: 40px;
}

.contact-section h2:before {
    content: '';
    position: absolute;
    display: block;
    width: 94px;
    height: 2px;
    background-color: var(--yellow-color);
    left: 0;
    bottom: 0;
}

.contact-section .page-subtitle {
    margin-bottom: 10px;
}

.contact-info-wrapper {
    width: 500px;
    max-width: 100%;
}

.contact-info-wrapper p {
    margin-bottom: 45px;
}

.contact-mail {
    color: var(--dark-blue);
}


.contact-mail:hover {
    color: var(--yellow-color);
}

.contact-mail span {
    display: inline-block;
    margin-right: 10px;
}



.contact-mail span, .contact-mail i, .contact-mail i:before {
    transition: none;
}

#main-section.contact-section {
    position: relative;
    z-index: 20;
    overflow: hidden;
}

#main-section.contact-section:before {
    content: '';
    position: absolute;
    display: block;
    background-image: url("/wp-content/uploads/2024/08/contact-before.png");
    width: 751px;
    height: 877px;
    top: 0;
    left: 0;
}

textarea {
    resize: none;
    overflow-y: hidden;
}

.date-form-field input {
	display: block;
	width: 100%;
}

@media (max-width: 991.9px) {
    #main-section.contact-section:before {
        display: none;
    }

    .contact-info-wrapper {
        margin: 0 auto 40px;
        text-align: center;
    }

    .contact-info-wrapper h2:before {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info-wrapper p {
        text-align: left;
    }

    #main-section.contact-section {
        padding: 60px 0;
    }

    #contact-form input, #contact-form select {
        margin-bottom: 20px;
    }
}

@media (max-width: 768.9px) {
    #main-section.contact-section {
        padding: 30px 0;
    }

    #contact-form {
        padding: 30px;
    }

    .contact-section h2 {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
}

@media (max-width: 575px) {
    #contact-form input[type="submit"] {
        width: 100%;
        padding: 10px 120px;
    }


}


:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none !important;
}


#quote {
    background-color: #182547;
    color: #fff;
}

#quote .et_pb_row_11 {
    display: flex;
    justify-content: space-evenly;
    width: 920px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#quote h1 {
    color: #fff;
}

.et_pb_text_inner p {
    position: relative;
}

#quote .et_pb_row_11 .et_pb_column {
    padding: 0 5rem;
    width: auto;
    float: none;
}

#quote .quote-boxes .et_pb_with_border .et_pb_text_inner p {
    position: relative;
    padding: 8px 22px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 25px;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 2.125rem;
}

#quote .quote-boxes .et_pb_with_border .et_pb_text_inner p {
    color: #fff;
}

#quote .quote-boxes .et_pb_with_border .et_pb_text_inner p
:before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 2px;
    background-color: #fff;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 26px);
}

@keyframes quote-animation {
    0% {
        width: 0;
    }
    100% {
        width: 110px;
    }
}


@keyframes quote-bckg {
    to {
        background-color: #fff;
        color: #182547;
    }
}

@keyframes quote-vertical {
    to {
        height: 36px;
    }
}

#quote .et_pb_row_11 .et_pb_column:nth-of-type(1) .quote-animate:before {
    animation: quote-animation 1s ease-in-out 0s forwards;
}

#quote .et_pb_row_11 .et_pb_column:nth-of-type(2) .quote-animate::before {
    animation: quote-animation 1s ease-in-out 1s forwards;
}


#quote .et_pb_row_11 .et_pb_column:nth-of-type(1) .quote-animate {
    animation: quote-bckg 1s ease-in-out 0s;
}

.quote-animate .et_pb_text_inner {
    color: #182547;
}


#quote .et_pb_row_11 .et_pb_column:nth-of-type(2) .quote-animate {
    animation: quote-bckg 1s ease-in-out 1s;
}

#quote .et_pb_row_11 .et_pb_column:nth-of-type(3) .quote-animate {
    animation: quote-bckg 1s ease-in-out 2s;
}

#quote .quote-boxes .et_pb_column:last-child .et_pb_with_border .et_pb_text_inner p::before {
    display: none;
}

@media (max-width: 991.9px) {
    #quote .et_pb_row_10 {
        display: block;
    }

    #quote .et_pb_row_11 .et_pb_column {
        padding: 1rem;
    }


    #quote .quote-boxes .et_pb_with_border .et_pb_text_inner p {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }


    #quote .quote-boxes .et_pb_with_border .et_pb_text_inner p::before {
        width: 2px;
        height: 50px;
        bottom: -65px;
        left: 50%;
        transform: translateX(-50%);
        top: unset;
        display: none;
    }

    #quote .quote-boxes .et_pb_with_border .et_pb_text_inner p:after {
        content: '';
        position: absolute;
        display: block;
        width: 2px;
        height: 0;
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% + 16px);
        background-color: #fff;
    }


    #quote .quote-boxes .et_pb_column:nth-of-type(1) .et_pb_with_border .et_pb_text_inner p:after {
        animation: quote-vertical 1s ease-in-out 0s forwards;
    }

    #quote .et_pb_row_11 .et_pb_column:nth-of-type(2) .et_pb_with_border .et_pb_text_inner p:after {
        animation: quote-vertical 1s ease-in-out 1s forwards;
    }

    #quote .et_pb_row_11 .et_pb_column:last-child .et_pb_with_border .et_pb_text_inner p:after {
        display: none;
    }
}


.soc-hero-form {
    background-color: #fff;
    padding: 1.5625rem 1.5625rem .75rem;
    border-radius: 12px;
    width: 495px;
    max-width: 100%;
}

.soc-hero-form h3 {
    font-size: 1.5rem;
    color: #182547;
    margin-bottom: 0;
}

.soc-hero-form iframe {
    margin-bottom: 0 !important;
}

.gform_wrapper .gform_validation_errors {
    display: none;
}

#contact-form .validation_message {
    opacity: 1;
    padding: 10px;
    background-color: var(--yellow-color);
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
}

@media (max-width: 768.9px) {
    .soc-hero-form {
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 21px rgba(0, 0, 0, .1);
    }
}

@media (max-width: 575.9px) {
    .soc-hero-form h3 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 375px) {
    #contact-form input[type="submit"] {
        padding: 10px 15px;
    }
}

/* Change the white to any color */

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
    transition: background-color 600000s 0s, color 600000s 0s;
    -webkit-transition: background-color 600000s 0s, color 600000s 0s;
    -moz-transition: background-color 600000s 0s, color 600000s 0s;
    -o-transition: background-color 600000s 0s, color 600000s 0s;
    -ms-transition: background-color 600000s 0s, color 600000s 0s;
    color: var(--dark-blue) !important;
}

input[data-autocompleted] {
    background-color: transparent !important;
    color: var(--dark-blue) !important;
}

input:-internal-autofill-selected {
    background-color: transparent !important;
    color: var(--dark-blue) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    color: var(--dark-blue) !important;
    transition: background-color 5000000s ease-in-out 0s !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--dark-blue) !important; /* Enforce text color */
    transition: background-color 5000000s ease-in-out 0s, -webkit-text-fill-color 5000000s ease-in-out 0s !important;
    /* Ensure text color transitions along with the background */
}

input[data-autocompleted] {
    background-color: transparent !important;
    -webkit-text-fill-color: var(--dark-blue) !important; /* Enforce text color */
}






