/* HEADER */
.page-header {
  background-color: #0b1a39;
  border-bottom: 4px solid #e3b505;
}

.sub-title {
  color: #e3b505;
  font-size: 1.1rem;
}

/* FOOTER */
.footer {
  background-color: #0b1a39;
  border-top: 4px solid #e3b505;
}

/* MAIN SECTION TITLE */
.section-title {
  color: #0b1a39;
  font-weight: 700;
  border-left: 4px solid #e3b505;
  padding-left: 10px;
  margin: 30px 0 25px 0;
  text-align: left;
}

/* CARD CONTAINER */
.dept-card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.dept-card:hover {
  background: #0b1a39;
  color: #e3b505;
  border-color: #c28f00;
  transform: translateY(-6px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Layout fix — footer sticks to bottom always */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

.dept-card-text {
    background: rgba(11, 26, 57, 0.75);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e3b505;
}
.dept-card-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.dept-card {
    width: 280px;
    height: 260px;
    border: 2px solid #e3b505;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    padding-bottom: 12px;
    transition: 0.3s;
    position: relative;
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
