/* CTA SECTION */
.cta-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(135deg, #1b3d6d, #0d233f, #153663);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Soft animated glowing overlay */
.cta-overlay {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeUp 1.2s ease;
}

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
    color: #fff;
}

/* Buttons Layout */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base Button Style */
.cta-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Button Color Variants */
.cta-primary {
    background: #00b894;
    color: #fff;
}

.cta-secondary {
    background: #0984e3;
    color: #fff;
}

.cta-accent {
    background: #d63031;
    color: #fff;
}

/* Glossy Hover Effect */
.cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.cta-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-15deg);
    transition: 0.5s;
}

.cta-btn:hover::after {
    left: 120%;
}

/* Fade-up Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}
