/* ============================================================
   department.css  —  NPR CET Department Detail Page
   Enhanced tab layout with Font Awesome icons & animations
   ============================================================ */

/* ── Design Tokens ── */
:root {
    --brand: #234189;
    --brand-dark: #172b5e;
    --brand-mid: #f58120;
    --brand-light: #f7f9fd;
    --brand-xlight: #fff7f0;
    --accent: #c45e28;
    --accent-light: #fdf0e8;

    --bg: #ffffff;
    --surface: #f9f9fb;
    --surface-2: #f2f2f6;
    --border: #e4e4ea;
    --border-light: #efeff3;

    --text: #000000;
    --text-muted: #2c2c2c;
    --text-light: #a0a8b8;

    --success: #16a34a;
    --info: #2563eb;
    --info-light: #eff6ff;
    --info-border: #bfdbfe;

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, .07), 0 1px 3px rgba(0, 0, 0, .04);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .09), 0 2px 6px rgba(0, 0, 0, .05);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .06);
    --shadow-brand: 0 4px 18px rgba(126, 60, 104, 0.22);

    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes indicatorSlide {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   HERO
   ============================================================ */
.dept-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, #f58120 100%);
    color: #fff;
    padding: 4.5rem 2.5rem 3.5rem;
    overflow: hidden;
}

.dept-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeUp 0.6s var(--transition-slow) both;
}

.dept-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.65rem;
}

.dept-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px;
}

.dept-hero__title {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 1px;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.dept-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.dept-meta-chip {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.28rem 0.85rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.03em;
    transition: background var(--transition), border-color var(--transition);
}

.dept-meta-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
}

.dept-hero__tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    line-height: 1.7;
}

/* Decorative shapes */
.dept-hero__accent {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dept-hero__accent::before,
.dept-hero__accent::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: heroFloat 8s ease-in-out infinite;
}

.dept-hero__accent::before {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -100px;
    animation-delay: 0s;
}

.dept-hero__accent::after {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: 200px;
    background: rgba(255, 255, 255, 0.07);
    animation-delay: 3s;
}

/* ============================================================
   TAB WRAPPER
   ============================================================ */
.tab-wrapper {
    max-width: 1140px;
    margin: 2.5rem auto 4rem;
    padding: 0 1.25rem;
}

/* ============================================================
   TAB NAV
   ============================================================ */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 10px 12px;
    row-gap: 10px;
    column-gap: 14px;
    justify-content: space-between;
}

.tab-btn {
    position: relative;
    background: transparent;
    border-bottom: 1px solid #959494;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 15px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-bottom: 3px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
    outline: none;
    margin-bottom: -1px;
    letter-spacing: 0.01em;
}

.tab-btn i {
    font-size: 0.82rem;
    transition: transform var(--transition), color var(--transition);
    opacity: 0.7;
}

.tab-btn span {
    position: relative;
}

/* Hover state */
.tab-btn:hover {
    color: var(--brand);
    background: var(--brand-xlight);
    border-color: var(--border-light) var(--border-light) transparent;
    transform: translateY(-1px);
}

.tab-btn:hover i {
    opacity: 1;
    transform: scale(1.12);
    color: var(--brand);
}

/* Active state */
.tab-btn.active {
    color: var(--brand-dark);
    font-weight: 700;
    background: var(--bg);
    border-color: var(--border) var(--border) transparent;
    border-bottom-color: transparent;
    box-shadow: 0 -2px 0 0 var(--brand) inset;
    transform: translateY(0);
}

.tab-btn.active i {
    opacity: 1;
    color: var(--brand);
}

/* Active bottom indicator */
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-mid));
    border-radius: 3px 3px 0 0;
    animation: indicatorSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-origin: left;
}

/* Focus ring */
.tab-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ============================================================
   TAB CONTENT CONTAINER
   ============================================================ */
.tab-content {
    background: var(--bg);
    /*border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-height: 420px;*/
    overflow: hidden;
}

/* ============================================================
   TAB PANELS
   ============================================================ */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: panelSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Stagger children on panel entry */
