section {
  text-align: center;
  min-height: 90px;
  margin-top: 80px;  /* Reduced from 150px to create less space between sections */
  height: 320px;
}

section h2 {
  color: #400960;
  font-family: 'Mulish', sans-serif;
  font-size: 32px;
  line-height: 3em;
  z-index:9999999;
}

h2:after{
  content:' ';
  display:block;
  border:1px solid #7f6391;
  border-radius:4px;
  -webkit-border-radius:2px;
  -moz-border-radius:4px;
  box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
  -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
  -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

section p {
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  color: #5a3b6f;
  max-width: 600px;
  min-width: 100px;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
}

body {
  margin: 0;
}

/* Navigation Bar at the bottom of contact page*/
.navbar {
  overflow: hidden;
  background-color: white;
  position: sticky;
  bottom: 0;
  width: 100%;
  height: auto;
}

section a {
  display: inline-block;
  color: #3f0960;
  text-align: center;
  padding:25px 50px;
  text-decoration: none;
  font-size: 18px;
  font-family: "Mulish", sans-serif;
  font-weight: 600;
}

a:hover {
  background-color: #d2c5ed;
}

.active {
  background-color: #cac2d9;
}

.scholar {
  color: #400960;
  text-decoration: none;
}

.scholar:hover {
  text-decoration: underline;
}

/* Add specific styling for the first section if needed */
.content-contact {
  margin-top: 100px;  /* Slightly larger margin for the first section */
}

.navlist, .active {
  display: inline-block;
  color: #2E1A47;  /* darker purple for text */
  text-align: center;
  padding: 25px 50px;
  text-decoration: none;
  font-size: 18px;
  font-family: "Mulish", sans-serif;
  font-weight: 600;
}

.navlist a:hover {
  background-color: #B19CD9;  /* light purple for hover */
}

.active {
  background-color: #c8b5ee;  /* medium purple for active state */
}

.dropbtn {
  display: inline-block;
  color: #2E1A47;  /* darker purple for text */
  text-align: center;
  padding: 25px 50px;
  text-decoration: none;
  font-size: 18px;
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.dropdown-content a {
  color: #391a47;  /* darker purple for text */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #B19CD9;  /* light purple for hover */
}
