#homeServices {
    padding-top: 50px;
}

.expanded {
    width: 60% !important;
}

.collapsed {
    width: 20% !important;
}

.hero-container::-webkit-scrollbar {
    display: none;
}

.ftnt-btn {
    display: inline-block;
    font-size: 15px;
    text-align: center;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: #fff;
    background-color: #da291c;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 8px;
    white-space: normal;
    width: 210px;
    margin-top: 25px;
    position: absolute;
    cursor: pointer;
}

.hero-paragraph p {
    color: white;
    font-size: 18px !important;
    font-family: sans-serif;
    margin-top: 15px;
}

.ftnt-secondary-button {
    display: none;
    right: 67%;
}

.ftnt-primary-button {
    right: 58%;
}

.heading_default {
    word-wrap: break-word;
    text-align: left;
}

@media only screen and (min-width: 1250px) {

    /*Image title styles*/
    .image_title {
        position: absolute;
        top: 20%;
        left: 8%;
        width: 640px;
        display: none;
        /* pointer-events: none; */
    }

    .hero-content-secondary {
        right: 0% important;
        left: 8% !important;
    }

    .title_default_secondary {
        position: absolute;
        bottom: 5%;
        left: 4%;
        display: block;
        width: 90%;
        /* pointer-events: none; */
    }

    .default_image_title {
        position: absolute;
        top: 20%;
        left: 17%;
        width: 640px;
        display: block;
        /* pointer-events: none; */
    }

    .title_default {
        position: absolute;
        bottom: 5%;
        left: 4%;
        width: 90%;
        display: none;
        /* pointer-events: none; */
    }

    .heading_default {
        font-size: 20px;
        font-family: system-ui;
        color: white;
        word-wrap: break-word;
    }

    .ftnt-title {
        font-size: 55px;
        color: white;
        line-height: 67px;
    }

    .ftnt-primary-list {
        filter: none !important;
        width: 912px !important;
    }

    .list-overflow {
        overflow: hidden;
        border-left: 5px solid #fff;
    }

    .list-overflow:hover {
        overflow: auto;
    }

    .ftnt-secondary-list:hover {
        width: 912px !important;
    }

    .ftnt-secondary-list:hover .secondary-image {
        filter: none !important;
    }

    .ftnt-container li img {
        display: block;
        filter: grayscale(1);
    }
}

@media only screen and (min-width: 481px) and (max-width: 1250px) {
    .page--container {
        overflow: scroll !important;
    }

    .ftnt-primary-list {
        filter: none !important;
        width: 92% !important;
        white-space: normal;
    }

    .ftnt-container ul {
        width: 100%;
    }

    .ftnt-container li {
        display: inline-block;
        float: none;
        /* pointer-events: none; */
    }

    .ftnt-container {
        width: 100%;
        overflow: scroll;
        white-space: nowrap;
    }

    .ftnt-container li img {
        width: 100%;
    }

    .ftnt-secondary-list {
        width: 93% !important;
    }

    .list-overflow {
        border-left: 10px solid #fff;
    }

    .ftnt-body p {
        font-size: 2.8rem;
        width: 80%;
        line-height: 3.5rem;
        white-space: normal;
    }

    /*Image title styles*/
    .image_title {
        position: absolute;
        top: 5%;
        left: 8%;
        width: 80%;
        display: block !important;
        /* pointer-events: none; */
    }

    .image_title_default {
        position: absolute;
        bottom: 0%;
        left: 8%;
        width: 282px;
        display: none;
        /* pointer-events: none; */
    }

    .heading_default {
        font-size: 20px;
        font-family: system-ui;
        color: white;
    }

    .ftnt-title {
        font-size: 60px;
        color: white;
        line-height: 70px;
        white-space: normal;
    }

    .default_image_title {
        position: absolute;
        top: 5%;
        left: 8%;
        width: 90%;
        display: block;
        /* pointer-events: none; */
    }

    .title_default {
        position: absolute;
        bottom: 0%;
        left: 4%;
        width: 282px;
        display: none;
        /* pointer-events: none; */
    }

    .ftnt-btn {
        width: 40%;
        height: 13%;
        font-size: 2rem;
        left: 5%;
        pointer-events: auto;
    }

    .ftnt-secondary-button {
        display: block;
    }
}

.heading_default {
    font-size: 20px;
    font-family: system-ui;
    color: white;
}

.image_title_default {
    position: absolute;
    bottom: 5%;
    left: 8%;
    width: 282px;
    display: block;
}

.ftnt-title {
    font-size: 45px;
    color: white;
    line-height: 57px;
    text-align: left;
}

.ftnt-primary-button {
    margin-left: 56px;
}

.ftnt-primary-two-button {
    right: 22% !important;
}

.ftnt-secondary-two-button {
    right: 31% !important;
}

