.projects-item .text-container {
    position: relative;
}

label {
    display: none;
}

.container-btn-upload {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.container-btn-file {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: var(--upload-file-bg-color);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-size-xl) !important;
    padding: 1em 1em;
    overflow: hidden;
    z-index: 1;
    box-shadow: 4px 8px 10px -3px rgba(0, 0, 0, 0.356);
    transition: all 250ms;
    max-width: 220px;
    cursor: pointer;
}

.container-btn-file label {
    display: block;
    cursor: pointer;
    text-align: center;
}

input[type="file"] {
    color: var(--white);
    margin-left: 15px;
}

input[type="file"]::file-selector-button {
    display: none;
}

.container-btn-file > svg {
    margin-right: 1em;
}

.container-btn-file::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0;
    border-radius: var(--border-radius-size-xl);
    background-color: var(--footer-bg-color);
    z-index: -1;
    transition: all 350ms;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
}

.figure-css {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.img-css {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*about us*/
.about-us-wrapper {
    position: relative;
}

.text-container-outer {
    /*background-color: var(--bg-color);*/
    /*border-radius: var(--border-radius-size-l);*/
}


.services-container {
    position: relative;
}

.section-header {
    color: var(--header-color);
}

.section-subheader {
    color: var(--yellow-text-color);
}

.section-text {
    color: var(--main-text-color);
    /*text-align: justify;*/
}

/*work ethic*/
.work-ethic-container {
    text-align: center;
}

.work-ethic-item .item-order {
    color: var(--blue-color);
}

.work-ethic-item .item-text {
    color: var(--yellow-text-color);
}

.work-ethic-item .photo-container {
    margin-top: var(--spacing-s1);
}


/*services*/
.services-carousel-container {
    position: relative;
    width: 100%;
}

.carousel-cell figure {
    padding-bottom: 108%;
    border-radius: var(--border-radius-size-s);
}

.LeftToRight {
    -webkit-animation: LeftToRight 15s linear infinite; /* Safari/Chrome */
    -moz-animation: LeftToRight 15s linear infinite; /* Firefox */
    -o-animation: LeftToRight 15s linear infinite; /* Opera */
    animation: LeftToRight 15s linear infinite;
}

.closed-container-btn,
.open-container-btn {
    bottom: 10px;
    right: 15px;
    width: 47px;
    height: 47px;
    border-radius: 100%;
    cursor: pointer;
}

.closed-container-btn {
    background: var(--blue-color) url(../img/svgs/+services.svg) 50% 50% no-repeat;
}

.closed-container-btn.open {
    background: var(--yellow-circle-color) url(../img/svgs/x-services.svg) 50% 50% no-repeat;
}

#services .section-text {
    max-height: 0;
    margin: auto 15px;
    position: absolute;
    opacity: 0;
    color: var(--main-text-color);
    font-size: 1rem;
    line-height: 25px;
    -webkit-transition: opacity 0.4s ease;
    -moz-transition: opacity 0.4s ease;
    -ms-transition: opacity 0.4s ease;
    -o-transition: opacity 0.4s ease;
}

#services .section-text.open {
    max-height: calc(100% - 130px);
    text-align: left;
    opacity: 1;
    inset: 0;
    background-color: rgba(255,255,255,0.9);
    -webkit-transition: opacity 0.4s ease;
    -moz-transition: opacity 0.4s ease;
    -ms-transition: opacity 0.4s ease;
    -o-transition: opacity 0.4s ease;
}

#services .section-text.open .text-box {
    margin: 10px;
    overflow-y: auto;
    height: calc(100% - 20px);
    /*text-align: justify;
    word-spacing: -2px;*/
}

/*#services .section-text span {
    display: block;
}*/

.open-container-btn {
    display: inline-block;
}

.section-subheader2.yellow-bg {
    background-color: var(--yellow-bg-color);
    color: var(--header-color);
}

/*projects*/
.projects-item .text-container .project-header {
    color: var(--blue-color);
}

.project-bookmark {
    width: 100%;
    height: 3px;
    background-color: var(--blue-color);
    margin-top: var(--spacing-s1);
}

.projects-item figure {
    padding-bottom: 62.5%;
    border-radius: var(--border-radius-size-l);
}

.photo-container {
    position: relative;
}

.check-album-btn {
    display: none;
    position: absolute;
    background-color: #F3D196;
    color: #464646;
    width: 185px;
    height: 45px;
    padding: 10px 20px;
    margin: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    inset: 0;
}

