/* =========================================
   Elecnova - Services Page Styles
   ========================================= */

/* Section 1: Page Header */
.page-header-alt {
    background-color: #0F3D5E; /* Brand Blue */
    padding: 60px 0;
    text-align: center;
    color: #FFFFFF;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-title {
    font-size: 3rem;
    color: #FFFFFF;
    margin: 0;
}

/* Section 2: Intro Section */
.intro-section {
    background-color: #f8f9fa; /* Light gray */
    padding: 60px 0;
    text-align: center;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* Section 3: Services Grid */
.services-grid-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card-alt {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-btn);
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--color-btn); /* Amber/Yellow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(244, 180, 0, 0.2);
}

.service-card-alt h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-weight: 700;
}

.service-card-alt p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-service-link:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

/* Section 4: Notre Processus Timeline */
.process-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6rem; /* Larger gap */
    margin-top: 60px;
    position: relative;
    max-width: 1000px; /* Larger timeline */
    margin-left: auto;
    margin-right: auto;
}

/* Horizontal line connecting steps */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px; /* Centered for 80px circles and 4px line */
    left: 10%;
    right: 10%;
    height: 4px; 
    background-color: var(--color-btn); 
    z-index: 1;
}

.process-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-circle {
    width: 80px; /* Much larger circles */
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.8rem; /* Larger numbers */
    color: #FFFFFF;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.step-circle.amber {
    background-color: var(--color-btn);
}

.step-circle.teal {
    background-color: #0F3D5E; /* Brand Blue */
}

.step-label {
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .intro-section {
        padding: 40px 0;
    }

    .intro-text {
        font-size: 1rem; /* Reduced intro font */
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 1rem; /* Reduced gap */
    }

    .service-card-alt {
        padding: 1.5rem 1rem; /* Smaller card padding */
    }

    .service-icon-circle {
        width: 60px; /* Smaller icons */
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card-alt h3 {
        font-size: 1.1rem; /* Smaller title */
        margin-bottom: 10px;
    }

    .service-card-alt p {
        font-size: 0.8rem; /* Smaller description */
        margin-bottom: 15px;
    }

    .btn-service-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 60px; /* Circles more far between each others */
        align-items: flex-start;
        padding-left: 40px; /* Consistent padding */
    }
    
    .process-timeline::before {
        display: block; /* Now visible on mobile */
        width: 4px; /* Less bolder */
        height: auto;
        top: 22.5px; /* Centers in first circle */
        bottom: 22.5px; /* Centers in last circle */
        left: 62.5px; /* 40px padding + half of 45px circle (22.5) */
        transform: translateX(-50%);
        background-color: var(--color-btn);
    }
    
    .process-item {
        flex-direction: row;
        gap: 30px;
        text-align: left;
    }
    
    .step-circle {
        margin-bottom: 0;
        width: 45px; /* Compact circles for mobile */
        height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
}