.tab-panel.active .panel-body>* {
    animation: fadeUp var(--transition-slow) both;
}

.tab-panel.active .panel-body>*:nth-child(1) {
    animation-delay: 0.04s;
}

.tab-panel.active .panel-body>*:nth-child(2) {
    animation-delay: 0.09s;
}

.tab-panel.active .panel-body>*:nth-child(3) {
    animation-delay: 0.14s;
}

.tab-panel.active .panel-body>*:nth-child(4) {
    animation-delay: 0.19s;
}

.tab-panel.active .panel-body>*:nth-child(5) {
    animation-delay: 0.24s;
}

.tab-panel h3 {
    line-height: 3rem;
}

.tab-panel h4 {
    line-height: 2.75rem;
}

/* ── Panel Header ── */
.panel-header {
    padding: 1.75rem 2.25rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(to right, var(--brand-xlight), var(--bg) 60%);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    position: relative;
}

.panel-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), transparent);
    border-radius: 3px;
    margin-top: 0.4rem;
}

/* ── Panel Body ── */
.panel-body {
    padding: 2rem 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-body p {
    color: var(--text);

}

.panel-lead {
    color: var(--text) !important;
    border-left: 3px solid var(--brand);
    padding-left: 1.1rem;
    background: var(--brand-xlight);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    border-left: 4px solid var(--brand);
}



.section-subhead {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subhead::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--brand);
    border-radius: 2px;
}

/* ============================================================
   FEATURE GRID  (lab cards)
   ============================================================ */
.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 0.85rem;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    cursor: default;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition),
        background var(--transition);
}

.feature-card:hover {
    border-color: var(--brand);
    background: var(--brand-xlight);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
    color: var(--brand-dark);
}

.feature-card__icon {
    font-size: 1.65rem;
    line-height: 1;
    transition: transform var(--transition);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.15);
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm-block {
    border-radius: var(--radius-md);
    padding: 1.65rem;
    border-left: 5px solid;
    transition: box-shadow var(--transition), transform var(--transition);
}

.vm-block:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(3px);
}

.vm-block--vision {
    background: var(--brand-light);
    border-color: var(--brand);
}

.vm-block--mission {
    background: linear-gradient(135deg, var(--accent-light), #fff9f5);
    border-color: var(--accent);
}

.vm-block__label {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
}

.vm-block__text,
.vm-block__list {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.78;
}

.vm-block__list {
    padding-left: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* ============================================================
   SCOPE GRID
   ============================================================ */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.scope-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    border-top: 2px solid var(--brand);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.scope-item:hover {
    border-top-color: var(--brand);
    border-color: var(--border);
    border-top-color: var(--brand);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.scope-item strong {
    display: block;
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.scope-item p {
    font-size: 0.83rem !important;
    color: var(--text-muted) !important;
    line-height: 1.65;
}

/* ============================================================
   OUTCOME SECTIONS
   ============================================================ */
.outcome-section {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.6rem;
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.outcome-section:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-xs);
}

.outcome-section__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.outcome-section__title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}

.outcome-list {
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

.po-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.outcome-card {
    background: #fff;
    border: 1px solid #e6e9f2;
    border-left: 2px solid var(--brand);
    padding: 24px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.outcome-card h4 {
    color: #1D3674;
    margin-bottom: 10px;
}

.outcome-section {
    margin-bottom: 50px;
}

.outcome-section__title {
    color: #1D3674;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F58120;
    display: inline-block;
}

@media(max-width:768px) {
    .po-grid {
        grid-template-columns: 1fr;
    }
}


.course-outcomes-table-wrapper {
    overflow-x: auto;
}

.course-outcomes-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.course-outcomes-table thead th {
    background: #1D3674;
    color: #fff;
    text-align: left;
    padding: 16px 20px;
    font-weight: 600;
}

.course-outcomes-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #edf0f7;
    vertical-align: middle;
}

.course-outcomes-table tbody tr:last-child td {
    border-bottom: none;
}

.course-outcomes-table tbody tr:hover {
    background: #f8f9fd;
}

.co-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: #F58120;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all .3s ease;
}

.co-btn:hover {
    background: #1D3674;
    color: #fff;
}

.co-btn::before {
    content: "📄";
}

/* ============================================================
   INFO CALLOUT
   ============================================================ */
.info-callout {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: var(--info-light);
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    transition: box-shadow var(--transition);
}

.info-callout:hover {
    box-shadow: var(--shadow-xs);
}

.info-callout__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.info-callout p {
    font-size: 0.9rem !important;
    color: #1e40af !important;
    line-height: 1.7;
}

/* BoS */
.bos-table-wrapper {
    overflow-x: auto;
}

.bos-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.bos-table thead th {
    background: #1D3674;
    color: #fff;
    text-align: left;
    padding: 18px;
    font-weight: 600;
}

.bos-table tbody td {
    padding: 18px;
    border-bottom: 1px solid #e8edf5;
    vertical-align: top;
    line-height: 1.7;
}

.bos-table tbody tr:hover {
    background: #f8f9fc;
}

.bos-table tbody tr:last-child td {
    border-bottom: none;
}

.bos-table td:first-child {
    text-align: center;
    font-weight: 600;
    width: 80px;
}

.bos-table td:nth-child(2) {
    font-weight: 600;
    color: #1D3674;
    min-width: 220px;
}

.bos-table strong {
    color: #1D3674;
}

@media(max-width:768px) {

    .bos-table th,
    .bos-table td {
        padding: 14px;
    }

}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.dept-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.dept-table thead {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-mid));
    color: #fff;
}

