/* Services Page Specific Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 58, 138, 0.92) 50%,
            rgba(59, 130, 246, 0.9) 100%),
        url('../images/services/fesability-study.jpg') center center / cover no-repeat;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.services-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Main Services Section */
.main-services {
    padding: 6rem 0;
    background: white;
    position: relative;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .service-link {
    margin-top: auto;
}

.service-card.featured {
    border: 1px solid #e5e7eb;
    background: white;
}

.service-card.featured::after {
    content: 'الأكثر طلباً';
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.service-image {
    width: calc(100% + 6rem);
    height: 200px;
    margin: -3rem -3rem 2rem -3rem;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    contain: layout style paint;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-features {
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.feature-item i {
    color: #ff6b35;
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-medium);
    font-weight: 500;
}

/* Additional Services Section */
.additional-services {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}



.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.additional-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.additional-service-card .service-image {
    width: calc(100% + 5rem);
    height: 180px;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    contain: layout style paint;
}

.additional-service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
}

.additional-service-card .service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

.additional-service-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.additional-service-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 58, 138, 0.92) 50%,
            rgba(59, 130, 246, 0.9) 100%),
        url('../images/services/fesability-study.jpg') center center / cover no-repeat;
    padding: 6rem 0;
    position: relative;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #1e3a8a;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #1e3a8a;
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .process-steps {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }

    .services-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .additional-service-card {
        padding: 2rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .process-step:hover {
        transform: translateY(-5px);
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-hero .hero-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .additional-service-card {
        padding: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* 
Service Link Button */
.service-link {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-service {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Addit
ional Service Cards Styling */
.additional-service-card .service-link {
    margin-top: 1rem;
    text-align: center;
}

.additional-service-card .btn-service {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}