/*contact*/
#form-wrapper {
    width: 100%;
    background-color: var(--blue-color);
}

.contact-text {
    color: var(--white);
}

.contact-link {
    color: var(--white);
    margin: auto 0;
}

.contact-label {
    display: block;
    position: relative;
    padding-left: var(--spacing-m1);
    cursor: pointer;
    color: var(--white);
    height: var(--spacing-m1);
    margin-right: 5px;
}

.contact-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: var(--spacing-m1);
    width: var(--spacing-m1);
    border: 1px solid var(--white);
    background-color: transparent;
}

.contact-checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.contact-label .contact-checkmark::after {
    width: 4px;
    height: 9px;
    color: var(--white);
    position: absolute;
    top: 4px;
    left: 8px;
    border: 1px solid var(--white);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.contact-label input:checked ~ .contact-checkmark:after {
    display: block;
}

.contact-input:focus,
.contact-textarea:focus {
    color: var(--yellow-circle-color);
    border-color: var(--yellow-circle-color);
}

.contact-input:focus::placeholder,
.contact-textarea:focus::placeholder {
    color: var(--yellow-circle-color);
}

::placeholder {
    color: var(--white);
}

.contact-input,
.contact-textarea {
    color: var(--white);
    resize: none;

}

input {
    text-transform: none;
}

::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: uppercase;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: uppercase;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: uppercase;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: uppercase;
}

::placeholder { /* Recent browsers */
    text-transform: uppercase;
}

#contact-submit {
    color: var(--white);
    background-color: var(--main-text-color);
    border: none;
    padding: 10px;
    margin: 45px auto;
    height: 50px;
    cursor: pointer;
}


#space {
    margin-top: 75px;
}

.space-header {
    color: var(--main-text-color);
    background-color: var(--yellow-circle-color);
    font-size: var(--med-s-h-font-size);
    margin-left: var(--spacing-m);
    padding: 10px;
    display: inline-block;
    position: relative;
    bottom: -20px;
    z-index: 100;
}

