/* BASE STYLES - your original design, unchanged. Edit colours in :root. */

:root {
    --navy: #092b55;
    --blue: #12477e;
    --orange: #e87924;
    --text: #26364c;
    --muted: #718096;
    --bg: #f5f7fa;
    --white: #fff;
    --line: #e5eaf0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

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

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto
}

.muted {
    color: var(--muted)
}

.small {
    font-size: 12px
}

.orange {
    color: var(--orange)
}

.btn {
    border: 0;
    background: var(--orange);
    color: white;
    padding: 11px 19px;
    border-radius: 3px;
    display: inline-block;
    font-size: 13px;
    font-weight: bold
}

.btn:hover {
    background: #c96116
}

.btn-outline {
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 10px 17px;
    display: inline-block;
    font-size: 13px
}

.section {
    padding: 65px 0
}

.section-head {
    margin-bottom: 28px
}

.section-head small {
    color: var(--orange);
    font-weight: bold;
    letter-spacing: 2px
}

.section-head h2 {
    font-size: 29px;
    color: var(--navy);
    margin: 5px 0
}

.section-head p {
    color: var(--muted);
    font-size: 14px
}

.center {
    text-align: center
}

/* UTILITY BAR */

.utility {
    background: #061c37;
    color: #dbe6f4;
    font-size: 12px
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 7px 0
}

.utility-links {
    display: flex;
    gap: 19px;
    flex-wrap: wrap
}

.utility a:hover {
    color: #ffb66d
}

/* UNIVERSITY HEADER */

.university {
    background: white;
    padding: 15px 0
}

.university-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.identity {
    display: flex;
    align-items: center;
    gap: 14px
}

.emblem {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 16px;
    font-weight: bold
}

.identity h1 {
    font-size: 20px;
    line-height: 1.3;
    color: var(--navy)
}

.identity p {
    font-size: 11px;
    color: #68778c;
    letter-spacing: 1px
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.header-actions button {
    background: white;
    border: 1px solid var(--line);
    padding: 9px 12px;
    color: var(--navy)
}

.header-actions button:hover {
    background: #edf3f9
}

/* NAVIGATION */

.navbar {
    background: var(--navy);
    color: white;
    position: sticky;
    top: 0;
    z-index: 50
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 49px
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: stretch
}

.nav-links>li {
    position: relative
}

.nav-links>li>a {
    display: block;
    padding: 14px 13px;
    font-size: 12px;
    font-weight: bold
}

.nav-links>li:hover>a,
.nav-links>li.active>a {
    background: var(--blue)
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 215px;
    background: white;
    color: var(--text);
    box-shadow: 0 10px 25px #0002;
    border-top: 3px solid var(--orange);
    z-index: 60
}

.dropdown a {
    display: block;
    padding: 11px 15px;
    font-size: 13px;
    border-bottom: 1px solid #edf0f4
}

.dropdown a:hover {
    background: #f0f5fb;
    color: var(--orange)
}

.nav-links li:hover>.dropdown,
.nav-links li.open>.dropdown {
    display: block
}

.nav-right {
    display: flex;
    gap: 7px
}

.nav-right button {
    background: transparent;
    color: white;
    border: 1px solid #ffffff55;
    padding: 8px 11px;
    font-size: 12px
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: white;
    font-size: 23px;
    padding: 8px
}

/* SEARCH */

.search-panel {
    display: none;
    background: white;
    padding: 17px 0;
    box-shadow: 0 5px 12px #0001
}

.search-panel.show {
    display: block
}

.search-inner {
    display: flex;
    gap: 10px
}

.search-inner input {
    flex: 1;
    padding: 11px;
    border: 1px solid var(--line);
    outline-color: var(--blue)
}

.search-results {
    font-size: 13px;
    padding-top: 10px;
    color: var(--muted)
}

/* HERO SLIDER */

.hero {
    height: 470px;
    position: relative;
    overflow: hidden;
    background: #071d3b;
    color: white
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s
}

.hero-slide.active {
    opacity: 1
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Lighter version (more transparent) */
    background: linear-gradient(90deg, #061b37cc 0%, #061b374d 60%, #061b371a 100%);

}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 110px;
    max-width: 820px
}

.hero-content .tag {
    color: #ffc07e;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold
}

.hero-content h2 {
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.15;
    margin: 15px 0
}

.hero-content p {
    max-width: 580px;
    color: #e0e8f4;
    font-size: 15px
}

.hero-buttons {
    margin-top: 23px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.hero-dots {
    display: flex;
    gap: 8px;
    margin-top: 28px
}

.hero-dots button {
    height: 4px;
    width: 24px;
    border: 0;
    background: #ffffff70
}

.hero-dots button.active {
    width: 42px;
    background: var(--orange)
}

.hero-arrow {
    position: absolute;
    right: 5%;
    bottom: 25px;
    z-index: 4;
    display: flex;
    gap: 7px
}

.hero-arrow button {
    border: 1px solid #ffffff99;
    background: #ffffff25;
    color: white;
    width: 39px;
    height: 39px;
    border-radius: 50%
}


/* =========================================
   PLACEMENT SLIDER - PREMIUM DESIGN
========================================= */

.placement {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    padding: 65px 0;
    overflow: hidden;
}

.placement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.placement-header h2 {
    color: var(--navy);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 750;
    letter-spacing: -0.8px;
    margin-bottom: 7px;
}

.placement-header p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.placement-controls {
    display: flex;
    gap: 10px;
}

.placement-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #dce3ed;
    background: white;
    color: var(--navy);
    border-radius: 12px;
    cursor: pointer;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(20, 40, 75, 0.04);
}

.placement-controls button:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(20, 40, 75, 0.18);
}

