/* ==========================================================
   SITE FOOTER, WHATSAPP BUTTON, SHARED BUTTON  (markup: includes/footer.php)
   ========================================================== */
.footer {
    clear: both;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-family: Montserrat, sans-serif;
    text-align: left;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-column {
    flex-basis: 25%;
    margin-bottom: 20px;
}
.footer-column h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}
.footer-column .footer-p { margin-bottom: 15px; }
.footer-column p a {
    text-decoration: none;
    color: #fff;
}
.footer-column p a:hover { color: var(--brand); }

.footer hr {
    border: 0;
    border-top: 1px solid #fff;
    margin: 10px 0;
}

.fab {
    color: var(--brand);
    font-size: 20px;
}
.fab:hover { color: #fff; }

.footer .copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
}
.footer-a {
    color: var(--brand);
    text-decoration: none;
    border-bottom: 1px solid #000;
}
.footer-a:hover { color: #fff; }

/* Yellow button used across the site */
.btn-a {
    display: inline-block;
    background-color: var(--brand);
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn-a:hover {
    background-color: #fff;
    color: var(--brand);
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
    .footer { text-align: center; }
    .footer-columns { flex-direction: column; }
    .footer-column { flex-basis: 100%; }
}

/* WhatsApp floating button */
.whatsapp-btn-container {
    position: fixed;
    right: 30px;
    bottom: -50px;
    opacity: 0;
    padding: 24px;
    z-index: 900;
    animation: fade-up 1000ms forwards;
    animation-delay: 1000ms;
}
@keyframes fade-up {
    100% { bottom: 24px; opacity: 1; }
}
.whatsapp-btn-container .whatsapp-btn,
.fab-w {
    font-size: 48px;
    color: #25d366;
    display: inline-block;
    transition: all 400ms;
}
.whatsapp-btn-container .whatsapp-btn:hover { transform: scale(1.2); }
.whatsapp-btn-container span {
    position: absolute;
    top: 0;
    left: 4px;
    font-weight: bold;
    color: #075e54;
    transform: rotateZ(20deg) translateX(10px);
    opacity: 0;
    transition: all 400ms;
}
.whatsapp-btn-container .whatsapp-btn:hover + span {
    transform: rotateZ(0deg) translateX(0);
    opacity: 1;
}
