/* Page Block */

.page-block {
    background-image: url(../images/projects-images/commen-intro.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--theme-secondary);
    padding: 220px 0 100px;
    position: relative;
}

.page-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #072c3e8a;
    z-index: 0;
}

.animated--text {
    -webkit-text-stroke: 2px #ffffff;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: currentColor;
    -webkit-text-stroke-width: 0.012em;
    position: relative;
    font-size: 100px;
    letter-spacing: 10px;
    text-transform: uppercase;
    display: inline-block;
}

.animated--text::before {
    position: absolute;
    content: attr(data-text);
    top: 0;
    left: 0;
    max-width: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    -webkit-text-fill-color: currentColor;
}

.animated--text:hover::before {
    max-width: 100%;
}

.line-h {
    line-height: 40px;
}

.text-theme {
    color: var(--theme-secondary) !important;
}

/* Project Wrapper */

.project-2 {
    background-image: url(../images/projects-images/project-intro.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--theme-secondary);
}

.project-wrapper .animated--text {
    letter-spacing: 0;
    font-size: 70px;
}

.project--wrapper h2 {
    background: var(--theme-secondary);
    width: max-content;
    margin-inline: auto;
    color: var(--white-color) !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
}

.project-main p {
    text-align: justify;
}

.project--dis {
    display: flex;
    align-items: center;
    color: var(--white-color);
    gap: 10px;
    padding: 0 15px;
}

.project--dis p {
    font-style: italic;
    font-family: 'Gilroy' !important;
}

.project-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.project-main {
    width: 100%;
    display: grid;
    grid-template-columns: 50% auto;
    gap: 10px;
    background: var(--white-color);
    border: solid 1px #e7e7e6;
    border-radius: 30px;
    padding: 10px;
}

.project-img {
    width: 100%;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    overflow: hidden;
}

.project-detail {
    background: #f0f0f0;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--black-color);
}

.project-list li {
    font-size: 20px;
    padding: 0 0 0 38px;
    position: relative;
}

.project-list li::before {
    content: '';
    background-image: var(--tick-icon);
    display: inline-block;
    position: absolute;
    inset: 5px auto 0 0;
    width: 22px;
    height: 22px;
    background-size: 22px;
    background-repeat: no-repeat;
}

.project-img {
    width: 100%;
    overflow: hidden;
}
.for-slide-gap .slick-slide {
    padding: 0 10px;
}
.for-slide-gap .slick-slide img {
    border-radius: 10px;
	opacity: 0.7;
}
.for-slide-gap {
    margin: 30px -10px 0;
}
.for-slide-gap .slick-slide.slick-current img {
	opacity: 1;
}

@media screen and (max-width: 991px) {

    .page-block {
        padding: 210px 0 180px;
    }

    .project-main {
        grid-template-columns: 50% auto;
        grid-gap: 10px;
    }

    .project-list li {
        font-size: 16px;
        padding: 0 0 0 30px;
        text-align: left;
    }

    .project-list li::before {
        inset: 3px auto 0 0;
        width: 18px;
        height: 18px;
        background-size: 18px;
    }
}

@media screen and (max-width: 767px) {

    .animated--text {
        font-size: 50px;
    }

    .project-detail {
        text-align: center;
    }

    .project-main {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .project-2 .project-main {
        flex-direction: column-reverse;
    }
}
