/* Computer Center Pages Styles */

/* Video Container */
.video-container video {
  position: relative;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: none;
}

.video-container > img.slider {
  z-index: 11;
}

body .justify-content-center {
  justify-content: center !important;
}

.countercorner {
  z-index: 0;
}

.btnwrap {
  margin-top: 0;
}

.btnwrap .mybtn {
  min-width: 13.4375rem;
  margin-right: auto;
}

/* Accordion Styles */
.accordion-toggle::after {
  background-image: url(/images/plus.png);
  content: "";
  background-size: 1.4375rem 1.4375rem;
  width: 1.4375rem;
  height: 1.4375rem;
  position: absolute;
  left: 1.5625rem;
  top: 2.1875rem;
  display: inline-block;
}

.accordion-toggle.collapsed::after {
  background-image: url(/images/minus.png);
}

.panel-heading {
  position: relative;
}

.panel-title a {
  display: block;
  text-decoration: none;
}

/* Counter Section */
.countersection .counterarea {
  color: var(--color-primary);
  width: 9.0625rem;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

/* Card Styles */
.college-news .card1 .card-title {
  font-size: 1.625rem;
}

.card1 .card-date {
  max-width: inherit;
  min-width: inherit;
  background: var(--color-primary);
  font-size: 1.5rem;
  padding-top: 0.9375rem;
  padding-bottom: 0.9375rem;
  height: auto;
  width: auto;
  line-height: normal;
  min-width: 11.25rem;
  margin-top: -2.1875rem;
}

.cardcontainer {
  border: 1px solid var(--color-border);
  padding: 0;
  min-height: auto;
  border-radius: 0.5rem;
}

.card1 {
  box-shadow: none;
}

.college {
  background: transparent;
}

.card {
  background-color: transparent;
}

/* Event Styles */
.ev-section,
.newev-box {
  min-height: auto;
}

.ev-title {
  font-size: 1.5625rem;
}

.ev-subtitle {
  font-size: 1rem;
}

.ev-date {
  font-size: 1.625rem;
}

.event-btn a {
  font-size: 1.125rem;
}

/* Section Backgrounds */
.vision {
  background: #fff;
}

.college-banners {
  background: #fff;
  padding-bottom: 4.375rem;
}

.college-news {
  background: #fff;
  padding-top: 1.875rem;
}

.college-news .str-top {
  margin-bottom: 2.5rem;
}

/* Deanship Styles */
.deanship-inner {
  padding-bottom: 0;
}

.p-b-60 {
  padding-bottom: 3.75rem;
}

.deanship {
  overflow-x: hidden;
}

/* Team Styles */
.team-title {
  min-height: 5rem;
}

.team {
  margin-bottom: 2.5rem;
}

.teams {
  overflow-x: hidden;
}

.team-title {
  min-height: auto;
}

/* Structure Styles */
.str-box {
  position: relative;
}

.structure .countercorner {
  top: -1.25rem;
  right: -1.25rem;
}

.structure .str-box {
  max-width: 100%;
}

.structure .str-main .col-md-4 {
  padding-right: 3.75rem;
  padding-left: 3.75rem;
}

.structure .str-main .col-md-20 {
  padding-right: 1.875rem;
  padding-left: 1.875rem;
}

.sub-stru ul li a {
  min-height: 8.75rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  display: flex;
}

.str-title {
  min-height: 8.75rem;
  display: flex;
}

.structure {
  padding: 5rem 0;
  overflow-x: hidden;
}

/* Department Styles */
.deandep {
  overflow-x: hidden;
}

.college-box-title {
  color: var(--color-primary);
}

/* Research Table Styles */
.research-table table tbody tr td:last-child {
  font-weight: inherit;
}

.research-table {
  margin-bottom: 2.5rem;
}

.inner-top .container .research-table:last-child {
  margin-bottom: 0;
}

.research-table table td {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Top Menu Styles */
.top-menu {
  background: var(--color-primary);
  padding: 0.9375rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-menu-right {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding-right: 3.125rem;
}

.top-menu-left {
  padding-left: 3.125rem;
}

.menu-list {
  list-style: none;
  display: flex;
  gap: 1.875rem;
  margin: 0;
  padding: 0;
}

.menu-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.menu-list li a:hover {
  color: var(--color-primary);
}

.inner-menu-icon {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .deanship-inner .col-md-3,
  .deanship-inner .col-md-9 {
    width: 100%;
  }

  .deanship-inner.p-b-60 .col-md-9 {
    padding-bottom: 2.5rem;
  }

  .str-top .col-md-9 {
    display: none;
  }

  .str-top .col-md-3 {
    width: 100%;
  }

  .top-menu {
    flex-direction: column;
    gap: 0.9375rem;
  }

  .top-menu-right,
  .top-menu-left {
    padding: 0;
    text-align: center;
  }

  .menu-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9375rem;
  }
}

@media (max-width: 768px) {
  .inner-menu-icon {
    display: block;
  }

  .menu-list {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .menu-list.active {
    display: flex;
  }
}

/* ── Hierarchy section (dept-hierarchy style) ─────── */
.dept-hierarchy-section {
  padding: 3.25rem 0 2.75rem;
  border-bottom: var(--section-separator-width, 1px) solid var(--section-separator-color);
}

.dept-hierarchy-tree {
  margin-top: 0.5rem;
}

.dept-hierarchy-row {
  margin-bottom: 0.5rem;
}

.dept-hierarchy-row > .row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
}

.dept-hierarchy-connector {
  width: 0.125rem;
  height: 1.75rem;
  background: var(--color-primary);
  margin: 0 auto 0.5rem;
  border-radius: 0.125rem;
  opacity: 0.5;
}

.dept-hierarchy-node {
  border: 2px solid var(--color-primary);
  border-radius: 0.75rem;
  padding: 0.875rem 1.125rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.375rem;
  background: var(--color-bg-section);
  box-shadow: 0 2px 10px rgba(var(--color-primary-rgb), 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.dept-hierarchy-node-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
}

.dept-hierarchy-node:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.14);
}

.dept-hierarchy-node-badge {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.dept-hierarchy-node-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  text-align: center;
}

.dept-hierarchy-node-subitems {
  margin-top: 0.375rem;
  padding: 0;
  list-style: none;
  width: 100%;
}

.dept-hierarchy-node-subitems li {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  padding: 0.1875rem 0;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.12);
  text-align: center;
}
