/* projects (credit page) */

.projects {
    padding: 132px 20px 203px;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    margin-bottom: 60px;
    padding: 0 calc(100% / 12);
    text-align: center;
}

.projects-heading {
    text-align: center;
    /* margin-bottom: 0; */
}

.projects-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 50px;
}

.projects-prev,
.projects-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0e0b0b;
    border-radius: 7px;
    padding: 13px;
    color: #0e0b0b;
    background: transparent;
    transition: all .3s ;
    cursor: pointer;
}

.projects-prev:hover,
.projects-next:hover {
    background-color: #0e0b0b;
    color: #FFF;
}

.projects-prev svg,
.projects-next svg {
    width: 14px;
    height: 14px;
}

.projects-prev.is-disabled,
.projects-next.is-disabled {
    border-color: #b7bdc9;
    color: #b7bdc9;
    cursor: not-allowed;
    pointer-events: none;
}

.projects-viewport {
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 26px;
    transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}

.projects-card {
    flex: 0 0 calc((100% - 52px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
    background: #FFF;
    min-height: 740px;
    padding: 50px 26px;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
}

.projects-card img,
.projects-card-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.projects-card-placeholder {
    background: linear-gradient(150deg, #e7e3de, #cfd2d8, #97a4af);
}

.projects-card-body h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.projects-card-body p {
    font-weight: 300;
}

.projects-card-link {
    min-height: 66px;
    padding: 20px;
    margin-top: 50px;
    width: 100%;
    justify-content: space-between;
}

.projects-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.projects-card-link:hover svg {
    transform: translateX(3px);
}

.projects-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.projects-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(14, 11, 11, .18);
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.projects-dot.is-active {
    background: #0e0b0b;
    transform: scale(1.2);
}

@media screen and (max-width: 767px) {
    .projects {
        padding: 93px 20px;
    }

    .projects-track {
        gap: 20px;
    }

    .projects-card {
        flex-basis: 100%;
    }

    .projects-header {
        flex-direction: column;
        gap: 16px;
    }

    .projects-nav {
        position: static;
    }
}
