html, body {
    height: 100%;
}

.nav {
    display: flex;
    text-decoration: none;
    align-items: center;
}

.nav img {
    width: 5rem;
}

.nav p {
    margin: 0;
    color: #ED880E;
    font-weight: 700;
    font-size: 2rem;
}

.background {
    min-height: 65vh;
    background: linear-gradient(rgb(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
              url('/assets/img/sales-background.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 45%;
}

.header-div h1 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 3vw, 5rem);
    color: black;
}

input {
    border: 1px solid black;
    border-radius: 0.5em;
    color: var(--darker-gray);
    text-align: center;
    padding: 0.25em 0.5em;
}

input[type="checkbox"] {
    scale: 1.3;
}

.hero__content {
    margin: 0;
    padding: 5em 0 2em;
}

.before-header-text {
    color: #ED880E;
    text-align: center;
    font-size: 1.5rem;
    padding-bottom: 1em;
}

.header-text {
    text-align: center;
    text-transform: uppercase !important;
    color: #003951 !important;
}

.global__btn {
    margin-top: 0.5em;
    padding: 0.5em;
}

.global__btn:hover {
    cursor: pointer;
}

.yellow-black-stripe {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 5%;
    background: repeating-linear-gradient(
        45deg, /* Diagonal angle */
        #FFC133 0em,
        #FFC133 2em,
        #494949 2em,
        #494949 4em
    );
}

.yellow-black-stripe-left {
    left: 0;
}

.yellow-black-stripe-right {
    right: 0;
}

/* .input-wrapper {
    padding: 0 !important;
}

.input-wrapper > input {
    padding: 1em !important;
} */

/* Old Inputs, before material web library START */
/* .questionnaire-contact-form > div {
    padding-bottom: 1em;
}

.questionnaire-contact-form div div:nth-child(2) {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.questionnaire-contact-form div div > input {
    width: 40%;
} */
 /* Old Inputs, before material web library END */

.wrapper {
    height: 100%;
    display: flex;
    flex-flow: column;
}

.main-content {
    display: flex;
    flex-flow: column;
    flex-grow: 1;
    padding-top: 2em;
}

.questionnaire-contact-form > div {
    width: 60%;
    /* padding-bottom: 1em; */
    margin: auto;
}

.questionnaire-contact-form div div {
    display: flex;
    flex-flow: column;
    padding-bottom: 0.25em;
}

.questionnaire-contact-form div div:nth-child(2) {
    display: flex;
    flex-flow: column;
    align-items: center;
}

/* .questionnaire-contact-form div div > md-outlined-text-field {
    width: 40%;
} */

.container-holder {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.questionnaire-container-holder {
    height: 100%;
    display: flex;
    flex-flow: column;
    padding: 2em 0;
}

.contact-number-holder {
    display: grid !important;
    grid-template-columns: 1fr 2fr;
    place-items: end;
    gap: 0.5em;
}

.contact-form-shadow {
    border-radius: 1.5em;
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.2);
}

.information-section {
    width: 100%;
}

.information-section > div {
    padding-bottom: 1.5em;
}

.cards-holder {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20rem;
    height: 20rem;
    padding: 1rem 2rem;
}

.card-icon {
    width: 3.5rem;
    margin-bottom: 1rem;
}

.contact-us-button {
    width: 40%;
    border-radius: 0.5em;
    padding: 1em 0.5em;
    line-height: 1.5;
    user-select: none;
    border: 1px solid var(--dark-blue);
    background-color: var(--dark-blue);
}

.contact-us-button:hover {
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue);
    background-color: var(--white);
}

.contact-us-button-2 {
    margin-top: 1rem !important;
    width: max-content !important;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    line-height: 1.5;
    user-select: none;
    border: 1px solid #ED880E;
    background-color: #ED880E;
    font-size: clamp(1rem, 1vh, 2rem);
}

.contact-us-button-2:hover {
    border: 1px solid #ED880E;
    background-color: #ED880E;
}

.contact-us-button-reverse {
    width: 40%;
    border-radius: 0.5em;
    padding: 1em 0.5em;
    line-height: 1.5;
    user-select: none;
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue);
    background-color: var(--white);
}

