/* Landing */
.landing {
    height: 70vh;
    margin-top: calc(90px + 10vh);
    margin-bottom: calc(10px + 10vh);
}
@media screen and (max-width: 991px) {
    .landing {
        height: 70vh;
        margin-top: calc(50px + 10vh);
        margin-bottom: calc(50px + 10vh);
    }
}
.landing .container {
    height: 100%;
    width: 100%;
}
.landing .landing-slider {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.landing .landing-slider .landing-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    opacity: 0;
    transform: scale(1.3);
    transition: opacity 2s ease-in-out, transform 8s ease;
    overflow: hidden;
}
.landing .landing-slider .landing-slide.active {
    opacity: 1;
    transform: scale(1);
}
.landing .landing-slider .landing-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
/* Projects */
section .container {
    padding-top: calc(9% - (10vh + 10px));
}
@media (max-width: 1024px) {
    section .container {
        padding-top: calc(8% - (10vh + 10px));
    }
}
@media (max-width: 767px) {
    section .container {
        padding-top: calc(20% - (10vh + 10px));
    }
}
.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}
.filter-button {
    padding: 4px 8px;
    margin: 0 10px;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: transparent;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    opacity: 0.65;
}
.filter-button:hover {
    opacity: 1;
}
.filter-button.active {
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
    opacity: 1;
}
.childs-arrows {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}
.childs-arrows button {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 0 10px #999;
    border-radius: 8px;
    transition: 0.5s;
}
@media screen and (min-width: 768px) {
    .childs-arrows button:hover {
        background-color: #fff;
        color: #000;
    }
}
.childs-arrows button a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (min-width: 768px) {
    .childs-arrows button:hover a {
        color: #000;
    }
}
.childs-arrows button a span {
    font-size: 22px;
    margin-top: -4px;
    display: flex;
    justify-content: center;
}
section .container .parent {
    display: flex;
    flex-direction: column;
}
section .container .parent .child {
    flex: 1 1 100%;
    flex-basis: 100%;
    width: 100%;
    display: flex;
    margin-bottom: 4em;
    justify-content: center;
    border-radius: 8px;
}
@media screen and (min-width: 768px) {
    section .container .parent .child {
        margin-bottom: 100px;
    }
}
section .container .parent .child .box {
    width: 100%;
    margin: 0 auto;
    display: flex;
    border-radius: 8px;
    gap: 10px 10px;
}
section .container .parent .child.reverse .box {
    flex-direction: row-reverse;
}
@media (max-width: 768px) {
    section .container .parent .child .box {
        flex-direction: column;
    }
    section .container .parent .child.reverse .box {
        flex-direction: column;
    }
} 
section .container .parent .child .box .side {
    position: relative;
    width: 50%;
    border-radius: 8px;
    margin-left: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    section .container .parent .child .box .side {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 2%;
    }
    html:lang(ar) section .container .parent .child .box .side {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 2%;
    }
}
section .container .parent .child .box .side .main-image {
    max-height: 80vh;
}
section .container .parent .child .box .side .main-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}
section .container .parent .child .box .side .content {
    padding: 25px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 5%;
}
@media (max-width: 768px) {
    section .container .parent .child .box .side .content {
        padding: 0;
    }
}
section .container .parent .child .box .side .content .ps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
section .container .parent .child .box .side .content .project-name {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
section .container .parent .child .box .side .content .project-name h2 {
    font-size: 50px;
    font-weight: 600;
    padding-bottom: 20px;
    text-transform: uppercase;
}
@media (max-width: 1024px) {
    section .container .parent .child .box .side .content .project-name h2 {
        font-size: 30px;
    }
}
@media (max-width: 768px) {
    section .container .parent .child .box .side .content .project-name h2 {
        font-size: 26px;
    }
}
section .container .parent .child .box .side .content .ps .p {
    width: 100%;
}
section .container .parent .child .box .side .content .ps .p button {
    width: 100%;
    padding: 4% 4% 4% 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ebebeb;
    cursor: pointer;
}
@media (max-width: 768px) {
    section .container .parent .child .box .side .content .ps .p button {
        padding: 3% 3% 3% 0%;
    }
}
section .container .parent .child .box .side .content .ps .p button h3 {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    color: #000000;
}
@media (max-width: 1024px) {
    section .container .parent .child .box .side .content .ps .p button h3 {
        font-size: 17px;
    }
}
section .container .parent .child .box .side .content .ps .p button .toggle-p {
    position: relative;
    width: 15px;
    height: 15px;
}
section .container .parent .child .box .side .content .ps .p button .toggle-p span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 15px;
    height: 3px;
    background-color: #000;
    border-radius: 12px;
    transition: 0.5s;
}
section .container .parent .child .box .side .content .ps .p button .toggle-p span.animated {
    transform: rotate(90deg);
}
section .container .parent .child .box .side .content .ps .p.opened button .toggle-p span.animated {
    transform: rotate(0);
}
section .container .parent .child .box .side .content .ps .p .paragraph {
    transition: all 0.5s ease-in-out;
    transition-delay: 0.2s;
    height: 0;
    overflow: hidden;
    border: none;
}
section .container .parent .child .box .side .content .ps .p.opened .paragraph {
    border-bottom: 1px solid #ebebeb;
    height: auto;
    transition: 0.5s all ease-in-out;
}
section .container .parent .child .box .side .content .ps .p .paragraph p {
    /* font-size: 13px; */
    font-size: 17px;
    line-height: 1.6;
    transition: 0.5s all ease-in-out;
    padding: 4% 4% 4% 4%;
}
@media screen and (min-width: 992px) {
    section .container .parent .child .box .side .content .ps .p .paragraph p {
        line-height: 1.7;
    }
}
section .container .parent .child .box .side .content .project-button {
    margin-top: 5%;
}
section .container .parent .child .box .side .content .project-button button.button {
    margin: 5% 0% 0% 0%;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    background-color: transparent;
    border: 2px solid #111;
    padding: 9px 33px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: max-content;
    font-family: inherit;
    line-height: 2em;
    text-decoration: none;
    text-transform: none;
    border-radius: 7px;
    outline: 0;
    transition: .5s all ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
@media (max-width: 767px) {
    section .container .parent .child .box .side .content .project-button button.button {
        padding: 6px 16px 6px 16px;
        margin: 0;
    }
}
section .container .parent .child .box .side .content .project-button button.button i {
    color: #000000;
    transition: .5s all ease-in-out;
    rotate: 45deg;
    font-size: 20px;
}
section .container .parent .child .box .side .content .project-button button.button {
    background: linear-gradient(to left, transparent 50%, #000000 50%) right;
    background-size: 202%;
}
section .container .parent .child .box .side .content .project-button button.button:hover {
    background-position: left;
    color: #fff;
}
section .container .parent .child .box .side .content .project-button button.button:hover i {
    color: #fff;
}
section .container .project-show {
    margin: 0 auto;
    width: 100dvw;
    height: 100dvh;
    background-color: #ffffff;
    /* display: none; */
    display: block;
    position: fixed;
    top: 0;
    left: 110dvw;
    opacity: 0;
    overflow: auto;
    z-index: 99999;
    transition: left 0.7s ease-in-out, opacity 0.3s ease-out, opacity 0.7s ease-in;
}
section .container .project-show.opened {
    left: 0;
    opacity: 1;
}
@media screen and (max-width: 992px) {
    section .container .project-show {
        padding-top: 60px;
    }
}
section .container .project-show .container  {
    padding-top: 4%;
}
section .container .project-show .container .close {
    position: fixed;
    top: 2vh;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 20px 0;
}
section .container .project-show .container .close button {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    line-height: 0;
    /* width: max-content;
    height: max-c ontent; */
    border: none;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 0 10px #b6b6b6;
}
section .container .project-show .container .close button span {
    position: absolute;
    display: inline-block;
    line-height: 0;
    height: 2px;
    width: 18px;
    background-color: #000000;
    border-radius: 40px;
    top: 45%;
    left: 20%;
    transition: 0.5s;
}
section .container .project-show .container .close button span.top-close {
    transform: rotate(-45deg);
}
section .container .project-show .container .close button span.bottom-close {
    transform: rotate(45deg);
}
section .container .project-show .container .project-images {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    align-items: center;
}
section .container .project-show .container .project-images .img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
section .container .project-show .container .project-images .img img {
    object-fit: cover;
    width: 1000px;
    max-width: 100%;
    border-radius: 8px;
}