/* ==========================================================================
   Modern Bubble Buttons - Uiverse Style (eduardo-amaro-maciel)
   ========================================================================== */

.get-started-btn,
.btn-hero-solid,
.price-btn,
.feature-btn,
.cta-submit {
    min-width: 160px;
    height: 50px;
    border-radius: 50px;
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    overflow: hidden;
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 300ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color) !important;
    z-index: 1;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

.get-started-btn::before,
.btn-hero-solid::before,
.price-btn::before,
.feature-btn::before,
.cta-submit::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--primary-color);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: 500ms ease;
}

.get-started-btn:hover,
.btn-hero-solid:hover,
.price-btn:hover,
.feature-btn:hover,
.cta-submit:hover {
    color: #ffffff !important;
    letter-spacing: 2px;
}

.get-started-btn:hover::before,
.btn-hero-solid:hover::before,
.price-btn:hover::before,
.feature-btn:hover::before,
.cta-submit:hover::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Adjustments for specific locations */
.get-started-btn {
    height: 44px;
    min-width: 140px;
    font-size: 14px;
}

.btn-hero-solid {
    height: 55px;
    min-width: 200px;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Price Button Colour Customization */
.price-btn {
    border-color: var(--primary-color) !important;
    color: var(--dark-color) !important;
}

.price-btn::before {
    background-color: var(--primary-color);
}

/* Featured/Active Plan Button: Solid Green by default */
.price-content-wrap.active .price-btn {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.price-content-wrap.active .price-btn::before {
    background-color: var(--dark-color);
}

.price-content-wrap.active .price-btn:hover {
    color: #ffffff !important;
}

.feature-btn {
    margin-top: 25px;
    height: 50px;
    min-width: 180px;
    background-color: var(--primary-color) !important;
    /* Force solid fill */
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

.feature-btn::before {
    background-color: var(--dark-color);
    /* Bubble fills with dark color on hover */
}

/* Ensure visibility of text during transition */
.feature-btn span {
    position: relative;
    z-index: 10;
}

.feature-btn:hover {
    color: #ffffff !important;
}

/* Ensure no background overrides from existing themes */
.price-content-wrap .price-btn {
    background-color: transparent !important;
}

/* Mobile override for CTA button */
@media (max-width: 767px) {
    .cta-submit {
        background-color: var(--dark-color) !important;
        color: #ffffff !important;
        border: 2px solid var(--dark-color) !important;
        transition: none !important;
    }

    .cta-submit::before {
        display: none !important;
    }

    .cta-submit:hover {
        background-color: var(--dark-color) !important;
        color: #ffffff !important;
        border-color: var(--dark-color) !important;
        letter-spacing: normal !important;
    }
}