.skyle-projects-grid {
    position: relative;
}

/* Desktop Grid Layout */
@media (min-width: 991px) {
    .skyle-projects-grid .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .skyle-projects-grid .swiper-slide {
        height: auto;
        width: auto !important; /* Override swiper width if any remains */
    }

    .skyle-project-pagination {
        display: none;
    }
}

/* Mobile Swiper Layout */
@media (max-width: 990px) {
    .skyle-projects-grid {
        padding-bottom: 40px;
        overflow: hidden; /* Hide overflow for swiper */
    }
    
    .skyle-project-pagination {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .skyle-project-pagination .swiper-pagination-bullet {
        background: #cccccc;
        opacity: 1;
        margin: 0 5px;
    }

    .skyle-project-pagination .swiper-pagination-bullet-active {
        background: #8e6ca8; /* Default active color */
    }
}

.skyle-project-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skyle-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.skyle-project-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Aspect ratio */
    overflow: hidden;
}

.skyle-project-image-wrapper img {
    position: absolute;
    top: 25px;
    left: 25px;
    width: calc(100% - 50px);
    height: calc(100% - 25px);
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 5px;
}



.skyle-project-badge {
    position: absolute;
    top: 35px;
    left: 35px;
    padding: 5px 12px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.skyle-project-content {
    padding: 15px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.skyle-project-title {
    margin: 0 0 5px;
    font-weight: 700;
    color: #222222;
}

.skyle-project-subtitle {
    margin: 0 0 22px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skyle-project-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.skyle-project-progress-wrapper {
    position: relative;
    height: 7px;
    background-color: #eeeeee;
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.skyle-project-progress-bar {
    height: 100%;
    border-radius: 3px;
    width: 0; /* Animated via JS or CSS width */
    transition: width 1s ease-out;
}

.skyle-project-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.skyle-stat-left,
.skyle-stat-right {
    display: flex;
    flex-direction: column;
}

.skyle-stat-right {
    text-align: right;
    align-items: flex-end;
}

.skyle-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #222222;
    line-height: 1.2;
    margin: 0;
}

.skyle-stat-label {
    font-size: 14px;
    color: #888888;
    margin-top: 2px;
    margin-bottom: 0;
    font-weight: bold;
}
