/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
#progress-bar-container {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
    /* Ensure the step indicators stay within the container */
}

#progress-bar {
    height: 10px;
    background-color: var(--primary);
    border-radius: 5px;
    width: 0%;
    transition: width 0.3s ease;
}

#step-indicators {
    display: flex;
    justify-content: space-between;
    /* Distribute step indicators evenly */
    font-size: 12px;
}

#step-indicators div {
    flex: 1;
    text-align: center;
    color: #888;
    /* Color for step indicators */
}

#step-indicators .current-step {
    color: var(--secondary);
    /* Color for current step indicator */
}


/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #contact-984 {
        position: relative;
        z-index: 1;
    }

    .my-section {
        width: 100%;
    }

    #contact-984 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 3rem;
    }

    #contact-984 .cs-content {
        /* set text aling to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #contact-984 .cs-title {
        margin: 0;
    }

    #contact-984 .cs-right {
        width: 100%;
        /* changes to 630px at desktop */
        max-width: 36.5rem;
        /* moved section padding to the content so the picture can be full width */
        padding: var(--sectionPadding);
        padding-top: 0;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    #contact-984 .cs-form {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    #contact-984 .cs-label {
        font-size: 1rem;
        width: 100%;
        color: var(--headerColor);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.5rem;
    }

    #contact-984 .cs-input {
        font-size: 1rem;
        width: 100%;
        height: 3.5rem;
        padding: 0;
        padding-left: 1.5rem;
        color: var(--headerColor);
        background-color: #f7f7f7;
        border: none;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
        transition: border-color 0.3s;
    }

    #contact-984 .cs-input-error {
        font-size: 1rem;
        width: 100%;
        height: 3.5rem;
        padding: 0;
        padding-left: 1.5rem;
        color: var(--headerColor);
        background-color: #f7f7f7;
        border-color: red;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
        transition: border-color 0.3s;
    }

    #contact-984 .cs-input:hover {
        border-color: var(--secondary);
    }

    #contact-984 .cs-input-error:hover {
        border-color: red;
    }

    #contact-984 .cs-input:focus {
        outline: 1px solid var(--secondary);
    }

    #contact-984 .cs-input::placeholder {
        color: #767676;
        opacity: 0.8;
    }

    #contact-984 .cs-textarea {
        min-height: 7.5rem;
        padding-top: 1.5rem;
        margin-bottom: 1.75rem;
        font-family: inherit;
    }

    #contact-984 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 2rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }

    #contact-984 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }

    #contact-984 .cs-button-solid:hover:before {
        width: 100%;
    }

    #contact-984 .cs-submit {
        min-width: 13.375rem;
        border: none;
        border-radius: 0;
    }

    #contact-984 .cs-submit:hover {
        cursor: pointer;
    }

    #contact-984 .cs-picture {
        display: block;
        position: relative;
        width: 100%;
        /* 360px - 600px */
        height: clamp(22.5rem, 100vw, 37.5rem);
    }

    #contact-984 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #contact-984 {
        padding: var(--sectionPadding);
        position: relative;
    }

    #contact-984 .cs-container {
        flex-direction: row;
        justify-content: flex-end;
    }

    #contact-984 .cs-form {
        max-width: 39.375rem;
    }

    #contact-984 .cs-content {
        text-align: left;
        align-items: flex-start;
    }

    #contact-984 .cs-form {
        align-items: flex-start;
    }

    #contact-984 .cs-picture {
        position: absolute;
        height: 100%;
        width: 44%;
        right: 50%;
        /* 70px - 88px */
        margin-right: clamp(4.375rem, 7vw, 5.5rem);
    }

    #contact-984 .cs-right {
        width: 50%;
        max-width: 39.375rem;
        padding: 0;
    }
}

.container-404 {
    max-width: 400px;
    padding: 2rem;
    margin: auto;
    display: grid;
    color: var(--bodyTextColor);
}

.header-404 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.header-404 h1 {
    font-size: 4rem;
    font-weight: 900;
}

.container-404 h3 {
    font-size: 2rem;
    font-weight: 900;
}

.container-404 img {
    width: 100%;
    max-width: 300px;
    margin: auto;
}

.footer-404 {
    display: grid;
    gap: 2rem;
    place-content: baseline;
}

.footer-404 p {
    font-variation-settings: 1rem;
}

/* .footer-404 button {
    padding: 1rem;
    outline: none;
    border: none;
    border-radius: 5px;
    color: var(--bodyTextColorWhite);
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--primary);
    cursor: pointer;
    transition: .3s;
} */


#footer-404 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 5px;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
}

#footer-404 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
}

#footer-404 .cs-button-solid:hover:before {
    width: 100%;
}

.custom-display {
    display: none;
}

/* FAQ Section Styles */
#faq {
    padding: var(--sectionPadding);
    background-color: #f7f7f7;
}

#faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--headerColor);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-item h3 {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin: 0;
    background-color: var(--primary);
    color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-item h3:hover {
    background-color: var(--secondary);
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item h3.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 1rem 1.5rem;
    margin: 0;
    display: none;
    color: var(--bodyTextColor);
    line-height: 1.6;
}

/* Responsive adjustments */
@media only screen and (max-width: 48rem) {
    .faq-container {
        padding: 0 1rem;
    }

    .faq-item h3 {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .faq-item h3::after {
        right: 1rem;
    }

    .faq-item p {
        padding: 0.75rem 1rem;
    }
}

@media (min-width: 640px) {
    .container-404 {
        max-width: 1200px;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .container-404 img {
        max-width: 550px;
        grid-area: 1/1/3/2;
    }

    .footer-404 {
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    .container-404 {
        column-gap: 5rem;
    }

    .header-404 h1 {
        font-size: 6rem;
    }

    .header-404 h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 832px) {
    .custom-display {
        display: block;
    }
}

@media screen and (max-width: 623px) {
    .section-hide-quote {
        display: none;
    }
}