:root {
    --orange-primary: #ff9800;
    --orange-dark: #ff6f00;
    --orange-light: #ffb74d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Text Orange */
.text-orange {
    color: var(--orange-primary) !important;
}

.bg-orange {
    background-color: var(--orange-primary) !important;
}

/* Navbar */
.navbar-brand {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.92) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar .navbar-brand img {
    border-radius: 10px;
}

.navbar-main {
    gap: 0.15rem;
}

.navbar-main .nav-link {
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    color: #1b1b1b;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
    background: #fff3e0;
    color: var(--orange-primary) !important;
}

.navbar-main .nav-link.active {
    background: #fff3e0;
    color: var(--orange-dark) !important;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--orange-primary) !important;
}

.nav-link.active {
    color: var(--orange-primary) !important;
}

.nav-link.active::after {
    display: none;
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.4rem;
}

.dropdown-item {
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
}

.dropdown-item:hover {
    background-color: #fff3e0;
    color: var(--orange-dark);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a.dropdown-toggle {
    position: relative;
    padding-right: 2rem;
}

.dropdown-submenu > a.dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.7;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
}

.dropdown-submenu.show > .dropdown-menu {
    display: block;
}

@media (max-width: 991.98px) {
    .navbar-main {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        gap: 0;
    }

    .navbar-main .nav-link {
        border-radius: 14px;
        padding: 0.6rem 0.75rem;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        left: auto;
        top: auto;
        margin-left: 0;
        margin-top: 0.25rem;
        box-shadow: none;
        border: 0;
        padding: 0.25rem 0.25rem 0.35rem;
        border-left: 2px solid #fff3e0;
        border-radius: 0;
    }
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Footer */
footer h5 {
    font-weight: bold;
}

footer a:hover {
    color: var(--orange-primary) !important;
}

/* Button Orange */
.btn-orange {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
}

.btn-orange:hover {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    color: white;
}

/* Top Bar */
.top-bar a:hover {
    color: var(--orange-primary) !important;
}

.top-bar .dropdown {
    position: relative;
}

.top-bar .dropdown-menu {
    left: auto;
    right: 0;
    z-index: 1050;
}

/* Slider */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

#heroSlider .carousel-inner,
#heroSlider .carousel-item {
    height: clamp(660px, 92vh, 1100px);
}

.slider-content {
    position: relative;
}

.slider-content.hero-slide {
    height: 100%;
    display: flex;
    align-items: flex-end;
    width: 100%;
    background-color: #161616;
    overflow: hidden;
}

.slider-content.hero-slide::before {
    content: "";
    position: absolute;
    inset: -18px;
    background-image: var(--slide-bg);
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(.72);
    transform: scale(1.06);
    z-index: 0;
}

.slider-content.hero-slide .hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
}

#heroSlider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.slider-content.hero-slide > .container-fluid {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(1.25rem, 3.5vh, 2.5rem);
}

.slider-content.hero-slide .hero-caption {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: .75rem .95rem;
    border-radius: 14px;
    background: transparent;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.slider-content.hero-slide .hero-caption h1 {
    font-size: clamp(.9rem, 1.55vw, 1.35rem);
    line-height: 1.25;
    margin-bottom: .35rem !important;
    text-align: justify;
    color: #f3f4f6 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.78), 0 0 1px rgba(0,0,0,0.95);
}

.slider-content.hero-slide .hero-caption p {
    font-size: clamp(.64rem, .9vw, .78rem);
    line-height: 1.45;
    margin-bottom: .55rem !important;
    opacity: .95;
    text-align: justify;
    color: #e5e7eb !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.72), 0 0 1px rgba(0,0,0,0.9);
}

.slider-content.hero-slide .hero-caption .btn {
    font-size: .7rem;
    padding: .42rem .95rem;
    border-radius: 999px;
}

.slider-content h1, .slider-content p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

@media (max-width: 991.98px) {
    #heroSlider .carousel-inner,
    #heroSlider .carousel-item {
        height: clamp(500px, 76vh, 820px);
    }

    .slider-content.hero-slide {
        height: 100%;
    }

    .slider-content.hero-slide .hero-caption {
        width: 100%;
        max-width: 100%;
        padding: .65rem .8rem;
        border-radius: 12px;
    }

    .slider-content.hero-slide .hero-slide-img {
        object-position: center 16%;
    }

    .slider-content.hero-slide .hero-caption p {
        margin-bottom: .4rem !important;
    }
}

