.dept-menu {
    clear: both;
}

.deprt-sect {
    padding: 60px 0 30px;
    background-color: #ffffffd9;
    background-image: url(../images/educational.jpg);
    background-size: 500px;
    background-blend-mode: color-burn;
}

.deprt-sect .col-md-3.col-sm-6 {
    margin-bottom: 30px;
}

.deprt-wrapper {
    background: #98a6c7;
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.deprt-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.3;
    border-radius: 0 20px 0 100%;
    transition: all 0.4s ease;
}

.deprt-wrapper:hover {
    /* transform: translateY(-15px); */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.deprt-wrapper:hover::before {
    width: 115px;
    height: 115px;
    opacity: 0.5;
}

.depart-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fa8424 0%, #d66000 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}


.depart-icon a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.depart-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.deprt-wrapper:hover .depart-icon img {
    transform: scale(1.05);
}

.depart-title {
    margin-top: 10px;
}

.depart-title a {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.depart-title a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #e49308 0%, #ffd339 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.deprt-wrapper:hover .depart-title a {
    color: #d66000;
}

.deprt-wrapper:hover .depart-title a::after {
    width: 100%;
}

/* Section Header (Optional) */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Single Department */
section.sin-department-sec {
    padding: 60px 0;
}

section.sin-department-sec figure {
    border-left: 30px solid #002064;
    border-top: 30px solid #002064;
    padding: 15px 0 0 15px;
}

section.sin-department-sec p {
    text-align: justify;
}

.counter-box {
    box-shadow: 0 0 2px 0 #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    background-image: url('../images/3d-background-img.jpg');
    background-color: #ededed;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.counter-box h2 {
    color: #d99400;
}

.counter-box p {
    text-align: center !important;
}

section.vision_department {
    background: #ececf9;
    padding: 60px 0;
}

section.vision_department .left-mission .left-pic {
    height: 302px;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 40px;
    margin-bottom: 20px;
}

section.vision_department .left-mission .left-pic img {
    width: 100%;
    height: 100%;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 40px;
}

.heading_department span.head {
    background: linear-gradient(93deg, #f3c21ca8 71%, #ffffff00);
    border-left: 2px solid #d89b30;
    color: #ffffff;
    font-size: 15px;
    padding: 5px 81px 5px 10px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

section.vision_department ul.right-list {
    padding-top: 12px;
    padding-left: 0;
}

section.vision_department .right-list li {
    list-style-type: none;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.4px;
    padding-left: 23px;
    line-height: 18px;
    margin-bottom: 15px;
}

section.vision_department .right-pic {
    width: 100%;
    height: 350px;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 40px;
}

section.vision_department .right-pic {
    width: 100%;
    height: 350px;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 40px;
}

section.hod-msg-sec {
    padding: 60px 0;
    position: relative;
}

section.hod-msg-sec figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

section.vision_department .right-pic img {
    width: 100%;
    height: 350px !important;
    border-top-left-radius: 55px;
    border-bottom-right-radius: 40px;
    object-fit: cover;
}

section.hod-msg-sec figure {
    padding: 20px 20px 80px;
    /* border: 1px solid black; */
    height: 400px;
    background: #ffedae;
    margin: 0;
    box-shadow: 0 0 5px 0 #5a5a5a91;
}

section.hod-msg-sec figcaption {
    text-align: center;
    padding-top: 10px;
}

section.hod-msg-sec figcaption h4 {
    color: black;
    margin: 0;
}

section.hod-msg-sec:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 65%;
    background-color: #ffedae;
    z-index: -1;
    bottom: 0;
    top: 0;
    left: 0;
    margin: auto;
}

section.program-sec {
    padding: 60px 0;
    position: relative;
}

section.program-sec:before {
    position: absolute;
    content: '';
    right: 0;
    width: 70%;
    height: 100%;
    background-color: #0c2566d9;
    top: 0;
    z-index: -1;
    background-image: url(../images/painted-solid-concrete-wall-textured-background.jpg);
    background-blend-mode: color;
    background-size: contain;
    /* background-repeat: no-repeat; */
}

.program-box {
    /* border: 1px solid; */
    /* margin-top: 15px; */
    text-align: center;
    padding: 30px;
    background: aliceblue;
    box-shadow: 0 0 3px 0 #8b8b8b;
}

.program-box ul {
    padding: 0;
    margin: 0;
}

.program-box ul li {
    border: 1px solid;
    padding: 10px;
    margin-bottom: 20px;
    background: #e3e3e3;
}

.program-box ul li:last-child,
.program-details ul li:last-child {
    margin-bottom: 0;
}

.program-details ul {
    margin: 0;
    position: relative;
    padding: 30px 0 30px 32px;
    /* border: 1px solid; */
}

.program-details ul:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 100%;
    background: #e3e3e3;
    left: 10px;
    top: 0;
}

.program-details ul li {
    position: relative;
    margin-bottom: 30px;
    padding: 10px;
    transition: all 0.5s ease-in-out;
}

.program-details ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

.program-details ul li a:hover {
    color: #ffc600;
}

.program-details ul li:hover::before {
    background: #ffc600;
}

.program-details ul li:before {
    position: absolute;
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 25px;
    background: #e3e3e3;
    left: -30px;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.5s ease-in-out;
}

section.alumni-sec {
    padding: 60px 0;
}

.alumni-box img {
    border-radius: 10px;
    box-shadow: 0 0 3px 0 #7a7a7a;
}

.alumni-box {
    text-align: center;
}

.alumni-box figure {
    height: 250px;
    overflow: hidden;
}

#alumniOwl button.owl-dot {
    border-radius: 25px;
    width: 10px;
    height: 10px;
    background: #8f8e8e !important;
    margin: 0 2px;
}

