/* ============================================================
   VEDANTA ERP - PREMIUM FOOTER
   ============================================================ */

:root {

    --footer-bg: #071329;
    --footer-bg-dark: #050d1d;

    --footer-text: #ffffff;
    --footer-muted: #94a2b8;
    --footer-muted-2: #718098;

    --footer-border: rgba(255, 255, 255, 0.09);

    --blue: #0879a8;
    --cyan: #08a8c7;
    --purple: #9653a4;
    --red: #e6292f;
    --orange: #f4a51b;

}


/* ============================================================
   RESET
   ============================================================ */

.vedanta-footer *,
.vedanta-footer *::before,
.vedanta-footer *::after {
    box-sizing: border-box;
}


.vedanta-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(8, 121, 168, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 40%,
            rgba(150, 83, 164, 0.09),
            transparent 30%
        ),
        var(--footer-bg);

    color: var(--footer-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    position: relative;

    overflow: hidden;
}


/* ============================================================
   GRADIENT TOP LINE
   ============================================================ */

.footer-gradient-line {

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--red) 0%,
            var(--orange) 22%,
            var(--purple) 50%,
            var(--blue) 75%,
            var(--cyan) 100%
        );
}


/* ============================================================
   MAIN FOOTER
   ============================================================ */

.footer-main {
    width: 100%;
    padding: 42px 24px 34px;
}


.footer-container {

    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(280px, 1.5fr)
        minmax(150px, 0.8fr)
        minmax(150px, 0.8fr)
        minmax(285px, 1.05fr);

    gap: 55px;

    align-items: start;
}


/* ============================================================
   BRAND
   ============================================================ */

.footer-brand {
    min-width: 0;
}


.footer-logo-link {

    display: inline-flex;

    width: 86px;
    height: 86px;

    margin-bottom: 16px;

    text-decoration: none;

    border-radius: 50%;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.footer-logo-link:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35);
}


.footer-logo {

    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* ============================================================
   LOGO FALLBACK
   ============================================================ */

.footer-logo-fallback {

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--purple),
            var(--blue)
        );

    color: #ffffff;

    font-size: 38px;
    font-weight: 800;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.footer-description {

    max-width: 355px;

    margin: 0 0 20px;

    color: var(--footer-muted);

    font-size: 13px;
    line-height: 1.65;
}


/* ============================================================
   APP STORE BADGES
   ============================================================ */

.footer-apps {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 20px;
}


.app-badge {

    min-width: 137px;

    height: 43px;

    padding: 6px 11px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.055);

    color: #ffffff;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.app-badge:hover {

    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.10);

    border-color:
        rgba(8, 168, 199, 0.45);
}


.store-icon {

    width: 23px;
    height: 23px;

    flex: 0 0 auto;

    fill: currentColor;
}


.store-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    line-height: 1;
}


.store-text small {

    margin-bottom: 3px;

    color: #b8c2d1;

    font-size: 7px;

    letter-spacing: 0.04em;

    white-space: nowrap;
}


.store-text strong {

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;
}


/* ============================================================
   SOCIAL ICONS
   ============================================================ */

.footer-socials {

    display: flex;

    align-items: center;

    gap: 8px;
}


.social-link {

    width: 34px;
    height: 34px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    border: 1px solid
        rgba(255, 255, 255, 0.10);

    background:
        rgba(255, 255, 255, 0.045);

    color: #c9d3e2;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.social-link svg {

    width: 17px;
    height: 17px;

    fill: currentColor;
}


.social-link.instagram svg {

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;
}


.social-link.instagram .instagram-dot {

    fill: currentColor;

    stroke: none;
}


.social-link:hover {

    transform: translateY(-3px);

    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.25);

    background:
        rgba(255, 255, 255, 0.11);
}


/* ============================================================
   FOOTER COLUMNS
   ============================================================ */

.footer-column {

    min-width: 0;
}


.footer-title {

    margin: 5px 0 18px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.3;
}


.footer-links {

    list-style: none;

    margin: 0;
    padding: 0;
}


.footer-links li {

    margin: 0 0 11px;
}


