/*==================================================
AL FAJR FOUNDATION
PREMIUM FOOTER
PART 1
==================================================*/


/*=========================================
FOOTER
=========================================*/

.footer{

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        180deg,
        #06142D 0%,
        #081A38 50%,
        #0A1E42 100%
    );

    color:#ffffff;

    padding:110px 0 35px;

}


/*=========================================
MORNING LIGHT
=========================================*/

.footer-light{

    position:absolute;

    border-radius:50%;

    filter:blur(90px);

    pointer-events:none;

}

.footer-light.one{

    width:500px;

    height:500px;

    top:-180px;

    left:-120px;

    background:
    rgba(212,175,55,.10);

}

.footer-light.two{

    width:420px;

    height:420px;

    right:-120px;

    bottom:-140px;

    background:
    rgba(212,175,55,.06);

}


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

.footer-grid{

    display:grid;

    grid-template-columns:

        2fr
        1fr
        1fr
        1fr;

    gap:55px;

    position:relative;

    z-index:2;

}


/*=========================================
COLUMN
=========================================*/

.footer-column h4{

    color:#ffffff;

    font-size:1.35rem;

    margin-bottom:28px;

    font-family:
    "Playfair Display",
    serif;

}

.footer-column p{

    color:

    rgba(255,255,255,.75);

    line-height:1.9;

}


/*=========================================
LOGO
=========================================*/

.footer-logo{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:26px;

}

.footer-logo img{

    width:78px;

    height:78px;

    object-fit:contain;

}

.footer-logo h3{

    margin:0;

    color:#ffffff;

    font-size:1.55rem;

}

.footer-logo p{

    margin-top:6px;

    color:

    rgba(212,175,55,.90);

}


/*=========================================
ABOUT
=========================================*/

.footer-about{

    max-width:360px;

}


/*=========================================
LISTS
=========================================*/

.footer-column ul{

    margin:0;

    padding:0;

    list-style:none;

}

.footer-column ul li{

    margin-bottom:16px;

}

.footer-column ul li a{

    color:

    rgba(255,255,255,.78);

    text-decoration:none;

    transition:.35s;

}

.footer-column ul li a:hover{

    color:#D4AF37;

    padding-left:8px;

}
/*==================================================
PART 2
CONTACT • SOCIAL • BUTTONS
==================================================*/


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

.footer-contact li{

    display:flex;

    align-items:flex-start;

    gap:14px;

    margin-bottom:18px;

}

.footer-contact i{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:

    rgba(212,175,55,.15);

    color:#D4AF37;

    flex-shrink:0;

    transition:.35s;

}

.footer-contact li:hover i{

    background:#D4AF37;

    color:#06142D;

    transform:rotate(360deg);

}

.footer-contact span,

.footer-contact a{

    color:

    rgba(255,255,255,.82);

    text-decoration:none;

    line-height:1.8;

}

.footer-contact a:hover{

    color:#D4AF37;

}


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

.footer-social{

    display:flex;

    gap:14px;

    margin-bottom:28px;

}

.footer-social a{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:

    rgba(255,255,255,.06);

    border:

    1px solid rgba(255,255,255,.08);

    color:#ffffff;

    text-decoration:none;

    transition:.35s;

}

.footer-social a:hover{

    background:#D4AF37;

    color:#06142D;

    transform:

    translateY(-6px);

    box-shadow:

    0 12px 30px

    rgba(212,175,55,.35);

}


/*=========================================
DONATE BUTTON
=========================================*/

.footer-donate{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:

    15px 30px;

    border-radius:999px;

    background:

    linear-gradient(

        135deg,

        #D4AF37,

        #f2d36d

    );

    color:#06142D;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.footer-donate:hover{

    transform:

    translateY(-5px);

    box-shadow:

    0 18px 40px

    rgba(212,175,55,.35);

}


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

.footer-bottom{

    margin-top:70px;

    padding-top:30px;

    border-top:

    1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

}

.footer-bottom p{

    margin:0;

    color:

    rgba(255,255,255,.65);

    font-size:.95rem;

}
/*==================================================
PART 3
SCROLL BUTTON • ANIMATIONS • RESPONSIVE
==================================================*/


/*=========================================
SCROLL TO TOP
=========================================*/

.scroll-top{

    position:fixed;

    right:28px;

    bottom:28px;

    width:58px;

    height:58px;

    border:none;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(
        135deg,
        #D4AF37,
        #f0d36a
    );

    color:#06142D;

    font-size:1.25rem;

    cursor:pointer;

    z-index:999;

    opacity:0;

    visibility:hidden;

    transform:translateY(30px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease,
        box-shadow .35s ease;

    box-shadow:
        0 18px 40px rgba(212,175,55,.30);

}

.scroll-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.scroll-top:hover{

    transform:
        translateY(-6px)
        scale(1.06);

    box-shadow:
        0 24px 55px rgba(212,175,55,.45);

}


/*=========================================
FOOTER ANIMATION
=========================================*/

.footer-column{

    opacity:0;

    transform:translateY(40px);

    animation:footerFade .9s ease forwards;

}

.footer-column:nth-child(1){

    animation-delay:.10s;

}

.footer-column:nth-child(2){

    animation-delay:.20s;

}

.footer-column:nth-child(3){

    animation-delay:.30s;

}

.footer-column:nth-child(4){

    animation-delay:.40s;

}

.footer-bottom{

    opacity:0;

    animation:footerFade 1s ease .55s forwards;

}


/*=========================================
LIGHT MOVEMENT
=========================================*/

.footer-light.one{

    animation:footerLightOne 20s ease-in-out infinite;

}

.footer-light.two{

    animation:footerLightTwo 24s ease-in-out infinite;

}


/*=========================================
KEYFRAMES
=========================================*/

@keyframes footerFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes footerLightOne{

    0%,100%{

        transform:
            translate(0,0)
            scale(1);

        opacity:.45;

    }

    50%{

        transform:
            translate(35px,20px)
            scale(1.08);

        opacity:.80;

    }

}

@keyframes footerLightTwo{

    0%,100%{

        transform:translate(0,0);

        opacity:.30;

    }

    50%{

        transform:
            translate(-30px,-20px);

        opacity:.65;

    }

}


/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:1100px){

    .footer-grid{

        grid-template-columns:
            1fr
            1fr;

        gap:45px;

    }

}

@media(max-width:768px){

    .footer{

        padding:90px 0 30px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:38px;

    }

    .footer-logo{

        align-items:flex-start;

    }

    .footer-bottom{

        text-align:center;

        justify-content:center;

        flex-direction:column;

    }

    .scroll-top{

        width:54px;

        height:54px;

        right:18px;

        bottom:18px;

    }

}

@media(max-width:480px){

    .footer-logo{

        flex-direction:column;

    }

    .footer-logo img{

        width:70px;

        height:70px;

    }

    .footer-social{

        flex-wrap:wrap;

    }

    .footer-donate{

        width:100%;

    }

    .scroll-top{

        width:50px;

        height:50px;

        font-size:1.1rem;

    }

}