/* ======================================================
STV FRAMEWORK PORTAL UI
Public Portal Stylesheet
====================================================== */


/* ======================================================
1. BASE / GLOBAL
====================================================== */

body{
font-family: Arial, Helvetica, sans-serif;
margin:0;
background:#f6f8fb;v
color:#333;
}

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

img{
max-width:100%;
height:auto;
display:block;
}

.site-content{
    min-height:60vh;
}



.accreditation{
padding:50px 20px;
text-align:center;
background:#fff;
}

.badge-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
gap:20px;
align-items:center;
margin-top:25px;
}

.badge-grid img{
max-height:80px;
margin:auto;
object-fit:contain;
}

.recruitment{
padding:60px 20px;
text-align:center;
background:#eef3fb;
}

.recruitment p{
margin:10px 0 20px;
font-size:16px;
color:#555;
}

.news-panel h2,
.events-panel h2,
.quick-services h2,
.gallery h2,
.accreditation h2,
.recruitment h2,
.welcome-text h2{
margin-bottom:20px;
color:#002b5c;
}

/* ======================================================
2. HEADER LAYER 1 : UTILITY BAR
====================================================== */

.top-utility-bar{
background:#001f40;
color:white;
font-size:13px;
border-bottom:1px solid #f39c12;
}

.utility-inner{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
padding:6px 12px;
}

.contact-item{
display:inline-flex;
align-items:center;
gap:6px;
margin-right:15px;
}

.contact-item i{
color:#f39c12;
font-size:14px;
}


/* ======================================================
SOCIAL MEDIA ICONS
====================================================== */

.utility-center{
display:flex;
align-items:center;
gap:6px;
}

.social-link{
display:flex;
align-items:center;
justify-content:center;
width:28px;
height:28px;
border-radius:4px;
background:rgba(255,255,255,0.12);
transition:all .2s ease;
}

.social-link i{
font-size:14px;
color:white;
}

.social-link.fb:hover{background:#1877F2;}
.social-link.insta:hover{background:#E4405F;}
.social-link.linkedin:hover{background:#0A66C2;}
.social-link.youtube:hover{background:#FF0000;}


/* ======================================================
UTILITY QUICK BUTTONS
====================================================== */

.utility-right{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
}

.utility-btn{
display:flex;
align-items:center;
gap:5px;
padding:4px 8px;
background:rgba(255,255,255,0.08);
border-radius:4px;
color:white;
text-decoration:none;
font-size:12px;
transition:.2s;
}

.utility-btn i{
font-size:13px;
}

.utility-btn:hover{
background:#f39c12;
color:#001f40;
}

.login-btn{
background:#f39c12;
color:#001f40;
font-weight:600;
}

.login-btn:hover{
background:#ffb84d;
}


/* ======================================================
3. HEADER LAYER 2 : BRANDING BAR
====================================================== */

.branding-bar{
background:white;
border-bottom:1px solid #eee;
padding:6px;
}

.branding-inner{
width:96%;
max-width:1600px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}

.brand-logo{
display:flex;
align-items:center;
}

.brand-logo img{
max-height:90px;
}

.brand-badges{
display:flex;
align-items:center;
gap:20px;
}

.brand-badges img{
height:70px;
transition:transform .2s ease;
}

.brand-badges img:hover{
transform:scale(1.05);
}






/* NAVIGATION */

.main-nav{
display:flex;
align-items:center;
flex:1;
justify-content:center;
}

.main-nav ul{
list-style:none;
margin:0;
padding:0;
display:flex;
align-items:center;
}


.main-nav li{
position:relative;
}

.main-nav li a{
display:block;
padding:14px 18px;
color:white;
text-decoration:none;
font-weight:500;
}

.main-nav li a:hover{
color:#f39c12;
}

/* SUBMENU */

.submenu{
position:absolute;
top:100%;
left:0;
background:white;
min-width:220px;
box-shadow:0 6px 18px rgba(0,0,0,0.15);
display:none;
flex-direction:column;
z-index:999;
}

.submenu li{
width:100%;
}

.submenu a{
display:block;
padding:10px 14px;
color:#333;
font-size:14px;
}

.submenu a:hover{
background:#f5f7fa;
color:#002b5c;
}

/* CLICK DROPDOWN */

.has-submenu.open > .submenu{
display:flex;
}

/* FOOTER */
.site-footer{
background:#001f40;
color:#fff;
padding:24px 0;
margin-top:40px;
text-align:center;
}

.site-footer p{
margin:6px 0;
font-size:14px;
color:rgba(255,255,255,0.85);
}

/* ===============================
   PORTAL FOOTER - MODERN COMPACT
=============================== */

.portal-footer {
    position: relative;
    margin-top: 1rem;
    background:
        linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #cbd5e1;
    overflow: hidden;
}

.portal-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.14), transparent 24%),
        radial-gradient(circle at 88% 80%, rgba(6, 182, 212, 0.10), transparent 22%);
    pointer-events: none;
}

.portal-footer-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 2rem 0 0.8rem;
}

.portal-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
    gap: 1.3rem;
    padding-bottom: 1.2rem;
}

.portal-footer-col h4 {
    margin: 0 0 0.8rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.portal-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    margin-bottom: 0.8rem;
}

.portal-footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.28rem;
    box-shadow:
        0 10px 20px rgba(2, 6, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.portal-footer-brand-text h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 800;
}

.portal-footer-description {
    margin: 0 0 0.75rem;
    color: #c7d2e1;
    font-size: 0.88rem;
    line-height: 1.6;
}

.portal-footer-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.34rem 0.66rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #dbeafe;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.portal-footer-links,
.portal-footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-footer-links li + li,
.portal-footer-contact-list li + li {
    margin-top: 0.52rem;
}

.portal-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.portal-footer-links a:hover {
    color: #ffffff;
}

.portal-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.55;
}

.portal-footer-contact-list i {
    color: #60a5fa;
    font-size: 0.9rem;
    margin-top: 0.12rem;
    flex-shrink: 0;
}

.portal-footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
}

.portal-footer-contact-list a:hover {
    color: #ffffff;
}