#alumniOwl button.owl-dot.active {
    background-color: black !important;
}

#alumniOwl .owl-dots {
    text-align: center;
    margin-top: 20px;
}

section.infra-sec {
    padding: 60px 0;
    background: #ffedae;
}

.infra-box {
    position: relative;
    border-bottom: 30px solid #002064;
    margin-bottom: 20px;
}

.infra-box figure {
    margin: 0;
    height: 280px;
}

.infra-box figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.infra-box h5 {
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ffffff, #ffffffb0);
    padding: 6px 40px 6px 10px;
    color: black;
    box-shadow: 3px 0 4px 0 #000000;
}

a.seemore-btn {
    position: absolute;
    right: -4px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    bottom: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002064;
    color: #ffffff;
    text-align: center;
    line-height: 18px;
}

section.faculties-sec {
    padding: 60px 0;
}

.faculty-con-wrap {
    padding: 30px 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-bottom: 30px;
    height: 430px;
}

.faculty-con-wrap:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-bottom: 400px solid #e6643217;
    border-left: 622px solid transparent;
    bottom: 0;
    right: 0;
}

.faculty-img {
    margin-bottom: 15px;
}

.faculty-img figure {
    border-radius: 50%;
    margin: auto;
    padding: 20px;
    position: relative;
    width: 250px;
    height: 250px;
}

/* .faculty-con-wrap:hover .faculty-img figure {
    box-shadow: inset 0 0 5px 10px black;
} */

.faculty-img figure:before {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 96%;
    height: 96%;
    border: 1px solid black;
    border-radius: 50%;
    right: 0;
    margin: auto;
    bottom: 0;
}

.faculty-img figure:after {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border-left: 10px solid #e66432;
    border-radius: 50%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #e66432;
    transform: rotate(45deg);
    transition: all 0.5s ease-in-out;
}

.faculty-con-wrap:hover .faculty-img figure:after {
    transform: rotate(135deg);
    transition: all 0.5s ease-in-out;
}

.faculty-img figure img {
    border-radius: 50%;
    object-position: top;
    border: 9px solid white;
    width: 100%;
    height: 100%;
}

.faculty-details {
    text-align: center;
    position: relative;
}

.faculty-details h3 {
    font-size: 20px;
    text-transform: uppercase;
    color: #464646;
}

.faculty-details h5 {
    font-size: 18px;
}

a.profile-btn {
    background: #e66432;
    color: white;
    padding: 5px 30px;
    border-radius: 25px;
    opacity: 0.8;
    transition: all 0.5s ease;
}

section.event-sec-sin {
    padding: 60px 0;
    background: aliceblue;
}

.event-box-sin figure {
    height: 300px;
}

.event-box-sin figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-box-sin h5 {
    color: #0c2566;
}

a.event-icon-btn {
    width: 50px;
    height: 50px;
    display: inline-block;
    background: #0c2566;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.5s ease;
}

a.event-icon-btn:hover {
    transform: rotate(-45deg);
}

#eventsinOwl .owl-nav button.owl-next,
#eventsinOwl .owl-nav button.owl-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 40px;
    margin: auto;
    height: max-content;
    color: #112c72;
}

#eventsinOwl .owl-nav button.owl-next {
    right: 0;
}

section.project-section {
    padding: 60px 0;
    background: #f7f7f7;
}

.section-subtitle {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 300;
    max-width: 440px;
    line-height: 1.7;
}

