/* ===============================
   BOTTOM BLUR SECTION MOBILE OPTIMIZATION
   =============================== */
@media screen and (max-width: 768px) {
    /* Container adjustments */
    .blur-image-container {
        position: relative;
        text-align: center;
        overflow-x: hidden; /* prevent horizontal scrolling */
        min-height: 1400px; /* enough space for cards */
        box-sizing: border-box;
    }
    .blur-image-container .blur-image {
        width: 100%;
        height: 220px; /* increase height, you can adjust as needed */
        display: block;
        border-radius: 12px;
        margin-top: 0px; /* keeps it at the top of container */
        object-fit: cover; /* fills the area without distortion */
        filter: brightness(1.2) contrast(1); /* brightens the image */
        filter: blur(18px) brightness(1.2); /* blur + brightness */
    }

    /* Optional: add a semi-transparent white overlay */
    .blur-image-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.15); /* subtle white overlay */
        pointer-events: none; /* so it doesn’t block clicks */
    }
    /* "Total Value" - no wrap, single line */
    .blur-text {
        font-size: 24px; /* adjust as needed */
        font-weight: bold;
        color: #000000;
        overflow: hidden; /* cut off extra text */
        text-overflow: ellipsis; /* optional: show "..." if too long */
        display: block;
        margin-top: -145px;
        margin-left: -5px; /* adjust this value to move left/right */
    }

    /* Paragraph text below - normal wrapping */
    .blur-text1 {
        font-size: 16px; /* adjust as needed */
        line-height: 1.5;
        color: #0b0808;
        width: 90%; /* takes up 90% of parent container width */
        max-width: 900px; /* optional: limits it on very large screens */
        margin: -245px auto 20px -3%; /* top, right, bottom, left */
        text-align: center; /* optional: center text inside container */
    }
    /* Individual card positions (adjust 'top' as needed) */
    .card {
        top: 290px; /* adjust vertical position */
        left: 49%; /* horizontal placement */
    }

    .card1 {
        top: 670px; /* adjust vertical position */
        left: 49%;
    }

    .card2 {
        top: 1050px; /* adjust vertical position */
        left: 49%;
    }
    /* Cards: fix their height to auto, prevent scaling */
    .card,
    .card1,
    .card2 {
        width: 400px; /* fixed width */
        max-width: 90%; /* responsive fallback */
        height: 330px; /* allow content to define height */
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        overflow: visible; /* prevent clipping */
    }
    /* Move only the card paragraphs left/right */
    .card > p,
    .card1 > p,
    .card2 > p {
        margin-left: -25px; /* move content 20px to the right */
        /* use negative value to move left, e.g., margin-left: -20px; */
    }
    .card > h3,
    .card1 > h3,
    .card2 > h3 {
        margin-left: -15px; /* move content 20px to the right */
        /* or use negative to move left: margin-left: -20px; */
    }
}