.portal-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.portal-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    text-decoration: none;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.portal-footer-socials a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
    transform: translateY(-2px);
}

.portal-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 0 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.portal-footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.5;
}

.portal-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.portal-footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.portal-footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 1100px) {
    .portal-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .portal-footer-container {
        padding: 1.7rem 0 0.75rem;
    }

    .portal-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding-bottom: 1rem;
    }

    .portal-footer-brand {
        gap: 0.7rem;
    }

    .portal-footer-logo {
        width: 52px;
        height: 52px;
    }

    .portal-footer-brand-text h3 {
        font-size: 0.96rem;
    }

    .portal-footer-description,
    .portal-footer-links a,
    .portal-footer-contact-list li {
        font-size: 0.84rem;
    }

    .portal-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .portal-footer-bottom p,
    .portal-footer-bottom-links a {
        font-size: 0.77rem;
    }
}

/* ======================================================
NEW PORTAL NAVBAR
====================================================== */

.portal-nav-wrap{
background:#002b5c;
color:#fff;
position:sticky;
top:0;
z-index:1100;
box-shadow:0 2px 8px rgba(0,0,0,0.12);
}

.portal-nav-wrap.is-sticky{
box-shadow:0 6px 18px rgba(0,0,0,0.18);
}


.portal-nav-bar{
display:grid;
grid-template-columns:auto 1fr auto;
align-items:center;
gap:10px;
min-height:58px;
}

.portal-nav-wrap.is-sticky .portal-nav-bar{
grid-template-columns:auto auto 1fr auto;
}

.portal-brand-mini{
display:none;
align-items:center;
justify-content:center;
text-decoration:none;
color:#fff;
flex-shrink:0;
}

.portal-brand-mini img{
width:34px;
height:34px;
object-fit:contain;
display:block;
}

.portal-home-link{
display:none;
align-items:center;
justify-content:center;
width:40px;
height:40px;
border-radius:6px;
text-decoration:none;
color:#fff;
background:rgba(255,255,255,0.08);
flex-shrink:0;
}

.portal-home-link:hover{
background:rgba(255,255,255,0.16);
}

.portal-nav-wrap.is-sticky .portal-brand-mini{
display:inline-flex;
}

.portal-nav{
flex:1;
display:flex;
justify-content:center;
min-width:0;
}

.portal-menu{
display:flex;
align-items:center;
list-style:none;
margin:0;
padding:0;
}

.portal-menu > li{
position:relative;
}

.portal-menu > li > a,
.submenu-toggle{
display:flex;
align-items:center;
gap:8px;
padding:18px 16px;
background:none;
border:none;
color:#fff;
font:inherit;
font-weight:600;
cursor:pointer;
text-decoration:none;
}

.portal-menu > li > a:hover,
.submenu-toggle:hover{
color:#f39c12;
}

.portal-submenu{
position:absolute;
top:100%;
left:0;
min-width:240px;
background:#fff;
display:none;
flex-direction:column;
padding:8px 0;
border-radius:0 0 8px 8px;
box-shadow:0 10px 24px rgba(0,0,0,0.16);
z-index:1002;
}

.portal-submenu li{
list-style:none;
}

.portal-submenu a{
display:block;
padding:11px 16px;
color:#243142;
text-decoration:none;
font-size:14px;
}

.portal-submenu a:hover{
background:#f5f7fa;
color:#002b5c;
}

.menu-item-has-children.open > .portal-submenu{
display:flex;
}

.portal-nav-search{
flex-shrink:0;
}

.portal-nav-search form{
display:flex;
align-items:center;
gap:8px;
}

.portal-nav-search input{
width:190px;
padding:8px 10px;
border:none;
border-radius:4px;
outline:none;
}

.portal-nav-search button{
background:none;
border:none;
color:#fff;
font-size:16px;
cursor:pointer;
}

.desktop-search{
display:block;
}

.mobile-search{
display:none;
}

.portal-nav-toggle{
display:none;
width:44px;
height:44px;
border:none;
background:none;
padding:0;
cursor:pointer;
flex-direction:column;
justify-content:center;
gap:5px;
margin-left:auto;
flex-shrink:0;
}

.portal-nav-toggle span{
display:block;
width:24px;
height:2px;
background:#fff;
margin:0 auto;
transition:.25s ease;
}

@media (max-width: 992px){

.portal-nav-search input{
width:150px;
}

.portal-menu > li > a,
.submenu-toggle{
padding:18px 12px;
font-size:14px;
}

}

@media (max-width: 768px){

.portal-nav-wrap{
position:sticky;
top:0;
z-index:1100;
}

.portal-nav-bar{
display:grid;
grid-template-columns:auto 1fr auto;
align-items:center;
gap:10px;
min-height:58px;
}

.portal-nav-wrap.is-sticky .portal-nav-bar{
grid-template-columns:auto auto 1fr auto;
}

.portal-brand-mini{
display:none;
}

.portal-home-link{
display:inline-flex;
}

.portal-nav-wrap.is-sticky .portal-brand-mini{
display:inline-flex;
}

.portal-nav-wrap.is-sticky .portal-home-link{
display:inline-flex;
}

.desktop-search{
display:none;
}

.mobile-search{
display:block;
min-width:0;
width:100%;
}

.mobile-search form{
display:flex;
align-items:center;
gap:6px;
width:100%;
}

.mobile-search input{
flex:1;
width:100%;
min-width:0;
padding:9px 10px;
border:none;
border-radius:4px;
outline:none;
font-size:14px;
}

.mobile-search button{
background:#f39c12;
color:#fff;
border:none;
border-radius:4px;
padding:9px 11px;
cursor:pointer;
flex-shrink:0;
}

.portal-nav-toggle{
display:flex;
margin-left:0;
}

.portal-nav{
position:absolute;
top:100%;
left:0;
right:0;
background:#002b5c;
display:none;
flex-direction:column;
border-top:1px solid rgba(255,255,255,0.08);
box-shadow:0 10px 24px rgba(0,0,0,0.18);
}

.portal-nav.active{
display:flex;
}

.portal-menu{
flex-direction:column;
align-items:stretch;
width:100%;
}

.portal-menu > li{
width:100%;
}

.portal-menu > li > a,
.submenu-toggle{
width:100%;
justify-content:space-between;
padding:14px 16px;
border-bottom:1px solid rgba(255,255,255,0.08);
}

.portal-submenu{
position:relative;
top:auto;
left:auto;
min-width:100%;
border-radius:0;
box-shadow:none;
padding:0;
background:#003d80;
}

.portal-submenu a{
color:#fff;
padding:12px 28px;
border-bottom:1px solid rgba(255,255,255,0.08);
}

.portal-submenu a:hover{
background:#0b4b8d;
color:#fff;
}

.menu-item-has-children.open > .portal-submenu{
display:flex;
}

}
/* ======================================================
MENU TOGGLE BUTTON
====================================================== */

