main .text-img-module .wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 5rem 2.688rem;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

main .text-img-module .wrapper .text {
    z-index: 3;
    color: var(--Dark-Navy-Blue, #090524);
}
main .text-img-module .wrapper .img {
    width: 50%;
    max-width: 100%;
    overflow: hidden;
    z-index: 999;
}
main .text-img-module .wrapper .img img{
    width: 100%;
    height: auto;
    display: block;

}
.img-desktop{
    display: block;
    width: 100%;
    max-width: 1200px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.img-mobile{
    display: none;
}

.hero-banner:has(.hero-banner-text-cont) .image-block .img-desktop,
.hero-banner:has(.text-block) .image-block .img-desktop {
    max-height: 55vh;
}

.hero-banner .hero-banner-text-cont  > *,
.hero-banner:not(:first-child) .text-block > * {
  margin-top: 0;
}

.hero-banner .image-block .img-desktop {
    max-height: 65vh;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-banner .image-block {
    position: relative;
}

.hero-banner .image-block:hover .overlay {
    display:flex;
    opacity:1;
    transition: opacity 1s ease-in-out;
}

.hero-banner .image-block .overlay{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    flex-direction: column;
    justify-content: center;
    align-content: center;
    background-color: rgba(9, 5, 36, 0.4);
    backdrop-filter: blur(5px);
    display:none;
    pointer-events: none;
    opacity:0;
    transition: opacity 1s ease-in-out;

}

@media screen and (max-width: 1024px) {
    main .text-img-module {
        padding-top: 0;
    }
    main .text-img-module .wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    main .text-img-module .wrapper .text {
        width: 335px;
        text-align: center;
        font-size: 40px;
        margin-bottom: 0;
        margin-top: 0;
    }

    main .text-img-module .wrapper .img {
        width: 100%;
    }
    .img-desktop{
        display: none;
    }
    .img-mobile{
        display: block;
        width: 100%;
    }
}
