/* header */
:root {
    --primary: #3b82f6; /* تغيير حسب ألوانك */
    --accent: #8b5cf6;  /* تغيير حسب ألوانك */
    
}

html {
  scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.top-p{
    padding-top: 110px;
}
nav li {
    list-style: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-item {
    transition: all 0.3s ease;
}

/* تحسينات للـ Lightbox */
#lightbox {
    backdrop-filter: blur(5px);
}

#lightbox-img {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* تحسينات للفلترة */
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #3B82F6;
}

/* swiper */
.servicesSwiper {
    padding: 30px 10px 50px !important;
}

.service-card {
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.pagination .page-numbers {
    padding: 10px 16px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
}

.pagination .page-numbers:not(.current):hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

