/* University of El Fasher — Public Website */

.uof-navbar {
    background: linear-gradient(135deg, var(--uof-green-dark, #084D2A), var(--uof-primary, #1a7a6d));
    padding: .65rem 0;
    z-index: 1040;
}
.uof-navbar .dropdown-menu {
    z-index: 1050;
}

.uof-navbar .navbar-toggler-icon { filter: invert(1); }
.brand-logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; }
.brand-text { color: #fff; font-weight: 700; font-size: 1rem; }
.uof-navbar .nav-link { color: rgba(255,255,255,.9) !important; font-weight: 500; border-radius: 8px; padding: .45rem .85rem !important; transition: .25s; }
.uof-navbar .nav-link:hover { background: rgba(255,255,255,.12); color: #fff !important; }

.text-uof-primary { color: var(--uof-primary) !important; }
.text-gold, .btn-uof-gold { color: var(--uof-gold); }
.bg-uof-gold { background: var(--uof-gold) !important; }
.btn-uof-primary { background: var(--uof-primary); border-color: var(--uof-primary); color: #fff; }
.btn-uof-primary:hover { background: var(--uof-green-dark, #084D2A); border-color: var(--uof-green-dark); color: #fff; }
.btn-uof-gold { background: var(--uof-gold); border-color: var(--uof-gold); color: #1a1a1a; font-weight: 600; }
.btn-uof-gold:hover { filter: brightness(1.05); color: #1a1a1a; }
.btn-outline-uof { border-color: var(--uof-primary); color: var(--uof-primary); }
.btn-outline-uof:hover { background: var(--uof-primary); color: #fff; }

.web-section { padding: 4rem 0; }
.section-badge { display: inline-block; background: rgba(26,122,109,.1); color: var(--uof-primary); padding: .25rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }
.section-title { font-weight: 800; color: var(--uof-green-dark, #084D2A); }
.section-head { margin-bottom: 1rem; }

.web-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.web-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }

.bg-uof-gradient { background: linear-gradient(135deg, var(--uof-primary), var(--uof-green-dark, #084D2A)); }
.bg-uof-gradient-soft { background: linear-gradient(180deg, rgba(26,122,109,.06), transparent); }

/* Hero Slider */
.hero-slider { position: relative; height: min(78vh, 640px); overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    background-size: cover; background-position: center;
    transition: opacity .8s ease, transform 1s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide.anim-zoom { transform: scale(1.08); }
.hero-slide.active.anim-zoom { transform: scale(1); }
.hero-slide.anim-zoom-out { transform: scale(0.92); }
.hero-slide.active.anim-zoom-out { transform: scale(1); }
.hero-slide.anim-slide { transform: translateX(48px); }
.hero-slide.active.anim-slide { transform: translateX(0); }
[dir="rtl"] .hero-slide.anim-slide { transform: translateX(-48px); }
.hero-slide.anim-slide-up { transform: translateY(36px); }
.hero-slide.active.anim-slide-up { transform: translateY(0); }
.hero-slide.anim-slide-down { transform: translateY(-36px); }
.hero-slide.active.anim-slide-down { transform: translateY(0); }
.hero-slide.anim-blur { filter: blur(10px); transform: scale(1.03); }
.hero-slide.active.anim-blur { filter: blur(0); transform: scale(1); }
.hero-slide.anim-ken-burns { transform: scale(1.12); }
.hero-slide.active.anim-ken-burns { transform: scale(1); transition: opacity .8s ease, transform 8s ease; }
.hero-slide.anim-slide-left { transform: translateX(-48px); }
.hero-slide.active.anim-slide-left { transform: translateX(0); }
[dir="rtl"] .hero-slide.anim-slide-left { transform: translateX(48px); }
.hero-slide.anim-flip-x { transform: perspective(900px) rotateY(88deg); opacity: 0; }
.hero-slide.active.anim-flip-x { transform: perspective(900px) rotateY(0); opacity: 1; }
.hero-slide.anim-flip-y { transform: perspective(900px) rotateX(88deg); opacity: 0; }
.hero-slide.active.anim-flip-y { transform: perspective(900px) rotateX(0); opacity: 1; }
.hero-slide.anim-rotate-in { transform: rotate(-8deg) scale(0.88); opacity: 0; }
.hero-slide.active.anim-rotate-in { transform: rotate(0) scale(1); opacity: 1; }
.hero-slide.anim-reveal { clip-path: inset(0 100% 0 0); }
.hero-slide.active.anim-reveal { clip-path: inset(0 0 0 0); transition: opacity .8s ease, clip-path 1.1s ease, transform 1s ease; }
[dir="rtl"] .hero-slide.anim-reveal { clip-path: inset(0 0 0 100%); }
[dir="rtl"] .hero-slide.active.anim-reveal { clip-path: inset(0 0 0 0); }
.hero-slide.anim-bounce-in { transform: scale(0.82); opacity: 0; }
.hero-slide.active.anim-bounce-in { transform: scale(1); opacity: 1; transition: opacity .55s ease, transform .85s cubic-bezier(.34,1.56,.64,1); }
.hero-slide.anim-fade-scale { transform: scale(1.14); opacity: 0; }
.hero-slide.active.anim-fade-scale { transform: scale(1); opacity: 1; }
.hero-slider--fallback .hero-overlay--soft { background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.15)); }
.hero-slider--fallback .hero-slide { background-size: cover; background-position: center; }
.hero-slider--org { height: min(48vh, 420px); min-height: 280px; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.25)); }
[dir="rtl"] .hero-overlay { background: linear-gradient(270deg, rgba(0,0,0,.65), rgba(0,0,0,.25)); }
.hero-content { animation: heroFadeUp .8s ease both; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(4px);
}
.hero-prev { inset-inline-start: 1rem; }
.hero-next { inset-inline-end: 1rem; }
.hero-dots { position: absolute; bottom: 1.25rem; inset-inline: 0; display: flex; justify-content: center; gap: .5rem; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); }
.hero-dots button.active { background: var(--uof-gold); width: 28px; border-radius: 999px; }

/* Stats */
.stat-card { padding: 1rem; }
.stat-icon { font-size: 2rem; opacity: .9; margin-bottom: .5rem; display: block; }
.stat-number { font-size: 2.25rem; font-weight: 800; line-height: 1; }
.stat-label { opacity: .85; margin-top: .35rem; }

/* Org / News / Staff */
.org-card-icon, .service-icon { font-size: 2.25rem; color: var(--uof-primary); }
.org-img {
    width: auto; max-width: 100%; height: auto; max-height: 160px;
    object-fit: contain; object-position: center;
    display: block; margin: 0 auto;
}
.org-logo-box {
    min-height: 200px; display: flex; align-items: center; justify-content: center;
    background: #f8faf9; padding: 1.25rem; border-radius: 12px; margin-bottom: 1rem;
}
.org-logo-box .org-img { max-height: 180px; width: auto; max-width: 100%; }
.org-logo-detail {
    max-width: 100%; max-height: 200px; width: auto; height: auto;
    object-fit: contain;
}
.org-logo-box--detail {
    min-height: 220px; background: #f8faf9; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}

/* —— Faculties showcase —— */
.faculties-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 50% -10%, rgba(26, 122, 109, .1), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f9f7 100%);
}
.faculties-showcase__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 162, 39, .08), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(26, 122, 109, .07), transparent 40%);
}

.faculty-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    padding: 1.75rem 1.1rem 1.5rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(8, 77, 42, .08);
    box-shadow: 0 10px 28px rgba(8, 77, 42, .06);
    overflow: hidden;
    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1),
        box-shadow .45s ease,
        border-color .35s ease;
}
.faculty-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 122, 109, .28);
    box-shadow: 0 20px 44px rgba(8, 77, 42, .14);
    color: inherit;
}
.faculty-card__orbit {
    position: absolute;
    top: 1.35rem;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 1.5px dashed rgba(26, 122, 109, .28);
    pointer-events: none;
    animation: facultyOrbit 18s linear infinite;
    opacity: .75;
}
.faculty-card__glow {
    position: absolute;
    top: 1.1rem;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .28) 0%, rgba(26, 122, 109, .12) 45%, transparent 70%);
    pointer-events: none;
    animation: facultyGlow 3.2s ease-in-out infinite;
}
.faculty-card__icon-wrap {
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    margin: 0 auto 1.15rem;
    animation: facultyIconFloat 4s ease-in-out infinite;
}
.faculty-card__icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0f6b4a, #1a7a6d 55%, #c9a227);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, .95),
        0 0 0 7px rgba(201, 162, 39, .35),
        0 14px 28px rgba(8, 77, 42, .22);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
}
.faculty-card:hover .faculty-card__icon-inner {
    transform: scale(1.1) rotate(-6deg);
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 8px rgba(201, 162, 39, .55),
        0 18px 36px rgba(8, 77, 42, .28);
}
.faculty-card:hover .faculty-card__orbit {
    animation-duration: 8s;
    border-color: rgba(201, 162, 39, .55);
}
.faculty-card__icon-inner--logo {
    background: #fff;
    padding: 6px;
}
.faculty-card__icon {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
}
.faculty-card__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}
.faculty-card__title {
    position: relative;
    z-index: 2;
    font-size: .98rem;
    font-weight: 800;
    color: var(--uof-green-dark, #084D2A);
    line-height: 1.4;
    margin: 0;
    text-align: center;
    width: 100%;
}
.faculty-card__desc {
    position: relative;
    z-index: 2;
    margin: .65rem 0 0;
    font-size: .78rem;
    line-height: 1.55;
    color: #64748b;
    text-align: center;
}

.faculties-reveal {
    opacity: 0;
    transform: translateY(26px) scale(.96);
    transition:
        opacity .65s cubic-bezier(.22, 1, .36, 1),
        transform .65s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--delay, 0ms);
}
.faculties-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes facultyOrbit {
    to { transform: rotate(360deg); }
}
@keyframes facultyGlow {
    0%, 100% { transform: scale(1); opacity: .7; }
    50% { transform: scale(1.12); opacity: 1; }
}
@keyframes facultyIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 575.98px) {
    .faculty-card { padding: 1.35rem .75rem 1.2rem; }
    .faculty-card__icon-wrap { width: 72px; height: 72px; }
    .faculty-card__icon { font-size: 1.65rem; }
    .faculty-card__orbit,
    .faculty-card__glow { width: 96px; height: 96px; }
    .faculty-card__title { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
    .faculty-card__orbit,
    .faculty-card__glow,
    .faculty-card__icon-wrap {
        animation: none !important;
    }
    .faculties-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.staff-position { line-height: 1.35; word-break: break-word; }
.org-leader-photo {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--uof-gold);
}
.news-img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px 16px 0 0; }
.news-card a { color: inherit; text-decoration: none; }
.news-card a:hover { color: var(--uof-primary); }
.event-date-badge { min-width: 64px; padding: .5rem; background: var(--uof-primary); color: #fff; border-radius: 12px; }
.service-card:hover .service-icon { transform: scale(1.1); transition: .3s; }

.staff-photo-wrap { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 3px solid var(--uof-gold); }
.staff-photo, .staff-profile-photo { width: 100%; height: 100%; object-fit: cover; }
.staff-profile-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--uof-gold); }

