/*--------------------------------------------------------------
 Hero section css
--------------------------------------------------------------*/

.hero-block-wraper {
    height: 100vh;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    gap: 4rem;

    @media (max-width: 1024px) {
        padding: 4rem 0;
        margin-top: 1rem;
        flex-direction: column;
        text-align: center;
        height: 100%;
    }


    @media (min-width: 1024px) {
        .hero-text {
            flex: 1;
        }
    }

    .field--name-field-hero-block-body {
        h2 {
            margin: 1rem 0;
            font-size: clamp(2.2rem, 4vw, 3rem);
            font-weight: 700;
            color: #012970;
        }

        h3 {
            margin: 1rem 0;
            font-size: clamp(1.2rem, 3vw, 1.6rem);
            color: #5a5a5a;
            font-weight: 500;
        }

        a {
            margin-top: 30px;
            padding: 15px 40px;
            border-radius: 4px;
            background: #4154f1;
            color: #ffffff;
            box-shadow: 0 5px 30px rgba(65, 84, 241, 0.4);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s ease;

            &:hover {
                transform: translateY(-2px);
            }
        }
    }

    .image-wrapper {
        flex: 1;
        text-align: right;

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

    @media (max-width: 1024px) {
        .image-wrapper {
            text-align: center;
        }
    }
}