/* =========================================================
   NiveshakFirst — Shared Footer
   This file controls the footer used across every page.
   ========================================================= */


/* ---------------------------------------------------------
   Main footer background
   --------------------------------------------------------- */

.site-footer {
    background: #16364d;
    color: #ffffff;
}


/* ---------------------------------------------------------
   Main footer content layout
   --------------------------------------------------------- */

.footer-container {
    padding: 60px 0;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}


/* ---------------------------------------------------------
   Footer brand / logo
   --------------------------------------------------------- */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-image {
    width: 190px;
    height: 70px;
    object-fit: contain;
    object-position: left center;
    background: #ffffff;
    padding: 5px;
    display: block;
}

.footer-brand>p {
    max-width: 250px;

    color: #aebbc4;
    font-size: 13px;
    margin-top: 15px;
}


/* ---------------------------------------------------------
   Quick links and contact columns
   --------------------------------------------------------- */

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-links>a,
.footer-contact p {
    color: #aebbc4;
    font-size: 13px;
    margin-bottom: 9px;
    transition: color 0.25s ease;
}

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


/* ---------------------------------------------------------
   Email and phone links
   --------------------------------------------------------- */

.footer-connect .contact-link {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 13px;

    color: #dce7ef;
    font-size: 13px;
    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-connect .contact-link i {
    width: 18px;

    color: #8fa8b9;
    font-size: 14px;
    text-align: center;

    transition: color 0.25s ease;
}

.footer-connect .contact-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-connect .contact-link:hover i {
    color: #69be43;
}


/* ---------------------------------------------------------
   Social media buttons
   --------------------------------------------------------- */

.footer-connect .social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-connect .social-links a {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f3f8f6;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-connect .social-links a i {
    font-size: 20px;
}

.footer-connect .social-links .whatsapp-button i {
    color: #25D366;
}

.footer-connect .social-links .x-twitter i {
    color: #000000;
}

.footer-connect .social-links .instagram i {
    color: #E1306C;
}

.footer-connect .social-links a:hover {
    transform: translateY(-4px);
    background: #ffffff;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}


/* ---------------------------------------------------------
   Footer legal / copyright section
   Matches the .footer-legal class used in footer.html.
   --------------------------------------------------------- */

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal .container {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-legal .container>div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-legal a {
    color: #aebbc4;
    font-size: 11px;

    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-legal p {
    color: #8999a5;
    font-size: 11px;
    margin: 0;
}


/* ---------------------------------------------------------
   Responsive footer adjustments
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-legal .container {
        padding: 15px 0;
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-legal .container>div {
        flex-wrap: wrap;
        gap: 10px 15px;
    }

}

.footer-registration {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.6;
}

.footer-risk-warning {
    max-width: 760px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.65;
}