/* =========================================================
   DANIAL.DEV — SIGNATURE FOOTER
   Premium / Dark Glass / RTL / Fast
========================================================= */

.site-footer {
    --footer-bg: #06152c;
    --footer-bg-2: #091e3b;

    --blue: #3181ff;
    --blue-light: #69a5ff;

    --white: #ffffff;
    --text: #dce8f8;
    --muted: #8da4c1;
    --muted-2: #637b9a;

    position: relative;
    overflow: hidden;

    direction: rtl;

    margin-top: 110px;

    background:
        radial-gradient(
            700px 400px at 85% -10%,
            rgba(49,129,255,.18),
            transparent 65%
        ),
        radial-gradient(
            500px 350px at -5% 100%,
            rgba(20,100,216,.12),
            transparent 65%
        ),
        linear-gradient(
            145deg,
            var(--footer-bg),
            var(--footer-bg-2)
        );

    color: var(--white);
}


/* =========================================================
   TOP LINE
========================================================= */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 5%,
            rgba(77,145,255,.45),
            rgba(255,255,255,.7),
            rgba(77,145,255,.45),
            transparent 95%
        );

    opacity: .7;
}


/* =========================================================
   GRID TEXTURE
========================================================= */

.site-footer::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
}


/* =========================================================
   GLOW ORBS
========================================================= */

.footer-glow {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(100px);

    opacity: .11;
}


.footer-glow-one {
    top: -250px;
    right: 15%;

    background: #3181ff;
}


.footer-glow-two {
    bottom: -260px;
    left: 8%;

    background: #1464d8;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.footer-container {
    position: relative;

    z-index: 3;

    width: min(
        1240px,
        calc(100% - 70px)
    );

    margin: auto;

    padding: 105px 0 90px;

    display: grid;

    grid-template-columns:
        1.45fr
        .85fr
        1.1fr;

    gap: 90px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand-link {
    display: inline-flex;

    align-items: center;

    gap: 16px;

    text-decoration: none;

    color: #fff;
}


.footer-brand-mark {
    position: relative;

    width: 58px;
    height: 58px;

    display: flex;

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

    overflow: hidden;

    border-radius: 18px;

    font-family: Arial, sans-serif;

    font-size: 27px;

    font-weight: 950;

    background:
        linear-gradient(
            145deg,
            #3988ff,
            #0b4ba9
        );

    box-shadow:
        0 18px 45px rgba(20,100,216,.32),
        inset 0 1px 0 rgba(255,255,255,.35);

    transition:
        transform .4s cubic-bezier(.22,1,.36,1),
        box-shadow .4s ease;
}


.footer-brand-mark::after {
    content: "";

    position: absolute;

    top: -100%;
    right: -100%;

    width: 70%;
    height: 300%;

    transform: rotate(25deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transition:
        right .7s ease;
}


.footer-brand-link:hover .footer-brand-mark {
    transform:
        translateY(-5px)
        rotate(-3deg);

    box-shadow:
        0 24px 55px rgba(20,100,216,.42),
        inset 0 1px 0 rgba(255,255,255,.35);
}


.footer-brand-link:hover .footer-brand-mark::after {
    right: 180%;
}


.footer-brand-name {
    font-family: Arial, sans-serif;

    font-size: 27px;

    font-weight: 950;

    letter-spacing: 1.5px;

    direction: ltr;
}


.footer-brand-name span {
    color: var(--blue-light);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.footer-description {
    max-width: 500px;

    margin: 30px 0 27px;

    color: var(--muted);

    font-size: 15px;

    font-weight: 600;

    line-height: 2.15;
}


/* =========================================================
   STATUS
========================================================= */

.footer-status {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    padding: 11px 16px;

    border:
        1px solid rgba(100,150,220,.15);

    border-radius: 100px;

    background:
        rgba(255,255,255,.045);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035);

    color: #a9bdd7;

    font-size: 11px;

    font-weight: 800;
}


.status-dot {
    position: relative;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #42dc91;

    box-shadow:
        0 0 0 5px rgba(66,220,145,.08),
        0 0 20px rgba(66,220,145,.5);
}


.status-dot::after {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: inherit;

    border: 1px solid rgba(66,220,145,.35);

    animation:
        footerStatusPulse 2.2s ease-out infinite;
}


@keyframes footerStatusPulse {
    0% {
        transform: scale(.8);
        opacity: .7;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 30px;
}


.footer-social a {
    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

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

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.085);

    border-radius: 15px;

    color: #9bb0ca;

    background:
        rgba(255,255,255,.045);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035);

    text-decoration: none;

    font-size: 17px;

    transition:
        transform .35s cubic-bezier(.22,1,.36,1),
        color .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


.footer-social a::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(77,145,255,.25),
            transparent 65%
        );

    opacity: 0;

    transition: opacity .3s ease;
}


.footer-social a:hover {
    transform: translateY(-6px);

    color: #fff;

    border-color:
        rgba(77,145,255,.35);

    background:
        rgba(38,124,255,.13);

    box-shadow:
        0 14px 30px rgba(0,0,0,.18),
        0 0 25px rgba(49,129,255,.08);
}


.footer-social a:hover::before {
    opacity: 1;
}