.dept-table th {
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dept-table td {
    padding: 0.78rem 1.1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: background var(--transition);
}

.dept-table tbody tr:last-child td {
    border-bottom: none;
}

.dept-table tbody tr {
    transition: background var(--transition);
}

.dept-table tbody tr:hover td {
    background: var(--brand-xlight);
}

.dept-table tbody tr:nth-child(even) td {
    background: var(--surface);
}

.dept-table tbody tr:nth-child(even):hover td {
    background: var(--brand-xlight);
}

.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--brand-light);
    color: var(--brand-dark);
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(126, 60, 104, 0.2);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.link-pill:hover {
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    transform: scale(1.04);
}

/* ============================================================
   PROFILE CARD  (HoD)
   ============================================================ */
.hod-message-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.hod-profile {
    background: linear-gradient(135deg, #1D3674, #284a9c);
    color: #fff;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.hod-photo {
    flex-shrink: 0;
}

.hod-photo img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, .15);
}

.hod-details h3,
.hod-details p {
    color: #fff;
}

.hod-designation {
    color: #F58120;
    font-weight: 600;
}

.hod-quote {
    display: inline-block;
    background: #F58120;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-style: italic;
}

.hod-contact {
    display: flex;
    gap: 40px;
}

.hod-contact strong {
    color: #F58120;
}

.hod-content {
    padding: 40px;
}

.hod-content p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.hod-content p:first-child {
    font-weight: 600;
    color: #1D3674;
}

@media(max-width:768px) {

    .hod-profile {
        flex-direction: column;
        text-align: center;
    }

    .hod-contact {
        flex-direction: column;
        gap: 15px;
    }

    .hod-photo img {
        width: 150px;
        height: 150px;
    }

    .hod-content {
        padding: 25px;
    }

}

/* MoUs */
.mou-table td {
    vertical-align: top;
}

.mou-table td:first-child {
    text-align: center;
    font-weight: 600;
    width: 80px;
}

.mou-table td:nth-child(2) {
    min-width: 130px;
}

.mou-table td:last-child {
    white-space: nowrap;
    font-weight: 600;
    color: #1D3674;
}

.mou-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mou-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.mou-list li:last-child {
    margin-bottom: 0;
}

.mou-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #F58120;
    font-weight: 700;
}

.mou-table strong {
    color: #1D3674;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-box {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-xlight));
    border: 1px solid rgba(126, 60, 104, 0.18);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: box-shadow var(--transition), transform var(--transition);
    animation: countUp 0.4s both;
}

