/* Services Page Styles */
.services-hero {
    height: 60vh;
    background: url('../IMG/17511.jpg') no-repeat center bottom;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    font-family: 'Cairo', sans-serif;
    font-size: 3rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}


.breadcrumb {
    background: transparent;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: white;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Pro';
    color: white;
    padding: 0 0.8rem;
    font-weight: 900;
    font-size: 1.2rem;
}

.services-section {
    position: relative;
    overflow: hidden;
}

.service-card.advanced {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(46, 62, 168, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card.advanced:hover {
    box-shadow: 0 15px 35px rgba(46, 62, 168, 0.15);
}

.service-card.advanced .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 62, 168, 0.1), rgba(230, 178, 106, 0.1));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s;
}

.service-card.advanced:hover .service-icon {
    color: var(--secondary-color);
    transform: rotateY(180deg);
}

.service-card.advanced h3 {
    color: var(--dark-color);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.service-card.advanced h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.service-card.advanced .service-content {
    /* margin-top: 20px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card.advanced .service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-card.advanced .service-features li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
}


.service-card.advanced .service-examples {
    background: rgba(248, 249, 250, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-right: 3px solid var(--secondary-color);
}

.service-card.advanced .service-examples h5 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-card.advanced .service-examples p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0;
}

.service-card.advanced .service-btn {
    /* width: 100%; */
    margin-top: 15px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

/* تأثيرات الحركة */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-card.advanced:hover {
    animation: pulse 1s ease infinite;
}

/* features */
.features-section {
    background: url('../IMG/serv1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    /* padding: 100px 0; */
}

.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

/* الحفاظ على تنسيقات الكروت الأصلية */
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(230, 178, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card .icon i {
    font-size: 2rem;
    color: #e6b26a;
}

/* تحسينات للعناوين */
.features-section h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}


.equipment-gallery .item {
    position: relative;
}

.equipment-gallery .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
}

.cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .service-card {
        padding: 20px;
    }

    .service-content {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }
}   