.footer-links a {

    color: var(--footer-muted);

    text-decoration: none;

    font-size: 13px;

    line-height: 1.4;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-links a:hover {

    color: #ffffff;

    transform: translateX(3px);
}


/* ============================================================
   CONTACT
   ============================================================ */

.footer-contact-column {

    min-width: 0;
}


.footer-contact-list {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 0;
    padding: 0;
}


/* ============================================================
   CONTACT ITEM
   ============================================================ */

.footer-contact-item {

    width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin: 0;
    padding: 0;

    color: #ffffff;

    text-decoration: none;

    background: transparent;

    border: 0;

    text-align: left;

    transition:
        transform 0.2s ease;
}


a.footer-contact-item:hover {

    transform: translateX(3px);
}


/* ============================================================
   CONTACT ICON
   ============================================================ */

.contact-icon {

    width: 34px;
    height: 34px;

    min-width: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background:
        rgba(8, 168, 199, 0.10);

    border: 1px solid
        rgba(8, 168, 199, 0.23);

    color: var(--cyan);
}


.contact-icon svg {

    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* ============================================================
   CONTACT CONTENT
   ============================================================ */

.contact-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;

    padding-top: 1px;
}


.contact-content small {

    display: block;

    color: var(--footer-muted-2);

    font-size: 9px;

    font-weight: 700;

    line-height: 1.3;

    text-transform: uppercase;

    letter-spacing: 0.09em;
}


.contact-content strong {

    display: block;

    color: #ffffff;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.45;

    word-break: break-word;
}


.contact-subtext {

    color: #aeb9ca;

    font-size: 12px;

    line-height: 1.35;
}


/* ============================================================
   CONTACT BUTTON
   ============================================================ */

.footer-contact-button {

    width: 100%;
    max-width: 270px;

    min-height: 42px;

    margin-top: 20px;

    padding: 10px 14px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(8, 121, 168, 0.30),
            rgba(150, 83, 164, 0.25)
        );

    border: 1px solid
        rgba(255, 255, 255, 0.10);

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.footer-contact-button:hover {

    transform: translateY(-2px);

    border-color:
        rgba(8, 168, 199, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(8, 121, 168, 0.43),
            rgba(150, 83, 164, 0.36)
        );
}


.button-arrow {

    font-size: 18px;

    line-height: 1;
}


/* ============================================================
   BOTTOM BAR
   ============================================================ */

.footer-bottom {

    width: 100%;

    border-top:
        1px solid var(--footer-border);

    background:
        rgba(0, 0, 0, 0.15);

    padding: 0 24px;
}


.footer-bottom-container {

    width: 100%;
    max-width: 1320px;

    min-height: 60px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 20px;
}


/* ============================================================
   COPYRIGHT
   ============================================================ */

.footer-copyright {

    flex: 1;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 5px;

    color: #78869d;

    font-size: 11px;

    line-height: 1.5;
}


.copyright-separator {

    color: #4d5b70;

    margin: 0 3px;
}


/* ============================================================
   LEGAL
   ============================================================ */

.footer-legal {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;
}


.footer-legal a {

    color: #8794a8;

    font-size: 11px;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}


.footer-legal a:hover {

    color: #ffffff;
}


/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {

    width: 37px;
    height: 37px;

    min-width: 37px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    border: 1px solid
        rgba(255, 255, 255, 0.12);

    background:
        rgba(255, 255, 255, 0.05);

    color: #cbd5e3;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}


.back-to-top svg {

    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.back-to-top:hover {

    transform: translateY(-3px);

    background:
        rgba(8, 168, 199, 0.14);

    color: #ffffff;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .footer-container {

        grid-template-columns:
            1.35fr
            0.8fr
            0.8fr;

        gap: 40px;
    }


    .footer-contact-column {

        grid-column: 1 / -1;

        padding-top: 5px;

        border-top:
            1px solid rgba(255, 255, 255, 0.07);

    }


    .footer-contact-list {

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }


    .footer-contact-button {

        margin-top: 18px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .footer-main {

        padding:
            34px 18px 28px;
    }


    .footer-container {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .footer-brand {

        padding-bottom: 5px;
    }


    .footer-description {

        max-width: 100%;
    }


    .footer-contact-column {

        grid-column: auto;

        padding-top: 25px;
    }


    .footer-contact-list {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .footer-contact-button {

        max-width: 100%;
    }


    .footer-bottom {

        padding:
            0 18px;
    }


    .footer-bottom-container {

        padding:
            18px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;
    }


    .footer-copyright {

        width: 100%;
    }


    .footer-legal {

        justify-content: flex-start;

        gap: 10px 16px;
    }


    .back-to-top {

        align-self: flex-end;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .footer-apps {

        flex-direction: column;

        align-items: flex-start;
    }


    .app-badge {

        width: 150px;
    }


    .footer-logo-link {

        width: 78px;
        height: 78px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .vedanta-footer *,
    .vedanta-footer *::before,
    .vedanta-footer *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }

}