.menu-toggle{
display:none;
background:none;
border:none;
font-size:26px;
color:white;
cursor:pointer;
transition:.2s;
}

.menu-toggle.active{
transform:rotate(90deg);
}

/* ======================================================
5. HERO SLIDER
====================================================== */

.hero-slider{
position:relative;
width:100%;
min-height:520px;
overflow:hidden;
background:#0f2740;
}

.hero-slide{
position:absolute;
inset:0;
opacity:0;
visibility:hidden;
transition:opacity .6s ease, visibility .6s ease;
}

.hero-slide.active{
opacity:1;
visibility:visible;
z-index:1;
}

.hero-slide img{
width:100%;
height:520px;
object-fit:cover;
display:block;
}

.hero-overlay{
position:absolute;
inset:0;
background:linear-gradient(90deg, rgba(0,25,50,0.72) 0%, rgba(0,25,50,0.45) 45%, rgba(0,25,50,0.18) 100%);
z-index:1;
}

.hero-content{
position:absolute;
top:50%;
left:8%;
transform:translateY(-50%);
max-width:650px;
color:#fff;
z-index:2;
}

.hero-tag{
display:inline-block;
margin-bottom:14px;
padding:6px 12px;
background:rgba(243,156,18,0.92);
border-radius:30px;
font-size:13px;
font-weight:700;
letter-spacing:.4px;
text-transform:uppercase;
}

.hero-content h1,
.hero-content h2{
margin:0 0 16px;
font-size:48px;
line-height:1.15;
font-weight:700;
color:#fff;
}

.hero-content p{
margin:0 0 24px;
font-size:18px;
line-height:1.7;
color:rgba(255,255,255,0.92);
}

.hero-actions{
display:flex;
flex-wrap:wrap;
gap:12px;
}

.hero-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 22px;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:all .25s ease;
}

.hero-btn.primary{
background:#f39c12;
color:#fff;
}

.hero-btn.primary:hover{
background:#d98200;
}

.hero-btn.secondary{
background:rgba(255,255,255,0.14);
color:#fff;
border:1px solid rgba(255,255,255,0.28);
}

.hero-btn.secondary:hover{
background:rgba(255,255,255,0.22);
}

.hero-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
width:46px;
height:46px;
border:none;
border-radius:50%;
background:rgba(255,255,255,0.18);
color:#fff;
font-size:22px;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
z-index:3;
backdrop-filter:blur(4px);
}

.hero-arrow:hover{
background:rgba(255,255,255,0.28);
}

.hero-prev{
left:20px;
}

.hero-next{
right:20px;
}

.hero-dots{
position:absolute;
left:50%;
bottom:22px;
transform:translateX(-50%);
display:flex;
gap:10px;
z-index:3;
}

.hero-dot{
width:12px;
height:12px;
border:none;
border-radius:50%;
background:rgba(255,255,255,0.45);
cursor:pointer;
padding:0;
}

.hero-dot.active{
background:#f39c12;
}

@media (max-width: 992px){
.hero-slider,
.hero-slide img{
height:460px;
min-height:460px;
}

.hero-content{
left:6%;
right:6%;
max-width:560px;
}

.hero-content h1,
.hero-content h2{
font-size:38px;
}

.hero-content p{
font-size:16px;
}
}

@media (max-width: 768px){
.hero-slider,
.hero-slide img{
height:400px;
min-height:400px;
}

.hero-content{
left:20px;
right:20px;
max-width:none;
}

.hero-content h1,
.hero-content h2{
font-size:28px;
margin-bottom:12px;
}

.hero-content p{
font-size:15px;
line-height:1.6;
margin-bottom:18px;
}

.hero-btn{
padding:10px 16px;
font-size:14px;
}

.hero-arrow{
width:40px;
height:40px;
font-size:18px;
}

.hero-prev{
left:10px;
}

.hero-next{
right:10px;
}
}

/* ======================================================
BUTTONS
====================================================== */

.btn-primary{
background:#0f4c81;
color:white;
padding:10px 18px;
text-decoration:none;
border-radius:4px;
display:inline-block;
margin-top:10px;
}


/* ======================================================
NEWS TICKER
====================================================== */

.news-ticker{
background:#002b5c;
color:white;
padding:10px;
overflow:hidden;
}

.ticker{
display:flex;
gap:40px;
white-space:nowrap;
animation:ticker 25s linear infinite;
}

@keyframes ticker{
0%{transform:translateX(100%)}
100%{transform:translateX(-100%)}
}


/* ======================================================
QUICK SERVICES
====================================================== */

.quick-services{
padding:60px 20px;
text-align:center;
}

.service-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
gap:20px;
margin-top:30px;
}

.service-card{
background:white;
padding:25px;
border-radius:8px;
text-decoration:none;
font-size:18px;
color:#333;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
transition:.3s;
text-align:center;
}

.service-card:hover{
background:#eef3fb;
transform:translateY(-4px);
box-shadow:0 6px 16px rgba(0,0,0,0.12);
}


/* ======================================================
WELCOME SECTION
====================================================== */

.welcome-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
align-items:center;
padding:40px 20px;
}

.welcome-image img{
border-radius:6px;
}


/* ======================================================
UNIVERSITY STATS
====================================================== */

