.our-work{
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.work-title{
    font-size: 32px;
    color: #2d3343;
    margin-bottom: 40px;
    font-weight: bold;
}

.work-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-card{
    background: #D7D9DD;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    transition: 0.3s;
}

.work-card:hover{
    transform: translateY(-5px);
}

.img-slider{
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.img-slider img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.img-slider img.active{
    opacity: 1;
}

/* عدل هذا الجزء في كودك */
.work-card h3 {
    margin: 12px 0;
    font-size: 18px;
    color: #2d3343;
    font-weight: bold;
    
    /* إضافة هذه الخصائص لترتيب الإيموجي مع النص */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* المسافة بين الإيموجي والنص */
}

/* احذف تنسيق .work-card p القديم أو استبدله بهذا لضمان عدم وجود مساحة */
.work-card p {
    display: none;    /* كذا حتى لو موجود في الـ HTML ماراح يظهر ولا ياخذ مساحة */

}
@media(max-width: 768px){
    .work-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px){
    .work-grid{
        grid-template-columns: 1fr;
    }
}