.footer-social img {

    position: relative;

    z-index: 1;

    width: 22px;

    height: 22px;

    object-fit: contain;

}
.footer-social a img,
.contact-icon img {


    width:22px;

    height:22px;


    filter:
        brightness(0)
        saturate(100%)
        invert(48%)
        sepia(40%)
        saturate(900%)
        hue-rotate(190deg);


    transition:
        transform .35s ease,
        filter .35s ease;

}


/* =========================================================
   COLUMNS
========================================================= */

.footer-column {
    position: relative;
}


.footer-column-label {
    display: block;

    margin-bottom: 9px;

    color: var(--blue-light);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    direction: ltr;

    text-transform: uppercase;
}


.footer-column h3 {
    margin: 0 0 27px;

    color: #fff;

    font-size: 22px;

    font-weight: 950;

    letter-spacing: -.4px;
}


/* =========================================================
   NAV
========================================================= */

.footer-nav {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.footer-nav a {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 48px;

    padding: 0 14px;

    overflow: hidden;

    border-radius: 12px;

    color: #8da4c1;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        color .3s ease,
        background .3s ease,
        padding .3s ease,
        transform .3s ease;
}


.footer-nav a::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    right: 0;

    width: 3px;

    border-radius: 10px;

    background:
        linear-gradient(
            #3181ff,
            #69a5ff
        );

    transform:
        scaleY(0);

    transform-origin: center;

    transition:
        transform .3s ease;
}


.footer-nav a i {
    color: #4e6785;

    font-size: 10px;

    opacity: 0;

    transform: translateX(8px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        color .3s ease;
}


.footer-nav a:hover {
    padding-right: 21px;

    color: #fff;

    background:
        rgba(255,255,255,.045);
}


.footer-nav a:hover::before {
    transform: scaleY(.65);
}


.footer-nav a:hover i {
    opacity: 1;

    transform: translateX(0);

    color: var(--blue-light);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact-list {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-contact-item {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 64px;

    padding: 8px 10px;

    border:
        1px solid transparent;

    border-radius: 16px;

    color: #fff;

    text-decoration: none;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


.footer-contact-item:hover {
    transform: translateX(-5px);

    background:
        rgba(255,255,255,.045);

    border-color:
        rgba(255,255,255,.07);
}


.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

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

    border:
        1px solid rgba(77,145,255,.12);

    border-radius: 14px;

    color: var(--blue-light);

    background:
        linear-gradient(
            145deg,
            rgba(49,129,255,.14),
            rgba(49,129,255,.035)
        );

    font-size: 16px;

    transition:
        transform .3s ease,
        background .3s ease;
}


.footer-contact-item:hover .contact-icon {
    transform:
        scale(1.06)
        rotate(-4deg);

    background:
        rgba(49,129,255,.18);
}


.footer-contact-item small {
    display: block;

    margin-bottom: 5px;

    color: #607895;

    font-size: 10px;

    font-weight: 700;
}


.footer-contact-item strong {
    display: block;

    color: #dbe7f6;

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: 800;

    direction: ltr;

    text-align: right;
}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    position: relative;

    z-index: 3;

    border-top:
        1px solid rgba(255,255,255,.065);

    background:
        rgba(0,0,0,.10);
}


.footer-bottom-inner {
    width: min(
        1240px,
        calc(100% - 70px)
    );

    min-height: 82px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.footer-bottom p {
    margin: 0;

    color: #607895;

    font-size: 11px;

    font-weight: 600;
}


.footer-bottom p strong {
    color: #b8c9dd;

    font-family: Arial, sans-serif;

    font-size: 12px;
}


.footer-bottom p strong span {
    color: var(--blue-light);
}


.footer-made {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #536c89;

    font-size: 10px;
}


.footer-made strong {
    color: #a5b8d0;

    font-family: Arial, sans-serif;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .footer-container {
        width: calc(100% - 42px);

        padding: 75px 0 60px;

        grid-template-columns:
            1fr 1fr;

        gap: 55px 35px;
    }


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


    .footer-description {
        max-width: 650px;

        font-size: 14px;
    }


    .footer-bottom-inner {
        width: calc(100% - 42px);

        min-height: 75px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-footer {
        margin-top: 75px;
    }


    .footer-container {
        width: calc(100% - 30px);

        padding: 65px 0 50px;

        display: flex;

        flex-direction: column;

        gap: 45px;
    }


    .footer-brand-name {
        font-size: 23px;
    }


    .footer-brand-mark {
        width: 52px;
        height: 52px;

        border-radius: 16px;

        font-size: 24px;
    }


    .footer-description {
        margin-top: 23px;

        font-size: 14px;

        line-height: 2.1;
    }


    .footer-status {
        font-size: 10px;

        padding: 10px 13px;
    }


    .footer-social {
        margin-top: 24px;
    }


    .footer-social a {
        width: 45px;
        height: 45px;
    }


    .footer-column h3 {
        font-size: 20px;

        margin-bottom: 19px;
    }


    .footer-nav a {
        min-height: 50px;

        font-size: 14px;
    }


    .footer-contact-item {
        min-height: 67px;
    }


    .footer-bottom-inner {
        width: calc(100% - 30px);

        padding: 22px 0;

        min-height: auto;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 380px) {

    .footer-container {
        width: calc(100% - 24px);
    }


    .footer-brand-name {
        font-size: 20px;
    }


    .footer-description {
        font-size: 13px;
    }


    .footer-column h3 {
        font-size: 18px;
    }

}