.placement-controls button:active {
    transform: scale(0.94);
}

.placement-window {
    overflow: hidden;
    padding: 5px 2px 18px;
}

.placement-track {
    display: flex;
    gap: 20px;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.placement-card {
    position: relative;
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    padding: 30px 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(20, 40, 75, 0.045);
}

/* Subtle top accent */

.placement-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #ffc078);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.placement-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 140, 50, 0.45);
    box-shadow: 0 16px 35px rgba(20, 40, 75, 0.11);
}

.placement-card:hover::before {
    opacity: 1;
}

.company-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f4fa);
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    border: 1px solid #e5eaf1;
    box-shadow: 0 5px 14px rgba(20, 40, 75, 0.07);
    transition: all 0.35s ease;
}

.placement-card:hover .company-logo {
    transform: scale(1.07) rotate(-3deg);
    border-color: rgba(255, 140, 50, 0.4);
}

.placement-card h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.placement-card p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 7px;
    line-height: 1.6;
}

.placement-card strong {
    display: inline-block;
    margin-top: 16px;
    padding: 7px 14px;
    color: #c96a16;
    background: #fff3e6;
    border: 1px solid #ffe5c9;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 750;
}

.placement-note {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* =========================================
   QUICK PORTALS - MODERN GRID
========================================= */

.portal-strip {
    position: relative;
    background: #ffffff;
    padding: 28px 0;
    border-bottom: 1px solid #e9edf3;
}

.portals {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.portal {
    position: relative;
    padding: 21px 12px;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f5f8fc);
    border: 1px solid #e7ecf3;
    border-radius: 13px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(20, 40, 75, 0.035);
}

.portal:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(20, 40, 75, 0.15);
}

.portal .symbol {
    font-size: 27px;
    display: block;
    margin-bottom: 9px;
    transition: transform 0.3s ease;
}

.portal:hover .symbol {
    transform: scale(1.15) translateY(-2px);
}

