/* ===== Minasro College — custom styles (Tailwind CDN handles utilities) ===== */

[x-cloak] { display: none !important; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #F2994A;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #F2994A;
  outline-offset: 2px;
}

/* ---------- Hero slider ---------- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* ---------- Wave divider (echoes the leaf/curve in the school crest) ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}

/* ---------- Sunburst signature motif ---------- */
.sunburst {
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Card hover lift ---------- */
.lift-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.lift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(31, 107, 59, 0.25);
}

/* ---------- Counter number ---------- */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-slide { transform: none !important; }
}