.stat-box:hover {
    box-shadow: var(--shadow-brand);
    transform: translateY(-3px);
}

.stat-box:nth-child(2) {
    animation-delay: 0.08s;
}

.stat-box:nth-child(3) {
    animation-delay: 0.16s;
}

.stat-box__num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--brand-dark);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-box__label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ── Recruiter tags ── */
.recruiter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.recruiter-tag {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.recruiter-tag:hover {
    background: var(--brand-light);
    border-color: var(--brand);
    color: var(--brand-dark);
    transform: scale(1.04);
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.feature-list li {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.7;
    padding: 0.65rem 1rem 0.65rem 2.6rem;
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.feature-list li:hover {
    background: var(--brand-xlight);
    border-color: var(--brand);
    transform: translateX(4px);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

/* ============================================================
   PROFESSIONAL SOCIETIES
   ============================================================ */
.society-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}

.society-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-top: 3px solid transparent;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.society-card:hover {
    border-top-color: var(--brand);
    border-color: var(--border);
    border-top-color: var(--brand);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.society-card__abbr {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -0.01em;
}

.society-card span:last-child {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   GALLERY PLACEHOLDERS
   ============================================================ */
.gallery-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 0.85rem;
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem;
    cursor: pointer;
    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.gallery-placeholder:hover {
    border-color: var(--brand);
    background: var(--brand-xlight);
    color: var(--brand);
    transform: scale(1.02);
}

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.achievement-list li {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.4rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text);
    border-left: 4px solid var(--brand-light);
    transition:
        border-left-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.achievement-list li:hover {
    border-left-color: var(--brand);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.achievement-badge {
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.achievement-list li:hover .achievement-badge {
    transform: scale(1.2) rotate(-5deg);
}

/* ============================================================
   CONTACT GRID
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.contact-block:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    border-color: var(--brand);
}

.contact-block h3 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.contact-block p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 0.4rem;
}

.contact-block a {
    color: var(--brand);
    font-weight: 500;
}

.contact-block a:hover {
    color: var(--brand-dark);
}

/* ============================================================
   SCROLLBAR  (webkit)
   ============================================================ */
.tab-nav::-webkit-scrollbar {
    height: 4px;
}

.tab-nav::-webkit-scrollbar-track {
    background: transparent;
}

.tab-nav::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
}

.tick-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.tick-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.tick-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #F58120;
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
    .dept-hero {
        padding: 3rem 1.5rem 2.5rem;
    }

    .tab-nav {
        padding: 0.7rem 0.75rem 0;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        gap: 0.25rem;
        row-gap: 0.35rem;
    }

    .tab-btn {
        font-size: 0.76rem;
        padding: 0.5rem 0.85rem;
    }

    /* .tab-btn span {
        display: none;
    } */

    .tab-btn i {
        font-size: 1rem;
        opacity: 1;
    }

    .panel-header {
        padding: 1.35rem 1.5rem 1rem;
    }

    .panel-body {
        padding: 25px;
    }

    .panel-title {
        font-size: 1.2rem;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-card__tags {
        justify-content: center;
    }

    .stats-row {
        flex-direction: column;
    }

    .scope-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .tab-wrapper {
        padding: 0 0.75rem;
    }

    .scope-grid,
    .society-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .dept-hero__title {
        font-size: 1.9rem;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* Common Scope Table Style */
.scope-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.scope-table thead {
    background: #234189;
    color: #ffffff;
}

.scope-table th {
    padding: 15px 18px;
    text-align: left;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scope-table td {
    padding: 14px 18px;
    line-height: 1.7;
    color: #333;
    border: 1px solid #e6e6e6;
    vertical-align: top;
}

.scope-table tbody tr {
    transition: all 0.3s ease;
}

.scope-table tbody tr:nth-child(even) {
    background: #f7f9ff;
}

.scope-table tbody tr:hover {
    background: #eef3ff;
}


/* Responsive Table */
@media (max-width: 768px) {

    .scope-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .scope-table th,
    .scope-table td {
        padding: 12px 14px;
        font-size: 14px;
    }
}