.portal strong {
    font-size: 13px;
    font-weight: 650;
    display: block;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1024px) {
    .placement-card {
        flex-basis: calc(33.333% - 14px);
    }

    .portals {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .placement {
        padding: 45px 0;
    }

    .placement-header {
        align-items: flex-end;
    }

    .placement-card {
        flex-basis: calc(50% - 10px);
    }

    .placement-track {
        gap: 16px;
    }

    .portals {
        grid-template-columns: repeat(3, 1fr);
        gap: 11px;
    }
}

@media (max-width: 480px) {
    .placement-header {
        align-items: center;
        gap: 10px;
    }

    .placement-header h2 {
        font-size: 22px;
    }

    .placement-header p {
        font-size: 12px;
    }

    .placement-controls {
        gap: 6px;
    }

    .placement-controls button {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .placement-card {
        flex-basis: 85%;
        padding: 25px 14px;
    }

    .company-logo {
        width: 65px;
        height: 65px;
    }

    .portals {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal {
        padding: 17px 9px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .placement-card,
    .company-logo,
    .placement-track,
    .portal,
    .portal .symbol,
    .placement-controls button {
        transition: none;
    }
}


/* RECOGNITION */

.recognition {
    background: white;
    padding: 19px 0;
    border-bottom: 1px solid var(--line)
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    text-align: center
}

.recognition strong {
    font-size: 19px;
    color: var(--navy);
    display: block
}

.recognition span {
    font-size: 11px;
    color: var(--muted)
}

/* STATISTICS */

.stats {
    background: var(--navy);
    color: white;
    padding: 30px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center
}

.stat strong {
    display: block;
    font-size: 31px;
    color: #ffc07e
}

.stat span {
    font-size: 12px;
    color: #d5e0ee
}




/* ==============================
   NOTICE CENTRE
============================== */

.notice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(250px, 0.8fr);
    gap: 28px;
    align-items: start;
    margin-top: 35px;
}

/* MAIN NOTICE BOARD */

.notice-main {
    min-width: 0;
    padding: 26px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    box-shadow: 0 5px 22px rgba(25, 45, 75, 0.05);
}

.notice-main h3,
.notice-side h3 {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 750;
}

/* CATEGORY TABS */

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9edf2;
}

.tab {
    padding: 9px 15px;
    border: 1px solid #e1e6ed;
    border-radius: 5px;
    background: #f7f9fc;
    color: #58677a;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: #eef3f9;
}

.tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* NOTICE VIEWPORT */

#noticeList {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 7px;
}

/* AUTO-SCROLL TRACK */

.notice-track {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.notice-track.is-scrolling {
    animation: noticeAutoScroll var(--notice-duration, 30s) linear infinite;
}

.notice-group {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
}

/* INDIVIDUAL NOTICE */

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    transition: background 0.2s ease;
}

.notice-item:hover {
    background: #f7f9fc;
}

/* DATE BOX */

.notice-date {
    flex: 0 0 58px;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #edf2f8;
    color: #345779;
    border: 1px solid #e1e8f0;
    border-top: 3px solid #345e8b;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.notice-date strong {
    color: #1b385b;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
}

/* NOTICE DETAILS */

.notice-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.notice-info h4 {
    margin: 0 0 6px;
    color: #203a5b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.notice-info p {
    margin: 0 0 9px;
    color: #7b8797;
    font-size: 12px;
    line-height: 1.5;
}

.notice-info a {
    display: inline-block;
    color: #376b9e;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.55px;
    text-decoration: none;
}

.notice-info a:hover {
    color: #d47b32;
    text-decoration: underline;
}

/* NEW LABEL */

.notice-info .new {
    display: inline-block;
    margin-left: 5px;
    padding: 3px 7px;
    background: #fff0e9;
    color: #cb593d;
    border: 1px solid #f8d8ca;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    vertical-align: middle;
}

/* EMPTY CATEGORY */

.notice-empty {
    padding: 35px 20px;
    color: #778497;
    text-align: center;
    font-size: 13px;
}

/* SCROLL ANIMATION */

@keyframes noticeAutoScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

#noticeList:hover .notice-track,
#noticeList:focus-within .notice-track {
    animation-play-state: paused;
}

/* VIEW ALL BUTTON */

.view-all {
    margin-top: 18px;
}

/* IMPORTANT RESOURCES */

.notice-side {
    padding: 26px 23px;
    background: #f7f9fc;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
}

.notice-side h3 {
    padding-bottom: 17px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e1e6ed;
}

