:root {
  --schools-purple: #4b3a73;
  --schools-muted: #726b83;
  --schools-cyan: #1ab3cc;
  --schools-magenta: #da1e5b;
  --schools-border: rgba(75, 58, 115, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fbfafd;
  color: var(--schools-purple);
  font-family: "Mulish", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body input,
body button { font: inherit; }

.schools-main {
  min-height: 70vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(75, 58, 115, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 58, 115, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 8% 12%, rgba(26, 179, 204, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 4%, rgba(218, 30, 91, 0.08), transparent 22rem),
    #fbfafd;
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

.schools-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 38px;
  text-align: center;
}

.schools-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--schools-cyan);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.schools-eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.schools-hero h1 {
  max-width: 900px;
  margin: 16px auto 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.schools-hero > p:last-child {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--schools-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.schools-section {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 92px;
}

.schools-card {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--schools-border);
  border-radius: 34px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(75, 58, 115, .11);
}

.schools-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.schools-heading h2 {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.2;
}

.schools-heading p {
  max-width: 840px;
  margin: 12px 0 0;
  color: var(--schools-muted);
  font-size: 17px;
  line-height: 1.55;
}

.schools-total {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(26, 179, 204, .1);
  color: #168fa4;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.schools-search {
  position: relative;
  display: block;
  max-width: 620px;
  margin: 30px 0 26px;
}

.schools-search svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--schools-purple);
  stroke-width: 2;
  transform: translateY(-50%);
}

.schools-search input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 52px;
  border: 1.5px solid rgba(75, 58, 115, .2);
  border-radius: 17px;
  outline: none;
  background: #fff;
  color: var(--schools-purple);
  font-size: 17px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.schools-search input:focus {
  border-color: var(--schools-cyan);
  box-shadow: 0 0 0 4px rgba(26, 179, 204, .13);
}

.schools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schools-pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid rgba(75, 58, 115, .15);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #faf6fd);
  box-shadow: 0 3px 10px rgba(75, 58, 115, .05);
  color: #544a68;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.schools-pill:hover,
.schools-pill:focus-visible {
  border-color: var(--schools-cyan);
  color: var(--schools-purple);
  outline: none;
  box-shadow: 0 7px 18px rgba(26, 179, 204, .16);
  transform: translateY(-1px);
}

.schools-empty {
  margin: 8px 0 0;
  padding: 24px;
  border-radius: 18px;
  background: rgba(75, 58, 115, .055);
  color: var(--schools-muted);
  text-align: center;
}

.schools-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 22px;
  background: var(--schools-purple);
  color: #fff;
}

.schools-contact h3 {
  margin: 0 0 5px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
}

.schools-contact p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.5; }

.schools-contact a {
  flex: 0 0 auto;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--schools-magenta);
  box-shadow: 0 10px 24px rgba(218, 30, 91, .25);
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.schools-sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .schools-hero { width: min(100% - 32px, 1180px); padding: 54px 0 30px; }
  .schools-section { width: min(100% - 24px, 1260px); padding-bottom: 58px; }
  .schools-card { padding: 25px 18px; border-radius: 25px; }
  .schools-heading { align-items: flex-start; }
  .schools-heading p { font-size: 16px; }
  .schools-search { max-width: none; margin-top: 24px; }
  .schools-list { gap: 9px; }
  .schools-pill { padding: 9px 13px; font-size: 14px; }
  .schools-contact { align-items: flex-start; flex-direction: column; padding: 22px; }
  .schools-contact a { width: 100%; text-align: center; }
}

@media (max-width: 430px) {
  .schools-heading { flex-direction: column; gap: 12px; }
}
