.homeContainer {
    max-width: 2000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.heroSection {
    padding: 10px;
    height: auto;
}

.heroContainer {
    max-width: 2000px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    background-color: #eae7f7;
    display: flex;

    .imgContainer {
        width: 60%;

        img {
            width: 100%;
            object-fit: contain;
        }
    }

    .textContainer {
        padding: 20px;

        .heading {
            color: #353f4f;
            font-weight: 700;
            font-size: 2.5rem;
        }

        p {
            color: #6c757d;
            font-size: larger;
            padding: 36px 0 32px 0;
        }

        .form-container {
            background-color: #fff;
            border-radius: 5px;
            max-width: 500px;
            margin: 0 auto;
            text-align: left;

            .error-message {
                text-align: center;
                padding: 8px;
                margin-top: 10px;
                background-color: #f8d7da;
                color: #721c24;
                font-size: 1rem;
                width: 100%;
                display: inline-block;
                border-radius: 5px;
            }

            .label {
                color: #6c757d;
                font-size: 1rem;
                padding: 0px;
                margin-top: 20px;
                margin-bottom: 2px;
            }

            input {
                width: 100%;
                padding: 10px;
                margin: 0;
                border: 1px solid #ccc;
                border-radius: 5px;
                font-size: 1rem;
            }

            h2,
            h3 {
                text-align: center;
            }

            button {
                background-color: #4a90e2;
                color: #fff;
                padding: 10px 20px;
                border: none;
                border-radius: 5px;
                margin-top: 20px;
                cursor: pointer;
                width: 100%;
                font-size: 1rem;
            }

            .form-text {
                color: #4a90e2;
                padding: 0px;
                margin: 0px;
                padding-top: 20px;
                text-align: center;
            }
        }
    }

    // Media query for tablet
    @media (max-width: 768px) {
        flex-direction: column-reverse;
    }

    // Media query for mobile
    @media (max-width: 480px) {
        flex-direction: column-reverse;
    }
}

.features-title {
    text-align: center;
    margin: 20px 0;
    color: #353f4f;
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 650px;
    margin: 40px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    max-width: 1440px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin: auto;

    .img-container {
        padding: 42px 20px 0;
        margin: 0 8px 60px;
        background-image: linear-gradient(180deg,
                rgba(244, 244, 249, 0.8) 50%,
                rgba(244, 244, 249, 0.05) 100%);
        border-radius: 12px 12px 0 0;
    }

    .card {
        border-radius: 8px;
        overflow: hidden;
        text-align: center;
    }

    .card img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        margin: 0px 0px -25px;
    }

    .card h3 {
        margin: 10px 0;
        font-size: 1.5em;
    }

    .card p {
        padding: 0 10px 10px;
        font-size: larger;
        color: #555;
    }
}

.impression {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    max-width: 1440px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin: auto;
    align-items: center;
}

.impression-content {
    display: flex;
    flex-direction: column;

    .impression-list {
        display: flex;
        flex-direction: row;
        align-content: center;
        gap: 5px;
    }

    span {
        color: #6c757d;
        font-size: 0.85rem;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 35px;
    }

    b {
        font-weight: bolder;
        font-size: larger;
        color: #6c757d;
        line-height: 1.6666;
    }

    p {
        font-size: larger;
        margin-bottom: 1rem;
        color: #6c757d;
    }

    h2 {
        color: #353f4f;
        font-size: 2.25rem;
        line-height: 1.25;
        font-weight: 700;
        margin: 0;
        margin-bottom: 26px;
    }

    img {
        width: 16px;
        height: 16px;
    }
}

.solutions {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    max-width: 1440px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin: auto;
    align-items: center;

    span {
        color: #6c757d;
        font-size: 0.85rem;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 35px;
    }

    h2 {
        color: #353f4f;
        font-size: 2.25rem;
        line-height: 1.25;
        font-weight: 700;
        margin: 0;
        margin-bottom: 26px;
    }

    p {
        font-size: larger;
        margin-bottom: 1rem;
        color: #6c757d;
        margin: 0px 0px 18px;
    }
}

.solution-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    align-items: center;

    img {
        width: 130px;
        height: 130px;
    }

    .card {
        padding: 32px 35px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
        height: 100%;
    }

    h3 {
        font-size: 1.1875rem;
        line-height: 1.35;
        font-weight: 700;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    p {
        font-size: larger;
        color: #6c757d;
    }
}

.solutions-content {
    display: flex;
    flex-direction: column;
}

.solution-left-grid {
    display: grid;
    grid-template-rows: 45% 55%;
    gap: 30px;
    height: 100%;
}

.solution-right-grid {
    display: grid;
    grid-template-rows: 55% 45%;
    height: 100%;
    gap: 30px;
}

.revenue-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
    width: 100%;
    max-width: 1440px;
    margin: auto;
    box-sizing: border-box;
    align-items: center;
    margin-top: 50px;
    padding: 20px;

    .revenue-img {
        max-width: 500px;

        img {
            width: 100%;
        }
    }
}

.growth-content {
    h2 {
        color: #353f4f;
        font-size: 2.25rem;
        line-height: 1.25;
        font-weight: 700;
        margin: 0;
        margin-bottom: 26px;
    }

    p {
        font-size: larger;
        margin-bottom: 1rem;
        color: #6c757d;
        margin: 0px 0px 18px;
    }
}

.footer {
    margin-top: 40px;
    margin-bottom: 50px;
    padding: 20px;

    hr {
        margin: 1rem 0;
        color: inherit;
        border: 0;
        border-top: #4e4e4e solid;
        opacity: 0.25;
    }

    .icon {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 20px;
    width: 100%;
    max-width: 1440px;
    margin: auto;
    box-sizing: border-box;

    img {
        width: 130px;
        height: 40px;
    }

    h5 {
        color: #353f4f;
        font-size: 1.25rem;
        line-height: 1.25;
        font-weight: 700;
        margin: 0;
        margin-bottom: 26px;
    }

    p {
        font-size: larger;
        margin-bottom: 1rem;
        color: #6c757d;
        margin: 0px 0px 18px;
    }
}

@media (max-width: 1440px) {
    .impression-image {
        max-width: 550px;

        img {
            width: 100%;
        }
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: auto;
        max-width: 400px;

        .img-container {
            padding: 20px 10px 0;
        }

        .card img {
            height: 250px;
        }
    }

    .impression {
        grid-template-columns: auto;
        max-width: 450px;

        .impression-image {
            padding: 20px 10px 0;
        }
    }

    .solutions {
        grid-template-columns: auto;
        max-width: 450px;

        .solution-grid {
            grid-template-columns: auto;

            .card {
                padding: 20px 20px;
            }

            img {
                width: 100px;
                height: 100px;
            }
        }

        .solution-left-grid,
        .solution-left-grid {
            grid-template-rows: auto;
        }
    }

    .revenue-grid {
        grid-template-columns: auto;
        max-width: 450px;

        .revenue-img {
            max-width: 450px;

            img {
                width: 100%;
            }
        }
    }

    .footer-grid {
        grid-template-columns: auto;
    }
}