/* Services Page Styles */

.page-header {
    padding: 100px 0;
    position: relative;
}

/* Service Section Styling */
.service-section {
    position: relative;
}

.service-img-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--bs-primary);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.service-content {
    padding: 0 20px;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-features li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
}

.service-features li i {
    margin-top: 5px;
    font-size: 16px;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

/* Animation for service cards */
.service-img-container {
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-img-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* RTL Support */
html[dir="rtl"] .service-number {
    left: auto;
    right: 20px;
}

html[dir="rtl"] .service-features li i {
    margin-right: 0;
    margin-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .service-content {
        padding: 30px 0 0;
    }
    
    .service-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 767.98px) {
    .service-img-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-content {
        text-align: center;
    }
    
    .service-features li {
        text-align: left;
    }
    
    html[dir="rtl"] .service-features li {
        text-align: right;
    }
}
