/* header */
:root {
    --primary: #3b82f6; /* تغيير حسب ألوانك */
    --accent: #8b5cf6;  /* تغيير حسب ألوانك */
    
}
html {
  scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
        overflow-x: hidden;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.top-p{
    padding-top: 110px;
}

.site-breadcrumb {
    position: relative;
    z-index: 1;
    height: 0;
    top: 98px;
    color: #64748b;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.site-breadcrumb ol {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.site-breadcrumb-link {
    color: var(--primary);
    transition: color 0.2s ease;
}

.site-breadcrumb-link:hover {
    color: var(--accent);
}

.site-breadcrumb-current {
    max-width: 24rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-breadcrumb-separator {
    color: #94a3b8;
}

@media (max-width: 767px) {
    .site-breadcrumb {
        padding-right: 0.50rem;
        padding-left: 0.50rem;
        top: 92px;
    }

    .site-breadcrumb ol {
        font-size: 0.75rem;
    }
}

.service-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 4rem;
}

.service-gallery-section,
.service-details-section {
    min-width: 0;
}

.service-option-accordion > summary {
    list-style: none;
    cursor: pointer;
}

.service-option-accordion > summary::-webkit-details-marker {
    display: none;
}

.service-option-accordion-icon {
    transition: transform 0.2s ease;
}

.service-option-accordion[open] .service-option-accordion-icon {
    transform: rotate(180deg);
}

.service-option-accordion-content {
    animation: serviceAccordionOpen 0.2s ease-out;
}

@keyframes serviceAccordionOpen {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1023px) {
    .service-overview-grid {
        grid-template-columns: 1fr;
    }
}

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;
}
.project-section {
    overflow-x: clip;
}

.project-grid > * {
    min-width: 0;
}

/* تحسينات للـ 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;
}

.skill-card-description {
    min-width: 0;
    width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

.skill-card-description p,
.skill-card-description ul,
.skill-card-description ol,
.skill-card-description li {
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

.skill-card-description > :last-child {
    margin-bottom: 0;
}