/* Testimonials (Landing Page) */
.testimonials-premium {
    overflow: hidden;
}

.testimonials-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 55%),
        radial-gradient(circle at 85% 75%, rgba(255,255,255,0.12), transparent 60%);
    pointer-events: none;
}

.testimonials-premium .testimonial-marquee-wrapper {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 1rem;
    padding-right: 1rem;
}

.testimonials-premium .testimonial-track {
    display: flex;
    gap: 1.25rem;
    animation: testimonial-scroll 18s linear infinite;
    will-change: transform;
}

.testimonials-premium .testimonial-track.paused {
    animation-play-state: paused;
}

.testimonials-premium .testimonial-track.reverse {
    animation-direction: reverse;
}

.testimonials-premium .testimonial-card {
    flex: 0 0 520px;
    min-width: 520px;
    position: relative;
    cursor: pointer;
    background: transparent;
    padding: 0;
}

.testimonials-premium .testimonial-card:focus-visible {
    outline: none;
}

.testimonials-premium .testimonial-card .card-inner {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 1.1rem 1.1rem;
    height: 100%;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform .35s ease, box-shadow .35s ease;
}

.testimonials-premium .testimonial-card .testi-split {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.testimonials-premium .testimonial-card .testi-left {
    width: 190px;
    flex: 0 0 190px;
    border-radius: 18px;
    padding: 1rem .9rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.76)),
        radial-gradient(circle at 30% 30%, rgba(255,183,77,0.55), transparent 62%),
        radial-gradient(circle at 70% 85%, rgba(255,152,0,0.22), transparent 60%);
}

.testimonials-premium .testimonial-card .testi-left .avatar {
    display: block;
    margin: 0 auto .85rem;
}

.testimonials-premium .testimonial-card .testi-left .testi-meta {
    text-align: center;
}

.testimonials-premium .testimonial-card .testi-sep {
    width: 1px;
    flex: 0 0 1px;
    border-radius: 99px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.10), rgba(255,255,255,0.05));
    opacity: 0.9;
}

.testimonials-premium .testimonial-card .testi-right {
    flex: 1 1 auto;
    min-width: 0;
    padding: .15rem .25rem .25rem;
}

.testimonials-premium .testimonial-card .card-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.42), transparent 60%);
    pointer-events: none;
}

.testimonials-premium .testimonial-card .card-inner::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--orange-light), var(--orange-dark));
    opacity: 0.95;
}

.testimonials-premium .testimonial-card:hover .card-inner,
.testimonials-premium .testimonial-card:focus-visible .card-inner {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.20);
}

.testimonials-premium .testimonial-card .avatar {
    box-shadow: 0 0 0 6px rgba(255,255,255,0.95), 0 14px 30px rgba(0,0,0,0.22);
}

.testimonials-premium .testimonial-card .testi-meta {
    min-width: 0;
}

