/* Solutions Page Styles */

.solutions-overview-section {
    position: relative;
    padding: 40px 80px;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex; /* Changed to flex */
    flex-direction: column; /* Stacks children vertically */
    gap: 50px;
}

.background-ellipses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-ellipses .ellipse-7 {
    position: absolute;
    width: 544px;
    height: 528px;
    background-color: #cbf9f9;
    filter: blur(370.78741455078125px);
    opacity: 0.9;
    border-radius: 50%;
    top: 246px;
    left: -77px;
}

.background-ellipses .ellipse-8 {
    position: absolute;
    width: 342px;
    height: 332px;
    background-color: #f4fbb3;
    filter: blur(190.02886962890625px);
    opacity: 1;
    border-radius: 50%;
    top: 137px;
    left: 218px;
}

.solutions-overview-text-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 880px; /* Constrain text width */
    margin-bottom: 50px; /* Space between text and icons */
}

.solutions-overview-text-content .section-tag {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4285714285714286em;
    color: #606D5F; /* fill_53OS6S */
    margin: 0;
}

.solutions-overview-text-content h1 {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.25em;
    letter-spacing: -2%;
    color: #181B18; /* fill_V4C00C */
    margin: 0;
}

.solutions-overview-text-content .description {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2666666666666666em;
    color: #2E332E; /* fill_BU8NI8 */
    margin: 0;
}

.icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* Aligns items to the start of the line */
    /* Removed margin-top as gap on parent will handle spacing */
}

.icon-lockup {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
    flex: 1 1 240px; /* Allows items to grow, shrink, and sets a base width of 240px */
    box-sizing: border-box;
    border-top: 1px solid #E2E5E2;
}

.icon-lockup h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5555555555555556em;
    color: #2E332E; /* fill_BU8NI8 */
    margin: 0;
}

.icon-lockup p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #3F473E; /* fill_Y459DQ */
    margin: 0;
}

.icon-container-small {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container-small img {
    width: 100%;
    height: 100%;
}


.hero-main-image {
    width: 100%;
    height: auto;
   
}

.solution-details-section {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Added gap between image and card column */
    padding: 0 80px;
    max-width: 1440px; /* Set max-width for the entire section */
    margin: 80px auto;
    box-sizing: border-box;
}

.solution-cards-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 847px; /* Width for the column of cards */
}

.solution-details-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #E2E5E2;
    border-radius: 20px;
    width: 100%; /* Make cards full width within their container */
    box-sizing: border-box;
}

.solution-details-card h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2222222222222223em;
    letter-spacing: -2%;
    color: #181B18; /* fill_V4C00C */
    margin: 0;
}

.solution-details-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #3F473E; /* fill_Y459DQ */
    margin: 0;
}


.solution-details-image-container {
    flex: 1;
    border-radius: 20px;
    background-color: #DDF0F0;
    margin: 10px 0;
    overflow: hidden;
    min-width: 413px;
}

.solution-details-image-placeholder {
    width: 100%; 
    border-radius: 20px;
    object-fit: contain; 
    margin-left: 30px;
}

.solution-details-card-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    background-color: #FFFFFF;
    border: 1px solid #E2E5E2;
    box-shadow: 0px 2px 2px -1px rgba(10, 13, 18, 0.04), 0px 4px 6px -2px rgba(10, 13, 18, 0.03), 0px 12px 16px -4px rgba(10, 13, 18, 0.08);
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.industries-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 80px;
    max-width: 1440px;
    margin: 80px auto;
    box-sizing: border-box;
}

.industries-section h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2222222222222223em;
    letter-spacing: -2%;
    color: #181B18; /* fill_V4C00C */
    margin: 0;
    text-align: center;
}

.industries-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the icon-box horizontally */
    gap: 10px;
    padding: 10px;
    border: 1px solid #E2E5E2;
    border-radius: 20px;
    width: calc(33.333% - 13.333px);
    box-sizing: border-box;
}

.industry-card .icon-box {
    background-color: #F2FF96;
    padding: 20px;
    border-radius: 12px;
    width: 394px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align content to the left within icon-box */
    gap: 10px;
    box-sizing: border-box;
    box-shadow: 0px 2px 2px -1px rgba(10, 13, 18, 0.04), 0px 4px 6px -2px rgba(10, 13, 18, 0.03), 0px 12px 16px -4px rgba(10, 13, 18, 0.08);
}

.industry-card .icon-box img {
    width: 24px;
    height: 24px;
}

.industry-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5555555555555556em;
    color: #2E332E;
    margin: 0;  
    text-align: center;
}

/* Media Queries for Solutions Page */
@media (max-width: 1280px) {
    .solutions-overview-section,
    .industries-section {
        padding: 40px;
    }

    .solution-details-section {
        flex-direction: column; /* Stack image and cards vertically */
        align-items: center; /* Center items horizontally */
        padding: 40px;
    }

    .solution-cards-right {
        width: 100%; /* Make card column full width */
    }

    .solution-details-image-container {
        display: flex;
        justify-content: center;
        margin-left: 0;
        min-width: unset;
    }

    .solution-details-image-placeholder {
        width: 100%; /* Make image full width */
        height: auto;
    }

    .solutions-overview-text-content h1 {
        font-size: 56px;
    }

    .solutions-overview-text-content .description {
        font-size: 24px;
    }

    .icon-lockup {
        width: calc(50% - 10px); /* 2 columns */
    }

    .hero-image-placeholder,
    .hero-rectangle-image {
        width: 100%;
        height: auto; /* Adjust height as needed */
    }

    .solution-details-card {
        width: 100%; /* Stack cards vertically */
    }
    
    .solution-details-image-placeholder {
        width: 60%;
        height: auto; /* Adjust height as needed */
    }

    .industry-card {
        width: calc(50% - 10px); /* 2 columns */
    }

    .industry-card .icon-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .solutions-overview-section,
    .industries-section {
        padding: 20px;
    }

    .solution-details-section {
        flex-direction: column; /* Ensure column stack for smaller mobiles */
        align-items: center;
        padding: 20px;
    }

    .solution-cards-right {
        width: 100%;
    }

    .solution-details-image-placeholder {
        width: 100%;
        height: auto;
    }

    .solutions-overview-text-content h1 {
        font-size: 40px;
    }

    .solutions-overview-text-content .description {
        font-size: 20px;
    }

    .icon-lockup {
        width: 100%; /* 1 column */
    }

    .solution-details-card h2,
    .industries-section h2 {
        font-size: 30px;
    }

    .solution-details-card p {
        font-size: 14px;
    }

    .industries-cards-container {
        flex-direction: column;
    }

    .industry-card {
        width: 100%; /* 1 column */
    }

    .background-ellipses .ellipse-7 {
        width: 300px;
        height: 290px;
        top: 100px;
        left: -50px;
    }

    .background-ellipses .ellipse-8 {
        width: 200px;
        height: 194px;
        top: 80px;
        left: 100px;
    }
}

@media (max-width: 480px) {
    .solutions-overview-section,
    .solution-details-section,
    .industries-section {
        padding: 15px;
    }

    .solutions-overview-text-content h1 {
        font-size: 32px;
    }

    .solutions-overview-text-content .description {
        font-size: 18px;
    }

    .solution-details-card h2,
    .industries-section h2 {
        font-size: 24px;
    }

    .icon-lockup h3,
    .icon-lockup p,
    .industry-card h3 {
        font-size: 16px;
    }

    .background-ellipses .ellipse-7 {
        width: 200px;
        height: 194px;
        top: 20px;
        right: 20%;
        background-color: #f6e019;
    }

}
