/* Staff Portfolio Hero Section with University of Sierra Leone Colors */
.staff-portfolio-hero {
    position: relative;
    background: linear-gradient(135deg, #002147 0%, #003366 50%, #002147 100%);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZD0iTTAgMGgxMDB2MTAwSDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTUwIDI1YzEzLjggMCAyNSAxMS4yIDI1IDI1cy0xMS4yIDI1LTI1IDI1UzI1IDYzLjggMjUgNTBTMzYuMiAyNSA1MCAyNXoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.3;
    z-index: 0;
}

.staff-portfolio-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.staff-portfolio-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.staff-portfolio-hero p {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Decorative Elements */
.hero-decorator {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(0, 33, 71, 0.1) 70%);
    z-index: 0;
    opacity: 0.8;
}

.hero-decorator-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
}

.hero-decorator-2 {
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .staff-portfolio-hero {
        padding: 4rem 0;
        min-height: 60vh;
    }
    
    .staff-portfolio-hero h1 {
        font-size: 2.5rem;
    }
    
    .staff-portfolio-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* Ensure text remains bright on all states */
.staff-portfolio-hero h1,
.staff-portfolio-hero h1:focus,
.staff-portfolio-hero h1:hover,
.staff-portfolio-hero h1:active {
    color: #ffffff !important;
    filter: brightness(1.1);
}
