/* Uniform styling for all section headers */

/* Ensure all section headers have identical styling */
.section-header h2.gradient-text,
.section-header h2.text-reveal.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), #7986cb) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-shadow: none !important;
}

/* Dark mode adjustments */
[data-theme="dark"] .section-header h2.gradient-text,
[data-theme="dark"] .section-header h2.text-reveal.gradient-text {
    background: linear-gradient(45deg, #536dfe, #90caf9) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

/* Specifically target the Education/Pendidikan header */
#education .section-header h2 {
    background: linear-gradient(45deg, var(--primary-color), #7986cb) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force each header to be visible regardless of browser quirks */
.section-header h2 {
    position: relative;
    z-index: 10;
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .section-header h2.gradient-text,
    .section-header h2.text-reveal.gradient-text {
        opacity: 1 !important;
        color: transparent !important;
    }
}

/* Safari specific fixes */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .section-header h2.gradient-text,
        .section-header h2.text-reveal.gradient-text {
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
        }
    }
}
