/* =========================================================================================================
   GLOBAL FOOTER — YUBEEN / CLEAN COMPACT FINAL VERSION
   ---------------------------------------------------------------------------------------------------------
   Purpose:
   - Custom global footer for Yubeen website.
   - Works with Elementor Free + Ultimate Addons Header/Footer Builder.
   - Dark technical B2B footer.
   - Reduced height, but keeps enough spacing so it does not look cramped.
   ---------------------------------------------------------------------------------------------------------
   Structure:
     Footer Section
       Footer Inner
         Footer Main
           Brand / Products / Company / Contact
         Footer Bottom
   ========================================================================================================= */


/* ---------------------------------------------------------------------------------------------------------
   01. FOOTER BASE
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer {
    position: relative !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        radial-gradient(circle at 80% 14%, rgba(215, 25, 32, 0.14) 0%, transparent 30%),
        radial-gradient(circle at 12% 76%, rgba(255, 255, 255, 0.032) 0%, transparent 28%),
        linear-gradient(180deg, #050609 0%, #090b0f 100%) !important;

    color: #ffffff !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}

.yubeen-footer::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.028) 0%,
            transparent 22%,
            transparent 78%,
            rgba(215, 25, 32, 0.035) 100%
        ) !important;

    pointer-events: none !important;
}


/* ---------------------------------------------------------------------------------------------------------
   02. FOOTER INNER
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-inner {
    position: relative !important;
    z-index: 2 !important;

    width: min(92vw, 1320px) !important;
    max-width: 1320px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* ---------------------------------------------------------------------------------------------------------
   03. FOOTER MAIN — FOUR COLUMNS
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-main {
    width: 100% !important;

    display: grid !important;
    grid-template-columns:
        minmax(260px, 1.35fr)
        minmax(150px, 0.7fr)
        minmax(150px, 0.7fr)
        minmax(240px, 0.9fr) !important;

    gap: 44px !important;

    align-items: flex-start !important;

    margin: 0 !important;
    padding: 36px 0 30px 0 !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;

    box-sizing: border-box !important;
}

.yubeen-footer-main > * {
    min-width: 0 !important;
    box-sizing: border-box !important;
}


/* ---------------------------------------------------------------------------------------------------------
   04. BRAND COLUMN
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-brand,
.yubeen-footer-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-logo,
.yubeen-footer-logo .elementor-widget-container,
.yubeen-footer-logo a {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}

.yubeen-footer-logo img {
    display: block !important;

    width: auto !important;
    max-width: 160px !important;
    max-height: 44px !important;

    object-fit: contain !important;
}

.yubeen-footer-description,
.yubeen-footer-description p {
    max-width: 410px !important;

    margin: 16px 0 0 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.62) !important;

    font-size: 14px !important;
    line-height: 1.58 !important;
    font-weight: 500 !important;
}


/* ---------------------------------------------------------------------------------------------------------
   05. SOCIAL ICONS
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 10px !important;

    margin: 18px 0 0 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-socials > *,
.yubeen-footer-socials .elementor-widget-container {
    width: auto !important;
    max-width: max-content !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 auto !important;

    box-sizing: border-box !important;
}

.yubeen-footer-socials a,
.yubeen-footer-socials .elementor-icon {
    width: 34px !important;
    height: 34px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.08) !important;

    color: rgba(255, 255, 255, 0.76) !important;

    text-decoration: none !important;

    box-sizing: border-box !important;

    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease !important;
}

.yubeen-footer-socials a:hover,
.yubeen-footer-socials .elementor-icon:hover {
    background: #d71920 !important;

    color: #ffffff !important;

    transform: translateY(-2px) !important;
}

.yubeen-footer-socials i,
.yubeen-footer-socials svg {
    width: 16px !important;
    height: 16px !important;

    font-size: 16px !important;

    color: currentColor !important;
    fill: currentColor !important;
}


/* ---------------------------------------------------------------------------------------------------------
   06. COLUMN HEADINGS
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-heading,
.yubeen-footer-heading .elementor-heading-title {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;

    letter-spacing: -0.2px !important;
}


/* ---------------------------------------------------------------------------------------------------------
   07. FOOTER LINK LISTS
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-list .elementor-widget-html,
.yubeen-footer-list .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

.yubeen-footer-list a {
    display: inline-flex !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.58) !important;

    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    transition:
        color 0.22s ease,
        transform 0.22s ease !important;
}

.yubeen-footer-list a:hover {
    color: #ffffff !important;

    transform: translateX(2px) !important;
}


/* ---------------------------------------------------------------------------------------------------------
   08. CONTACT LIST
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-contact-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 11px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-contact-item {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;

    column-gap: 10px !important;

    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-contact-icon,
.yubeen-footer-contact-icon .elementor-widget-container,
.yubeen-footer-contact-icon .elementor-icon-wrapper,
.yubeen-footer-contact-icon .elementor-icon {
    width: 20px !important;
    height: 20px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #d71920 !important;
}

.yubeen-footer-contact-icon i,
.yubeen-footer-contact-icon svg {
    width: 15px !important;
    height: 15px !important;

    font-size: 15px !important;

    color: #d71920 !important;
    fill: #d71920 !important;
}

.yubeen-footer-contact-text,
.yubeen-footer-contact-text p,
.yubeen-footer-contact-text a,
.yubeen-footer-contact-text .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.62) !important;

    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;

    text-decoration: none !important;
}

.yubeen-footer-contact-text a:hover {
    color: #ffffff !important;
}


/* ---------------------------------------------------------------------------------------------------------
   09. CONTACT BUTTON
   ---------------------------------------------------------------------------------------------------------
   Required HTML:
   <a class="yubeen-footer-contact-button" href="/contact-us/">Contact Our Team</a>
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-column > .elementor-widget-html.yubeen-footer-contact-button,
.yubeen-footer-column > .elementor-widget-html.yubeen-footer-contact-button .elementor-widget-container {
    width: auto !important;
    max-width: max-content !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;

    background: transparent !important;

    box-shadow: none !important;

    box-sizing: border-box !important;
}

a.yubeen-footer-contact-button,
.yubeen-footer-contact-button {
    min-height: 40px !important;
    height: 40px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 18px 0 0 0 !important;
    padding: 0 20px !important;

    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 999px !important;

    background: transparent !important;

    color: #ffffff !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    box-sizing: border-box !important;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease !important;
}

a.yubeen-footer-contact-button:hover,
.yubeen-footer-contact-button:hover {
    background: #d71920 !important;

    border-color: #d71920 !important;

    color: #ffffff !important;

    transform: translateY(-1px) !important;

    box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22) !important;
}


/* ---------------------------------------------------------------------------------------------------------
   10. FOOTER BOTTOM
   --------------------------------------------------------------------------------------------------------- */

