.images-grid-section {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    background: var(-section-bg);
}

.image-with-contain img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    transition: all 0.4s;
    overflow: hidden;
}

.main_heding-container .center-heading {
    margin-bottom: 22px;
    font-size: var(--font-heading-desk);
    color: var(--color);
    line-height: 1;
}

.main_heding-container .center-content .center-desc {
    max-width: 673px;
    margin: 0 auto;
    font-size: 20px;
    color: var(--center-clr);
    padding-bottom: 46px;
    line-height: 1.5;
}

.images-grid-container .main_heding-container {
    text-align: center;
}

.images-grid-container {
    padding: 40px 0;
}

.image-grid-wrapper {
    display: flex;
    gap: 0;
    flex-direction: column;
}

.image-grid-wrapper .image-with-contain {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.image-inner-container {
    flex: 0 0 100%;
    max-width: 100%;
}

.image-grid-wrapper .image-with-contain:nth-child(even) {
    flex-direction: row-reverse;
}

.content__wrapper .top__heading {
    color: var(--block-heading-clr);
    font-size: 30px;
    text-align: left;
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.4s;
}

.content__wrapper {
    width: 100%;
    transition: all 0.4s;
    padding: 20px 100px;
    flex: 0 0 50%;
    max-width: 50%;
}

.hover-content .hover-text {
    font-size: 20px;
    color: var(--block-desc-clr);
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.bottom--button {
    width: 100%;
    height: auto;
    max-width: 134px;
}

.bottom--button .hover-button {
    background: var(--btn-bg);
    color: var(--btn-lable-clr);
    border-radius: 24px;
    font-size: 18px;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-inner-container {
    overflow: hidden;
    flex: 0 0 50%;
    max-width: 50%;
}

.image-with-contain:hover .image-inner-container img {
    transform: scale(1.05);
}

.bottom--button a:hover .top-text {
    transform: translateY(-200%);
    transition: all 0.3s ease;
}

.bottom--button a:hover .bottom-text {
    transform: translateY(0%);
    transition: all 0.3s ease;
    color: var(--btn-lable-clr);
}

.bottom--button a .top-text {
    transform: translateY(0%);
    transition: all 0.3s ease;
}

.bottom--button a .bottom-text {
    position: absolute;
    transform: translateY(200%);
    transition: all 0.3s ease;
}

.content__wrapper .hover-content ul li {
    font-size: 20px;
    font-family: ANTA Sharp Grotesk Medium;
}

.hover-content {
    font-size: 18px;
    font-family: ANTA Sharp Grotesk Medium;
    max-width: 476px;
    margin: 0;
}

.hover-content strong {
    color: #666666;
    line-height: 1.2;
}

.hover-content ul {
    padding-left: 20px;
    margin: 0 0 10px 0;
}

@media (max-width:768px) {
    .images-grid-section {
        padding-top: var(--padding-top-mobile);
        padding-bottom: var(--padding-bottom-mobile);
    }

    .main_heding-container .center-heading {
        font-size: var(--font-heading-mob);
        margin-bottom: 12px;
    }

    .main_heding-container .center-content .center-desc {
        padding-bottom: 20px;
        font-size: 14px;
    }

    .image-grid-wrapper {
        gap: 15px;
    }

    .image-grid-wrapper .image-with-contain {
        max-width: calc(50% - 7px);
    }

    .content__wrapper .top__heading,
    .hover-content .hover-text {
        color: #000;
    }

    .content__wrapper .top__heading {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .hover-content .hover-text {
        font-size: 14px;
        margin: 0 0 15px 0;
        max-width: 100%;
    }

    .content__wrapper {
        margin: 0;
        padding: 15px 0;
    }

    .bottom--button .hover-button {
        font-size: 16px;
        padding: 6px 0;
    }

    .bottom--button {
        max-width: 108px;
    }

    .images-grid-container {
        padding: 0;
    }

    .image-inner-container,
    .content__wrapper,
    .image-grid-wrapper .image-with-contain {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .image-grid-wrapper {
        flex-wrap: wrap;
        gap: 15px;
    }

    .content__wrapper .hover-content ul li {
        font-size: 14px;
    }

    .hover-content strong {
        font-size: 12px;
    }

    .hover-content {
        max-width: 100%;
    }
}