.contact-us-button-reverse:hover {
    border: 1px solid var(--dark-blue);
    color: var(--white);
    background-color: var(--dark-blue);
}

.most-important-solutions-holder {
    display: grid;
    grid-auto-flow: column;
    margin: auto;
    width: 75%;
    padding: 2em 0 3em;
}

.most-important-solutions-holder > div {
    width: 90%;
}

.most-important-solutions-holder div > div {
    display: grid;
    grid-auto-columns: 1fr auto;
    grid-auto-flow: column;
    /* gap: 1em; */
    padding: 0.25em 0;
}

.what-applies-to-you-holder {
    width: 50%;
    padding: 2em 0;
    margin: auto;
}

.what-applies-to-you-holder > div {
    /* display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding: 0.25em 0; */
    display: grid;
    grid-auto-columns: 1fr auto;
    grid-auto-flow: column;
    /* gap: 1em; */
    padding: 0.25em 0;
}

.business-problems-textarea {
    width: 70%;
    resize: none;
    padding: 0.25em 0.5em;
    margin: 2em 0;
}

.invalid-referral-link-holder > div {
    padding-bottom: 1em;
}

.recaptcha-style {
    width: fit-content;
    margin: auto;
    /* padding-bottom: 1em; */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); /* Black background with opacity */
    background-color: rgba(0,0,0,0.4); /* Black with opacity */
}

/* Modal Content */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2em;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

/* Close Button */
.close {
    color: red;
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0.5em;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.main-close-modal-button {
    width: 40%;
    border-radius: 0.5em;
    padding: 0.5em 0;
    margin: auto;
}

@media (max-width: 500px) {
    .before-header-text {
        font-size: 1.2rem;
    }

    .header-text {
        font-size: 2rem !important;
    }

    .global__btn {
        margin-top: 1em;
        padding: 1em;
    }

    .most-important-solutions-holder {
        grid-auto-flow: row;
    }

    .questionnaire-contact-form > div {
        width: 95%;
    }

    .most-important-solutions-holder > div {
        width: 50%;
        margin: auto;
    }

    .modal-content {
        width: 90%;
        margin: 30% auto;
    }

    .contact-number-holder {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (min-width: 501px) and (max-width: 767px) {
    .questionnaire-contact-form > div {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .nav p {
        font-size: 1.5rem;
    }

    .nav img {
        width: 4rem;
    }

    .questionnaire-holder {
        display: block;
    }

    .hero__area {
        padding: 0;
    }

    .questionnaire-contact-form div div > input {
        width: 70%;
    }
    
    .contact-us-button {
        width: 75%;
    }
    
    .contact-us-button-reverse {
        width: 75%;
    }

    .container-holder {
        display: block;
    }

    .most-important-solutions-holder {
        width: 100%;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contact-us-button {
        width: 50%;
    }

    .contact-us-button-reverse {
        width: 50%;
    }

    .questionnaire-contact-form > div {
        width: 70%;
    }

    .modal-content {
        width: 50%;
        margin: 30% auto;
    }
}

@media (max-width: 991px) {
    .yellow-black-stripe {
        display: none;
    }

    .contact-form-buttons {
        display: flex;
        flex-flow: column;
        align-items: center;
        gap: 1em;
    }

    .information-section {
        padding-top: 2em;
    }

    .most-important-solutions-holder div > div {
        gap: 1em;
    }

    .what-applies-to-you-holder > div {
        gap: 2em;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .questionnaire-contact-form > div {
        width: 60%;
    }

    /* .modal-content {
        width: 50%;
    } */
}

@media (min-width: 992px) and (max-width: 1449px) {
    .modal-content {
        width: 40%;
        margin: 25% auto;
    }
}

@media (min-width: 1200px) and (max-width: 1449px) {
}

@media (min-width: 991px) and (max-width: 1450px) {
    .contact-us-button {
        width: 40%;
    }

    .contact-us-button-reverse {
        width: 40%;
    }
}

@media (min-width: 1450px) {
}

/* @media (min-width: 1450px) and (max-width: 1600px) {
    .modal-content {
        width: 40%;
        margin: 10% auto;
    }
} */