/* Additional Code Zero Group Styles - Updated May 2025 */

/* Impact Section */
.cz-theme .cz-impact {
    background: linear-gradient(135deg, var(--cz-darker-bg) 0%, var(--cz-dark-bg) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cz-theme .cz-impact::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(143, 212, 79, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
}

.cz-theme .cz-impact::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(70, 41, 242, 0.1) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.cz-theme .cz-impact-header {
    margin-bottom: 3rem;
}

.cz-theme .cz-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--cz-text-gray);
}

/* Call to Action Section */
.cz-theme .cz-cta {
    background: linear-gradient(135deg, var(--cz-primary-blue) 0%, var(--cz-secondary-blue) 100%);
    padding: 5rem 0;
    color: var(--cz-text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cz-theme .cz-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/pattern-overlay.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.cz-theme .cz-cta .container {
    position: relative;
    z-index: 2;
}

.cz-theme .cz-cta h2 {
    font-family: var(--cz-font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */
.cz-theme .cz-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cz-theme .cz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.cz-theme .cz-btn:hover::before {
    left: 0;
}

.cz-theme .cz-btn:focus {
    outline: var(--cz-focus-ring);
    outline-offset: 2px;
}

.cz-theme .cz-btn-primary {
    background-color: var(--cz-primary-blue);
    color: var(--cz-text-light);
}

.cz-theme .cz-btn-primary:hover {
    background-color: var(--cz-secondary-blue);
    color: var(--cz-text-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cz-theme .cz-btn-accent {
    background-color: var(--cz-accent-green);
    color: var(--cz-dark-bg);
}

.cz-theme .cz-btn-accent:hover {
    background-color: var(--cz-link-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* WCAG2 Accessibility Improvements */
.cz-theme a:focus {
    outline: var(--cz-focus-ring);
    outline-offset: 2px;
}

.cz-theme .img-fluid {
    max-width: 100%;
    height: auto;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .cz-theme .cz-btn {
        border: 2px solid currentColor;
    }
    
    .cz-theme .cz-content::before {
        border-left: 4px solid currentColor;
    }
}

/* Responsive adjustments for improved readability */
@media (max-width: 768px) {
    .cz-theme .cz-section-title {
        font-size: 2rem;
    }
    
    .cz-theme .cz-lead {
        font-size: 1.1rem;
    }
    
    .cz-theme .cz-content {
        padding: 3rem 0;
    }
    
    .cz-theme .order-md-1 {
        order: 2;
    }
    
    .cz-theme .order-md-2 {
        order: 1;
    }
    
    .cz-theme .col-md-6 {
        width: 100%;
        margin-bottom: 2rem;
    }
}
