/* =========================================
   FOOTER — Skoolapps
   ========================================= */
.footer {
  background: #5cb85c;
  color: rgba(255,255,255,0.92);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 40px;
  align-items: start;
}

.footer__brand { display: none; }

/* ── Column headings ── */
.footer__col h4,
.footer__reach h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  transition: color 0.15s ease;
  text-decoration: none;
}
.footer__col ul li a:hover { color: #fff; }

/* ── Reach out ── */
.footer__reach h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__reach p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* ── CTA block ── */
.footer__cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer__cta-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

.footer__cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Footer logos */
.footer__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 160px;
}
.footer__logo-bottom { margin-top: 4px; }

/* ── Big tagline block ── */
.footer__tagline-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  gap: 20px;
}

.footer__big-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-align: right;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer__social-link:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* ── Bottom bar ── */
.footer__bottom {
  background: rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.footer__bottom a {
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}
.footer__bottom a:hover { opacity: 0.75; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__cta-block { grid-column: 1 / 2; }
  .footer__tagline-block { grid-column: 2 / 4; align-items: flex-start; }
  .footer__big-tagline { text-align: left; }
}
@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__reach { grid-column: 1 / -1; }
  .footer__cta-block { grid-column: 1 / 2; }
  .footer__tagline-block { grid-column: 2 / 3; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__cta-block,
  .footer__tagline-block { grid-column: 1; }
  .footer__tagline-block { align-items: flex-start; }
  .footer__big-tagline { text-align: left; }
  .footer__social { justify-content: flex-start; }
  .footer__btn { width: auto !important; min-width: 160px !important; }
}
