﻿
.cta-bar {
    position: fixed;
    bottom: 0;
    left: 4.5vw; /* Left margin */
    right: 4.5vw; /* Right margin */
    width: calc(100% - 9vw); /* Adjusted width considering left and right margins */
    background: linear-gradient(to bottom, #e7f3d9, #f0f9e7);
    border: 3px solid #a3cf69;
    padding: 0.3vw 1.5vw; /* Padding for content inside the bar */
    display: flex;
    justify-content: space-between;
    border-radius: 45px; /* Rounded corners on left and right sides */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Styling for the input field */
.email-input {
    width: 80%;
    padding: 1vw;
    border: 2px solid #9CB770;
    border-radius: 15px;
    background-color: #EDF4E6; 
}

.cta-text {
    font-size: 2vw;
    color: #555555;
    font-family: 'Poppins', sans-serif !important;
}

.cta-button {
    padding: 1vw 1.5vw;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    background-color: #FF519B;
    color: #FFFFFF; /* Green text color */
    cursor: pointer;
}









@media (max-width: 1280px) {
    

    .cta-text {
        font-size: 2.3vw;
    }
}


@media (max-width: 991px) {
    
    .cta-text {
        font-size: 2.6vw;
    }
    
}





@media (max-width: 767px) {
    .cta-bar {
        padding: 0.8vw 5vw;
        border-radius: 45vw;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2vw;
    }

    .cta-text {
        font-size: 2.7vw;
        line-height: 1.2;
        white-space: nowrap;
        width: 45%;
    }

    .cta-text span {
        display: block;
        margin-top: 0.3em;
    }

    .email-input {
        padding: 0.65rem;
        font-size: 0.9rem;
        border-radius: 15px;
    }

    .cta-button {
        border-radius: 15px;
        margin-right: 1.4vw;
    }

    .ctarow1, .ctarow2 {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0 !important;
    }

    .ctarow2 {
        justify-content: flex-end;
        gap: 6px;
        width: 55%;
    }
}


@media (max-width: 575px) {
    
    .cta-text {
        font-size: 3.2vw;
    }
}

@media (max-width: 400px) {
    .cta-text {
        font-size: 3.7vw;
    }
}

@media (max-width: 350px) {
    .email-input {
        font-size: 3vw;
    }
   
}




@media (max-width: 287px) {
    .email-input {
    font-size: 2.8vw;
    }
}
