.floating-form {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 5px;
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-input {
    width: 100%;
    padding: 0 0px 12px 0;
    font-size: 16px;
    border: 0;
    border-bottom: 2px solid white;
    border-radius: 0px;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    color: white;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--brightgreen);
}

.form-label {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    font-size: 16px;
    color: white;
    pointer-events: none;
    transition: 0.15s ease all;
}

/* Floating effect */
/* Floating effect */
.form-input:focus + .form-label,
.form-input:valid + .form-label {
    top: -8px;
    left: 0px;
    font-size: 12px;
    padding: 0;
    opacity: 0.5;
}

/* Fully transparent autofill background */
.newsletter-wrap input:-webkit-autofill,
.newsletter-wrap textarea:-webkit-autofill,
.newsletter-wrap select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    background-color: transparent !important;
    color: white !important; /* Inherit text color */
    transition: background-color 5000s ease-in-out 0s;
}

.floating-form .cta {
    width: 100%;
    margin-top: 5px;
}