.stats{
background:#0f4c81;
color:white;
padding:60px 20px;
text-align:center;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
gap:20px;
}

.stat h3{
font-size:36px;
margin-bottom:5px;
}


/* ======================================================
NEWS + EVENTS
====================================================== */

.news-events-grid{
display:grid;
grid-template-columns:1fr 2fr;
gap:40px;
padding:40px 20px;
}

.vertical-news{
max-height:220px;
overflow:auto;
padding-left:20px;
}

.vertical-news li{
padding:8px 0;
border-bottom:1px solid #eee;
}

.event-cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.event-card{
background:white;
padding:20px;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}


/* ======================================================
GALLERY
====================================================== */

.gallery{
padding:40px 20px;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.gallery-grid img{
border-radius:6px;
cursor:pointer;
transition:.3s;
}

.gallery-grid img:hover{
transform:scale(1.05);
}


/* ======================================================
LIGHTBOX
====================================================== */

.lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:9999;
}

.lightbox img{
max-width:90%;
max-height:90%;
}


/* ======================================================
MOBILE RESPONSIVE
====================================================== */

@media (max-width:768px){

.utility-inner{
flex-direction:column;
gap:6px;
text-align:center;
}

.branding-inner{
flex-direction:column;
gap:6px;
}

.brand-logo img{
max-width:100%;
height:auto;
max-height:75px;
margin:auto;
}

.brand-badges{
justify-content:space-between;
}

.brand-badges img{
flex:1;
max-height:50px;
}

.menu-toggle{
display:block;
}

.main-nav{
position:absolute;
top:100%;
left:0;
right:0;
width:100%;
background:#002b5c;
flex-direction:column;
display:none;
z-index:1001;
box-shadow:0 8px 20px rgba(0,0,0,0.18);
}

.main-nav.active{
display:flex;
}

.main-nav ul{
flex-direction:column;
width:100%;
}

.main-nav li{
width:100%;
}

.main-nav li a{
padding:14px 18px;
border-bottom:1px solid rgba(255,255,255,0.12);
}

/* mobile submenu */

.submenu{
position:relative;
display:none;
background:#003d80;
box-shadow:none;
}

.submenu a{
color:white;
border-bottom:1px solid rgba(255,255,255,0.1);
padding-left:30px;
}

.has-submenu.active > .submenu{
display:block;
}

.welcome-grid{
grid-template-columns:1fr;
}

.news-events-grid{
grid-template-columns:1fr;
}


}

/* ===============================
   NEWS TICKER
=============================== */

.news-ticker-section {
    margin: 1rem 0 1.5rem;
}

.news-ticker {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.news-ticker-badge {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    padding: 0.95rem 1.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    white-space: nowrap;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.18);
    animation: tickerPulse 1.6s infinite;
}

@keyframes tickerPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.35);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 77, 79, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
    }
}

.news-ticker-track-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
    min-width: 0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.news-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    min-width: max-content;
    padding: 0.95rem 1.25rem;
    animation: tickerScroll 30s linear infinite;
}

.news-ticker:hover .news-ticker-track {
    animation-play-state: paused;
}

.news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #0f172a;
    white-space: nowrap;
    transition: transform 0.2s ease, color 0.2s ease;
}

.news-ticker-item:hover {
    color: #1d4ed8;
    transform: translateY(-1px);
}

.news-ticker-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.news-ticker-text {
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.2;
}

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

@media (max-width: 768px) {
    .news-ticker {
        flex-direction: column;
        align-items: stretch;
    }

    .news-ticker-badge {
        justify-content: center;
        border-radius: 0;
        padding: 0.85rem 1rem;
    }

    .news-ticker-track {
        gap: 1.5rem;
        padding: 0.85rem 1rem;
        animation-duration: 24s;
    }

    .news-ticker-text {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-ticker-track {
        animation: none;
    }

    .live-dot {
        animation: none;
    }
}

/* ===============================
   PORTAL HIGHLIGHTS - FINAL
=============================== */

.portal-highlights-section {
    position: relative;
    padding: 2rem 0 1.4rem;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 58%, #f8fbff 100%);
    overflow: hidden;
}

.portal-highlights-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 18%, rgba(37, 99, 235, 0.05), transparent 22%),
        radial-gradient(circle at 90% 82%, rgba(6, 182, 212, 0.06), transparent 20%);
    pointer-events: none;
}

.portal-highlights-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.portal-section-heading {
    max-width: 760px;
    margin: 0 auto 1.15rem;
    text-align: center;
}

.portal-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.10);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.04);
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.portal-section-kicker i {
    font-size: 0.8rem;
}

.portal-section-heading h2 {
    margin: 0.68rem 0 0.38rem;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.portal-section-heading p {
    margin: 0 auto;
    max-width: 640px;
    color: #5b677a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.portal-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.portal-highlight-card {
    position: relative;
    min-height: 100%;
    padding: 0.95rem 0.9rem 1.15rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.97));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.portal-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    pointer-events: none;
}

.portal-highlight-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0.9rem;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    pointer-events: none;
}

.portal-highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.24);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,255,0.99));
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.09),
        0 6px 16px rgba(37, 99, 235, 0.10),
        0 0 0 1px rgba(37, 99, 235, 0.05);
}

.portal-highlight-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.68rem;
}

.portal-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow:
        0 10px 20px rgba(29, 78, 216, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portal-highlight-card:hover .portal-highlight-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        0 12px 24px rgba(29, 78, 216, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.portal-highlight-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0.26rem 0.54rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    border: 1px solid rgba(37, 99, 235, 0.10);
    line-height: 1.1;
}

.portal-highlight-content {
    position: relative;
    z-index: 1;
    padding-right: 2.7rem;
}

.portal-highlight-content h3 {
    margin: 0 0 0.34rem;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.26;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.portal-highlight-content p {
    margin: 0;
    color: #5b677a;
    font-size: 0.85rem;
    line-height: 1.46;
}

.portal-highlight-arrow {
    position: absolute;
    right: 0.78rem;
    bottom: 0.72rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    text-decoration: none;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.portal-highlight-arrow i {
    font-size: 0.86rem;
    line-height: 1;
}

.portal-highlight-card:hover .portal-highlight-arrow,
.portal-highlight-arrow:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.20);
    transform: translateY(-2px);
}

/* Decorative tints for all 6 cards */
.portal-highlight-card:nth-child(1)::before {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 30%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.025), rgba(37, 99, 235, 0.015));
}

