/* Container styling */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #89B415;
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Change: Set this to 0 to make it visible immediately */
    transform: translateY(0); 
    transition: transform 0.4s ease-in-out;
}

/* Visibility class triggered by JS */
.sticky-cta-bar.is-visible {
    transform: translateY(0);
}

/* Content layout */
.cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    width: 100%;
    justify-content: space-between;
    font-size: 20px;
}

.cta-text {
    font-family: sans-serif;
    font-weight: 500;
}

/* Button styling */
/* .cta-button {
    background-color: #ff4757;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #e84118;
} */

/* Close button */
.cta-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    /* margin-left: 15px;
    margin-right: -30px; */
    position: absolute;
    right:20px;
    top:40px;
}
.desktop-cta-content{
    margin: 0 auto;
}
.desktop-cta-content .cta-close {
    position: relative;
    top: 5px;
    right: 0px;
}
.desktop-cta-content .cta-button {
    margin-left: 10px;
    margin-right: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .cta-text {
        /* font-size: 14px; */
        font-weight: 500;
    }
}

