/* Enhanced CTA Section with New Color Palette */
.cta-section {
    background: linear-gradient(135deg, var(--success-green), #87c74a, #7cb342);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="wave1" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="rgba(255,255,255,0.15)"/><stop offset="50%" stop-color="rgba(255,255,255,0.05)"/><stop offset="100%" stop-color="rgba(255,255,255,0.15)"/></linearGradient></defs><path d="M0,200 C300,100 600,300 900,200 C1050,150 1200,250 1200,250 L1200,400 L0,400 Z" fill="url(%23wave1)"/></svg>');
    z-index: 0;
    animation: waveMove 15s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(177, 156, 217, 0.2), rgba(200, 181, 224, 0.1), transparent);
    opacity: 0.3;
    z-index: 1;
    animation: pulse 7s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(-50px) translateY(-10px); }
    50% { transform: translateX(-100px) translateY(0px); }
    75% { transform: translateX(-50px) translateY(10px); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.3);
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 3px 6px rgba(0,0,0,0.3); }
    50% { text-shadow: 0 3px 15px rgba(255,255,255,0.4); }
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Enhanced Button Styles with New Colors */
.cta-primary.large,
.cta-secondary.large {
    padding: 20px 45px;
    font-size: 1.3rem;
    border-radius: 35px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-primary.large {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientPulse 4s ease infinite;
    box-shadow: 0 8px 25px rgba(177, 156, 217, 0.4);
    color: var(--white);
    border: none;
}

.cta-primary.large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-primary.large:hover::before {
    left: 100%;
}

.cta-primary.large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(177, 156, 217, 0.6);
}

@keyframes gradientPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--success-green);
    border: 3px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-secondary:hover::before {
    opacity: 1;
}

.cta-secondary:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(177, 156, 217, 0.4);
}

/* Footer with New Colors */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--warning-gold);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: bold;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--warning-gold);
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--warning-gold);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--warning-gold);
    text-decoration: none;
}

/* CTA and Footer Responsive */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}