.hbspt-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 5px;
}
.hbspt-form form {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hbspt-form .hs_email,
.hbspt-form .hs-form-field {
    width: 100% !important;
}

.hbspt-form label[id*=label-email]{
    display: none !important;
}
.hbspt-form legend.hs-field-desc,
.hbspt-form label span{display: none !important; }

.hbspt-form .input input{
    background-color: transparent;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 300;
    color: black;
    font-family: "Urbanist", sans-serif;
}

.hbspt-form label.hs-main-font-element{
    font-size: 16px;
    color: red;
}

.hbspt-form input[type=email] {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid black;
    padding-left: 8px;
    width: 100%;
    height: 44px;
}

.hbspt-form input::placeholder{
    font-size: 18px;
    line-height: 1.2;
    font-weight: 300;
    color: black;
}
.hbspt-form input[type=submit]{
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    background-color: black;
    border: none;
    color: white;
    width: 217px;
    height: 44px;
    border-radius: 100px;
}

p.privacy {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 300;
    text-align: center;
}
p.privacy a{
    position: relative;
    text-decoration: none; /* Remove the default underline */
    color: #000;
}
p.privacy a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px; /* Position the underline 3px below the text */
    height: 0.4px; /* Height of the custom underline */
    background-color: #000; /* Color of the underline */
    transform-origin: bottom left;
    transform: scaleX(1); /* Initially at full width */
    transition: transform 0.3s ease;
}



@media (min-width: 768px) {
    .hbspt-form {
        padding: 0;
    }
    .hbspt-form input[type=email],
    .hbspt-form .hs_email,
    .hbspt-form .hs-form-field{
        width: 453px !important;
    }
    .hbspt-form form {
        flex-direction: row;
    }
}