:root {
    --umu-black: #0b2f63;
    --umu-gold: #cfa538;
    --umu-gold-bright: #e5be57;
    --umu-maroon: #8f1f2f;
    --umu-white: #ffffff;
    --umu-ink: #1a2240;
    --umu-soft: #f8f6ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    color: var(--umu-ink);
    background:
        radial-gradient(circle at 0 0, rgba(11, 47, 99, 0.1), transparent 35%),
        radial-gradient(circle at 100% 15%, rgba(207, 165, 56, 0.14), transparent 30%),
        #f7f6f0;
    line-height: 1.6;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffff;
    border-bottom: 2px solid var(--umu-gold);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assests/slider/slider_1.jpeg");
    background-size: cover;
    background-position: center;
    animation: headerImageSwap 24s infinite;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 112px;
    position: relative;
    z-index: 2;
}

.brand-kicker {
    margin: 0;
    color: #8f1f2f;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.brand-block h1 {
    margin: 0;
    color: var(--umu-ink);
    font-size: 1.25rem;
    font-family: "Roboto Slab", serif;
}

.brand-block {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    display: block;
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
    width: 168px;
    height: 168px;
    object-fit: contain;
}

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-nav a {
    color: var(--umu-ink);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #8f1f2f;
    border-color: #8f1f2f;
}

.site-nav a.is-current {
    color: #8f1f2f;
    border-color: #8f1f2f;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--umu-ink);
    background: transparent;
    color: var(--umu-ink);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
}

.hero {
    position: relative;
}

.hero-slider {
    position: relative;
    height: min(78vh, 700px);
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-color: #050505;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.75s ease, transform 0.85s ease;
    display: flex;
    align-items: center;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--slide-image);
    background-size: cover;
    background-position: center 24%;
    filter: blur(8px);
    transform: scale(1.08);
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.28));
    z-index: 2;
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--umu-white);
    max-width: 680px;
    animation: rise 0.9s ease;
}

.slide-subtitle {
    color: var(--umu-gold-bright);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.slide-subtitle,
.slide h2,
.slide-text,
.slide .cta-btn {
    opacity: 0;
    transform: translateY(20px);
}

.slide.is-active .slide-subtitle,
.slide.is-active h2,
.slide.is-active .slide-text,
.slide.is-active .cta-btn {
    animation: textReveal 0.8s ease forwards;
}

.slide.is-active .slide-subtitle {
    animation-delay: 0.08s;
}

.slide.is-active h2 {
    animation-delay: 0.22s;
}

.slide.is-active .slide-text {
    animation-delay: 0.36s;
}

.slide.is-active .cta-btn {
    animation-delay: 0.5s;
}

.slide h2 {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.85rem, 3.6vw, 3.1rem);
    line-height: 1.12;
}

.slide-text {
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    margin: 0.9rem 0 1.2rem;
}

.cta-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--umu-white);
    font-weight: 700;
    background: var(--umu-maroon);
    border: 2px solid var(--umu-maroon);
    padding: 0.72rem 1.25rem;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
    background: #75202c;
    transform: translateY(-2px);
}

.slider-controls {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 0.65rem;
    z-index: 5;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--umu-white);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.dot.is-active {
    background: var(--umu-gold);
    border-color: var(--umu-gold);
}

.dean-message-section {
    padding-top: 0;
}

.dean-message-card {
    margin-top: -70px;
    position: relative;
    z-index: 6;
    background: linear-gradient(135deg, #ffffff, #f6f3ea);
    border: 1px solid rgba(11, 47, 99, 0.12);
    border-radius: 22px;
    padding: 1.2rem 1.3rem 1.3rem;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 1.2rem;
    box-shadow: 0 18px 36px rgba(11, 47, 99, 0.18);
}

.dean-photo-wrap {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--umu-white);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    background: #e9edf7;
    justify-self: center;
    margin-top: -62px;
}

.dean-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.dean-kicker {
    margin: 0;
    font-size: 0.83rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--umu-maroon);
    font-weight: 700;
}

.dean-message-content .section-title {
    margin-top: 0.35rem;
}

.dean-signature {
    margin: 0.75rem 0 0;
    font-family: "Roboto Slab", serif;
    color: var(--umu-black);
    font-weight: 700;
}

