/* Policy Hero Section with University of Sierra Leone Colors */
.policies-hero {
    position: relative;
    background: linear-gradient(135deg, #002147 0%, #003366 50%, #002147 100%);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
    height: 50vh;
}

.policies-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;
}

.policies-hero .container {
    position: relative;
    z-index: 1;
}

.policies-hero h1{
    font-size: 3.75rem; /* Slightly larger font */
    font-weight: 900; /* Even bolder weight */
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    line-height: 1.2;
  
}

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

.policies-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stats-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Decorative Elements */
.hero-decorator {
    position: absolute;
    width: 300px;
    height: 300px;
    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: 400px;
    height: 400px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .policies-hero {
        padding: 4rem 0;
    }
    
    .policies-hero h1 {
        font-size: 2.5rem;
    }
    
    .policies-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stats-box {
        width: 80%;
        max-width: 300px;
    }
}

/* Add the CSS to the head of the document */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Add floating animation to the stats box */
.stats-box {
    animation: float 6s ease-in-out infinite;
}