.notice-side a {
    display: block;
    padding: 14px 2px;
    color: #40536b;
    border-bottom: 1px solid #e5eaf0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.notice-side a:last-child {
    border-bottom: none;
}

.notice-side a:hover {
    padding-left: 8px;
    color: #245b91;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .notice-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .notice-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }

    .notice-side h3 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .notice-main {
        padding: 17px;
    }

    .notice-side {
        display: block;
        padding: 20px;
    }

    #noticeList {
        height: 360px;
    }

    .notice-item {
        gap: 12px;
        padding: 15px 12px;
    }

    .notice-date {
        flex-basis: 50px;
        min-height: 58px;
    }

    .notice-date strong {
        font-size: 22px;
    }

    .notice-info h4 {
        font-size: 13px;
    }

    .notice-info p {
        font-size: 11px;
    }

    .tab {
        padding: 8px 11px;
        font-size: 11px;
    }
}

.notice-track.is-scrolling {
    animation: noticeAutoScroll var(--notice-duration, 30s) linear infinite;
}

@keyframes noticeAutoScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

/* =========================================
   ABOUT - PROFESSIONAL INSTITUTIONAL DESIGN
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
}

/* Institutional image */

.about-image {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    border: 1px solid #e1e6ed;
    box-shadow: 0 10px 28px rgba(22, 43, 70, 0.12);
}

/* About content */

.about-content {
    padding: 8px 0;
}

.about-content h2 {
    position: relative;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 750;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.8px;
    margin: 10px 0 18px;
    max-width: 600px;
}

.about-content h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: var(--orange);
    margin-top: 16px;
}

.about-content p {
    font-size: 14px;
    color: #657286;
    line-height: 1.85;
    margin-bottom: 14px;
    text-align: left;
}

/* Institutional highlights */

.about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.point {
    position: relative;
    background: #f4f7fb;
    padding: 15px 16px;
    border: 1px solid #e4eaf1;
    border-left: 3px solid #315d91;
    border-radius: 3px;
    color: #294363;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.6;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.point:hover {
    background: #eaf0f8;
    border-left-color: var(--orange);
}

/* =========================================
   RESPONSIVE LAYOUT
========================================= */

