i* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    background: #fff;
    font-family: "Montserrat", Sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.btn-tiktok {
    background-color: #000 !important;
    box-shadow: 0 0 0 2px #20a7ad !important;
}

.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #20a7ad;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1001;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #20a7ad;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 500px;
    width: 80%;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .modal {
        padding: 15px;
    }
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding: 15px;
}

.modal-info h1 {
    font-size: 1.5rem;
    color: #20a7ad;
    margin: 0;
}

.modal-info-content {
    font-size: 1.25rem;
    padding: 0px 25px 3px 23px;
    color: #333;
    text-align: -webkit-match-parent;
}

.modal-info-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
}

#start-button {
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#start-button:hover {
    background-color: #1ca8aa;
}

#content {
    display: none;
}

.section input[type="text"],
.section input[type="email"],
.section input[type="tel"],
.section textarea {
    display: block;
    width: 100%;
    padding: 0.25rem 0;
    border: 0;
    border-bottom: 3px solid #104a4d;
    outline: 0;
    background: transparent;
    color: black;
    font-size: 1.3rem;
    line-height: 4rem;
    letter-spacing: 0.125rem;
    transition: all 0.5s cubic-bezier(0.4, 0.25, 0.8, 0.3);
}

textarea {
    border: 2px solid #000 !important;
    padding: 1rem !important;
}

#section-1 {
    flex-direction: column;
}

#section-2 {
    flex-direction: column;
}

#section-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
}

input[type="checkbox"] {
    padding: 1.25rem;
}

.box-holder {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
    justify-content: space-between;
}

.checkbox-label {
    align-self: center;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #333;
}

.box {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    appearance: none;
    border: 2px solid #20a7ad;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    outline: none;
}

.box:checked::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background-color: #20a7ad;
}

.box:checked {
    background-color: #fff;
    border-color: #20a7ad;
}

.box:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(32, 167, 173, 0.5);
}

@media (max-width: 768px) {
    .checkbox-label {
        font-size: 1rem;
    }

    .box {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
}

.modal-overlay,
.modal {
    transition:
        opacity 1s ease,
        visibility 1s ease;
    opacity: 1;
    visibility: visible;
}

.modal-overlay.hidden,
.modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.content {
    opacity: 0;
    transition: opacity 1s ease;
}

.content.visible {
    opacity: 1;
}

.logo-container {
    float: left;
    margin-bottom: 1.6rem;
}

.logo {
    width: 150px;
    height: auto;
}

.section {
    width: 85%;
    transition:
        transform 0.5s ease-in-out,
        opacity 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.section.active {
    opacity: 1;
    visibility: visible;
}

.section.slide-in-left {
    transform: translateX(-100%);
}

.section.slide-in-right {
    transform: translateX(100%);
}

.section.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
}

.section.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
}

.section input::-moz-selection {
    background: rgba(32, 167, 173, 0.25);
}

.section input::selection {
    background: rgba(32, 167, 173, 0.25);
}

.section input:focus + label .nav-dot:before {
    background: #20a7ad;
    box-shadow:
        0 0 0 0.15rem #333333,
        0 0 0.05rem 0.26rem #20a7ad;
}

.label-text {
    position: absolute;
    top: calc(50% - 4rem);
    left: 50%;
    transform: translate(-50%, -100%);
    width: 100%;
    padding: 3.125rem 0 1.5rem;
    text-transform: uppercase;
    color: black;
    opacity: 1;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.125rem;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0.25, 0.8, 0.3) 0.05s;
}

.nav-dot {
    cursor: pointer;
    position: absolute;
    padding: 0.625rem 1.25rem 0.625rem 0.625rem;
    top: 52%;
    right: 1.25rem;
}

@media screen and (max-width: 768px) {
    .nav-dot {
        right: 0.05rem;
    }
}

.nav-dot:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 0.375rem;
    height: 0.375rem;
    margin-right: 0.625rem;
    position: absolute;
    background-color: #333333;
    border: 0;
    transition: all 0.25s;
}

.nav-dot:hover:before {
    width: 0.625rem;
    height: 0.625rem;
    margin-top: -0.125rem;
    margin-left: -0.125rem;
    background-color: #20a7ad;
}

.robot-and-submit {
    width: 100%;
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition:
        transform 0.5s ease-in-out,
        opacity 0.5s ease-in-out;
    align-items: center;
}

.robot-and-submit button {
    margin-bottom: 15px;
    background-color: #20a7ad;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-buttons {
    display: flex;
    flex-direction: row;
    top: 70%;
    left: 50%;
    justify-content: space-between;
    width: 85%;
    margin-top: 31px;
    padding: 5px;
    transition:
        transform 0.5s ease-in-out,
        opacity 0.5s ease-in-out;
}

@media screen and (min-width: 768px) {
    .section {
        width: 50vw;
    }
    .nav-buttons {
        width: 50vw;
    }
}

@media screen and (min-width: 768px) {
    .quote-now button {
        width: 50% !important;
    }
}

.nav-buttons button {
    color: #fff;
    padding: 10px 20px;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-buttons button:hover {
    background-color: #1ca8aa;
}

#prev-button {
    display: none;
}

#next-button:disabled {
    display: none;
}

.tip {
    position: fixed;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    opacity: 0;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    text-align: right;
    transition: opacity 0.25s 0.5s;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #333333;
    padding:
        40px 80px calc(40px + env(safe-area-inset-bottom)),
        80px;
    text-align: center;
    z-index: 10;
}

.footer-text {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-text a {
    color: #000;
    text-decoration: none;
}

.footer-text a:hover {
    color: #20a7ad;
}