.modern-cta {
    overflow: hidden;
    position: relative;
    padding: 80px 80px;
    border-radius: 55px;
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    transition: all 0.3s ease;
    z-index: 1;
}

/* Glassmorphism - Light Mode */
html[data-theme="light"] .modern-cta {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

/* Glassmorphism - Dark Mode */
html[data-theme="dark"] .modern-cta {
    background: rgba(15, 23, 42, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Content Layout */
.modern-cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.modern-cta-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 90%;
}

/* Responsive adjustments */
@media only screen and (max-width: 1199px) {
    .modern-cta {
        padding: 60px 40px;
    }

    .modern-cta-content h2 {
        font-size: 38px;
    }
}

@media only screen and (max-width: 767px) {
    .modern-cta {
        padding: 40px 30px;
        border-radius: 30px;
    }

    .modern-cta-content h2 {
        font-size: 30px;
    }

    .modern-cta-content p {
        max-width: 100%;
    }
}

/* Background Grid Pattern (Using pseudo-element or separate div) */
.modern-cta:after {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    z-index: -1;
    width: 35%;
    height: 100%;
    background: url(../../images/shapes/cta-btn-line-bg.png) no-repeat center right;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

html[data-theme="light"] .modern-cta:after {
    filter: invert(1);
}

/* Decorative Shape (Arrow) */
.modern-cta-shape {
    position: absolute;
    right: 35%;
    top: 25%;
    z-index: 2;
    max-width: 120px;
}

html[data-theme="dark"] .modern-cta-shape {
    filter: invert(1) brightness(1.5);
}

@media only screen and (max-width: 991px) {
    .modern-cta-shape {
        display: none;
    }
}