/* Call to Action (CTA) Section */
.cta {
    padding: var(--spacing-xxl) 0;
    width: 100%;
}

.cta-container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-banner {
    position: relative;
    border-radius: 20px;
    background-image: linear-gradient(38.35deg, rgb(241, 80, 0) 29.7%, rgb(15, 46, 74) 157.2%);
    padding: 56px 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

/* Background Vectors */
.cta-bg-left {
    position: absolute;
    left: 8%; /* ~94px offset */
    top: 50%;
    transform: translateY(-50%);
    width: 173px;
    height: 173px;
    opacity: 0.15; /* Simulates Figma blend/transparency */
    pointer-events: none;
    z-index: 1;
}

/* 
 * Placeholder class for the geometric pattern on the right. 
 * Once exported, add the img with this class.
 */
.cta-bg-right {
    position: absolute;
    right: -20px;
    top: 0;
    width: 448px;
    height: 448px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 800px;
}

.cta-text-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-title {
    font-size: clamp(32px, 5vw, 49.8px);
    line-height: 1.1;
    color: var(--color-white, #ffffff);
    letter-spacing: -2.08px;
    font-weight: 500;
    font-family: var(--font-secondary);
}

.cta-subtitle {
    font-size: clamp(16px, 3vw, 20.6px);
    line-height: 1.6;
    color: #f1f1f2;
    letter-spacing: -0.44px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Only overrides for the specific CTA colors. Structure and hover animations are provided by .btn class */
.cta-btn-primary {
    background-color: #ffe2d4;
    color: #f15000;
}

.cta-btn-primary:hover {
    background-color: #fff0e8;
    color: #f15000;
}

.cta-btn-ghost {
    background-color: transparent;
    color: var(--color-white, #ffffff);
}

.cta-btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white, #ffffff);
}

@media (max-width: 900px) {
    .cta-banner {
        padding: 40px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .cta-buttons a {
        width: 100%;
    }
    
    .cta-bg-left, .cta-bg-right {
        display: none; /* Hide background vectors on mobile to preserve readable text */
    }
}