@media (max-width: 900px) {
    .about-grid {
        gap: 28px;
    }

    .about-image {
        height: 330px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-image {
        height: 340px;
    }

    .about-content {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .about-image {
        height: 250px;
    }

    .about-points {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content p {
        font-size: 13px;
    }
}




/* =========================================
   FACULTY - CONTEMPORARY PROFILE DESIGN
========================================= */

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.faculty-card {
    position: relative;
    background: linear-gradient(155deg, #ffffff 0%, #f7f6fc 100%);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e9e5f2;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 5px 20px rgba(53, 40, 85, 0.045);
}

/* Gradient corner decoration */

.faculty-card::before {
    content: "";
    position: absolute;
    top: -55px;
    right: -55px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7e2ff, #d5f3ef);
    opacity: 0.65;
    transition: all 0.45s ease;
}

.faculty-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 76%;
    height: 3px;
    background: linear-gradient(90deg, #7564c5, #35a99a);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.faculty-card:hover {
    transform: translateY(-8px);
    border-color: #d6cfee;
    box-shadow: 0 18px 38px rgba(64, 49, 110, 0.12);
}

.faculty-card:hover::before {
    transform: scale(1.5);
    opacity: 0.85;
}

.faculty-card:hover::after {
    transform: scaleX(1);
}

.faculty-avatar {
    position: relative;
    z-index: 1;
    width: 86px;
    height: 86px;
    border-radius: 25px;
    margin: auto;
    background: linear-gradient(145deg, #e9e5fb, #d9f0ed);
    color: #6553a9;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 800;
    border: 3px solid #ffffff;
    box-shadow: 0 5px 17px rgba(82, 66, 139, 0.12);
    transition: all 0.4s ease;
}

.faculty-card:hover .faculty-avatar {
    border-radius: 50%;
    background: linear-gradient(145deg, #6856ad, #319b91);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.06);
    box-shadow: 0 8px 22px rgba(82, 66, 139, 0.2);
}

.faculty-card h3 {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 750;
    color: #30284f;
    margin-top: 17px;
    letter-spacing: -0.4px;
}

.faculty-card p {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #77738d;
    margin-top: 7px;
    line-height: 1.7;
}

.faculty-card small {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 12px;
    padding: 6px 13px;
    color: #327e76;
    background: #e3f4f0;
    border: 1px solid #cce9e2;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.2px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .faculty-card {
        padding: 25px 17px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .faculty-card,
    .faculty-card::before,
    .faculty-card::after,
    .faculty-avatar {
        transition: none;
    }
}



/* =========================================
   RESOURCES - MODERN COLORFUL GRID
========================================= */

.link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.resource {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f5f8fd);
    border: 1px solid #e3eaf3;
    padding: 19px 17px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 650;
    color: #294363;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(30, 55, 90, 0.035);
}

/* Subtle decorative background */

.resource::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -45px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(49, 92, 170, 0.07);
    transition: all 0.35s ease;
}

.resource:hover {
    background: linear-gradient(135deg, #19385f, #315b8b);
    border-color: #315b8b;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(25, 56, 95, 0.17);
}

.resource:hover::before {
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1024px) {
    .link-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .faculty-card {
        padding: 23px 16px;
    }

    .link-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .faculty-card,
    .faculty-card::before,
    .faculty-avatar,
    .resource,
    .resource::before {
        transition: none;
    }
}



/* ============================
   UNIVERSITY LOGIN MODAL
============================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 24, 45, 0.78);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

/* LOGIN CONTAINER */

.login-box {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 36px 34px;
    border-radius: 12px;
    position: relative;
    border: 1px solid #e5eaf0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    animation: loginAppear 0.25s ease;
}

@keyframes loginAppear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CLOSE BUTTON */

.close-modal {
    position: absolute;
    right: 17px;
    top: 15px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f1f4f8;
    color: #526174;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal:hover {
    background: #e2e8f0;
    color: #172b45;
}

/* LOGIN HEADING */

.login-box h2 {
    color: #142d4e;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 7px;
    letter-spacing: -0.4px;
}

.login-box p {
    font-size: 13px;
    line-height: 1.6;
    color: #718096;
    margin-bottom: 25px;
}

/* FORM LABELS */

.login-box label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #34445a;
    margin: 16px 0 7px;
}

/* INPUT FIELDS */

.login-box input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5dee9;
    border-radius: 7px;
    background: #ffffff;
    color: #26374b;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.login-box input::placeholder {
    color: #a0acbb;
}

.login-box input:focus {
    border-color: #285a91;
    box-shadow: 0 0 0 3px rgba(40, 90, 145, 0.10);
}

/* LOGIN BUTTON */

.login-box .btn {
    width: 100%;
    margin-top: 23px;
    padding: 13px;
    border: none;
    border-radius: 7px;
    background: #173d68;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.login-box .btn:hover {
    background: #24568c;
    box-shadow: 0 5px 14px rgba(23, 61, 104, 0.18);
}

/* LOGIN MESSAGE */

#loginMessage {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 13px;
    color: #526174;
}

/* DARK MODE */

body.dark .login-box {
    background: #17283c;
    border-color: #30445b;
}

body.dark .login-box h2 {
    color: #f1f5f9;
}

body.dark .login-box p {
    color: #aab8c9;
}

body.dark .login-box label {
    color: #dce5ef;
}

body.dark .login-box input {
    background: #21344a;
    color: #f1f5f9;
    border-color: #3a5069;
}

body.dark .login-box input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

body.dark .close-modal {
    background: #263b52;
    color: #e2e8f0;
}

body.dark .close-modal:hover {
    background: #354c65;
}

body.dark #loginMessage {
    color: #cbd5e1;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 480px) {
    .login-box {
        padding: 30px 23px;
        max-width: 370px;
    }

    .login-box h2 {
        font-size: 22px;
    }
}



/* FOOTER */

footer {
    background: #071d39;
    color: #cbd7e6;
    padding: 48px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 35px
}

.footer-col h3 {
    font-size: 15px;
    color: white;
    margin-bottom: 15px
}

.footer-col p {
    font-size: 12px;
    color: #b6c5d7
}

.footer-col a {
    display: block;
    font-size: 12px;
    padding: 5px 0;
    color: #cbd7e6
}

.footer-col a:hover {
    color: #ffc07e
}

.footer-bottom {
    border-top: 1px solid #ffffff25;
    padding: 18px 0;
    font-size: 11px
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

/* BACK TO TOP */

#topButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--orange);
    color: white;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    display: none;
    z-index: 30;
    font-size: 19px
}

#topButton.show {
    display: block
}