.portal-highlight-card:nth-child(2)::before {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.09), transparent 30%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.022), rgba(6, 182, 212, 0.015));
}

.portal-highlight-card:nth-child(3)::before {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 30%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.025), rgba(6, 182, 212, 0.015));
}

.portal-highlight-card:nth-child(4)::before {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.09), transparent 30%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.025), rgba(6, 182, 212, 0.015));
}

.portal-highlight-card:nth-child(5)::before {
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.10), transparent 30%),
        linear-gradient(135deg, rgba(6, 182, 212, 0.025), rgba(37, 99, 235, 0.015));
}

.portal-highlight-card:nth-child(6)::before {
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.02), rgba(245, 158, 11, 0.015));
}

@media (max-width: 1100px) {
    .portal-highlights-section {
        padding: 1.9rem 0 1.3rem;
    }

    .portal-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .portal-highlights-section {
        padding: 1.7rem 0 1.1rem;
    }

    .portal-section-heading {
        margin-bottom: 0.95rem;
    }

    .portal-section-heading h2 {
        font-size: 1.35rem;
    }

    .portal-section-heading p {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .portal-highlights-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .portal-highlight-card {
        padding: 0.88rem 0.82rem 1rem;
        border-radius: 16px;
    }

    .portal-highlight-top {
        margin-bottom: 0.56rem;
    }

    .portal-highlight-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .portal-highlight-mini {
        font-size: 0.58rem;
        padding: 0.22rem 0.48rem;
    }

    .portal-highlight-content {
        padding-right: 2.45rem;
    }

    .portal-highlight-content h3 {
        font-size: 0.93rem;
    }

    .portal-highlight-content p {
        font-size: 0.82rem;
    }

    .portal-highlight-arrow {
        right: 0.7rem;
        bottom: 0.68rem;
        width: 28px;
        height: 28px;
    }

    .portal-highlight-arrow i {
        font-size: 0.8rem;
    }
}

/* ===============================
   PORTAL QUICK LINKS - COMPACT MODERN
=============================== */

.portal-quick-links-section {
    position: relative;
    padding: 1.8rem 0 1.25rem;
    background: linear-gradient(180deg, #f7f8fbab 0%, #12629ce0 100%);
    overflow: hidden;
}

.portal-quick-links-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.04), transparent 22%),
        radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.05), transparent 20%);
    pointer-events: none;
}

.portal-quick-links-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.quick-links-heading {
    margin-bottom: 1rem;
}

.portal-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.portal-quick-link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 76px;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.portal-quick-link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(6, 182, 212, 0.015));
    opacity: 1;
    pointer-events: none;
}

.portal-quick-link-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0.9rem;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    pointer-events: none;
}

.portal-quick-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,255,0.99));
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.07),
        0 4px 12px rgba(37, 99, 235, 0.08),
        0 0 0 1px rgba(37, 99, 235, 0.04);
}

.portal-quick-link-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    font-size: 1.05rem;
    box-shadow:
        0 10px 20px rgba(29, 78, 216, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portal-quick-link-card:hover .portal-quick-link-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        0 12px 24px rgba(29, 78, 216, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.portal-quick-link-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    padding-right: 1.9rem;
}

.portal-quick-link-content h3 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.portal-quick-link-arrow {
    position: absolute;
    right: 0.72rem;
    bottom: 0.72rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.portal-quick-link-arrow i {
    font-size: 0.78rem;
    line-height: 1;
}

.portal-quick-link-card:hover .portal-quick-link-arrow {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-color: transparent;
    box-shadow: 0 9px 16px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

/* subtle tint variation */
.portal-quick-link-card:nth-child(2)::before {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(6, 182, 212, 0.015));
}

.portal-quick-link-card:nth-child(3)::before {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.02), rgba(37, 99, 235, 0.015));
}

.portal-quick-link-card:nth-child(4)::before {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.02), rgba(6, 182, 212, 0.015));
}

.portal-quick-link-card:nth-child(5)::before {
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(6, 182, 212, 0.02), rgba(37, 99, 235, 0.015));
}

.portal-quick-link-card:nth-child(6)::before {
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.018), rgba(245, 158, 11, 0.015));
}

.portal-quick-link-card:nth-child(7)::before {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.02), rgba(6, 182, 212, 0.015));
}

.portal-quick-link-card:nth-child(8)::before {
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(34, 197, 94, 0.018), rgba(37, 99, 235, 0.015));
}

@media (max-width: 1100px) {
    .portal-quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .portal-quick-links-section {
        padding: 1.5rem 0 1rem;
    }

    .quick-links-heading {
        margin-bottom: 0.9rem;
    }

    .portal-quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .portal-quick-link-card {
        min-height: 68px;
        padding: 0.72rem 0.8rem;
        border-radius: 14px;
        gap: 0.6rem;
    }

    .portal-quick-link-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .portal-quick-link-content {
        padding-right: 1.7rem;
    }

    .portal-quick-link-content h3 {
        font-size: 0.88rem;
    }

    .portal-quick-link-arrow {
        width: 26px;
        height: 26px;
        right: 0.62rem;
        bottom: 0.62rem;
    }

    .portal-quick-link-arrow i {
        font-size: 0.74rem;
    }
}

/* ===============================
   PORTAL NOTICES - COMPACT CARD LIST
=============================== */

.portal-notices-section {
    position: relative;
    padding: 1.9rem 0 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

.portal-notices-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.04), transparent 22%),
        radial-gradient(circle at 88% 80%, rgba(6, 182, 212, 0.05), transparent 20%);
    pointer-events: none;
}

.portal-notices-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.portal-notices-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.notices-heading {
    margin: 0;
    max-width: 720px;
    text-align: left;
}

.portal-notices-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.10);
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portal-notices-view-all:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16);
    transform: translateY(-2px);
}

