/* ---------- Background + Hero Space ---------- */
/* Replace the URL with your hero image path */
.hero-bg {
  background: url("/school_images/VDS.png") center/cover no-repeat fixed;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  filter: none;
  /* subtle dark overlay if desired: uncomment
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.08);
  */
}

/* This spacer creates the visible top gap before content scrolls */
.hero-space {
  height: 420px;
  /* adjust to increase/decrease top gap */
  width: 100%;
}

/* ---------- Content Container ---------- */
.content-section {
  padding: 40px 15px 80px;
  max-width: 1100px;
}

/* White translucent boxes (cards) */
.white-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(18, 38, 63, 0.12);
}

/* Titles */
.page-title {
  text-align: center;
  font-size: 28px;
  color: #0b578d;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead {
  color: #444;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

/* Department title + small underline */
.dept-title {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
  position: relative;
  color: #0b578d;
}

.dept-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 60px;
  background: #d9534f;
  /* accent */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Buttons wrap */
.button-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 12px;
}

/* Faculty button look */
.faculty-btn {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(13, 24, 40, 0.04);
}

.faculty-btn:hover {
  background: #0b578d;
  color: #fff;
  transform: translateY(-3px);
  border-color: #0b578d;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .hero-space {
    height: 320px;
  }

  .content-section {
    padding: 24px 12px 60px;
  }

  .page-title {
    font-size: 22px;
  }

  .dept-title {
    font-size: 18px;
  }

  .faculty-btn {
    font-size: 13px;
    padding: 9px 12px;
  }
}

/* Add spacing between white boxes */
.white-box+.white-box {
  margin-top: 22px;
}

.nav-pills .nav-link {
  border-radius: 20px;
  padding: 8px 18px;
  color: #0b578d;
  font-weight: 600;
  border: 1px solid #0b578d;
  transition: 0.2s;
}

.nav-pills .nav-link:hover {
  background: #0b578d;
  color: #fff;
}

.nav-pills .nav-link.active {
  background: #d9534f;
  border-color: #d9534f;
  color: #fff;
}


/* ==============================
   MOBILE CLEAN-UP (NO CLUTTER)
============================== */
@media (max-width: 576px) {

  /* Reduce hero height */
  .hero-space {
    height: 240px;
  }

  /* Page title */
  .page-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Tabs: compact & scrollable */
  #deptTabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  #deptTabs .nav-link {
    font-size: 13px;
    padding: 6px 14px;
    white-space: nowrap;
  }

  /* Department title */
  .dept-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* Faculty buttons: full-width, clean */
  .button-wrap {
    gap: 8px;
  }

  .faculty-btn {
    width: 100%;
    font-size: 14px;
    padding: 10px 12px;
    text-align: center;
  }

  /* White box spacing */
  .white-box {
    padding: 18px;
    border-radius: 10px;
  }

  /* Replace the URL with your hero image path */
  .hero-bg {
    background: url("school_images/vds_bg_2.jpg") center/cover no-repeat fixed;
    position: fixed;
    top: 12x;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    filter: none;
    /* subtle dark overlay if desired: uncomment
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.08);
  */
  }

}

@media (max-width: 576px) {

  .faculty-btn,
  .faculty-btn:hover,
  .faculty-btn:focus,
  .faculty-btn:active {
    background-color: #ffffff;
    color: #333;
    border-color: #e2e2e2;
    box-shadow: none;
    transform: none;
    transition: none;
  }
}