/* Product System Stylesheet - Integrated with Website Design */

.header-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.header-description{
    text-align: center;
    width: fit-content;
}
/* Feature Section Styles */
.feature-section {
    padding: 4rem 0;
}

.feature-section-alt {
    padding: 4rem 0;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-grid {
    display: flex;
    align-items: center;
    position: relative;
    width: 900px;
    max-width: 100%;
    justify-content: space-between;
}

/* Default layout: image on left, text on right */
.feature-grid .feature-image-container {
    order: 1;
    width: 353px;
    flex-shrink: 0;
    /* Remove any auto margins to ensure consistent left alignment */
}

.feature-grid .feature-content {
    order: 2;
    width: 477px;
    flex-shrink: 0;
    /* Remove margin-left: auto to prevent right alignment */
}

/* Reverse layout: text on left, image on right */
.feature-grid.reverse {
    flex-direction: row;
}

.feature-grid.reverse .feature-image-container {
    order: 2;
    width: 353px;
    flex-shrink: 0;
}

.feature-grid.reverse .feature-content {
    order: 1;
    width: 477px;
    flex-shrink: 0;
    /* Remove margin-right: auto to prevent left alignment issues */
}

.feature-image-container {
    text-align: center;
    display: flex;
    justify-content: left;
    align-items: center;
}

.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-content {
    padding: 0 1rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0;
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    margin-bottom: 10rem;
}

.clients-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 0 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.clients-grid {
    display: flex;
    align-items: center;
    position: relative;
    width: 950px;
    max-width: 100%;
    justify-content: space-between;
}

.clients-title {
    order: 1;
    width: 477px;
    flex-shrink: 0;
    text-align: left;
    margin-bottom: 0;
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
    /* Remove any auto margins to ensure consistent left alignment */
}

.clients-logos {
    order: 2;
    max-width: 325px;
    flex-shrink: 0;
    /* Remove margin-left: auto to prevent right alignment */
    display: flex;
    flex-basis: content;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 2rem;
}

.client-logo img {
    max-width: 122px;
    max-height: 122px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.3s ease;
}


/* Laptop Styles (1024px and above) */
@media (min-width: 1024px) {
    .header-description {
        text-align: center;
        width: 950px;
    }

    .single-service-content {
        font-size: 1.8rem;
    }

    .single-work-title {
        font-size: 48px;
        padding-bottom: 1.2rem;
    }

    .feature-grid {
        display: flex;
        align-items: center;
        position: relative;
        width: 950px;
        max-width: 100%;
    }

    .feature-description {
        font-size: 18px;
        line-height: 1.6;
        margin: 0;
    }

    .feature-title {
        font-size: 2rem;
        font-weight: bold;
        margin: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-grid {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    
    .feature-grid.reverse {
        flex-direction: column;
    }
    
    /* On mobile, always show content first, then image */
    .feature-grid .feature-image-container,
    .feature-grid.reverse .feature-image-container {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0;
    }
    
    .feature-grid .feature-content,
    .feature-grid.reverse .feature-content {
        order: 1;
        width: 100%;
        margin: 0 0 2rem 0;
    }
    
    .clients-grid {
        flex-direction: column;
        width: 100%;
        gap: 2rem;
    }
    
    .clients-title {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .clients-logos {
        width: 100%;
        margin: 0;
        justify-content: center;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
}