.wpcf7-container {
    display: flex;
    flex-direction: column;
    margin: 1em 0 1em 0;
    padding: 1.5em 1em;
    color: #000;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.wpcf7-container-sm { max-width: 400px; margin: 0 auto; }
.wpcf7-container-md { max-width: 800px; margin: 0 auto; }
.wpcf7-container-lg { max-width: 12000px; margin: 0 auto; }

.wpcf7-row {
    display: flex;
    flex-wrap: wrap;
    /* margin: 1em 0 1em 0; */
    gap: 1em;
    justify-content: space-between;
    align-content: center;
    align-items: flex-start;
}
.wpcf7-field { box-sizing: border-box; }
.wpcf7-field-full { flex: 0 0 100%; max-width: 100%; margin-bottom: 15px;}
.wpcf7-field-half { flex: 0 0 48%; max-width: 48%; margin-bottom: 15px; }
.wpcf7-field-third { flex: 0 0 31%; max-width: 31%; margin-bottom: 15px; }

@media (max-width: 900px) {
    .wpcf7-container-lg { max-width: 98vw; }
}
@media (max-width: 700px) {
    .wpcf7-container-md, .wpcf7-container-lg { max-width: 98vw; }
    .wpcf7-row { flex-direction: column; gap: 0.5em; }
    .wpcf7-field-half, .wpcf7-field-third, .wpcf7-field-full {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media (max-width: 500px) {
    .wpcf7-container, .wpcf7-container-sm, .wpcf7-container-md, .wpcf7-container-lg {
        padding: 0.5em 0.2em;
    }
}
.wpcf7-container input{
    color: #fff;
    background-color: #2271b1;
}

.wpcf7-container input[type="text"],
.wpcf7-container input[type="email"],
.wpcf7-container input[type="tel"],
.wpcf7-container textarea,
.wpcf7-container select {
    width: 100%;
    padding: 0.7em 0.9em;
    border: none;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(135deg, #9cc93b, #49bbe8) 1;
    border-image-slice: 1;
    border-radius: 0;
    background-color: transparent;
    transition: all 0.3s ease;
    /* margin-bottom: 1em; */
    font-size: 1em;
    background: transparent;
    color: #8f8f8f;
    transition: border-color 0.5s;
    transition: color 0.5s;
}
.wpcf7-container input:focus,
.wpcf7-container textarea:focus,
.wpcf7-container select:focus {
    box-shadow: 0 2px 0 0 #9cc93b, 0 4px 8px rgba(73, 187, 232, 0.15);
    outline: none;
    color: #1d2327;
}
.wpcf7-container label {
    font-weight: 500;
    margin-bottom: 0.4em;
    display: block;
}

.wpcf7-not-valid-tip{
    font-size: 0.75em;
    color: #c90000;
}
