/* Outer block */
.information-element {
    margin-top: -3%;
    border-radius: 20px;
    background-color: #F3F8FF;
    position: relative;
    z-index: 2;
    height: auto;
    padding: 0;
    overflow: hidden;
}

/* Flex wrapper for the two columns */
.information-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* LEFT COLUMN (image) */
.information-image {
    flex: 1 1 50%;
    min-height: 300px;
}

.information-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* RIGHT COLUMN (content wrapper) */
.information-content {
    flex: 1 1 50%;
    background-color: #F3F8FF;
    border-radius: 0 20px 20px 0;
    box-sizing: border-box;

    /* layout trick */
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    position: relative;
}

/* invisible flex spacers to center the bullet grid vertically
   and keep the button pinned to the bottom */
.information-content::before,
.information-content::after {
    content: "";
    flex-grow: 1;
    order: 1;
    display: block;
}

/* place grid and button in the flex flow with explicit order */
.info-grid {
    order: 2;
    /* GRID OF INFO ITEMS (2x2 desktop) */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    align-items: start;
}

.information-content::after {
    order: 3;
}

.button_information {
    order: 4;
}

/* Each info item */
.info-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: flex-start;
}

/* ICON bubble */
.icon_section {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E8F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon_section img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* TITLE */
.info-item .title {
    grid-column: 2;
    grid-row: 1;
    font-size: 15px;
    font-weight: 700;
    color: #001C55;
    line-height: 1.3;
    margin: 0;
}

/* TEXT under title */
.info-item .text {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* CTA BUTTON */
.button_information {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    background-color: #E70491;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
    margin-top: 40px; /* breathing room from bullets */
}

.button_information:hover {
    background-color: #d10382;
    transform: translateY(-1px);
}

/* --------- Responsive tweaks --------- */
@media (max-width: 1199.98px) {
    .information-image,
    .information-content {
        flex: 1 1 100%;
        min-height: auto;
        border-radius: 20px;
    }

    .information-content {
        border-radius: 0 0 20px 20px;
        padding: 30px 20px;
        /* go back to normal stacked flow on tablet/mobile */
    }

    /* kill the spacer trick on smaller screens so content just flows */
    .information-content::before,
    .information-content::after {
        display: none;
        flex-grow: 0;
    }

    .info-grid {
        order: initial;
    }

    .button_information {
        order: initial;
        margin-top: 24px;
    }
}

@media (max-width: 767.98px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .icon_section {
        width: 36px;
        height: 36px;
    }

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

    .info-item .title {
        font-size: 15px;
    }

    .info-item .text {
        font-size: 14px;
    }
}
