/* ===============================
   Accessibility Strip (Neutral)
   =============================== */
.accessibility-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 14px;

    
    color: #2f2f2f;
    font-size: 13px;

    border-bottom: 1px solid #ddd;
}

/* Links */
.accessibility-strip a {
    color: #2f2f2f;
    font-weight: 600;
    text-decoration: none;
}

.accessibility-strip a:hover {
    text-decoration: underline;
}

/* ===============================
   Sections
   =============================== */
.access-left,
.access-center,
.access-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===============================
   Toolbar Buttons (Home / Students / Staff)
   =============================== */
.toolbar-buttons {
    display: flex;
    gap: 6px;
}

.toolbar-btn {
    padding: 6px 14px;
    border-radius: 6px;

    background: #ffffff;
    border: 1px solid #cfcfcf;
    color: #2f2f2f;

    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.toolbar-btn:hover {
    background: #2f2f2f;
    color: #ffffff;
}

/* ===============================
   Skip to Content
   =============================== */
.skip-link {
    padding: 2px 8px;
    border-radius: 4px;

    background: #eaeaea;
    color: #2f2f2f;
    font-weight: 600;
    text-decoration: none;
}

/* ===============================
   Font Resize Buttons
   =============================== */
.font-buttons {
    display: flex;
    gap: 4px;
}

.font-buttons button {
    background: #2f2f2f;
    color: #ffffff;

    border: none;
    padding: 3px 8px;
    border-radius: 4px;

    font-weight: bold;
    cursor: pointer;
}

.font-buttons button:hover {
    opacity: 0.85;
}

/* ===============================
   Language Selector
   =============================== */
.language-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-box label {
    margin: 0;
    font-weight: 600;
    color: #2f2f2f;
}

.language-switcher select {
    border-radius: 4px;
    border: 1px solid #cfcfcf;
    padding: 2px 6px;
    background: #ffffff;
    color: #2f2f2f;
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 768px) {
    .hide-xs {
        display: none;
    }

    .accessibility-strip {
        flex-wrap: wrap;
    }
}

.notice-card-hover {
    transition: all 0.25s ease;
}

.notice-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.notice-item:hover {
    background-color: #f8f9fc;
    padding-left: 6px;
    transition: all 0.2s ease;
}

.logo-wrap{
    position:relative;
    display:inline-block;
}

.logo-box{
    width:100px;
    height:100px;
    object-fit:contain;
    padding:4px;
    transition:all 0.3s ease;
    cursor:pointer;
}

.logo-box:hover{
    transform:scale(1.12);
    filter:drop-shadow(0 8px 15px rgba(0,0,0,0.18));
}

.logo-title{
    position:absolute;
    bottom:115%;
    left:50%;
    transform:translateX(-50%);
    background:#000;
    color:#fff;
    padding:6px 12px;
    font-size:12px;
    border-radius:6px;
    white-space:nowrap;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    z-index:10;
}

.logo-title::after{
    content:'';
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    border-width:6px;
    border-style:solid;
    border-color:#000 transparent transparent transparent;
}

.logo-wrap:hover .logo-title{
    opacity:1;
    visibility:visible;
    bottom:125%;
}

.icon-box{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#eaf2ff;
    color:#0d6efd;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    margin-right:12px;
    flex-shrink:0;
}


.policy-card{
    border:none;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}
.section-title{
    font-weight:700;
    color:#0d6efd;
}
.icon-box{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#eaf2ff;
    color:#0d6efd;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    margin-right:12px;
    flex-shrink:0;
}
.list-item{
    display:flex;
    align-items:flex-start;
    margin-bottom:15px;
}
.header-box{
    background:linear-gradient(135deg,#0d6efd,#0a58ca);
    color:#fff;
    border-radius:18px 18px 0 0;
}

/* ===== Container ===== */
#importantTicker {
    position: relative;
    overflow: hidden;
}

/* ===== Box ===== */
.ticker-box {
    background: #fff8e1; /* softer yellow */
    border: 1px solid #ffe082;
    border-left: 5px solid #ffb300;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ===== Icon ===== */
.ticker-icon {
    color: #b26a00;
    font-size: 15px;
    margin-right: 10px;
}

/* ===== Label ===== */
.ticker-label {
    font-weight: 600;
    color: #8a5300;
    margin-right: 12px;
    white-space: nowrap;
}

/* ===== Content Area ===== */
.ticker-content {
    overflow: hidden;
    position: relative;
    flex: 1;
}

/* ===== Scrolling Text ===== */
.ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: tickerScroll 18s linear infinite;
}

/* ===== Smooth Animation ===== */
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== Pause on Hover ===== */
.ticker-box:hover .ticker-track {
    animation-play-state: paused;
}

/* ===== Edge Fade Effect (Professional Touch) ===== */
.ticker-content::before,
.ticker-content::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
}

.ticker-content::before {
    left: 0;
    background: linear-gradient(to right, #fff8e1, transparent);
}

.ticker-content::after {
    right: 0;
    background: linear-gradient(to left, #fff8e1, transparent);
}

#scrollArrow{
    bottom: 30px;
    left: 0;
    pointer-events: none;
}
#scrollArrow{
    cursor:pointer;
    text-decoration:none;
}

#scrollArrow:focus{
    outline:none;
    box-shadow:none;
}

.bounce-arrow{
    animation:bounce 1.5s infinite;
}

@keyframes bounce{
    0%,20%,50%,80%,100%{
        transform:translateY(0);
    }
    40%{
        transform:translateY(10px);
    }
    60%{
        transform:translateY(5px);
    }
}