/* =====================================================================
   FOOTER.CSS — Enlight Vocational Institute
   Site footer: About/Resources/Contact/Recent-Posts columns, social
   icons, and the bottom copyright bar.
   Responsive breakpoints are self-contained in this file, so the
   footer displays correctly even if responsive.css isn't linked.
   ===================================================================== */

/* ---------------- FOOTER ---------------- */
@font-face {
  font-family: 'Zilla Slab';
  src: url('../fonts/zilla-slab/ZillaSlab-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zilla Slab';
  src: url('../fonts/zilla-slab/ZillaSlab-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


.site-footer {
  background: var(--navy-deep);
  color: #b9c3dc;
  margin-top: 4rem;
  overflow-x: hidden;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr;
  gap: 2.5rem;
}

/* Grid items default to min-width:auto, which stops them shrinking
   below their content's natural width - this is what actually causes
   sideways scroll on narrow screens. min-width:0 lets them shrink. */
.footer-col {
  min-width: 0;
}

.footer-col h3 {
  font-family:'Zilla Slab', serif;
  color: var(--white);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: #b9c3dc;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  flex: 0 0 auto;
  margin-top: 2px;
}
.footer-contact li a {
  overflow-wrap: anywhere;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.footer-social a:hover {
  background: var(--gold);
}
.footer-social svg {
  width: 15px;
  height: 15px;
  stroke: var(--white);
}
.footer-social a:hover svg {
  stroke: var(--navy-deep);
}

.footer-post {
  display: block;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.footer-post span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.footer-post p {
  font-size: 0.86rem;
  color: #dce2f0;
  margin-top: 0.3rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1.4rem 1.5rem;
  font-size: 0.8rem;
  color: #8b96b6;
  overflow-wrap: anywhere;
}

/* ---------------- WHATSAPP FLOATING BUTTON ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 18%;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 999;
}
.whatsapp-float:hover {
  opacity: 1;
}