body {
  font-family: 'Cairo', sans-serif;
  background-color: #f9fafc;
  padding: 20px;
  color: #2d1e3e;
}
h2 {
  color: #6f42c1;
}
.scholarship {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(111, 66, 193, 0.1);
  border: 1px solid #ececec;
}
label {
  color: #fcfcfccf;
  font-weight: bold;
}
select, input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff1f;
  border: none;
  color: #f4f4f4;
}
button {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  background-color: #ffffff1f;
  color: #ffffff;
  font-weight: bold;
  transition: transform 0.04s cubic-bezier(.4,2,.6,1), box-shadow 0.04s;
}
button:hover {
  background-color: #b780ff30;
}
button:active {
  transform: scale(0.96);
  box-shadow: 0 2px 12px 0 #6f42c13a;
  filter: brightness(0.97);
}
.btn_purple {
  color:#6f42c1;
}
.actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
#count {
  font-weight: bold;
  margin: 10px 0;
}
a button {
  background-color: #795cc9;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  transition: transform 0.04s cubic-bezier(.4,2,.6,1), box-shadow 0.04s;
}
a button:hover {
  background-color: #5a379f;
}
a button:active {
  transform: scale(0.96);
  box-shadow: 0 2px 12px 0 #6f42c13a;
  filter: brightness(0.97);
}
.filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 20px;
  margin-bottom: 10px;
}
.filters-row > div {
  max-width: 140px;
  margin: 5px;
}
.bttnapply {
  font-size: 1em;
}
.mehero {
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
  color: rgb(243, 240, 255);
  transform: scale(1);
  font-size: 10px;
}
.mehero:hover {
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
  color: rgb(255, 255, 255);
  transform: scale(1.55);
  padding-right: 30px;
}
select option {
  color: #323232;
}
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  h1 {
    font-size: 1.6em !important;
  }
  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filters-row > div {
    max-width: 100%;
  }
  .scholarship {
    padding: 10px;
  }
  .actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
  }
  .scholarship > div {
    flex-direction: column;
    gap: 10px;
  }
  .scholarship button, a button {
    width: 100%;
    font-size: 0.9em;
  }
}
.header-main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.13s cubic-bezier(.4,2,.6,1), box-shadow 0.13s;
}
.header-main-link:hover {
  transform: scale(1.045);
  text-shadow: 0 2px 12px #fff2, 0 1px 0 #6f42c1;
}
.header-main-link h1 {
  margin: 0;
  font-size: 2.5em;
  color: white;
  display: inline;
}
.header-main-link .home-icon {
  font-size: 2em;
  width: auto;
  height: auto;
  min-width: 36px;
  min-height: 36px;
  display: inline-block;
  vertical-align: middle;
  color: white;
  transition: color 0.13s, text-shadow 0.13s;
}
.header-main-link:hover .home-icon {
  color: white;
  text-shadow: 0 2px 8px #6f42c1;
}
a {
  color: #6f42c1;
  text-decoration: underline;
  transition: color 0.13s;
}
a:hover {
  color: #4b2a8a;
}