.web-breadcrumb { background: #fff; border-bottom: 1px solid #eee; padding: .75rem 0; }
.page-title { font-weight: 800; color: var(--uof-green-dark, #084D2A); }

/* Footer */
.uof-footer { background: linear-gradient(180deg, #0d3d2e, #062a1f); color: #fff; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-links a:hover { color: var(--uof-gold); }
.social-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.social-btn:hover { background: var(--uof-gold); color: #1a1a1a; }

.quick-link-card:hover { border-color: var(--uof-primary); }
.mini-card { color: inherit; }
.mini-card:hover { color: var(--uof-primary); }

@media (max-width: 767.98px) {
    .web-section { padding: 2.5rem 0; }
    .hero-slider { height: 56vh; min-height: 360px; }
    .hero-title { font-size: 1.65rem; }
    .uni-page-hero { min-height: 220px; }
    .uni-page-hero__title { font-size: 1.65rem; }
}

/* University fixed pages */
.uni-page-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--uof-green-dark, #084D2A), var(--uof-primary, #1a7a6d));
    color: #fff;
    margin-bottom: 0;
}
.uni-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,77,42,.92), rgba(26,122,109,.78));
    z-index: 1;
}
.uni-page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .28;
    z-index: 0;
}
.uni-page-hero__content { position: relative; z-index: 2; padding: 3rem 0 2.5rem; max-width: 720px; }
.uni-page-hero__badge { background: rgba(255,255,255,.15); color: #fff; }
.uni-page-hero__title { font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: .5rem 0 0; color: #fff; }
.uni-page-hero__icon { font-size: 2rem; opacity: .35; margin-top: .75rem; }

.uni-page-body { padding-top: 3rem; }
.uni-prose { line-height: 1.85; color: #334155; }
.uni-prose p:last-child { margin-bottom: 0; }
.uni-prose h2, .uni-prose h3 { color: var(--uof-green-dark, #084D2A); font-weight: 700; margin-top: 1.5rem; }

/* —— About University showcase —— */
.about-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgba(201, 162, 39, .12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(26, 122, 109, .1), transparent 50%),
        linear-gradient(180deg, #f4f8f6 0%, #ffffff 55%, #f7faf8 100%);
}
.about-showcase--hub {
    padding: 0;
    background: transparent;
}
.about-showcase__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(8, 77, 42, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 77, 42, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 75%);
    opacity: .7;
}
.about-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--uof-primary);
    background: rgba(26, 122, 109, .1);
    border: 1px solid rgba(26, 122, 109, .14);
    padding: .35rem .85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.about-showcase__title {
    font-weight: 800;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    color: var(--uof-green-dark, #084D2A);
    line-height: 1.25;
    margin-bottom: 1.15rem;
}
.about-showcase__body {
    color: #475569;
    margin-bottom: 1.5rem;
}
.about-showcase__body--clamp {
    max-height: 9.5rem;
    overflow: hidden;
    position: relative;
}
.about-showcase__body--clamp::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3.25rem;
    background: linear-gradient(180deg, transparent, #f7faf8 88%);
    pointer-events: none;
}
.about-showcase__cta {
    display: inline-flex;
    align-items: center;
    padding: .7rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(26, 122, 109, .22);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.about-showcase__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(26, 122, 109, .3);
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}
.about-pillar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(8, 77, 42, .08);
    backdrop-filter: blur(6px);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.about-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 122, 109, .28);
    box-shadow: 0 12px 28px rgba(8, 77, 42, .08);
}
.about-pillar__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(26, 122, 109, .14), rgba(201, 162, 39, .16));
    color: var(--uof-primary);
    font-size: 1.05rem;
}
.about-pillar__label {
    font-size: .86rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

/* Emblem / logo — deliberately compact */
.about-emblem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 1.5rem 1rem;
}
.about-emblem__orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(26, 122, 109, .28);
    pointer-events: none;
}
.about-emblem__orbit--a {
    width: 210px;
    height: 210px;
    animation: aboutOrbitSpin 22s linear infinite;
}
.about-emblem__orbit--b {
    width: 160px;
    height: 160px;
    border-style: solid;
    border-color: rgba(201, 162, 39, .35);
    animation: aboutOrbitSpin 14s linear infinite reverse;
}
.about-emblem__glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .28) 0%, rgba(26, 122, 109, .12) 42%, transparent 70%);
    animation: aboutGlowPulse 3.6s ease-in-out infinite;
    pointer-events: none;
}
.about-emblem__core {
    position: relative;
    z-index: 2;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(145deg, #fff, #f3f7f5);
    box-shadow:
        0 0 0 3px rgba(201, 162, 39, .45),
        0 0 0 8px rgba(26, 122, 109, .1),
        0 18px 40px rgba(8, 77, 42, .18);
    animation: aboutLogoFloat 4.5s ease-in-out infinite;
}
.about-emblem__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.about-emblem__caption {
    position: relative;
    z-index: 2;
    margin: 1.25rem 0 0;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--uof-green-dark, #084D2A);
    text-align: center;
}

.about-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--delay, 0ms);
}
.about-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes aboutOrbitSpin {
    to { transform: rotate(360deg); }
}
@keyframes aboutGlowPulse {
    0%, 100% { transform: scale(1); opacity: .85; }
    50% { transform: scale(1.08); opacity: 1; }
}
@keyframes aboutLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 991.98px) {
    .about-emblem { min-height: 240px; }
    .about-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .about-emblem__orbit--a { width: 180px; height: 180px; }
    .about-emblem__orbit--b { width: 138px; height: 138px; }
    .about-emblem__core { width: 100px; height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-emblem__orbit--a,
    .about-emblem__orbit--b,
    .about-emblem__glow,
    .about-emblem__core {
        animation: none !important;
    }
    .about-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.uni-side-panel__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    min-height: 96px;
    max-height: 110px;
}
.uni-side-panel__logo {
    max-height: 64px;
    max-width: 64px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}
.uni-check-list li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .65rem; color: #475569; }
.uni-check-list i { color: var(--uof-primary); margin-top: .15rem; }

.president-message-card { border-inline-start: 4px solid var(--uof-gold); }
.president-photo-wrap { position: relative; width: 180px; height: 180px; }
.president-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--uof-gold); }
.president-photo-seal { position: absolute; bottom: 0; inset-inline-end: -8px; width: 64px; height: 64px; object-fit: contain; }
.president-quote-mark { font-size: 3rem; line-height: 1; color: rgba(26,122,109,.15); margin-bottom: .5rem; }
.president-message-body { font-size: 1.05rem; }
.president-signature-img { max-height: 72px; width: auto; }