@media (min-width: 1200px) {

    .text-container-outer .photo-container:before {
        content: "";
        position: absolute;
        width: calc(100% + 5px);
        height: calc(100% + 5px);
        top: 0;
        left: 0;
        z-index: 999;
        background-color: white;
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear;
    }

    .text-container-outer .photo-container.active:before {
        -moz-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear
    }

    .text-container-outer .photo-container.inactive:before {
        -moz-transform: scale(0, 1);
        -ms-transform: scale(0, 1);
        -o-transform: scale(0, 1);
        -webkit-transform: scale(0, 1);
        transform: scale(0, 1);
        -webkit-transition: all .6s linear;
        -moz-transition: all .6s linear;
        -ms-transition: all .6s linear;
        -o-transition: all .6s linear;
        transition: all .6s linear
    }

    .text-container-outer .photo-container figure {
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear
    }

    .text-container-outer .photo-container figure.active {
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear
    }

    .text-container-outer:before {
        content: "";
        position: absolute;
        width: 93%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: var(--bg-color);
        border-radius: var(--border-radius-size-l);
        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear
    }

    .text-container-outer.active:before {
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear
    }

    .projects-item .text-container::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--blue-color);
        margin-top: var(--spacing-s1);
        top: 18%;
        left: 0;
        opacity: 0;
        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 1.5s linear;
        -moz-transition: all 1.5s linear;
        -ms-transition: all 1.5s linear;
        -o-transition: all 1.5s linear;
        transition: all 1.5s linear;
    }

    .projects-item .text-container.is-visible::before {
        opacity: 1;
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition: all 1.5s linear;
        -moz-transition: all 1.5s linear;
        -ms-transition: all 1.5s linear;
        -o-transition: all 1.5s linear;
        transition: all 1.5s linear;
    }

    .bookmark {
        width: 10px;
        height: 150px;
        position: absolute;
        top: -3%;
        left: 70px;
        z-index: 99;
        background-color: var(--blue-color);
        opacity: 0;

        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -moz-transform: scaleY(0);
        -ms-transform: scaleY(0);
        -o-transform: scaleY(0);
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear;
    }

    .bookmark.active {
        opacity: 1;
        -moz-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear;
    }

    .video-container {
        padding-bottom: 41.6%;
    }

    .video-container video {
        height: 100%;
    }

    .logo-container {
        width: 15%;
        left: 40px;
        top: 4%;
    }

    .logo img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /*about us section*/
    #about-us {
        margin-top: 5.208333333333333vw;
    }

    .text-container-outer {
        width: 93%;
        max-width: var(--container-width-l);
        padding: 3.12vw 7.3vw;
        display: flex;
        align-items: center;
    }

    .text-container-inner {
        width: 60%;
        max-width: 900px;
        margin: 0 1%;
    }

    .text-container-outer .photo-container {
        position: absolute;
        right: 0;
        width: 38%;
        max-width: 680px;
    }

    .text-container-outer .photo-container > .figure-css {
        padding-bottom: 67.6%;
    }

    .section-header {
        font-size: var(--h-xlarge-font-size);
    }

    .section-subheader {
        margin-top: var(--spacing-s);
        font-size: var(--med-xl-h-font-size);
    }

    .section-text {
        margin-top: 45px;
        font-size: var(--med-s-h-font-size);
        line-height: 40px;
    }

    /*work ethic*/
    #work-ethic {
        margin-top: 5.20vw;
    }

    .work-ethic-item .text-container {
        width: 100%;
        max-width: 370px;
        display: flex;
        flex-direction: column;
    }

    .work-ethic-item .text-container {
        opacity: 0;
    }

    /*work ethic  1073px*/
    /*.work-ethic-item figure {
        padding-bottom: 64%;
        border-radius: var(--border-radius-size-l);
    }*/

    .work-ethic-list {
        flex-direction: column;
        margin: 50px auto 0;
        position: relative;
        /*max-width: 1070px;*/
    }

    .work-ethic-list::before {
        content: "";
        position: absolute;
        top: -25px;
        left: 50%;
        height: calc(100% + 87px);
        width: 2px;
        background-color: #c5cacd;
        transition: height 1s ease, background-color 1s ease;
    }

    .work-ethic-list::after {
        content: "";
        position: absolute;
        top: -25px;
        left: 50%;
        height: 0;
        width: 2px;
        background-color: var(--blue-color);
        transition: height 5s ease-out;
    }

    .work-ethic-list.active::after {
        height: calc(100% + 87px);
    }

    .work-ethic-list .arrow-down {
        content: "";
        position: absolute;
        bottom: -60px;
        left: calc(50% - 4px);
        border: 1px solid #c5cacd;
        border-width: 0 0 2px 2px;
        width: 10px;
        height: 10px;
        line-height: 0;
        font-size: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        transition: all 15s ease;
    }

    .work-ethic-list.active .arrow-down {
        border: 1px solid var(--blue-color);
        border-width: 0 0 2px 2px;
    }

    .work-ethic-item {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-top: var(--spacing-l1);
        position: relative;
    }

    .work-ethic-item:first-child {
        margin-top: 0;
    }

    .work-ethic-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .work-ethic-item:nth-child(odd) {
        flex-direction: row;
    }

    .work-ethic-item .text-container {
        width: 49%;
        display: flex;
        flex-direction: column;
        justify-content: center;

        max-width: 30%;
    }

    .work-ethic-item:nth-child(even) .text-container {
        text-align: left;
        margin: 0 auto 0 0;
        padding-left: 7%;
    }

    .work-ethic-item:nth-child(odd) .text-container {
        text-align: right;
        margin: 0 0 0 auto;
        padding-right: 7%;
    }

    .work-ethic-item .item-text {
        font-size: var(--med-xl-h-font-size);
        margin-top: 3px;
    }

    .work-ethic-item .item-order {
        font-size: var(--h-med1-font-size);
    }

    .work-ethic-item:nth-child(odd) .text-container::before {
        content: '';
        position: absolute;
        right: 50%;
        width: 40px;
        border-bottom: 2px solid var(--blue-color);
        transition: all 0.5s ease-in-out;
    }

    .work-ethic-item:nth-child(even) .text-container::before {
        content: '';
        position: absolute;
        left: 50%;
        width: 40px;
        border-bottom: 2px solid var(--blue-color);
        transition: all 0.5s ease-in-out;
    }

    .work-ethic-item .photo-container {
        margin-top: 0;
        width: 50%;
    }

    .work-ethic-item:nth-child(odd) .photo-container {
        padding-left: 4%;
    }

    .work-ethic-item:nth-child(even) .photo-container {
        padding-right: 4%;
    }

    .work-ethic-item:nth-child(even) .photo-container {
        opacity: 0;
        transform: translateX(-1.5vw);
    }

    .work-ethic-item:nth-child(odd) .photo-container {
        opacity: 0;
        transform: translateX(1.5vw);
    }

    .work-ethic-item figure {
        padding-bottom: 64%;
        border-radius: var(--border-radius-size-l);
    }

    /*our workplace*/
    .space-container figure {
        padding-bottom: 41.6%;
    }


    /*services */
    #services {
        margin: 6.2vw 0 0 6.25vw;
    }

    .services-carousel-container {
        margin-top: 50px;
        position: relative;
    }

    .carousel-cell {
        /*27%*/
        width: 28.5%;
        margin-right: 2.3%;
    }

    .section-subheader2 {
        top: 3%;
        left: 15px;
        background-color: var(--blue-color);
        color: var(--white);
        padding: 5px;
        margin-right: 10px;
        font-size: clamp(0.8125rem, 0.2768rem + 0.7143vw, 1.125rem);
    }

    #services .section-text.open {
        margin: auto 15px;
    }

    .services-container::before {
        content: "";
        position: absolute;
        width: 90%;
        height: 90%;
        top: 10.5vw;
        right: 0;
        background-color: var(--service-bg-color1);
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 0.8s linear;
        -moz-transition: all 0.8s linear;
        -ms-transition: all 0.8s linear;
        -o-transition: all 0.8s linear;
        transition: all 0.8s linear
    }

    .services-container.active:before {
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition: all 0.8s linear;
        -moz-transition: all 0.8s linear;
        -ms-transition: all 0.8s linear;
        -o-transition: all 0.8s linear;
        transition: all 0.8s linear
    }

    /*projects*/
    #projects {
        margin-top: 13vw;
    }

    .project-bookmark {
        width: 400px;
        margin-top: 10px;
    }

    .project-description {
        margin-top: 20px;
    }

    .projects-item .text-container {
        margin-top: 30px;
        max-width: 400px;
    }

    .project-header,
    .project-description {
        font-size: var(--med-l2-h-font-size);
    }

    .projects-container .section-header {
        text-align: center;
    }

    .projects-list {
        margin-top: 80px;
        padding: 0 90px;
    }

    .projects-item {
        width: 48%;
        margin-right: 4%;
    }

    .projects-item:nth-child(even) {
        margin-right: 0;
        margin-top: 10%;
    }

    /*.projects-item:nth-child(odd) {
        margin-bottom: 10%;
    }*/

    /*contact*/
    #contact {
        margin-top: 7.8vw;
        background-color: var(--blue-color);
    }

    #form-wrapper {
        display: flex;
        max-width: 1500px;
        margin: 3.6vw auto 0;
        width: 100%;
        padding: 0 20px;
    }

    .contact-label-wrapper {
        margin-top: 23px;
    }

    .contact-text-top {
        display: flex;
        flex-direction: column;
        max-width: 540px;
        width: 36%;
    }

    .contact-text {
        margin-top: var(--spacing-s1);
        font-size: var(--med-l1-h-font-size);
    }

    .form-container {
        width: 62%;
        margin-left: 2%;
    }

    #contact-form > .contact-col,
    .contact-area {
        width: 100%;
        margin-top: 40px;
        position: relative;
    }

    #contact-form > .contact-col:first-child {
        margin-top: 0;
    }


    .contact-input,
    .contact-textarea {
        position: relative;
        width: 100%;
        border: none;
        outline: none;
        height: var(--spacing-m);
        background-color: transparent;
        border-bottom: 1px solid var(--white);
        height: 50px;
        padding: 0 0 20px 20px;
    }

    .contact-textarea, .contact-area {
        height: 60px !important;
    }

    .contact-col > .contact-col {
        width: 49%;
        margin-right: 2%;
        position: relative;
    }


    .contact-col > .contact-col::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 16px;
        width: 1px;
        border-left: 1px solid var(--white);
    }

    .contact-col > .contact-col::after {
        content: "";
        position: absolute;
        right: -1px;
        bottom: 0;
        height: 16px;
        width: 1px;
        border-left: 1px solid var(--white);
    }

    .contact-col > .contact-col:focus-within::before,
    .contact-col > .contact-col:focus-within::after,
    .contact-area:focus-within::before,
    .contact-area:focus-within::after {
        border-color: var(--yellow-circle-color);
    }

    .contact-area::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 16px;
        border-left: 1px solid white;
    }

    .contact-area::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        height: 16px;
        border-right: 1px solid white;
    }


    .contact-col > .contact-col:last-child {
        margin-right: 0;
    }

    .container-btn-file {
        margin-top: 20px;
    }

    .contact-submit-col {
        flex-direction: column;
    }

    #contact-submit {
        margin: 45px 0;
    }

}
@media (min-width: 765px) and (max-width: 1199px) {
    .text-container-outer .photo-container:before {
        content: "";
        position: absolute;
        width: calc(100% + 5px);
        height: calc(100% + 5px);
        top: 0;
        left: 0;
        z-index: 999;
        background-color: white;
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear;
    }

    .text-container-outer .photo-container.active:before {
        -moz-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear
    }

    .text-container-outer .photo-container.inactive:before {
        -moz-transform: scale(0, 1);
        -ms-transform: scale(0, 1);
        -o-transform: scale(0, 1);
        -webkit-transform: scale(0, 1);
        transform: scale(0, 1);
        -webkit-transition: all .6s linear;
        -moz-transition: all .6s linear;
        -ms-transition: all .6s linear;
        -o-transition: all .6s linear;
        transition: all .6s linear
    }

    .text-container-outer .photo-container figure {
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear
    }

    .text-container-outer .photo-container figure.active {
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        -webkit-transition: all .4s linear;
        -moz-transition: all .4s linear;
        -ms-transition: all .4s linear;
        -o-transition: all .4s linear;
        transition: all .4s linear
    }

    .text-container-outer:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 88%;
        top: 0;
        left: 0;
        background-color: var(--bg-color);
        border-radius: var(--border-radius-size-l);
        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear
    }

    .text-container-outer.active:before {
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear
    }

    .projects-item .text-container::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--blue-color);
        margin-top: var(--spacing-s1);
        top: 18%;
        left: 0;
        opacity: 0;
        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 1.5s linear;
        -moz-transition: all 1.5s linear;
        -ms-transition: all 1.5s linear;
        -o-transition: all 1.5s linear;
        transition: all 1.5s linear;
    }

    .projects-item .text-container.is-visible::before {
        opacity: 1;
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition: all 1.5s linear;
        -moz-transition: all 1.5s linear;
        -ms-transition: all 1.5s linear;
        -o-transition: all 1.5s linear;
        transition: all 1.5s linear;
    }

    #about-us {
        margin-top: 80px;
    }


    .bookmark {
        width: 5px;
        height: 130px;
        position: absolute;
        top: -40px;
        left: 30px;
        z-index: 99;
        background-color: var(--blue-color);
        opacity: 0;

        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -moz-transform: scaleY(0);
        -ms-transform: scaleY(0);
        -o-transform: scaleY(0);
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear;
    }

    .bookmark.active {
        opacity: 1;
        -moz-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transition: all 1s linear;
        -moz-transition: all 1s linear;
        -ms-transition: all 1s linear;
        -o-transition: all 1s linear;
        transition: all 1s linear;
    }

    .text-container-outer {
        width: 100%;
        padding: 50px 60px;
    }

    .section-subheader {
        margin-top: 10px;
        font-size: var(--med-s-h-font-size);
    }

    .section-text {
        margin-top: 20px;
        line-height: 40px;
        font-size: var(--med-xs-h-font-size);
    }

    .logo-container {
        width: 12%;
        left: 20px;
        top: 20px;
    }

    .logo img {
        width: 100%;
        height: auto;
    }

    .video-container {
        max-width: 1200px;
        height: 100%;
        padding-bottom: 42%;
    }

    .video-container video {
        height: 100%;
    }

    .section-header {
        font-size: var(--h-med-font-size);
    }

    /*work ethic*/
    #work-ethic {
        margin-top: 80px;
    }

    .work-ethic-list {
        flex-direction: column;
        margin-top: 50px;
        position: relative;
    }

    .work-ethic-list::before {
        content: "";
        position: absolute;
        top: -25px;
        left: 50%;
        height: calc(100% + 25px);
        width: 2px;
        background-color: #c5cacd;
        transition: height 1s ease, background-color 1s ease;
    }

    /* Blue color will appear on top, animating from 0% to 100% height */
    .work-ethic-list::after {
        content: "";
        position: absolute;
        top: -25px; /* Adjust to match the top of the grey line */
        left: 50%;
        height: 0; /* Initially no height */
        width: 2px;
        background-color: var(--blue-color); /* The color you want to animate */
        transition: height 5s ease-out; /* Animate height */

    }

    /* When active, the blue color expands to cover the grey line */
    .work-ethic-list.active::after {
        height: calc(100% + 25px); /* Expands to the full height of the grey line */
    }

    .work-ethic-list .arrow-down {
        content: "";
        position: absolute;
        bottom: 0;
        left: calc(50% - 4px);
        border: 1px solid #c5cacd;
        border-width: 0 0 2px 2px;
        width: 10px;
        height: 10px;
        line-height: 0;
        font-size: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        transition: all 4s ease;
    }

    .work-ethic-list .arrow-down.active {
        border: 1px solid var(--blue-color);
        border-width: 0 0 2px 2px;
    }

    .work-ethic-item {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-top: var(--spacing-m);
        position: relative;
    }

    .work-ethic-item:first-child {
        margin-top: 0;
    }

    .work-ethic-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .work-ethic-item:nth-child(odd) {
        flex-direction: row;
    }

    .work-ethic-item .text-container {
        width: 49%;
        display: flex;
        flex-direction: column;
        justify-content: center;

        max-width: 35%;
    }

    .work-ethic-item .text-container {
        opacity: 0;
    }

    .work-ethic-item:nth-child(even) .text-container {
        text-align: left;
        margin: 0 auto 0 0;
        padding-left: 7%;
    }

    .work-ethic-item:nth-child(odd) .text-container {
        text-align: right;
        margin: 0 0 0 auto;
        padding-right: 7%;
    }

    .work-ethic-item .item-text {
        font-size: var(--med-xl-h-font-size);
        margin-top: 3px;
    }

    .work-ethic-item .item-order {
        font-size: var(--h-med1-font-size);
    }

    .work-ethic-item:nth-child(odd) .text-container::after {
        content: '';
        position: absolute;
        right: 50%;
        width: 40px;
        border-bottom: 2px solid var(--blue-color);
    }

    .work-ethic-item:nth-child(even) .text-container::after {
        content: '';
        position: absolute;
        left: 50%;
        width: 40px;
        border-bottom: 2px solid var(--blue-color);
    }

    .work-ethic-item .photo-container {
        margin-top: 0;
        width: 50%;
    }

    .work-ethic-item:nth-child(odd) .photo-container {
        padding-left: 4%;
    }

    .work-ethic-item:nth-child(even) .photo-container {
        opacity: 0;
        transform: translateX(-1.5vw);
    }

    .work-ethic-item:nth-child(odd) .photo-container {
        opacity: 0;
        transform: translateX(1.5vw);
    }

    .work-ethic-item:nth-child(even) .photo-container {
        padding-right: 4%;
    }

    .work-ethic-item figure {
        padding-bottom: 64%;
        border-radius: var(--border-radius-size-l);
    }

    /*services*/
    #services {
        margin: 65px 0 0 20px;
    }

    .services-carousel-container {
        margin-top: 3%;
    }

    .section-subheader2 {
        top: 20px;
        left: 30px;
        background-color: var(--blue-color);
        color: var(--white);
        padding: 5px;
    }

    #services .section-text.open {
        margin: auto 30px;
    }

    .services-container::before {
        content: "";
        position: absolute;
        width: 90%;
        height: 100%;
        top: 10.5vw;
        /*top: 21vw;*/
        right: 0;
        background-color: var(--service-bg-color1);
        -moz-transform-origin: right top;
        -ms-transform-origin: right top;
        -o-transform-origin: right top;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 0.8s linear;
        -moz-transition: all 0.8s linear;
        -ms-transition: all 0.8s linear;
        -o-transition: all 0.8s linear;
        transition: all 0.8s linear
    }

    .services-container.active:before {
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition: all 0.8s linear;
        -moz-transition: all 0.8s linear;
        -ms-transition: all 0.8s linear;
        -o-transition: all 0.8s linear;
        transition: all 0.8s linear
    }
    /*projects*/
    #projects {
        margin-top: 16%;
    }

    .projects-item {
        width: 48%;
        margin: 45px 4% 0 0;
    }

    .projects-item:nth-child(2n) {
        margin-right: 0;
    }

    .projects-container .section-header {
        text-align: center;
    }

    .projects-item .text-container {
        margin-top: var(--spacing-m1);
    }

    .projects-item .project-description {
        font-size: var(--med-xs-h-font-size);
        margin-top: 7%;
    }

    /*contact*/
    #contact {
        margin-top: 6.2vw;
        width: 100%;
    }

    .contact-text-top {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #form-wrapper {
        padding: var(--spacing-m);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .form-container {
        margin-top: var(--spacing-l);
        width: 100%;
    }

    .contact-text {
        font-size: var(--med-xs-h-font-size);
        max-width: 65%;
        margin: var(--spacing-s1) auto 0;
        text-align: center;
    }

    .contact-link {
        font-size: var(--med-xs-h-font-size);

    }

    .contact-textarea, .contact-area {
        height: 60px !important;
    }

    #contact-form {
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        justify-content: center;
        margin: auto;
    }

    .contact-submit-col {
        flex-direction: column;
        margin-top: var(--spacing-m);
        width: 100%;
    }

    #contact-submit {
        font-size: var(--med-l2-h-font-size);
        width: 100%;
        margin: 30px auto;
    }

    .margin-top {
        margin-top: var(--spacing-m);
    }

    .contact-col,
    .contact-area {
        width: 100%;
        position: relative;
    }

    .contact-input,
    .contact-textarea {
        width: 100%;
        border: none;
        outline: none;
        background-color: transparent;
        border-bottom: 1px solid var(--white);
        /* border-left: 1px solid var(--white);
         border-right: 1px solid var(--white);*/
        height: 50px;
        padding: 0 0 20px 20px;
    }


    .contact-col > .contact-col:focus-within::before,
    .contact-col > .contact-col:focus-within::after,
    .contact-col > .contact-col-right:focus-within::before,
    .contact-col > .contact-col-right:focus-within::after,
    .contact-area:focus-within::before,
    .contact-area:focus-within::after {
        border-color: var(--yellow-circle-color);
    }

    .contact-area::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 16px;
        border-left: 1px solid white;
    }

    .contact-area::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        height: 16px;
        border-right: 1px solid white;
    }

    .contact-col > .contact-col::before,
    .contact-col > .contact-col-right::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 16px;
        width: 1px;
        border-left: 1px solid var(--white);
    }

    .contact-col > .contact-col::after,
    .contact-col > .contact-col-right::after {
        content: "";
        position: absolute;
        right: -1px;
        bottom: 0;
        height: 16px;
        width: 1px;
        border-left: 1px solid var(--white);
    }

    .container-btn-file {
        margin-top: 40px;
    }

    /*area*/
    .space-container figure {
        padding-bottom: 42%;
    }

    .text-container-outer .photo-container {
        position: relative;
        margin-top: var(--spacing-top);
    }

    .text-container-outer .photo-container figure {
        padding-bottom: 65%;
    }
}