.portal-notices-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.portal-notice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    min-height: 100%;
    padding: 0.9rem 0.95rem 0.88rem;
    border-radius: 16px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 7px 18px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.portal-notice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(6, 182, 212, 0.015));
    pointer-events: none;
}

.portal-notice-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0.95rem;
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    pointer-events: none;
}

.portal-notice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.20);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,255,0.99));
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.07),
        0 4px 12px rgba(37, 99, 235, 0.08);
}

.portal-notice-meta,
.portal-notice-body,
.portal-notice-footer {
    position: relative;
    z-index: 1;
}

.portal-notice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.portal-notice-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.26rem 0.58rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: 1px solid rgba(37, 99, 235, 0.10);
    line-height: 1.1;
}

.portal-notice-date {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.portal-notice-date i {
    font-size: 0.8rem;
}

.portal-notice-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.portal-notice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.portal-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
}

.portal-notice-link i {
    font-size: 0.86rem;
}

.portal-notice-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.24rem 0.5rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.10);
    color: #dc2626;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(239, 68, 68, 0.12);
    line-height: 1.1;
}

.portal-notice-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.portal-notice-arrow i {
    font-size: 0.78rem;
    line-height: 1;
}

.portal-notice-card:hover .portal-notice-arrow {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-color: transparent;
    box-shadow: 0 9px 16px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

/* small visual variation */
.portal-notice-card:nth-child(2)::before {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.018), rgba(6, 182, 212, 0.015));
}

.portal-notice-card:nth-child(3)::before {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.018), rgba(37, 99, 235, 0.015));
}

.portal-notice-card:nth-child(4)::before {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.018), rgba(6, 182, 212, 0.015));
}

.portal-notice-card:nth-child(5)::before {
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(6, 182, 212, 0.018), rgba(37, 99, 235, 0.015));
}

.portal-notice-card:nth-child(6)::before {
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.06), transparent 34%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.015), rgba(245, 158, 11, 0.012));
}

@media (max-width: 900px) {
    .portal-notices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .portal-notices-section {
        padding: 1.6rem 0 1.05rem;
    }

    .portal-notices-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 0.9rem;
    }

    .notices-heading {
        text-align: left;
    }

    .portal-notices-view-all {
        align-self: flex-start;
        padding: 0.56rem 0.88rem;
        font-size: 0.82rem;
    }

    .portal-notices-grid {
        gap: 0.72rem;
    }

    .portal-notice-card {
        padding: 0.82rem 0.85rem;
        border-radius: 14px;
        gap: 0.62rem;
    }

    .portal-notice-body h3 {
        font-size: 0.9rem;
    }

    .portal-notice-date {
        font-size: 0.74rem;
    }

    .portal-notice-link {
        font-size: 0.78rem;
    }

    .portal-notice-arrow {
        width: 26px;
        height: 26px;
    }

    .portal-notice-arrow i {
        font-size: 0.74rem;
    }
}

/* ===============================
   PORTAL DEPARTMENTS PREVIEW
=============================== */

.portal-departments-section {
    position: relative;
    padding: 1.95rem 0 1.4rem;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    overflow: hidden;
}

.portal-departments-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.04), transparent 22%),
        radial-gradient(circle at 86% 82%, rgba(6, 182, 212, 0.05), transparent 20%);
    pointer-events: none;
}

.portal-departments-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.portal-departments-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.departments-heading {
    margin: 0;
    max-width: 760px;
    text-align: left;
}

.portal-departments-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.10);
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portal-departments-view-all:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16);
    transform: translateY(-2px);
}

.portal-departments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.portal-department-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0.95rem 0.95rem 1.1rem;
    border-radius: 18px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.portal-department-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(6, 182, 212, 0.015));
    pointer-events: none;
}

.portal-department-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0.95rem;
    width: 40px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    pointer-events: none;
}

.portal-department-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,255,0.99));
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.08),
        0 6px 16px rgba(37, 99, 235, 0.09),
        0 0 0 1px rgba(37, 99, 235, 0.04);
}

.portal-department-top,
.portal-department-content {
    position: relative;
    z-index: 1;
}

.portal-department-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.78rem;
}

.portal-department-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    font-size: 1.18rem;
    box-shadow:
        0 10px 22px rgba(29, 78, 216, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portal-department-card:hover .portal-department-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        0 14px 26px rgba(29, 78, 216, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.portal-department-program-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(37, 99, 235, 0.10);
    line-height: 1.15;
    white-space: nowrap;
}

.portal-department-content {
    padding-right: 2.6rem;
}

.portal-department-content h3 {
    margin: 0 0 0.42rem;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.portal-department-content p {
    margin: 0;
    color: #5b677a;
    font-size: 0.85rem;
    line-height: 1.5;
}

.portal-department-arrow {
    position: absolute;
    right: 0.78rem;
    bottom: 0.72rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.portal-department-arrow i {
    font-size: 0.82rem;
    line-height: 1;
}

.portal-department-card:hover .portal-department-arrow {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.20);
    transform: translateY(-2px);
}

/* subtle variations */
.portal-department-card:nth-child(2)::before {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.018), rgba(6, 182, 212, 0.015));
}

.portal-department-card:nth-child(3)::before {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.018), rgba(37, 99, 235, 0.015));
}

.portal-department-card:nth-child(4)::before {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.018), rgba(6, 182, 212, 0.015));
}

.portal-department-card:nth-child(5)::before {
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(6, 182, 212, 0.018), rgba(37, 99, 235, 0.015));
}

.portal-department-card:nth-child(6)::before {
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.06), transparent 34%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.015), rgba(245, 158, 11, 0.012));
}

