/* style.css - Set Free Capital CTA Banner (Bold Uppercase Button) */

.cta-banner {
    background: linear-gradient(135deg, #22c55e 0%, #3bb2f6 50%, #22c55e 100%);
    background-size: 300% 300%;
    /* max-height: 180px; */
    padding: 1rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gradientShift 8s ease infinite;
    margin-bottom: 1rem;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: shineFloat 6s ease-in-out infinite;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.cta-banner h2 {
    color: white;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.3;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700; /* Bold text */
    text-transform: uppercase; /* All caps */
    letter-spacing: 0.5px; /* Improves uppercase readability */
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    animation: buttonBounce 0.8s ease-out forwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    color: white;
    animation: buttonBounce 0.6s ease-in-out;
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Keyframe Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shineFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translate(20px, -20px) rotate(5deg);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonBounce {
    0% { transform: scale(0.95) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
    100% { transform: scale(1) translateY(0); }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .cta-banner {
        animation: none;
        background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
    }
    
    .cta-banner::before,
    .banner-content,
    .cta-button {
        animation: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-banner {
        padding: 0.75rem 1.5rem;
    }
    
    .cta-banner h2 {
        font-size: 1.6rem;
        margin-bottom: 0.25rem;
    }
    
    .cta-banner p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 0.5rem 1rem;
    }
    
    .cta-banner h2 {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }
    
    .cta-banner p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .cta-button {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}