/*
==========================================================
Qalamation
Website Footer
==========================================================
*/


/*
|--------------------------------------------------------------------------
| Footer Base
|--------------------------------------------------------------------------
*/

.qalamation-footer {

    position: relative;

    background: #122219;

    color: #ffffff;

    overflow: hidden;

}


/*
|--------------------------------------------------------------------------
| Main Footer
|--------------------------------------------------------------------------
*/

.qalamation-footer-main {

    position: relative;

    padding: 85px 0 70px;

    background:

        radial-gradient(
            circle at 8% 15%,
            rgba(25, 135, 84, 0.18),
            transparent 30%
        ),

        radial-gradient(
            circle at 92% 80%,
            rgba(25, 135, 84, 0.09),
            transparent 28%
        ),

        #122219;

}


/*
|--------------------------------------------------------------------------
| Decorative Glow
|--------------------------------------------------------------------------
*/

.qalamation-footer-main::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background:

        rgba(
            25,
            135,
            84,
            0.08
        );

    filter: blur(30px);

    top: -180px;

    right: -120px;

    pointer-events: none;

}


/*
|--------------------------------------------------------------------------
| Brand
|--------------------------------------------------------------------------
*/

.footer-brand-section {

    max-width: 470px;

}

.footer-brand-logo {

    display: inline-flex;

    align-items: center;

    gap: 13px;

    color: #ffffff;

    text-decoration: none;

}

.footer-brand-logo:hover {

    color: #ffffff;

}

.footer-brand-icon {

    width: 50px;

    height: 50px;

    border-radius: 16px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: #198754;

    color: #ffffff;

    font-size: 20px;

    box-shadow:

        0 15px 35px

        rgba(
            25,
            135,
            84,
            0.28
        );

}

.footer-brand-name {

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -1px;

}

.footer-brand-text {

    max-width: 430px;

    margin: 26px 0 0;

    color: #a6b6ad;

    font-size: 15px;

    line-height: 1.85;

}

.footer-brand-message {

    margin: 22px 0 0;

    color: #d1dbd5;

    font-family: Georgia, serif;

    font-size: 17px;

    font-style: italic;

}

.footer-brand-message span {

    color: #57bd88;

}


/*
|--------------------------------------------------------------------------
| Social Links
|--------------------------------------------------------------------------
*/

.footer-social-links {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;

}

.footer-social-links a {

    width: 43px;

    height: 43px;

    border-radius: 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #aab9b0;

    text-decoration: none;

    background:

        rgba(
            255,
            255,
            255,
            0.05
        );

    border:

        1px solid

        rgba(
            255,
            255,
            255,
            0.08
        );

    font-size: 14px;

    transition:

        transform 0.25s ease,

        color 0.25s ease,

        background 0.25s ease,

        border-color 0.25s ease;

}

.footer-social-links a:hover {

    color: #ffffff;

    background: #198754;

    border-color: #198754;

    transform: translateY(-4px);

}


/*
|--------------------------------------------------------------------------
| Footer Columns
|--------------------------------------------------------------------------
*/

.footer-link-column h5 {

    position: relative;

    margin: 0 0 27px;

    padding-bottom: 13px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 750;

}

.footer-link-column h5::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 28px;

    height: 2px;

    border-radius: 10px;

    background: #198754;

}

.footer-link-column ul {

    margin: 0;

    padding: 0;

    list-style: none;

}

.footer-link-column li {

    margin-bottom: 14px;

}

.footer-link-column li:last-child {

    margin-bottom: 0;

}

.footer-link-column li a {

    display: inline-flex;

    align-items: center;

    color: #9eafa5;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.5;

    transition:

        color 0.2s ease,

        transform 0.2s ease;

}

.footer-link-column li a::before {

    content: "";

    width: 0;

    height: 1px;

    margin-right: 0;

    background: #57bd88;

    transition:

        width 0.2s ease,

        margin-right 0.2s ease;

}

.footer-link-column li a:hover {

    color: #ffffff;

    transform: translateX(3px);

}

.footer-link-column li a:hover::before {

    width: 10px;

    margin-right: 7px;

}

.footer-empty-text {

    color: #71847a;

    font-size: 13px;

}


/*
|--------------------------------------------------------------------------
| Writer Button
|--------------------------------------------------------------------------
*/

.footer-writer-button {

    min-height: 47px;

    margin-top: 28px;

    padding: 0 22px;

    border-radius: 50px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    color: #ffffff;

    background: #198754;

    border: 1px solid #198754;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    box-shadow:

        0 14px 30px

        rgba(
            25,
            135,
            84,
            0.2
        );

    transition:

        transform 0.25s ease,

        background 0.25s ease,

        border-color 0.25s ease,

        box-shadow 0.25s ease;

}

.footer-writer-button:hover {

    color: #ffffff;

    background: #20a164;

    border-color: #20a164;

    transform: translateY(-3px);

    box-shadow:

        0 18px 38px

        rgba(
            25,
            135,
            84,
            0.28
        );

}


