/* Hero section — index.html.
   Depends on shared page tokens (--white, --yellow) and the shared
   @keyframes pulse (defined here and duplicated in schools-section.css,
   since both sections' badge dots use it independently). */

.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgb(0, 0, 0) 0%,
    rgb(0, 0, 0) 100%
  );
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 30%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.2) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transform: scale(1.05);
  transition: transform 7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero:hover .hero-bg img {
  transform: scale(1);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 88px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 28px;
  box-shadow: none;
}
.hero-pill .dot {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(250, 204, 21, 0.08);
  }
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--white);
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 4%;
  height: 16%;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 38px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-meta .bullet {
  width: 5px;
  height: 5px;
  background: var(--yellow);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .hero {
    padding: 112px 0 64px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 104px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    gap: 14px;
    font-size: 12.5px;
  }
  .hero-inner {
   padding-top: 20px;
    
  }
}