@media (max-width: 1100px) {
    .portal-departments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .portal-departments-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 0.9rem;
    }

    .departments-heading {
        text-align: left;
    }

    .portal-departments-view-all {
        align-self: flex-start;
    }

    .portal-departments-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .portal-department-card {
        padding: 0.88rem 0.85rem 1rem;
        border-radius: 16px;
    }

    .portal-department-icon {
        width: 46px;
        height: 46px;
        font-size: 1.02rem;
        border-radius: 13px;
    }

    .portal-department-program-badge {
        font-size: 0.58rem;
        padding: 0.24rem 0.48rem;
    }

    .portal-department-content {
        padding-right: 2.4rem;
    }

    .portal-department-content h3 {
        font-size: 0.94rem;
    }

    .portal-department-content p {
        font-size: 0.82rem;
    }

    .portal-department-arrow {
        right: 0.7rem;
        bottom: 0.68rem;
        width: 28px;
        height: 28px;
    }

    .portal-department-arrow i {
        font-size: 0.78rem;
    }
}

/* ===============================
   PORTAL EVENTS & ANNOUNCEMENTS
=============================== */

.portal-events-section {
    position: relative;
    padding: 2rem 0 1.45rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

.portal-events-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.04), transparent 22%),
        radial-gradient(circle at 86% 82%, rgba(6, 182, 212, 0.05), transparent 20%);
    pointer-events: none;
}

.portal-events-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.portal-events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.events-heading {
    margin: 0;
    max-width: 760px;
    text-align: left;
}

.portal-events-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.10);
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portal-events-view-all:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16);
    transform: translateY(-2px);
}

.portal-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.portal-event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,251,255,0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease;
}

.portal-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.08),
        0 6px 16px rgba(37, 99, 235, 0.09),
        0 0 0 1px rgba(37, 99, 235, 0.04);
}

.portal-event-image-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #e2e8f0;
    line-height: 12;
}

.portal-event-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.06) 45%, rgba(15, 23, 42, 0.02));
    pointer-events: none;
}

.portal-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    transition: transform 0.35s ease;
}

.portal-event-card:hover .portal-event-image {
    transform: scale(1.05);
}

.portal-event-date-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.75);
    line-height: 1;
}

.portal-event-date-badge strong {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.portal-event-date-badge small {
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portal-event-category {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.6);
    line-height: 1.1;
}

.portal-event-content {
    position: relative;
    padding: 0.9rem 0.95rem 1.1rem;
}

.portal-event-date-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.portal-event-date-line i {
    font-size: 0.8rem;
}

.portal-event-content h3 {
    margin: 0 0 0.42rem;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.01em;
    padding-right: 2.4rem;
}

.portal-event-content p {
    margin: 0;
    color: #5b677a;
    font-size: 0.85rem;
    line-height: 1.5;
    padding-right: 2.4rem;
}

.portal-event-arrow {
    position: absolute;
    right: 0.78rem;
    bottom: 0.78rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.portal-event-arrow i {
    font-size: 0.82rem;
    line-height: 1;
}

.portal-event-card:hover .portal-event-arrow {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.20);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .portal-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .portal-events-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 0.9rem;
    }

    .events-heading {
        text-align: left;
    }

    .portal-events-view-all {
        align-self: flex-start;
    }

    .portal-events-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .portal-event-card {
        border-radius: 16px;
    }

    .portal-event-image-wrap {
        height: 180px;
    }

    .portal-event-date-badge {
        top: 0.7rem;
        left: 0.7rem;
        width: 48px;
        min-height: 52px;
        border-radius: 12px;
    }

    .portal-event-date-badge strong {
        font-size: 0.95rem;
    }

    .portal-event-date-badge small {
        font-size: 0.64rem;
    }

    .portal-event-category {
        right: 0.7rem;
        bottom: 0.7rem;
        font-size: 0.62rem;
        padding: 0.28rem 0.54rem;
    }

    .portal-event-content {
        padding: 0.82rem 0.85rem 1rem;
    }

    .portal-event-content h3 {
        font-size: 0.94rem;
        padding-right: 2.25rem;
    }

    .portal-event-content p {
        font-size: 0.82rem;
        padding-right: 2.25rem;
    }

    .portal-event-arrow {
        right: 0.7rem;
        bottom: 0.72rem;
        width: 28px;
        height: 28px;
    }

    .portal-event-arrow i {
        font-size: 0.78rem;
    }
}

/* ===============================
   PORTAL CTA STRIP
=============================== */

.portal-cta-section {
    position: relative;
    padding: 1.9rem 0 1.4rem;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    overflow: hidden;
}

.portal-cta-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.portal-cta-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.15rem 1.15rem;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(29, 78, 216, 0.96), rgba(6, 182, 212, 0.92));
    box-shadow:
        0 16px 32px rgba(29, 78, 216, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    overflow: hidden;
}

.portal-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12), transparent 22%);
    pointer-events: none;
}

.portal-cta-content,
.portal-cta-actions {
    position: relative;
    z-index: 1;
}

.portal-cta-content .portal-section-kicker {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: none;
}

.portal-cta-content h2 {
    margin: 0.7rem 0 0.35rem;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.portal-cta-content p {
    margin: 0;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    line-height: 1.55;
}

.portal-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.portal-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.portal-cta-btn i {
    font-size: 0.9rem;
    line-height: 1;
}

.portal-cta-btn.is-primary {
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
}

.portal-cta-btn.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.14);
    background: #f8fbff;
}

.portal-cta-btn.is-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(3px);
}

.portal-cta-btn.is-secondary:hover {
    transform: translateY(-2px);
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

@media (max-width: 900px) {
    .portal-cta-card {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .portal-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .portal-cta-section {
        padding: 1.6rem 0 1.1rem;
    }

    .portal-cta-card {
        padding: 1rem 0.95rem;
        border-radius: 18px;
        gap: 0.95rem;
    }

    .portal-cta-content h2 {
        font-size: 1.28rem;
    }

    .portal-cta-content p {
        font-size: 0.86rem;
        line-height: 1.48;
    }

    .portal-cta-actions {
        width: 100%;
        gap: 0.6rem;
    }

    .portal-cta-btn {
        width: 100%;
        justify-content: center;
        min-height: 42px;
        padding: 0.68rem 0.9rem;
        font-size: 0.82rem;
    }
}

/* ======================================================
CMS DYNAMIC PAGE
====================================================== */

.public-page{
    background:#f8fafc;
    min-height:60vh;
}

/* HERO */

.page-hero{
    position:relative;
    background:
        linear-gradient(135deg,
        rgba(15,23,42,.92),
        rgba(30,64,175,.88)),
        url('../images/page-banner.jpg');
    background-size:cover;
    background-position:center;
    color:#fff;
    padding:70px 0;
    overflow:hidden;
}

.page-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(255,255,255,.08),
        transparent 30%);
}