@media (min-width: 0px) and (max-width: 764px) {

    .projects-item a {
        padding-bottom: 18px;
    }

    .check-album-btn {
        display: flex;
        width: 160px;
        height: 37px;
        margin: 0 auto;
        inset: unset;
        bottom: 0;
        font-size: 13px;
        left: 0;
        right: 0;
    }

    .projects-item .text-container::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--blue-color);
        margin-top: var(--spacing-s1);
        top: 18%;
        left: 0;
        opacity: 1;
    }

    .text-container-outer:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 93%;
        top: 0;
        left: 0;
        background-color: var(--bg-color);
        border-radius: var(--border-radius-size-l);
    }

    .video-container {
        max-width: 765px;
        height: 65vh;
        padding-bottom: 122%;
    }

    .video-container video {
        height: 100%;
    }

    .logo-container {
        position: relative;
        width: 30%;
        top: 20px;
        margin: 0 auto;
    }

    .mobile-logo img {
        width: 100%;
        height: auto;
    }

    #about-us {
        margin-top: var(--spacing-top);
    }

    .text-container-outer {
        width: 100%;
        padding: 30px 25px;
    }

    .section-header {
        font-size: var(--med-xl-h-font-size);
    }

    .section-subheader {
        font-size: var(--med-s-h-font-size);
        margin-top: var(--spacing-s);
    }

    .text-container-inner .section-text {
        font-size: var(--med-xs-h-font-size);
        margin-top: var(--spacing-m1);
        line-height: 30px;
    }

    .text-container-outer .photo-container {
        position: relative;
        margin-top: var(--spacing-top);
        bottom: -40px;
    }

    .text-container-outer .photo-container figure {
        padding-bottom: 65%;
    }

    #work-ethic {
        margin-top: var(--spacing-xl);
        text-align: center;
    }

    .work-ethic-list {
        margin-top: var(--spacing-m1);
    }

    .work-ethic-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: var(--spacing-l);
    }

    .work-ethic-item:first-child {
        margin-top: 0;
    }

    .work-ethic-container {
        padding: 0 25px;
    }

    .work-ethic-item .text-container {
        display: flex;
        flex-direction: column;
        max-width: 68%;
        margin: 0 auto;
    }

    .work-ethic-item .item-order {
        font-size: var(--med-xl-h-font-size);
    }

    .work-ethic-item .item-text {
        font-size: var(--med-l1-h-font-size);
        margin-top: var(--spacing-s);
    }


    .work-ethic-item .photo-container figure {
        padding-bottom: 64%;
        border-radius: var(--border-radius-size-l);
    }

    #services {
        margin-top: 55px;
    }

    .services-container {
        text-align: center;
    }

    .services-carousel-container {
        margin-top: var(--spacing-l1);
    }

    .services-carousel .section-text-container .section-subheader2 {
        background-color: var(--yellow-bg-color);
        display: inline-block;
        font-size: var(--med-s-h-font-size);
        height: fit-content;
    }

    .services-container::before {
        content: "";
        position: absolute;
        width: 90%;
        top: 11vw;
        height: 50%;
        right: 0;
        background-color: var(--service-bg-color1);
    }

    .services-carousel .carousel-cell .section-text-container {
        width: 100%;
        background-color: var(--service-bg-color2);
        padding: 30px 20px 20px;
        text-align: center;
        position: relative;
        z-index: 100;
    }

    .services-carousel .carousel-cell .section-text-container .section-text2 {
        margin: 20px auto;
        max-width: 300px;
    }

    #projects {
        margin-top: 11.7vw;
        text-align: center;
    }

    .projects-list {
        margin-top: var(--spacing-l);
    }

    .projects-item {
        margin-top: var(--spacing-l);
        width: 100%;
    }

    .projects-item:first-child {
        margin-top: 0;
    }

    .projects-item .text-container {
        margin-top: var(--spacing-m);
        padding: 0 10px;
    }

    .projects-item .text-container .project-header {
        font-size: var(--med-s-h-font-size);
    }

    .projects-item .text-container .project-description {
        color: var(--main-text-color);
        font-size: var(--med-xs-h-font-size);
        margin-top: 5%;
    }

    .space-container figure {
        padding-bottom: 88%;
    }

    /*contact*/
    #contact {
        margin-top: 11.7vw;
        width: 100%;
    }

    .contact-text-top {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #form-wrapper {
        padding: var(--spacing-m);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .form-container {
        margin-top: var(--spacing-s1);
        width: 100%;
    }

    .contact-text {
        font-size: var(--med-xs-h-font-size);
        max-width: 65%;
        margin: var(--spacing-s1) auto 0;
        text-align: center;
    }

    .contact-link {
        font-size: var(--med-xs-h-font-size);

    }

    #contact-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        justify-content: center;
    }

    .contact-submit-col {
        flex-direction: column;
        margin-top: var(--spacing-m);
        width: 100%;
    }

    #contact-submit {
        font-size: var(--med-l2-h-font-size);
        width: 100%;
    }

    .margin-top {
        margin-top: var(--spacing-m);
    }

    .contact-col,
    .contact-area {
        width: 100%;
        position: relative;
    }

    .contact-input,
    .contact-textarea {
        width: 100%;
        border: none;
        outline: none;
        background-color: transparent;
        border-bottom: 1px solid var(--white);
        height: 50px;
        padding: 0 0 20px 20px;
    }


    .contact-col > .contact-col:focus-within::before,
    .contact-col > .contact-col:focus-within::after,
    .contact-col > .contact-col-right:focus-within::before,
    .contact-col > .contact-col-right:focus-within::after,
    .contact-area:focus-within::before,
    .contact-area:focus-within::after {
        border-color: var(--yellow-circle-color);
    }

    .contact-textarea, .contact-area {
        height: 60px !important;
    }

    .contact-area::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 16px;
        border-left: 1px solid white;
    }

    .contact-area::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        height: 16px;
        border-right: 1px solid white;
    }

    .contact-col > .contact-col::before,
    .contact-col > .contact-col-right::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 16px;
        width: 1px;
        border-left: 1px solid var(--white);
    }

    .contact-col > .contact-col::after,
    .contact-col > .contact-col-right::after {
        content: "";
        position: absolute;
        right: -1px;
        bottom: 0;
        height: 16px;
        width: 1px;
        border-left: 1px solid var(--white);
    }


    .container-btn-file {
        margin-top: 40px;
    }

    .logo img {
        width: 100%;
        height: auto;
    }

    .container-btn-upload {
        flex-direction: column;
        align-items: flex-start;
    }
    input[type="file"] {
        margin: 15px 0 0;
    }
}