/* =============================================================
   Footer Styles — footer.css
   ============================================================= */

/* ---- Main Footer ---- */
.site-footer {
    background-color: #0d1117;
    color: #ccd6f6;
    padding: 60px 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Top Section: Logo + Description ---- */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 90px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    max-width: 680px;
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(204, 214, 246, 0.75);
    margin: 0;
}

/* ---- Nav Links Section ---- */
.footer-nav {
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
}

.footer-nav-list:last-child {
    margin-bottom: 0;
}

.footer-nav-list a {
    display: inline-block;
    padding: 5px 14px;
    color: rgba(204, 214, 246, 0.8);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.footer-nav-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* ---- Bottom Row: Address + Email + Social + Copyright ---- */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* Address block */
.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 280px;
}

.footer-address svg {
    width: 18px;
    height: 18px;
    fill: #1cb85a;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-address p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(204, 214, 246, 0.75);
}

/* Email block */
.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 280px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: #1cb85a;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(204, 214, 246, 0.75);
}

.footer-contact a {
    color: rgba(204, 214, 246, 0.75);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Social icons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #ccd6f6;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
    background: #1cb85a;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: rgba(204, 214, 246, 0.5);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .footer-inner {
        padding: 0 16px;
    }

    .footer-brand {
        padding-bottom: 30px;
    }

    .footer-logo {
        height: 75px;
    }

    .footer-desc {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .footer-nav {
        padding: 30px 0;
    }

    .footer-nav-list {
        justify-content: flex-start;
        gap: 4px 8px;
    }

    .footer-nav-list a {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .footer-bottom-info {
        gap: 16px;
    }

    .footer-address,
    .footer-contact {
        flex: 1 1 100%;
    }

    .footer-socials {
        justify-content: flex-start;
        gap: 8px;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
    }

    .site-footer {
        padding-top: 40px;
    }
}

@media (max-width: 540px) {
    .site-footer {
        padding-top: 30px;
    }

    .footer-inner {
        padding: 0 12px;
    }

    .footer-brand {
        padding-bottom: 20px;
    }

    .footer-logo {
        height: 60px;
        margin-bottom: 12px;
    }

    .footer-desc {
        font-size: 0.8rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .footer-nav {
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-nav-list {
        gap: 3px 6px;
        margin-bottom: 10px;
    }

    .footer-nav-list:last-child {
        margin-bottom: 0;
    }

    .footer-nav-list a {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .footer-bottom-info {
        gap: 12px;
        margin-bottom: 16px;
        flex-direction: column;
        align-items: center;
    }

    .footer-address,
    .footer-contact {
        flex: 1 1 100%;
    }

    .footer-address {
        flex-direction: row;
        gap: 8px;
    }

    .footer-address p {
        font-size: 0.75rem;
        margin: 0;
    }

    .footer-contact {
        flex-direction: row;
        gap: 8px;
    }

    .footer-contact p {
        font-size: 0.75rem;
        margin: 0;
    }

    .footer-contact a {
        font-size: 0.75rem;
    }

    .footer-address svg,
    .footer-contact svg {
        width: 14px;
        height: 14px;
        margin-top: 1px;
    }

    .footer-socials {
        gap: 6px;
    }

    .footer-socials a {
        width: 28px;
        height: 28px;
    }

    .footer-socials svg {
        width: 14px;
        height: 14px;
    }

    .footer-copyright {
        padding: 14px 0;
        font-size: 0.75rem;
    }
}

/* ── Floating WhatsApp Button Styles ── */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b355;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}