/* =========================================================
   MIRAZ FACILITY - PREMIUM ANIMATED FOOTER
   ========================================================= */

footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(14, 165, 233, .12), transparent 28%),
        radial-gradient(circle at 92% 80%, rgba(34, 197, 94, .08), transparent 25%),
        linear-gradient(135deg, #040b14, #061525 55%, #07111e);

    color: #cbd5e1;
    font-family: "Poppins", Arial, sans-serif;
}


/* =========================================================
   ANIMATED TOP BORDER
   ========================================================= */

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

    background: linear-gradient(90deg,
            #0ea5e9,
            #22c55e,
            #f59e0b,
            #ef4444,
            #8b5cf6,
            #0ea5e9);

    background-size: 400% 100%;
    animation: footerTopLine 8s linear infinite;
}

@keyframes footerTopLine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}


/* =========================================================
   BACKGROUND GLOW
   ========================================================= */

footer::after {
    content: "";
    position: absolute;

    width: 450px;
    height: 450px;

    right: -220px;
    top: 40px;

    border-radius: 50%;

    background: rgba(14, 165, 233, .09);
    filter: blur(70px);

    animation: footerGlow 9s ease-in-out infinite;

    pointer-events: none;
}

@keyframes footerGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: .5;
    }

    50% {
        transform: translate(-100px, 50px) scale(1.2);
        opacity: 1;
    }
}


/* =========================================================
   MAIN FOOTER CONTAINER
   ========================================================= */

footer>.f-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 60px 0px 50px;
}


/* =========================================================
   COLUMNS ANIMATION
   ========================================================= */

.footer-about,
.footer-column,
.footer-menu,
.footer-contact {
    position: relative;

    animation: footerReveal 1s ease both;
}

.footer-about {
    animation-delay: .1s;
}

.footer-column {
    animation-delay: .2s;
}

.footer-menu {
    animation-delay: .3s;
}

.footer-contact {
    animation-delay: .4s;
}

@keyframes footerReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LOGO
   ========================================================= */

.f-logo {
    width: 190px;
    max-width: 100%;
    height: auto;

    margin-bottom: 22px;

    filter:
        brightness(0) invert(1) drop-shadow(0 0 0 transparent);

    transition:
        transform .45s ease,
        filter .45s ease;
}

.f-logo:hover {
    transform:
        translateY(-7px) scale(1.04);

    filter:
        brightness(0) invert(1) drop-shadow(0 10px 30px rgba(14, 165, 233, .45));
}


/* =========================================================
   ABOUT TEXT
   ========================================================= */

.f-content {
    max-width: 390px;

    color: #aebdce;

    font-size: 14px;
    line-height: 1.9;

    margin: 0 0 27px;
}


/* =========================================================
   HEADINGS
   ========================================================= */

footer h3 {
    position: relative;

    display: inline-block;

    margin: 0 0 27px;

    padding-bottom: 12px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 600;

    letter-spacing: .3px;
}


/* Heading underline */

footer h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    border-radius: 20px;

    background:
        linear-gradient(90deg,
            #0ea5e9,
            #22c55e);

    transition:
        width .45s ease,
        box-shadow .45s ease;
}

.footer-column:hover h3::after,
.footer-menu:hover h3::after,
.footer-contact:hover h3::after {
    width: 78px;

    box-shadow:
        0 0 15px rgba(14, 165, 233, .55);
}


/* =========================================================
   MENU
   ========================================================= */

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 5px;
    position: relative;
}

footer ul li a {
    display: inline-flex;
    align-items: center;

    color: #aebdce;

    text-decoration: none;

    font-size: 14px;

    position: relative;

    transition:
        color .3s ease,
        transform .3s ease;
}


/* Animated arrow */

footer ul li a::before {
    content: "›";

    display: inline-block;

    width: 0;

    color: #38bdf8;

    font-size: 21px;
    font-weight: 600;

    opacity: 0;

    transform: translateX(-8px);

    transition:
        width .3s ease,
        opacity .3s ease,
        transform .3s ease;
}

footer ul li a:hover {
    color: #ffffff;

    transform: translateX(6px);
}