.testimonials-premium .testimonial-card .name {
    font-weight: 700;
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonials-premium .testimonial-card .position {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonials-premium .testimonial-card .quote-icon {
    opacity: 0.18;
    margin-bottom: .25rem;
}

.testimonials-premium .testimonial-card .quote-icon i {
    color: var(--orange-primary);
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.testimonials-premium .testimonial-card .testimonial-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #2f2f2f;
    display: -webkit-box;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonials-premium .testimonial-card .testimonial-extra {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonials-premium .testimonial-prev,
.testimonials-premium .testimonial-next {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px -4px rgba(0,0,0,.3);
    transition: background .25s, transform .25s, color .25s;
}

.testimonials-premium .testimonial-prev:hover,
.testimonials-premium .testimonial-next:hover {
    background: var(--orange-primary);
    color: #fff;
    transform: scale(1.08);
}

@keyframes testimonial-scroll {
    0% { transform: translateX(0) }
    100% { transform: translateX(-50%) }
}

/* Partner logos marquee */
.partners-marquee-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

/* Full-width marquee (break out of container) */
.partners-marquee--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    padding-left: 12px;
    padding-right: 12px;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 16px;
    will-change: transform;
    animation: partners-scroll 18s linear infinite;
    padding: 10px 4px;
}

.partners-marquee-wrapper:hover .partners-track {
    animation-play-state: paused;
}

.partner-item {
    flex: 0 0 auto;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 72px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    text-decoration: none;
}

.partner-card img {
    max-width: 130px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-fallback {
    font-size: .85rem;
    color: #6c757d;
    padding: 0 10px;
    text-align: center;
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track { animation: none; }
}

@media (max-width: 991px) {
    .testimonials-premium .testimonial-card {
        flex: 0 0 440px;
        min-width: 440px;
    }
}

@media (max-width: 767px) {
    .testimonials-premium .testimonial-card {
        flex: 0 0 85%;
        min-width: 280px;
    }
    .testimonials-premium .testimonial-track {
        gap: 1.25rem;
    }

    .testimonials-premium .testimonial-card .testi-split {
        flex-direction: column;
        gap: .9rem;
    }
    .testimonials-premium .testimonial-card .testi-left {
        width: 100%;
        flex-basis: auto;
        display: flex;
        align-items: center;
        gap: .9rem;
        text-align: left;
    }
    .testimonials-premium .testimonial-card .testi-left .avatar {
        margin: 0;
    }
    .testimonials-premium .testimonial-card .testi-left .testi-meta {
        text-align: left;
    }
    .testimonials-premium .testimonial-card .testi-sep {
        width: 100%;
        height: 1px;
    }
}

.testimonials-premium #testimonialModal .modal-content {
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    background: #fff;
    color: #111;
}

.testimonials-premium #testimonialModal .testimonial-modal-main {
    font-size: 1rem;
    line-height: 1.65;
}

.testimonials-premium #testimonialModal .testimonial-modal-extra {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Statistics */
.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* Button Outline Orange */
.btn-outline-orange {
    color: var(--orange-primary);
    border-color: var(--orange-primary);
}

.btn-outline-orange:hover {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
}

/* Badge */
.badge.bg-orange {
    background-color: var(--orange-primary) !important;
}

.text-orange {
    color: var(--orange-primary) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
}

.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Hover Card Effect */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Timeline */
.timeline-marker {
    font-size: 1.2rem;
}

/* Mission List */
.mission-list {
    padding-left: 1.5rem;
}

.mission-list li {
    line-height: 1.8;
}

/* News Detail */
.news-cover img { display:block; }
.news-cover-image {
    max-height:450px;
    object-fit:contain;
    background:#f8f9fa;
}
.news-content img {
    max-width:100%;
    max-height:600px;
    width:auto;
    object-fit:contain;
    display:block;
    margin:0 auto 1.25rem auto;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.news-content figure { margin:0 0 1.25rem; }
.news-content figure img { margin:0; }
.news-content p { line-height:1.7; }

/* Announcements */
.announcement-thumb-btn {
    position: relative;
    width: min(260px, 100%);
    display: inline-block;
    border: 0;
    padding: 0;
    margin: 0 0 .9rem;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f4;
    cursor: zoom-in;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.announcement-thumb-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    opacity: .78;
    filter: saturate(.82) brightness(.82);
    transition: transform 0.35s ease, opacity .3s ease, filter .3s ease;
}

.announcement-thumb-overlay {
    position: absolute;
    left: 50%;
    bottom: .65rem;
    transform: translateX(-50%);
    padding: .36rem .72rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0,0,0,.56);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    white-space: nowrap;
}

.announcement-thumb-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.28) 100%);
    pointer-events: none;
}

.announcement-thumb-btn:hover .announcement-thumb-img,
.announcement-thumb-btn:focus-visible .announcement-thumb-img {
    transform: scale(1.04);
    opacity: .96;
    filter: saturate(1) brightness(1);
}

.announcement-image-modal {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0,0,0,.25);
}

.announcement-modal-image {
    max-height: 78vh;
    object-fit: contain;
    background: #f8f9fa;
}