/*
|--------------------------------------------------------------------------
| Quote Section
|--------------------------------------------------------------------------
*/

.footer-quote-section {

    border-top:

        1px solid

        rgba(
            255,
            255,
            255,
            0.06
        );

    border-bottom:

        1px solid

        rgba(
            255,
            255,
            255,
            0.06
        );

    background:

        rgba(
            255,
            255,
            255,
            0.02
        );

}

.footer-quote-wrapper {

    min-height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    text-align: center;

}

.footer-quote-wrapper > i:first-child {

    color: #198754;

    font-size: 17px;

}

.footer-quote-wrapper > i:last-child {

    color: #57bd88;

    font-size: 17px;

}

.footer-quote-wrapper p {

    margin: 0;

    color: #b9c7bf;

    font-family: Georgia, serif;

    font-size: 17px;

    font-style: italic;

    line-height: 1.6;

}


/*
|--------------------------------------------------------------------------
| Footer Bottom
|--------------------------------------------------------------------------
*/

.qalamation-footer-bottom {

    background:

        rgba(
            0,
            0,
            0,
            0.14
        );

}

.footer-bottom-content {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.footer-copyright {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px;

    color: #7f9287;

    font-size: 13px;

}

.footer-copyright strong {

    color: #bdcbc3;

    font-weight: 650;

}

.footer-copyright span {

    margin-left: 3px;

}


/*
|--------------------------------------------------------------------------
| Legal Links
|--------------------------------------------------------------------------
*/

.footer-legal-links {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

}

.footer-legal-links a {

    color: #7f9287;

    text-decoration: none;

    font-size: 12px;

    transition: color 0.2s ease;

}

.footer-legal-links a:hover {

    color: #ffffff;

}

.footer-link-dot {

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background: #4c6256;

}


/*
|--------------------------------------------------------------------------
| Back To Top
|--------------------------------------------------------------------------
*/

.qalamation-back-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 1050;

    width: 48px;

    height: 48px;

    padding: 0;

    border: 0;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #198754;

    color: #ffffff;

    font-size: 14px;

    box-shadow:

        0 15px 35px

        rgba(
            25,
            135,
            84,
            0.32
        );

    opacity: 0;

    visibility: hidden;

    transform:

        translateY(20px)

        scale(0.9);

    transition:

        opacity 0.25s ease,

        visibility 0.25s ease,

        transform 0.25s ease,

        background 0.25s ease;

}

.qalamation-back-top.show {

    opacity: 1;

    visibility: visible;

    transform:

        translateY(0)

        scale(1);

}

.qalamation-back-top:hover {

    background: #146c43;

    transform:

        translateY(-3px)

        scale(1);

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (
    max-width: 991.98px
) {

    .qalamation-footer-main {

        padding: 70px 0 60px;

    }

    .footer-brand-section {

        max-width: 650px;

    }

    .footer-brand-text {

        max-width: 600px;

    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 767.98px
) {

    .qalamation-footer-main {

        padding: 60px 0 50px;

    }


    /*
    |--------------------------------------------------------------------------
    | Brand
    |--------------------------------------------------------------------------
    */

    .footer-brand-logo {

        gap: 11px;

    }

    .footer-brand-icon {

        width: 45px;

        height: 45px;

        border-radius: 14px;

        font-size: 18px;

    }

    .footer-brand-name {

        font-size: 23px;

    }

    .footer-brand-text {

        font-size: 14px;

        line-height: 1.8;

    }

    .footer-brand-message {

        font-size: 16px;

    }


    /*
    |--------------------------------------------------------------------------
    | Columns
    |--------------------------------------------------------------------------
    */

    .footer-link-column h5 {

        margin-bottom: 22px;

    }


    /*
    |--------------------------------------------------------------------------
    | Quote
    |--------------------------------------------------------------------------
    */

    .footer-quote-wrapper {

        min-height: auto;

        padding: 28px 5px;

        gap: 12px;

    }

    .footer-quote-wrapper p {

        font-size: 15px;

    }

    .footer-quote-wrapper > i {

        font-size: 13px !important;

    }


    /*
    |--------------------------------------------------------------------------
    | Bottom
    |--------------------------------------------------------------------------
    */

    .footer-bottom-content {

        min-height: auto;

        padding: 25px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 16px;

    }

    .footer-copyright {

        justify-content: center;

    }

    .footer-legal-links {

        justify-content: center;

    }


    /*
    |--------------------------------------------------------------------------
    | Back Top
    |--------------------------------------------------------------------------
    */

    .qalamation-back-top {

        width: 44px;

        height: 44px;

        right: 16px;

        bottom: 16px;

        border-radius: 13px;

    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 399.98px
) {

    .qalamation-footer-main {

        padding-top: 50px;

    }

    .footer-social-links a {

        width: 40px;

        height: 40px;

    }

    .footer-writer-button {

        width: 100%;

    }

    .footer-quote-wrapper > i {

        display: none;

    }

    .footer-legal-links {

        gap: 9px;

    }

}