footer ul li a:hover::before {
    width: 16px;

    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact p {
    color: #aebdce;

    font-size: 14px;

    line-height: 1.9;

    margin: 0 0 13px;
}

.f-address {
    max-width: 270px;

    margin-bottom: 20px !important;
}


/* Contact links */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact .contact-details a {
    color: #aebdce;

    text-decoration: none;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 4px;

    transition:
        color .3s ease,
        transform .3s ease;
}

.footer-contact .contact-details a i {
    width: 18px;

    color: #38bdf8;

    font-size: 14px;

    transition:
        transform .3s ease,
        color .3s ease;
}

.footer-contact .contact-details a:hover {
    color: #ffffff;

    transform: translateX(5px);
}

.footer-contact .contact-details a:hover i {
    color: #22c55e;

    transform:
        scale(1.15) rotate(-5deg);
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.f-social {
    display: flex;

    flex-wrap: wrap;

    gap: 11px;

    margin-top: 10px;
}


/* Social button */

.f-social a {
    width: 46px;
    height: 46px;

    padding: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .045);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    text-decoration: none;

    position: relative;

    overflow: hidden;

    transition:
        transform .4s cubic-bezier(.2, .8, .2, 1),
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}


/* Icon */

.f-social a i {
    position: relative;

    z-index: 2;

    font-size: 19px;

    transition:
        transform .35s ease,
        filter .35s ease;
}


/* =========================================================
   ORIGINAL BRAND COLORS
   ========================================================= */

/* Google */

.f-social a:nth-child(1) i {
    color: #4285f4;
}


/* Facebook */

.f-social a:nth-child(2) i {
    color: #1877f2;
}


/* X / Twitter */

.f-social a:nth-child(3) i {
    color: #ffffff;
}


/* Indeed */

.f-social a:nth-child(4) i {
    color: #2164f3;
}


/* =========================================================
   SOCIAL SHINE
   ========================================================= */

.f-social a::before {
    content: "";

    position: absolute;

    top: 0;
    left: -130%;

    width: 90%;
    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .25),
            transparent);

    transform: skewX(-25deg);

    transition: left .7s ease;

    z-index: 1;
}

.f-social a:hover::before {
    left: 140%;
}

.indeed-social span {
    font-size: 26px;
    font-weight: 700;
    color: #2164F3;
    font-family: Arial, sans-serif;
    line-height: 1;
}

/* =========================================================
   SOCIAL HOVER
   ========================================================= */

.f-social a:hover {
    transform:
        translateY(-7px) scale(1.05);

    background:
        rgba(255, 255, 255, .10);

    border-color:
        rgba(255, 255, 255, .25);
}

.f-social a:hover i {
    transform:
        scale(1.18) rotate(-5deg);
}


/* Individual glow */

.f-social a:nth-child(1):hover {
    box-shadow:
        0 10px 30px rgba(66, 133, 244, .35);
}

.f-social a:nth-child(2):hover {
    box-shadow:
        0 10px 30px rgba(24, 119, 242, .35);
}

.f-social a:nth-child(3):hover {
    box-shadow:
        0 10px 30px rgba(255, 255, 255, .18);
}

.f-social a:nth-child(4):hover {
    box-shadow:
        0 10px 30px rgba(33, 100, 243, .35);
}


/* =========================================================
   CONTACT GLOW
   ========================================================= */

.footer-contact::before {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    right: -50px;
    bottom: -50px;

    border-radius: 50%;

    background:
        rgba(34, 197, 94, .07);

    filter: blur(30px);

    opacity: 0;

    transition: opacity .5s ease;
}

.footer-contact:hover::before {
    opacity: 1;
}


/* =========================================================
   FLOATING DOT
   ========================================================= */

footer>.f-container::before {
    content: "";

    position: absolute;

    width: 6px;
    height: 6px;

    right: 15%;
    top: 90px;

    border-radius: 50%;

    background: #38bdf8;

    box-shadow:
        0 0 15px #38bdf8,
        0 0 30px rgba(56, 189, 248, .4);

    opacity: .7;

    animation:
        floatingDot 5s ease-in-out infinite;
}

@keyframes floatingDot {

    0%,
    100% {
        transform:
            translate(0, 0);

        opacity: .3;
    }

    50% {
        transform:
            translate(-40px, 80px);

        opacity: 1;
    }
}





/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    footer>.container {
        grid-template-columns: 1fr 1fr;

        gap: 45px 35px;

        padding:
            65px 30px 50px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    footer>.container {
        grid-template-columns: 1fr;

        gap: 38px;

        padding:
            55px 22px 42px;
    }

    .f-logo {
        width: 170px;
        display: block;
        margin: 0 auto;
    }

    .f-content {
        max-width: 100%;
        text-align: center;
    }

    footer h3 {
        font-size: 17px;

        margin-bottom: 21px;
    }

    footer ul li {
        margin-bottom: 10px;
    }

    .footer-bottom>.container {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding: 20px;
    }

    .footer-contact p {
        max-width: 100%;
    }

    .f-social {
        gap: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    footer>.container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .f-social {
        gap: 8px;
    }

    .f-social a {
        width: 43px;
        height: 43px;
    }

    footer ul li a {
        font-size: 13px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    footer *,
    footer *::before,
    footer *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}