.yubeen-footer-bottom {
    width: 100% !important;
    min-height: 56px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-bottom > *:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.yubeen-footer-bottom > *:last-child {
    flex: 0 0 auto !important;
}

.yubeen-footer-copyright,
.yubeen-footer-copyright p {
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.46) !important;

    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;

    white-space: nowrap !important;
}

.yubeen-footer-legal {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.yubeen-footer-legal .elementor-widget-html,
.yubeen-footer-legal .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

.yubeen-footer-legal a {
    color: rgba(255, 255, 255, 0.52) !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    transition: color 0.22s ease !important;
}

.yubeen-footer-legal a:hover {
    color: #ffffff !important;
}


/* ---------------------------------------------------------------------------------------------------------
   11. RESPONSIVE — TABLET
   --------------------------------------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .yubeen-footer-main {
        grid-template-columns: 1fr 1fr !important;

        gap: 32px 44px !important;

        padding: 40px 0 34px 0 !important;
    }

    .yubeen-footer-bottom {
        min-height: 56px !important;
    }
}


/* ---------------------------------------------------------------------------------------------------------
   12. RESPONSIVE — MOBILE
   --------------------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .yubeen-footer-main {
        grid-template-columns: 1fr !important;

        gap: 28px !important;

        padding: 36px 0 30px 0 !important;
    }

    .yubeen-footer-description,
    .yubeen-footer-description p {
        max-width: 100% !important;
    }

    .yubeen-footer-socials {
        margin: 18px 0 0 0 !important;
    }

    .yubeen-footer-bottom {
        min-height: auto !important;

        flex-direction: column !important;
        align-items: flex-start !important;

        gap: 14px !important;

        padding: 18px 0 20px 0 !important;
    }

    .yubeen-footer-copyright,
    .yubeen-footer-copyright p {
        white-space: normal !important;
    }

    .yubeen-footer-legal {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;

        gap: 14px 20px !important;
    }
}


/* ---------------------------------------------------------------------------------------------------------
   13. RESPONSIVE — SMALL MOBILE
   --------------------------------------------------------------------------------------------------------- */

@media (max-width: 480px) {
    .yubeen-footer-main {
        padding: 32px 0 28px 0 !important;

        gap: 26px !important;
    }

    .yubeen-footer-logo img {
        max-width: 150px !important;
        max-height: 42px !important;
    }

    .yubeen-footer-description,
    .yubeen-footer-description p {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    .yubeen-footer-heading,
    .yubeen-footer-heading .elementor-heading-title {
        margin-bottom: 14px !important;

        font-size: 15.5px !important;
    }

    .yubeen-footer-list {
        gap: 9px !important;
    }

    .yubeen-footer-contact-list {
        gap: 10px !important;
    }

    .yubeen-footer-legal {
        gap: 12px 18px !important;
    }
}