footer {
    background-color: #0f0f0f;
    color: #a8a8a8;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: row; /* normal order */
    align-items: center;
    justify-content: center;
}

.footer-links a {
    color: #d0d0d0; /* softer than pure white */
    text-decoration: none;
    display: inline-block;
    margin: 0;
    font-weight: 600;
    font-size: 15px;
}

/* Separator dot between links (after the first link) */
.footer-links a:first-child::after {
    content: '•';
    color: #444;
    margin: 0 12px;
}

.footer-links a:hover {
    color: #FFCC00;
}

.facebook-icon {
    order: 1;
    background-color: #ffffff;
    color: #3b5998;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.facebook-icon:hover {
    color: #2d4373;
}

/* Mobile-first: centered stack */
@media (max-width: 767px) {
    .footer-links a + a::before { margin: 0 10px; }
}

/* Ordering to achieve: Facebook (top), then links, then copyright */
.footer-links { order: 2; }
footer p { order: 3; margin: 0; color: #8c8c8c; }
