/* --- PROCESS SECTION CONTAINER --- */
.process-section {
    background-color: var(--light-bg); /* Very soft grey to separate from the white trust section */
    padding: 100px 0;
}

.process-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fix text alignment for the right column */
.text-left {
    text-align: left;
    margin-left: 0;
}

.process-content {
    flex: 1; /* Takes 50% width */
}

/* --- LEFT SIDE: IMAGE --- */
.process-image-wrapper {
    flex: 1; /* Takes 50% width */
}

.process-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

/* --- RIGHT SIDE: ACCORDION --- */
.accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between the boxes */
}

.accordion-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden; /* Keeps the sliding content inside the box corners */
}

.accordion-header {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.step-num {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    margin-right: 15px;
    font-size: 20px;
}

.accordion-header .icon {
    color: var(--secondary-grey);
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Hover & Active States */
.accordion-header:hover {
    color: var(--primary-blue);
}

.accordion-header.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.accordion-header.active .step-num,
.accordion-header.active .icon {
    color: var(--white);
}

/* The Hidden Sliding Panel */
.accordion-body {
    max-height: 0; /* Hidden by default */
    overflow: hidden; /* Crucial for the slide animation */
    transition: max-height 0.4s ease-out; /* The smooth slide effect */
    background-color: var(--white);
}

.accordion-body p {
    padding: 0 25px 25px 25px; /* Padding only on sides and bottom so it sits flush to the header */
    margin: 0;
    color: var(--secondary-grey);
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #f0f0f0; /* Tiny separator line */
    margin-top: 15px;
    padding-top: 15px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .process-container {
        flex-direction: column; /* Stacks image on top, accordion on bottom */
    }

    .process-content, .process-image-wrapper {
        width: 100%;
    }

    .process-image-wrapper {
        margin-bottom: 30px;
    }
}