/*============================================================================
  HEADER CSS - RCE Group Website
  Contains: Marquee, College Header, Navigation, Mobile Menu
  ============================================================================*/

/* ===== TOP MARQUEE ===== */
.top-marquee {
    width: 100%;
    overflow: hidden;
    background: var(--light-bg);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 9998;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 10s linear infinite;
}

.top-marquee:hover .marquee-track,
.top-marquee:focus-within .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    padding-right: 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== HEADER STICKY ===== */
header {
    position: sticky;
    top: 34px;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

/* ===== MOBILE MENU STATES ===== */
nav.mobile-sidebar { display: none; }
.mobile-top-marquee { display: none; }
header.mobile-header { display: none; }

/* ===== COLLEGE HEADER ===== */
.college-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: green;
}

.college-title-text {
    display: inline-block;
    text-decoration: none;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.college-title-text:hover { color: #ffffff; }

.college-title-text span { display: block; }

@media (max-width: 768px) {
    .college-title-text { font-size: 28px; }
}