/* Faculty styles - luxurious */
.faculty-card { border-radius:12px; overflow:hidden; }
.faculty-hero { height:160px; background-size:cover; background-position:center; }
.faculty-hero.bg-orange { height:160px; display:flex; align-items:center; justify-content:center; }
.small-faculty-title { font-size:1rem; }
.btn-gold {
    background: linear-gradient(90deg,#e6a400,#ffb84d);
    color:#222; border: none; box-shadow: 0 6px 18px rgba(230,164,0,0.18);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-outline-gold {
    color: #b57a00; border:1px solid rgba(181,122,0,0.12); background:transparent;
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }

/* Org chart (faculty detail) */
.org-chart { position: relative; }
.org-row { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; position:relative; }
.org-level-1 { padding-bottom: 18px; }
.org-level-1:after { content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0; width:2px; height:18px; background:rgba(0,0,0,0.12); border-radius:2px; }
.org-level-2 { padding-top: 10px; padding-bottom: 18px; }
.org-level-2:before { content:""; position:absolute; left:12%; right:12%; top:0; height:2px; background:rgba(0,0,0,0.12); border-radius:2px; }
.org-level-2:after { content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0; width:2px; height:18px; background:rgba(0,0,0,0.10); border-radius:2px; }

.org-node { background:transparent; border:0; padding:0; text-align:left; }
.org-node:focus-visible { outline: 2px solid rgba(255,152,0,0.45); outline-offset: 4px; border-radius: 14px; }
.org-card {
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border:1px solid rgba(0,0,0,0.06);
    border-radius:14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    min-width: 260px;
}
.org-node:hover .org-card { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.10); border-color: rgba(255,152,0,0.18); }

.org-avatar {
    width:56px; height:56px; border-radius: 50%;
    overflow:hidden;
    background: rgba(0,0,0,0.03);
    display:flex; align-items:center; justify-content:center;
    flex: 0 0 auto;
}
.org-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.org-avatar i { font-size: 1.6rem; }

.org-meta { display:flex; flex-direction:column; min-width:0; }
.org-role { font-size:.82rem; color: rgba(0,0,0,0.55); letter-spacing: .2px; }
.org-name { font-weight: 700; color: rgba(0,0,0,0.85); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.org-sub { font-size:.82rem; color: rgba(0,0,0,0.55); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.org-section-title { margin: 14px 0 10px; text-align:center; }
.org-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.org-node-sm .org-card { min-width: 0; width:100%; }
.org-node-sm .org-avatar { width:48px; height:48px; }

.org-prodi {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
    padding: 12px;
}
.org-prodi-title {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.org-prodi-chips { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.org-prodi-nodes { display:grid; grid-template-columns: 1fr; gap: 10px; }

.person-modal-photo img { width:100%; height:auto; }
.person-modal-fallback { width:100%; min-height: 200px; }

.secondary-person {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}
.secondary-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.03);
    flex: 0 0 auto;
}
.secondary-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.secondary-fallback { width:100%; height:100%; }
.secondary-fallback i { font-size: 1.2rem; }

@media (max-width: 991px) {
    .org-card { min-width: 240px; }
    .org-level-2:before { left: 8%; right: 8%; }
    .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .org-level-2:before { display:none; }
    .org-level-1:after, .org-level-2:after { display:none; }
    .org-card { width: 100%; min-width: 0; }
    .org-grid { grid-template-columns: 1fr; }
}

/* Modal image area */
#facultyModalImage { background-color:#f5f5f5; }

/* Responsive tweaks */
@media (max-width:767px){
    .faculty-hero { height:120px; }
}

/* Footer enhancements */
footer.bg-dark { background: #121417; position: relative; }
footer.bg-dark:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%, rgba(255,152,0,0.08), transparent 60%), radial-gradient(circle at 85% 70%, rgba(255,152,0,0.06), transparent 55%); pointer-events:none; }
footer h5 { font-weight:600; letter-spacing:.5px; }
footer .text-muted { color:#c9ced4 !important; }
footer p.text-muted { line-height:1.55; }
footer .list-unstyled li a { color:#c9ced4; transition:color .25s, transform .25s; display:inline-flex; align-items:center; gap:.35rem; }
footer .list-unstyled li a:hover { color:#ffb74d; transform:translateX(4px); }
footer .social-gradient a { position:relative; display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:50%; background:#1f2327; color:#fff; margin-right:.5rem; transition:background .35s, transform .35s; box-shadow:0 4px 14px -4px rgba(0,0,0,.4); }
footer .social-gradient a:hover { background:linear-gradient(135deg,#ff9800,#ffb74d); transform:translateY(-4px); color:#222; }
footer .contact-list li { display:flex; align-items:flex-start; gap:.55rem; }
footer .contact-list i { font-size:1rem; margin-top:.25rem; }
footer .copyright { color:#90979f !important; }
@media (max-width: 767px){ footer .social-gradient a { width:36px; height:36px; } }