.services-page-wrapper {
    background-color: #f8fafc;
    min-height: 100vh;
}

.fw-900 { font-weight: 900; }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }

.page-header-simple {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 20, 40, 0.7); 
    z-index: 1;
}

.z-1 { z-index: 10; position: relative; }



.badge-premium-glow {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(0,0,0, 0.05);
    backdrop-filter: blur(10px);
}

.service-card-premium {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.service-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-premium:hover .service-img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card-premium:hover .service-overlay {
    opacity: 1;
}

.btn-explore-glass {
    padding: 10px 24px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-premium:hover .btn-explore-glass {
    transform: translateY(0);
}

.btn-explore-glass:hover {
    background: #fff;
    color: var(--primary);
}

.service-content-premium {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}



.service-title-premium {
    font-family: 'Cairo', sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-card-premium:hover .service-title-premium {
    color: var(--accent) !important;
}

.service-desc-premium {
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 78px; 
}

.divider-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
}

.service-link-animated {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.link-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card-premium:hover .service-link-animated {
    color: var(--accent);
}

.service-card-premium:hover .link-arrow {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
}

html[dir="rtl"] .service-card-premium:hover .link-arrow {
    transform: translateX(-5px);
}

.cta-wrapper-glass {
    background: var(--primary);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

html[dir="rtl"] .divider-line {
    background: linear-gradient(to left, rgba(0,0,0,0.05), transparent);
}
html[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

.pagination-premium .pagination {
    gap: 8px;
}
.pagination-premium .page-link {
    border-radius: 8px;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.pagination-premium .page-item.active .page-link {
    background: var(--accent);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0, 0.1);
}
.pagination-premium .page-link:hover:not(.active) {
    background: #f8fafc;
    color: var(--accent);
    transform: translateY(-2px);
}