.page-hero {
    background:
        linear-gradient(120deg, rgba(11, 47, 99, 0.92), rgba(11, 47, 99, 0.72)),
        linear-gradient(45deg, rgba(143, 31, 47, 0.22), rgba(207, 165, 56, 0.08));
    color: var(--umu-white);
    padding: 4rem 0 3.6rem;
}

.page-kicker {
    margin: 0;
    color: var(--umu-gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.page-hero h2 {
    margin: 0.35rem 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

.page-hero p {
    margin: 0;
    max-width: 760px;
}

.section {
    padding: 4.2rem 0;
}

.about,
.programs,
.project {
    background: linear-gradient(180deg, rgba(11, 47, 99, 0.1), rgba(255, 255, 255, 0.62));
}

.about-enhanced {
    padding-top: 3.2rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 1.25rem;
    align-items: start;
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.about-image {
    width: 100%;
    min-height: 170px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(11, 47, 99, 0.15);
}

.about-image-lg {
    grid-column: 1 / span 2;
    min-height: 260px;
}

.about-stats-section {
    padding-top: 0;
    background: linear-gradient(180deg, rgba(11, 47, 99, 0.08), rgba(255, 255, 255, 0.9));
}

.about-stats-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.1rem;
    text-align: center;
    border-top: 5px solid var(--umu-maroon);
    box-shadow: 0 10px 22px rgba(11, 47, 99, 0.1);
}

.about-stat-number {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--umu-black);
    line-height: 1;
}

.about-stat-label {
    margin: 0.45rem 0 0;
    font-weight: 600;
}

.section-title {
    margin: 0 0 0.85rem;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    color: var(--umu-black);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 65%;
    height: 4px;
    border-radius: 99px;
    margin-top: 0.35rem;
    background: var(--umu-gold);
}

.lead-text,
.section-intro {
    max-width: 760px;
    margin: 0;
}

.grid {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--umu-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--umu-black);
    border-radius: 16px;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
    margin: 0 0 0.4rem;
    font-family: "Roboto Slab", serif;
}

.department-card ul {
    margin: 0.6rem 0 0;
    padding-left: 1rem;
}

.program-level {
    margin: 0.95rem 0 0.2rem;
    font-size: 1rem;
}

.quick-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.quick-link:hover,
.quick-link:focus-visible {
    transform: translateY(-3px);
}

.news-showcase-section {
    background: #e9e9e9;
    padding-top: 2.6rem;
}

.news-intro {
    text-align: center;
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    margin: 0 0 1.6rem;
}

.news-showcase-grid {
    display: grid;
    gap: 2px;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background: #ffffff;
}

.news-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
}

.news-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--news-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    z-index: -2;
    transition: transform 0.35s ease;
}

.news-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 18%, rgba(0, 0, 0, 0.84));
    z-index: -1;
}

.news-tile:hover::before {
    transform: scale(1.05);
}

.news-tile-lg {
    grid-row: 1 / span 2;
}

.news-tag {
    align-self: flex-end;
    background: #1f64b7;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 0.26rem 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.news-content {
    color: #ffffff;
    padding: 1rem;
}

.news-content h3 {
    margin: 0;
    font-size: clamp(1.18rem, 2.25vw, 2.05rem);
    line-height: 1.12;
    text-transform: uppercase;
    font-weight: 700;
}

.news-tile:not(.news-tile-lg) .news-content h3 {
    font-size: clamp(1.02rem, 1.5vw, 1.45rem);
}

.news-content p {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    color: #f1f1f1;
}

.partners-section {
    background: linear-gradient(180deg, rgba(11, 47, 99, 0.06), rgba(255, 255, 255, 0.8));
}

.partners-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--umu-maroon);
}

