/* Hero section with favicon background */
.hero-bg {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">🎓</text></svg>');
    background-size: 200px;
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: #ffffff !important; /* Force white text */
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-bg > * {
    position: relative;
    z-index: 1;
    color: inherit !important; /* Ensure all text inherits the white color */
}



/* Style for the main heading */
.hero-bg 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 */
.hero-bg h1,
.hero-bg h1:focus,
.hero-bg h1:hover,
.hero-bg h1:active {
    color: #ffffff !important;
    filter: brightness(15.1);
}

/* Style for the subtitle */
.hero-bg p {
    font-size: 1.5rem; /* 24px */
    line-height: 1.5;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Add animation to the favicon background */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-bg {
    animation: float 6s ease-in-out infinite;
}
