
/* Project Section Styles */
.project-section {
    background: var(--gray-color);
}

.section-header .project-header-content h2, .section-header .project-header-content + p {
    color: var(--gray-color4) !important;
}

.project-card {
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    background: transparent;
    cursor: pointer;
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: none;
}

.project-card .project-image {
    width: 100%;
    height: 75%;
    border-radius: 20px;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }
}

.project-card .project-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    > div {
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 5px;   
        h5 {
            margin-bottom: 0;
        }
        span {
            color: var(--theme-color);
            font-size: .7rem;
            text-transform: uppercase;
        }
    }

    .project-btn {
        height: 40px;
        width: 40px;
        flex-shrink: 0;
        flex-grow: 0;
        padding: .5rem;
        border-radius: 50%;
        background: transparent;
        font-size: var(--fs-xs);
        border: 1px solid var(--gray-color6);
        color: var(--title-color);

        &:hover {
            background: var(--theme-color);
            transform: translate(0);

            svg {
                transform: rotate(-45deg);
            }
        }
    }
}

.project-card:hover {
    box-shadow: none;
    .project-image img {
        transform: scale(1.05);
    }
}

.project-card.swiper-slide .project-content {
    > div h5 , .project-btn {
        color: var(--gray-color4);
    }
}


@media (max-width: 992px) {
    .section-header {
        h2, p {
            max-width: 500px;
        }
    }
}

@media (max-width: 500px) {
    .project-card {
        height: 350px;
    }
}