/* CTA Section Container */
.assessment-cta {
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem) 1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 1200px;
    margin-inline: auto;
}

/* CTA Button */
.cta-button {
    /* Base styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    
    /* Colors - using more accessible combinations */
    background: #FFD700;
    color: #000000;
    
    /* Typography */
    font-weight: 600;
    font-size: clamp(0.875rem, 2vw, 1rem);
    text-decoration: none !important;
    white-space: nowrap;
    
    /* Shape */
    border-radius: 8px;
    border: 2px solid transparent;
    
    /* Effects */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    /* Ensure button doesn't break on small screens */
    max-width: 100%;
    width: fit-content;
    margin: 0 auto;
}

/* Image Container Styles */
.cta-button span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

/* Image Styles */
.cta-button img {
    height: auto;
    width: auto;
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
    margin-right: 8px;
}

/* Hover Effects */
.cta-button:hover {
    background: #32CD32;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Active/Press State */
.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Focus State for Accessibility */
.cta-button:focus-visible {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .cta-button {
        width: 90%;
        padding: 0.875rem 1rem;
    }
    
    .cta-button img {
        max-height: 32px; /* Slightly smaller on mobile */
    }
}

/* Tablet Optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .cta-button {
        padding: 0.875rem 1.5rem;
    }
    
    .cta-button img {
        max-height: 36px;
    }
}

/* Larger Screens */
@media (min-width: 1200px) {
    .cta-button {
        font-size: 1rem;
    }
    
    .cta-button img {
        max-height: 40px;
    }
}

/* High-contrast mode support */
@media (prefers-contrast: high) {
    .cta-button {
        background: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
    
    .cta-button:hover {
        background: #ffffff;
        color: #000000;
        border-color: #000000;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .cta-button {
        transition: none;
    }
}