/* ==========================================================
   school-footer.css — Shared footer styles for both schools
   Colours injected via --sc-* CSS variables per school
   ========================================================== */

.sc-footer { background: #0d1b2a; color: rgba(255,255,255,0.72); font-family: 'Poppins', sans-serif; }

/* ── Main footer grid ── */
.sc-footer-main { padding: 64px 0 40px; }
.sc-footer-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* Brand column */
.sc-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sc-footer-brand img {
  height: 52px;
  width: auto;
  max-width: 160px;
  border-radius: 0px !important;
  border: none !important;
  box-shadow: none !important;
  object-fit: contain;
}
.sc-footer-brand-name { display: block; font-size: 1rem; font-weight: 700; color: #fff; }
.sc-footer-brand-tag  { display: block; font-size: 0.68rem; color: #90a4ae; margin-top: 2px; }
.sc-footer-col-brand > p { font-size: 0.84rem; margin-bottom: 18px; line-line-height: 1.7; }

/* Social icons */
.sc-footer-socials { display: flex; gap: 8px; }
.sc-footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.78rem;
  transition: all 0.25s ease; text-decoration: none;
}
.sc-footer-socials a:hover {
  background: var(--sc-color, #e65100);
  color: #fff;
  transform: translateY(-2px);
}

/* Link columns */
.sc-footer-col h4 {
  font-size: 0.94rem; font-weight: 700; color: #fff;
  margin-bottom: 18px; padding-bottom: 9px; position: relative;
}
.sc-footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 3px;
  background: var(--sc-color, #e65100);
  border-radius: 2px;
}
.sc-footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.sc-footer-col ul li a {
  font-size: 0.84rem; color: rgba(255,255,255,0.62);
  display: flex; align-items: center; gap: 8px;
  transition: all 0.22s ease; text-decoration: none;
}
.sc-footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.sc-footer-col ul li a i { color: var(--sc-color, #e65100); font-size: 0.7rem; }

/* Contact mini */
.sc-footer-contact { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.sc-footer-contact-item {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.82rem; color: rgba(255,255,255,0.62);
}
.sc-footer-contact-item i { color: var(--sc-color, #e65100); margin-top: 3px; flex-shrink: 0; }

/* Newsletter */
.sc-footer-newsletter {
  display: flex; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px;
}
.sc-footer-newsletter input {
  flex: 1; padding: 10px 12px; background: rgba(255,255,255,0.05);
  border: none; color: #fff; font-family: 'Poppins', sans-serif;
  font-size: 0.82rem; outline: none;
}
.sc-footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.sc-footer-newsletter button {
  background: var(--sc-color, #e65100); color: #fff;
  padding: 0 14px; border: none; cursor: pointer;
  font-size: 0.85rem; transition: background 0.22s;
}
.sc-footer-newsletter button:hover { background: #0d1b2a; }

/* Bottom bar */
.sc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 0; }
.sc-footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.sc-footer-bottom-inner p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.sc-footer-bottom-links { display: flex; gap: 18px; }
.sc-footer-bottom-links a {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  transition: color 0.2s; text-decoration: none;
}
.sc-footer-bottom-links a:hover { color: #fff; }

/* Back to top */
.sc-back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sc-color, #e65100); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0; pointer-events: none; transition: all 0.3s ease;
  z-index: 900; cursor: pointer; border: none;
}
.sc-back-top.visible { opacity: 1; pointer-events: all; }
.sc-back-top:hover { transform: translateY(-3px); }

/* Toast */
.sc-toast {
  position: fixed; bottom: 84px; right: 28px;
  background: #2e7d32; color: #fff; padding: 12px 20px;
  border-radius: 8px; font-size: 0.86rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transform: translateX(180%); transition: transform 0.35s ease;
  z-index: 998; font-family: 'Poppins', sans-serif;
}
.sc-toast.show { transform: translateX(0); }

/* Responsive */
@media (max-width: 1100px) { .sc-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 600px)  { .sc-footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 500px)  { .sc-footer-bottom-inner { flex-direction: column; text-align: center; } }
