/* Prevent fixed buttons from hiding footer content */

/* Tablet (600px to 900px) – WhatsApp and π buttons are present */
@media (min-width: 600px) and (max-width: 900px) {
    body {
        padding-bottom: 45px;
    }
}

/* Mobile (below 600px) – mobile-cta appears, need more space */
@media (max-width: 600px) {
    body {
        padding-bottom: 45px;
    }
}
.footer {
    background: linear-gradient(to right, #0f172a, #1e3a8a);
    color: #fff;
    padding: 60px 5% 20px;
    font-family: 'Poppins', sans-serif;
}

/* GRID */
.footer-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

/* LOGO */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 45px;
}

.footer-logo h3 {
    margin: 0;
    font-size: 18px;
}

.footer-logo p {
    margin: 0;
    font-size: 12px;
    color: #cbd5f5;
}

/* DESCRIPTION */
.footer-desc {
    margin-top: 15px;
    font-size: 14px;
    color: #cbd5f5;
    line-height: 1.6;
}

/* CENTER */
.footer-center h3,
.footer-right h3 {
    margin-bottom: 15px;
}

.footer-center p {
    margin: 8px 0;
    font-size: 14px;
    color: #cbd5f5;
}

/* SOCIAL */
.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #1976d2;
}

/* FOLLOW TEXT */
.footer-follow {
    font-size: 13px;
    color: #cbd5f5;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #cbd5f5;
}
.footer-bottom .legal-links {
    margin-left: 12px;
    white-space: nowrap;
}
.footer-bottom .legal-links a {
    color: #facc15;  /* bright gold/yellow – excellent contrast on blue */
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border-bottom: none;  /* remove dotted line for cleaner look */
}
.footer-bottom .legal-links a:hover {
    color: #ffaa33;
    text-decoration: underline;
}
.footer-bottom .separator {
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}

/* MOBILE */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
     .footer-bottom p {
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: center;
        text-align: center;
    }
    .footer-bottom .legal-links {
        margin-left: 0;
        white-space: normal;
    }
}
/*Back TO TOP */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;

    width: 45px;
    height: 45px;

    background: linear-gradient(45deg, #1976d2, #42a5f5);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;

    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
    z-index: 1000;
}

/* SHOW BUTTON */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* HOVER */
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}