/* About CTA Section Black Overlay with White Text - FORCED STYLES */

/* Target the specific section with inline styles */
section.ctaSection02[style*="background-image"] {
    position: relative !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

/* Create the black overlay using both before and after pseudo-elements for maximum visibility */
section.ctaSection02[style*="background-image"]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: block !important;
}

/* Backup overlay method */
section.ctaSection02[style*="background-image"]::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
    display: block !important;
}

/* Ensure all content appears above overlays */
.ctaSection02 .container,
.ctaSection02 .row,
.ctaSection02 .col-xl-6,
.ctaSection02 .col-lg-8,
.ctaSection02 .ctaContent02 {
    position: relative !important;
    z-index: 10 !important;
}

/* White text styling with maximum specificity */
section.ctaSection02 .ctaContent02 * {
    position: relative !important;
    z-index: 11 !important;
}

section.ctaSection02 .ctaContent02 h6,
section.ctaSection02 .ctaContent02 .subTitle {
    color: #60C3E2 !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

section.ctaSection02 .ctaContent02 h2 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
}

section.ctaSection02 .ctaContent02 p {
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Button styling with perfect centering */
section.ctaSection02 .qu_btn {
    background-color: #60C3E2 !important;
    color: #ffffff !important;
    border: 2px solid #60C3E2 !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(96, 195, 226, 0.4) !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    position: relative !important;
    z-index: 15 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

section.ctaSection02 .qu_btn:hover,
section.ctaSection02 .qu_btn:focus {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

/* Alternative overlay using box-shadow if pseudo-elements fail */
.ctaSection02 {
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    section.ctaSection02 .ctaContent02 h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 767px) {
    section.ctaSection02 .ctaContent02 h2 {
        font-size: 24px !important;
    }
    
    section.ctaSection02 .ctaContent02 p {
        font-size: 14px !important;
    }
    
    section.ctaSection02 .qu_btn {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
}

/* Force overlay visibility - Nuclear option */
.ctaSection02 {
    background-blend-mode: multiply !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
}