.partners-intro {
    margin: 0 0 1.2rem;
    max-width: 840px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.partner-card {
    background: #ffffff;
    border: 1px solid rgba(11, 47, 99, 0.1);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 10px 22px rgba(11, 47, 99, 0.08);
}

.partner-logo-wrap {
    min-height: 50px;
    display: flex;
    align-items: center;
}

.partner-logo {
    max-width: 170px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-card h3 {
    margin: 0.65rem 0 0.35rem;
    font-family: "Roboto Slab", serif;
}

.partner-card p {
    margin: 0;
}

.staff-card p,
.project-dept {
    margin: 0;
    font-weight: 500;
    color: #2e2e2e;
}

.timeline {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.95rem;
}

.timeline-item {
    background: var(--umu-white);
    border-radius: 14px;
    padding: 1rem;
    border-top: 4px solid var(--umu-black);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.timeline-item h3 {
    margin: 0;
    font-family: "Roboto Slab", serif;
}

.projects-showcase-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.project-showcase-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 47, 99, 0.1);
    box-shadow: 0 12px 24px rgba(11, 47, 99, 0.1);
}

.project-showcase-image {
    min-height: 185px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.7rem;
}

.project-track-badge {
    background: rgba(255, 255, 255, 0.92);
    color: var(--umu-black);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-showcase-content {
    padding: 0.9rem 1rem 1rem;
}

.project-showcase-content h3 {
    margin: 0;
    font-family: "Roboto Slab", serif;
}

.project-showcase-content .project-dept {
    margin: 0.4rem 0;
}

.project-showcase-content p:last-child {
    margin: 0;
}

.contact-wrap {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr;
}

.contact-form {
    display: grid;
    gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #c9c9c9;
    border-radius: 12px;
    padding: 0.65rem 0.7rem;
    font: inherit;
    background: #fffdf4;
}

.contact-form button {
    margin-top: 0.5rem;
    width: fit-content;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    background: var(--umu-black);
    color: var(--umu-white);
    cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
    background: #1c1c1c;
}

.site-footer {
    background: #000000;
    color: var(--umu-white);
    border-top: 2px solid var(--umu-gold);
    padding: 4rem 0 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.footer-col h3,
.footer-col h4 {
    margin: 0;
    font-family: "Roboto Slab", serif;
    color: var(--umu-white);
}

.footer-col h3 {
    font-size: 1.7rem;
}

.footer-col h4 {
    margin-top: 1rem;
    font-size: 1rem;
    color: #f5f5f5;
}

.footer-accordion-toggle {
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.5rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--umu-white);
    font-family: "Roboto Slab", serif;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.footer-accordion-icon {
    color: var(--umu-gold-bright);
    font-size: 1.2rem;
    line-height: 1;
}

.footer-accordion-toggle[aria-expanded="true"] .footer-accordion-icon {
    transform: rotate(45deg);
}

.footer-accordion-panel {
    margin-top: 0.5rem;
    padding-left: 0.2rem;
}

.footer-brand p,
.footer-bottom p {
    margin: 0.45rem 0;
}

.footer-divider {
    display: block;
    width: 44px;
    height: 4px;
    margin: 1rem 0 1.5rem;
    background: var(--umu-gold);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
}

.footer-list li {
    margin: 0.75rem 0;
}

.footer-links a {
    color: var(--umu-white);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--umu-gold-bright);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.5rem;
    padding-top: 1rem;
    text-align: center;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerImageSwap {
    0%, 24% {
        background-image: url("assests/slider/slider_1.jpeg");
    }
    25%, 49% {
        background-image: url("assests/slider/slider_3.jpeg");
    }
    50%, 74% {
        background-image: url("assests/slider/slider_5.jpeg");
    }
    75%, 100% {
        background-image: url("assests/slider/slider_7.jpeg");
    }
}

@media (max-width: 980px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .dean-message-card {
        grid-template-columns: 1fr;
        padding-top: 0.8rem;
    }

    .dean-photo-wrap {
        margin-top: -52px;
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .cards-2,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .projects-showcase-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .news-showcase-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .news-tile-lg {
        grid-column: 1 / span 2;
        grid-row: auto;
        min-height: 320px;
    }
}

@media (max-width: 820px) {
    .dean-message-card {
        margin-top: -52px;
    }

    .brand-logo {
        width: 90px;
        height: 90px;
    }

    .footer-logo {
        width: 140px;
        height: 140px;
    }

    .dean-photo-wrap {
        width: 160px;
        height: 160px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 4vw;
        left: 4vw;
        background: #ffffff;
        border: 1px solid var(--umu-gold);
        border-radius: 12px;
        padding: 0.75rem;
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.55rem;
    }

    .hero-slider {
        height: 72vh;
        min-height: 430px;
    }

    .news-showcase-grid {
        grid-template-columns: 1fr;
    }

    .news-tile-lg {
        grid-column: auto;
        min-height: 280px;
    }
}