.hero-container {
    display: flex;
    width: 100%;
    height: 600px;
    overflow-x: hidden;
}

.hero-container:before,
.hero-container:after {
    clear: both;
    content: " ";
    display: table;
}

.tiles,
.default-tiles {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    transition: width 500ms ease;
    -webkit-transition: width 500ms ease;
    height: 100%;
    margin-right: 5px;
    overflow-x: hidden;
}

.lazy-load-image {
    background-position: center center;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    height: 100%;
    transition-duration: 0.5s;
}

.default-hero {
    width: 100%;
}

.hero-content,
.hero-content-secondary {
    width: 640px;
    top: 20%;
    right: 19%;
    position: absolute;
    opacity: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 56px;
    visibility: visible;
    opacity: 1;
    -webkit-transition: width 500ms ease 500ms;
    -o-transition: width 500ms ease 500ms;
    transition: width 500ms ease 500ms;
}

.hero-paragraph {
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    font-size: 30px;
    text-align: left;
    margin-bottom: 24px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

.hero-paragraph:before {
    line-height: 1.0;
    text-transform: none;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-paragraph:before,
.hero-paragraph:after {
    clear: both;
    content: " ";
    display: table;
}

.second-hero {
    background-position: center center;
    filter: grayscale(1);
}

.third-hero {
    background-position: center center;
    width: 100%;
    filter: grayscale(1);
}

.hero-content-secondary {
    display: none;
    padding-left: 0px;
}

.title_default_secondary {
    display: block;
}


@media only screen and (max-width: 320px) {
    .hero-paragraph p {
        font-size: 1.2rem !important;
        width: 90% !important;
        line-height: 1.2rem;
        white-space: normal;
    }

    .ftnt-btn {
        font-size: 0.7rem !important;
        letter-spacing: 0rem;
    }

    .ftnt-title {
        font-size: 2rem !important;
        line-height: 2rem !important;
    }
}

@media only screen and (max-width: 1250px) {
    .lazy-load-image {
        background-size: cover;
    }

    .hero-paragraph p {
        display: none;
    }

    .hero-content,
    .hero-content-secondary {
        display: block !important;
        width: 70%;
        top: 20%;
        right: 20%;
        /*left:5%;*/
        padding-left: 0px;
    }

    .hero-container {
        white-space: nowrap;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        display: flex;
        height: 600px !important;
    }

    .tiles,
    .default-tiles {
        flex: 0 0 auto;
        width: inherit !important;
        pointer-events: none;
    }

    .second-hero,
    .third-hero {
        filter: none !important;
        width: 100% !important;
        white-space: normal;
    }

    .default-hero {
        width: 100% !important;
        white-space: normal;
    }

    .expanded {
        width: 90% !important;
    }

    .hero-container li {
        display: inline-block;
        float: none;
        /* pointer-events: none; */
    }

    .title_default_secondary {
        display: none !important;
    }

    .list-overflow {
        border-left: 10px solid #fff;
    }

    .ftnt-body {
        font-size: 18px;
        width: 80%;
        line-height: 20px;
        white-space: normal;
    }

    /*Image title styles*/
    .image_title {
        position: absolute;
        top: 5%;
        left: 8%;
        width: 80%;
        display: block !important;
        /* pointer-events: none; */
    }

    .image_title_default {
        display: none;
        /* pointer-events: none; */
    }

    .ftnt-title {
        font-size: 2.5rem;
        color: white;
        line-height: 3rem;
        white-space: normal;
    }

    .default_image_title {
        position: absolute;
        top: 5%;
        left: 8%;
        width: 90%;
        display: block;
        /* pointer-events: none; */
    }

    .title_default {
        display: none;
        /* pointer-events: none; */
    }

    .ftnt-btn {
        width: fit-content;
        padding-left: 40px !important;
        padding-right: 40px !important;
        height: auto;
        font-size: 1rem;
        left: 0%;
        pointer-events: auto;
        padding: 1rem;
        width: 210px;
    }

    .ftnt-secondary-button {
        display: block !important;
    }

    .ftnt-primary-button {
        margin-left: 0px;
        right: 0%;
    }

    .ftnt-primary-two-button {
        margin-top: 65px !important;
    }

    .ftnt-secondary-two-button {
        margin-top: 65px !important;
    }
}

@media screen and (max-width: 30em) {
    .hero-container {
        height: 475px !important;
    }

    .hero-content {
        top: 5%;
    }

    .ftnt-title {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    .ftnt-btn {
        width: 150px !important;
        box-sizing: content-box;
    }
}

@media screen and (min-width: 2000px) {
    .lazy-load-image {
        background-size: cover;
    }
}

@media only screen and (max-width: 1390px) {
    .gethelp {
        display: none;
    }
}
