/* ---------------Card wrapper--------------- */
.project-card {
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.elementor-1068 .elementor-element.elementor-element-5f0cbca .project-cards {
    row-gap: 40px !important;
}

.project-card:hover {
    transform: translateY(-5px);
}
/* ---------------Image--------------- */
.project-thumb img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* ---------------Title--------------- */
.project-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 12px 0 6px;
    white-space: nowrap;      
  overflow: hidden;         
  text-overflow: ellipsis; 
  display: block;          
  max-width: 70%;
}


/* ---------------Categories--------------- */
.project-categories {
    font-size: 14px;
    color: #1a73e8;
    margin-bottom: 12px;
    display: block;
}
.project-categories:hover {
    text-decoration: none;
}

/* ---------------Button (SVG icon round button)--------------- */
.project-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 5px;
    right: 16px;
    transition: all .3s ease-in-out;
}
.project-card:hover a.project-readmore {
    transform: rotate(45deg);
}
.project-readmore svg {
    width: 40px;
    height: 40px;
}
/* ---------------Pagination Wrapper--------------- */
.project-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ---------------Pagination Links--------------- */
.project-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

/* ---------------Hover--------------- */
.project-pagination .page-numbers:hover {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

/* ---------------Current Page--------------- */
.project-pagination .page-numbers.current {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
    font-weight: 600;
}

/* ---------------Prev/Next Buttons--------------- */
.project-pagination .page-numbers.prev,
.project-pagination .page-numbers.next {
    font-size: 14px;
    padding: 0 16px;
    min-width: auto;
}

/* ---------------Mobile Responsiveness--------------- */
@media (max-width: 768px) {
    .project-pagination {
        gap: 4px;
    }
    .project-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 8px;
        border-radius: 6px;
    }
}
@media (max-width: 480px) {
    .project-pagination {
        gap: 3px;
    }
    .project-pagination .page-numbers {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 0 6px;
    }
}