.stat-pill {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 50px;
    padding: .42rem 1rem;
    font-size: .76rem;
    font-weight: 500;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.stat-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-pill.ongoing .dot {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}

.stat-pill.completed .dot {
    background: var(--gold);
}

/* ── Bootstrap Vertical Nav Pills override ── */
.nav-pills.flex-column {
    border-right: 1px solid var(--navy-border);
    padding-right: 0;
    gap: 0;
}

.nav-pills .nav-link {
    font-size: 22px;
    font-weight: 500;
    color: var(--muted);
    border-radius: 0;
    padding: 1rem 1.3rem;
    border-right: 2px solid transparent;
    background: #fcfcfcf7;
    display: flex;
    align-items: center;
    gap: .6rem;
    transition: all .22s ease;
}

.nav-pills .nav-link:hover {
    color: var(--text);
    background: rgb(255 255 255 / 85%);
}

.nav-pills .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgb(255 183 57), transparent) !important;
    border-right-color: #ffb83c;
}

.nav-pills .nav-link .tab-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
    transition: transform .22s;
}

.nav-pills .nav-link.ongoing-tab .tab-icon {
    background: var(--green-dim);
    color: var(--green);
}

.nav-pills .nav-link.completed-tab .tab-icon {
    background: var(--gold-dim);
    color: var(--gold);
}

.nav-pills .nav-link.active .tab-icon {
    transform: scale(1.08);
}

.count-badge {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    background: var(--navy-border);
    color: var(--muted);
    border-radius: 50px;
    padding: .12rem .5rem;
}

/* ── Tab Content ── */
.tab-content {
    padding-left: 2rem;
}

/* ── Project Card ── */
.project-card {
    background: #0635aa2e;
    color: #000000;
    border: 1px solid var(--navy-border);
    border-radius: 10px;
    padding: 15px;
    width: 95%;
    margin-bottom: 15px;
    transition: transform .25s, box-shadow .35s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity .3s;
}

.project-card.ongoing::before {
    background: linear-gradient(90deg, var(--green), transparent);
}

.project-card.completed::before {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .35);
}

.project-card:hover::before {
    opacity: 1;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: .55rem;
}

.project-agency {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.project-agency span {
    color: #e66432;
    font-weight: 600;
}

.meta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .55rem;
}

.meta-item {
    background: rgb(255 255 255 / 18%);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 10px;
    padding: .6rem .8rem;
}

.meta-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .18rem;
}

.meta-value {
    font-size: .86rem;
    font-weight: 600;
    color: var(--text);
}

.meta-value.amount {
    color: var(--gold-light);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    /* gap: .32rem; */
    font-size: 14px;
    font-weight: 600;
    padding: .26rem .7rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.status-badge.ongoing {
    background: #e29a1c;
    color: #fff;
    border: 1px solid rgba(74, 222, 128, .2);
}

.status-badge.ongoing .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.8s infinite;
}

.status-badge.completed {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, .2);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.75);
    }
}

/* .progress-wrap { margin-top: .9rem; }
    .progress-label {
      display: flex;
      justify-content: space-between;
      font-size: .7rem;
      color: var(--muted);
      margin-bottom: .3rem;
    } */
.prog {
    height: 4px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50px;
    overflow: hidden;
}

.prog-bar {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--green), #86efac);
    width: 0;
    transition: width 1.1s cubic-bezier(.25, .8, .25, 1);
}

section.project-section .tab-content {
    max-height: 400px;
    overflow: auto;
}

a.view-bttn {
    text-align: right;
    margin-top: 15px;
    padding-right: 5px;
    color: #fff;
    font-size: 16px;
}

span.status-badge a {
    color: #fff;
}

.status-badge.complete {
    background: #198754;
    /* green */
    color: #fff;
}

.project-card.complete {
    border-left: 4px solid #198754;
}








/* Single Department End*/


/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .deprt-wrapper {
        padding: 30px 20px;
    }

    .depart-icon {
        width: 70px;
        height: 70px;
    }

    .depart-icon img {
        width: 38px;
        height: 38px;
    }

    .depart-title a {
        font-size: 1.2rem;
    }

    .nav-pills.flex-column {
        flex-direction: row !important;
        border-right: none;
        border-bottom: 1px solid var(--navy-border);
        margin-bottom: 1.5rem;
        width: 100% !important;
    }

    .nav-pills .nav-link {
        flex: 1;
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid transparent;
        padding: .8rem .5rem;
    }

    .nav-pills .nav-link.active {
        border-bottom-color: var(--gold);
        border-right-color: transparent;
    }

    .tab-content {
        padding-left: 0;
    }

    .projects-layout {
        flex-direction: column !important;
    }

    .meta-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .meta-row {
        grid-template-columns: 1fr;
    }
}