/* Page banner background override */
.services-page .page-banner,
.page-banner.services-banner {
    --banner-bg: url('images/Services/cloud-solutions.jpg');
}

/* Services intro */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Service blocks */
.service-block {
    margin-bottom: 80px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.service-content p {
    margin-bottom: 20px;
}

.service-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 600;
}

/* Reverse layout for alternating sections */
.reverse-grid {
    grid-template-columns: 1fr 1fr;
}

.reverse-grid .service-image {
    order: 2;
}

.reverse-grid .service-content {
    order: 1;
}

/* Process section */
.process {
    background-color: #f8f9fa;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 150px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
}

.step-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* Engagement models */
.engagement-models {
    padding: 80px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.model-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.model-card:hover {
    transform: translateY(-10px);
}

.model-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.model-icon i {
    font-size: 35px;
    color: var(--secondary-color);
}

.model-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.model-features {
    margin-bottom: 30px;
    text-align: left;
}

.model-features ul {
    list-style: none;
    padding: 0;
}

.model-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.model-features ul li:last-child {
    border-bottom: none;
}

.model-features ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* FAQ section */
.faq {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 20px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 20px;
    background-color: #f8f9fa;
    display: none;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive styles */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .reverse-grid .service-image,
    .reverse-grid .service-content {
        order: 0;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 30px;
        width: 100%;
    }
}
