#cta {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(135deg, #9ec8fa 0%, #c6defc 50%, #9ec8fa 100%);
    position: relative;
    overflow: hidden;
}

/* Add circular pattern overlay */
#cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(circle at center,
        rgba(255,255,255,0.12) 0px,
        rgba(255,255,255,0.12) 120px,
        rgba(255,255,255,0) 120px,
        rgba(255,255,255,0) 240px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
}

/* Ensure main content is above pattern */
.cta-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Circular Elements */
.cta-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(147, 197, 253, 0.1));
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(147, 197, 253, 0.08));
}

.cta-circle-3 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(147, 197, 253, 0.06));
}

/* Content Styling */
.cta-text {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.cta-text h1 {
    font-size: var(--h2);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 24px 0;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text p {
    font-size: var(--large);
    color: #374151;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* CTA Button */
.cta .cta-button {
    position: relative;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 479px) {
    #cta {
        padding: 60px 16px;
    }
    
    .cta-text h1 {
        font-size: var(--h4);
        margin-bottom: 20px;
    }
    
    .cta-text p {
        font-size: var(--body);
    }
    
    .btn-primary {
        padding: 14px 24px;
        font-size: var(--small);
        gap: 8px;
    }
    
    .cta-circle-1 {
        width: 120px;
        height: 120px;
        top: -30px;
        left: -30px;
    }
    
    .cta-circle-2 {
        width: 180px;
        height: 180px;
        right: -60px;
    }
    
    .cta-circle-3 {
        width: 250px;
        height: 250px;
        bottom: -100px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #cta {
        padding: 70px 20px;
    }
    
    .cta-text h1 {
        font-size: var(--h3);
        margin-bottom: 22px;
    }
    
    .cta-text p {
        font-size: var(--large);
    }
    
    .btn-primary {
        padding: 15px 28px;
    }
    
    .cta-circle-1 {
        width: 150px;
        height: 150px;
        top: -40px;
        left: -40px;
    }
    
    .cta-circle-2 {
        width: 220px;
        height: 220px;
        right: -70px;
    }
    
    .cta-circle-3 {
        width: 300px;
        height: 300px;
        bottom: -120px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #cta {
        padding: 90px 40px;
    }
    
    .cta-text h1 {
        font-size: var(--h2);
        margin-bottom: 26px;
    }
}

@media (min-width: 1024px) {
    #cta {
        padding: 100px 60px;
    }
    
    .cta-text h1 {
        font-size: var(--h1);
        margin-bottom: 28px;
    }
    
    .cta-text p {
        font-size: var(--h6);
    }
    
    .btn-primary {
        padding: 18px 36px;
        font-size: var(--large);
    }
}

@media (min-width: 1440px) {
    #cta {
        padding: 120px 80px;
    }
    
    .cta-text h1 {
        font-size: 3.5rem;
        margin-bottom: 32px;
    }
    
    .cta-text p {
        font-size: 1.25rem;
    }
    
    .btn-primary {
        padding: 20px 40px;
        font-size: var(--h6);
    }
}