.page-hero .container{
    position:relative;
    z-index:2;
}

.page-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    font-size:14px;
    color:rgba(255,255,255,.85);
    flex-wrap:wrap;
}

.page-breadcrumb a{
    color:#fff;
    text-decoration:none;
}

.page-breadcrumb a:hover{
    color:#f39c12;
}

.page-hero h1{
    margin:0;
    font-size:48px;
    line-height:1.15;
    font-weight:800;
    letter-spacing:-.02em;
}

/* CONTENT AREA */

.page-section{
    padding:60px 0;
}

.page-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:30px;
}

.page-main{
    background:#fff;
    border-radius:22px;
    padding:45px;
    box-shadow:
        0 10px 30px rgba(15,23,42,.05),
        0 2px 8px rgba(15,23,42,.04);
    overflow:hidden;
}

/* FEATURED IMAGE */

.page-featured-image{
    margin-bottom:30px;
}

.page-featured-image img{
    width:100%;
    border-radius:18px;
    display:block;
    object-fit:cover;
}

/* CONTENT TYPOGRAPHY */

.page-content{
    color:#334155;
    font-size:17px;
    line-height:1.9;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4{
    color:#0f172a;
    margin-top:40px;
    margin-bottom:18px;
    line-height:1.3;
    font-weight:700;
}

.page-content h2{
    font-size:34px;
}

.page-content h3{
    font-size:28px;
}

.page-content p{
    margin-bottom:20px;
}

.page-content ul,
.page-content ol{
    padding-left:24px;
    margin-bottom:24px;
}

.page-content li{
    margin-bottom:10px;
}

.page-content a{
    color:#2563eb;
    text-decoration:none;
    font-weight:500;
}

.page-content a:hover{
    text-decoration:underline;
}

/* IMAGES */

.page-content img{
    max-width:100%;
    height:auto;
    border-radius:14px;
    margin:24px 0;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

/* TABLES */

.page-content table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
    overflow:hidden;
    border-radius:14px;
}

.page-content table th{
    background:#0f172a;
    color:#fff;
    padding:14px;
    text-align:left;
}

.page-content table td{
    padding:14px;
    border:1px solid #e2e8f0;
}

.page-content table tr:nth-child(even){
    background:#f8fafc;
}

/* BLOCKQUOTE */

.page-content blockquote{
    border-left:4px solid #2563eb;
    background:#eff6ff;
    padding:18px 22px;
    margin:30px 0;
    border-radius:0 12px 12px 0;
    color:#1e3a8a;
}

/* MOBILE */

@media(max-width:768px){

    .page-hero{
        padding:50px 0;
    }

    .page-hero h1{
        font-size:32px;
    }

    .page-main{
        padding:24px;
        border-radius:18px;
    }

    .page-content{
        font-size:16px;
    }

    .page-content h2{
        font-size:28px;
    }

    .page-content h3{
        font-size:24px;
    }

}

/* =====================================================
   DEPARTMENT PAGE
===================================================== */

.dept-hero{

    position:relative;

    height:clamp(260px,42vw,420px);

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

    color:#fff;

    overflow:hidden;
}

.dept-hero::before{

    content:'';

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    135deg,
    rgba(15,23,42,.75),
    rgba(15,23,42,.45)
    );
}

.dept-hero .container{

    position:relative;

    z-index:2;
}

.dept-hero-content{

    max-width:820px;
}

.dept-short-name{

    display:inline-flex;

    align-items:center;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    margin-bottom:24px;

    font-size:14px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;
}

.dept-hero h1{

    font-size:clamp(34px,5vw,64px);

    line-height:1.05;

    margin-bottom:18px;

    font-weight:800;
}

.dept-hero p{

    font-size:18px;

    line-height:1.8;

    max-width:720px;

    opacity:.95;
}

.dept-main{

    padding:70px 0;
}

.dept-layout{

    display:grid;
    grid-template-columns:minmax(0,1fr)320px;
    gap:50px;
    align-items:start;
}

.dept-content{

    min-width:0;
}

.dept-overview{

    font-size:17px;

    line-height:1.9;

    color:#334155;
}

.dept-section-header{

    margin-bottom:30px;
}

.dept-section-header h2{

    font-size:38px;

    font-weight:700;

    color:#0f172a;
}

.dept-section-content{

    line-height:1.9;

    color:#334155;
}

.dept-sidebar-inner{

    position:sticky;

    top:110px;

    display:flex;

    flex-direction:column;

    gap:12px;
}

.dept-nav-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 18px;

    border-radius:16px;

    text-decoration:none;

    background:#f8fafc;

    color:#0f172a;

    transition:all .2s ease;
}

.dept-nav-item:hover{

    background:#e2e8f0;

    transform:translateY(-1px);
}

.dept-nav-item.active{

    background:#0f172a;

    color:#fff;
}

.dept-vm-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:28px;

    margin-top:60px;
}

.vm-card{

    background:#fff;

    border-radius:24px;

    padding:36px;

    box-shadow:
    0 10px 30px rgba(15,23,42,.06);
}

.vm-card h3{

    font-size:28px;

    margin-bottom:24px;

    color:#0f172a;
}

.vm-content{

    line-height:1.9;

    color:#334155;
}

@media(max-width:991px){

    .dept-layout{

        grid-template-columns:1fr;
    }

    .dept-sidebar{

        order:-1;
    }

    .dept-sidebar-inner{

        position:relative;

        top:auto;

        flex-direction:row;

        overflow-x:auto;

        white-space:nowrap;

        padding-bottom:10px;
    }

    .dept-nav-item{

        white-space:nowrap;
    }

    .dept-vm-grid{

        grid-template-columns:1fr;
    }

    .dept-hero{

        min-height:320px;
    }

    .dept-hero h1{

        font-size:40px;
    }
}