/* DARK THEME */

body.dark {
    --bg: #101c2d;
    --text: #e4eaf2;
    --muted: #a6b5c7;
    --line: #304157
}

body.dark .university,
body.dark .portal-strip,
body.dark .recognition,
body.dark .notice-main,
body.dark .placement,
body.dark .about-content,
body.dark .faculty-card,
body.dark .resource,
body.dark .login-box,
body.dark .search-panel {
    background: #1a2b41;
    color: #e4eaf2
}

body.dark .section-head h2,
body.dark .about-content h2,
body.dark .identity h1,
body.dark .faculty-card h3,
body.dark .placement-header h2 {
    color: #e6edf7
}

body.dark .portal,
body.dark .placement-card,
body.dark .company-logo {
    background: #243950;
    color: white
}




.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-link {
    text-decoration: none;
    padding: 9px 13px;
    border-radius: 8px;
    background: #edf3f9;
    color: #243b53;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}

.header-link:hover {
    background: #1e40af;
    color: white;
}

body.dark .header-link {
    background: #24364b;
    color: #e2e8f0;
}

body.dark .header-link:hover {
    background: #3b82f6;
    color: white;
}

@media (max-width: 600px) {
    .header-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .header-link {
        padding: 7px 9px;
        font-size: 11px;
    }
}


/* RESPONSIVE */

@media(max-width:1000px) {
    .nav-links>li>a {
        padding: 14px 8px;
        font-size: 10px
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .placement-card {
        flex-basis: calc(33.333% - 12px)
    }
}

@media(max-width:760px) {
    .utility-inner {
        justify-content: center;
        flex-wrap: wrap
    }

    .university-inner {
        flex-wrap: wrap
    }

    .identity h1 {
        font-size: 15px
    }

    .emblem {
        width: 50px;
        height: 50px
    }

    .mobile-toggle {
        display: block
    }

    .nav-inner {
        flex-wrap: wrap
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3
    }

    .nav-links.show {
        display: flex
    }

    .nav-links>li>a {
        font-size: 13px;
        padding: 12px
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-top: 0;
        padding-left: 15px
    }

    .nav-links li:hover>.dropdown {
        display: none
    }

    .nav-links li.open>.dropdown {
        display: block
    }

    .nav-right {
        margin-left: auto
    }

    .hero {
        height: 430px
    }

    .hero-content {
        padding-top: 90px
    }

    .portals {
        grid-template-columns: repeat(3, 1fr)
    }

    .recognition-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .notice-layout,
    .about-grid {
        grid-template-columns: 1fr
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-image {
        height: 260px
    }

    .placement-card {
        flex-basis: calc(50% - 9px)
    }
}

@media(max-width:500px) {
    .container {
        width: 92%
    }

    .identity h1 {
        font-size: 13px
    }

    .identity p {
        font-size: 9px
    }

    .header-actions button {
        font-size: 10px;
        padding: 7px
    }

    .hero-content {
        padding-top: 75px
    }

    .hero-content p {
        font-size: 13px
    }

    .hero-content h2 {
        font-size: 34px
    }

    .portals {
        grid-template-columns: repeat(2, 1fr)
    }

    .recognition-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .faculty-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .about-points {
        grid-template-columns: 1fr
    }

    .placement-card {
        flex-basis: 100%
    }

    .placement-header {
        align-items: flex-start;
        flex-direction: column
    }
}