.vision-cards-row { margin-top: -2rem; position: relative; z-index: 2; }
.vision-card { border-top: 4px solid var(--uof-primary); }
.vision-card--vision { border-top-color: #1a7a6d; }
.vision-card--mission { border-top-color: var(--uof-gold, #c9a227); }
.vision-card--goals { border-top-color: #2563eb; }
.vision-card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(26,122,109,.1); color: var(--uof-primary); font-size: 1.35rem; margin-bottom: 1rem;
}
.vision-card__title { font-size: 1.15rem; font-weight: 800; color: var(--uof-green-dark, #084D2A); margin-bottom: .75rem; }
.vision-card__text { color: #475569; line-height: 1.75; }

.contact-detail-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.contact-detail-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-detail-list__icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(26,122,109,.1); color: var(--uof-primary); font-size: 1.1rem;
}
.contact-social-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(26,122,109,.1); color: var(--uof-primary); text-decoration: none;
}
.contact-social-btn:hover { background: var(--uof-primary); color: #fff; }
.contact-map-card { min-height: 420px; }
.contact-map-iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-map-placeholder { min-height: 420px; }
.contact-intro-card { border-inline-start: 4px solid var(--uof-gold); }

/* University pages hub — interactive icon navigation */
.uni-hub-nav {
    position: sticky;
    /* Sit below the main sticky navbar so dropdowns stay above */
    top: 4.75rem;
    z-index: 1010;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    padding: .85rem 0;
    margin-bottom: 0;
}
.uni-hub-nav__track {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: .25rem .15rem;
    scrollbar-width: thin;
}
.uni-hub-nav__item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    min-width: 88px;
    max-width: 120px;
    padding: .35rem .5rem;
    text-decoration: none;
    color: #64748b;
    border-radius: 16px;
    transition: transform .25s ease, color .25s ease, background .25s ease;
}
.uni-hub-nav__item:hover {
    color: var(--uof-primary);
    transform: translateY(-3px);
}
.uni-hub-nav__item.is-active {
    color: var(--uof-primary);
}
.uni-hub-nav__icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: #f1f5f9;
    border: 2px solid transparent;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.uni-hub-nav__item:hover .uni-hub-nav__icon-wrap {
    background: rgba(26,122,109,.1);
    border-color: rgba(26,122,109,.2);
    transform: scale(1.06);
}
.uni-hub-nav__item.is-active .uni-hub-nav__icon-wrap {
    background: linear-gradient(135deg, var(--uof-primary), var(--uof-green-dark, #084D2A));
    color: #fff;
    border-color: var(--uof-gold, #c9a227);
    box-shadow: 0 10px 28px rgba(26,122,109,.35);
    transform: scale(1.08);
}
.uni-hub-nav__label {
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}
.uni-hub-nav__item.is-active .uni-hub-nav__label { color: var(--uof-green-dark, #084D2A); }

.uni-hub-panels-wrap { padding: 2rem 0 3rem; background: linear-gradient(180deg, #f8faf9 0%, #fff 120px); }
.uni-hub-panel { display: none; }
.uni-hub-panel.is-active {
    display: block;
    animation: uniPanelIn .38s ease both;
}
.uni-hub-panels.is-switching .uni-hub-panel.is-active {
    animation: uniPanelIn .38s ease both;
}
@keyframes uniPanelIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.uni-panel-section { padding: 0 !important; }
.uni-vision-cards-row { margin-top: 0 !important; }

/* Homepage icon dock (same style as hub) */
.uni-icon-dock { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.uni-icon-dock__item {
    flex: 1 1 140px;
    max-width: 180px;
    text-decoration: none;
    color: inherit;
}
.uni-icon-dock__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1rem;
    text-align: center;
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.uni-icon-dock__item:hover .uni-icon-dock__card {
    transform: translateY(-5px);
    border-color: var(--uof-primary) !important;
}
.uni-icon-dock__icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--uof-primary);
    background: rgba(26,122,109,.1);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.uni-icon-dock__item:hover .uni-icon-dock__icon {
    background: linear-gradient(135deg, var(--uof-primary), var(--uof-green-dark, #084D2A));
    color: #fff;
    transform: scale(1.05);
}
.uni-icon-dock__label { font-weight: 700; font-size: .9rem; color: var(--uof-green-dark, #084D2A); }

@media (max-width: 767.98px) {
    .uni-hub-nav { top: 4.25rem; }
    .uni-hub-nav__item { min-width: 76px; }
    .uni-hub-nav__icon-wrap { width: 50px; height: 50px; font-size: 1.2rem; }
    .uni-hub-nav__label { font-size: .7rem; }
}
