/* Floating CTA Button Styles */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 28px;
    border-radius: 50px;
    background-color: var(--primary-color); /* Single color instead of gradient */
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    overflow: hidden;
}

.floating-cta::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    border-radius: 51px;
    filter: blur(1px);
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.floating-cta:hover::before {
    opacity: 0.3;
}

.floating-cta .arrow {
    margin-left: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.floating-cta:hover .arrow {
    transform: translateX(3px);
}

/* Single consistent color for the floating CTA */
.floating-cta {
    /* Single color from the site's palette */
    background-color: var(--primary-color) !important; /* Using the site's primary blue */
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Remove all section-specific color variations */
.floating-cta.hero-section,
.floating-cta.teachers-section,
.floating-cta.pricing-section,
.floating-cta.mission-section,
.floating-cta.playground-section {
    background-color: var(--primary-color) !important;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-cta {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
