﻿/* ==========================================================
   BirMerhaba Footer
   ========================================================== */

.bm-footer {
    position: relative;
    margin-top: 60px;
    background: radial-gradient( circle at 8% 95%, rgba(109, 53, 242, 0.07) 0, rgba(109, 53, 242, 0) 25% ), radial-gradient( circle at 93% 90%, rgba(236, 62, 145, 0.07) 0, rgba(236, 62, 145, 0) 25% ), #fbfaff;
    border-top: 1px solid rgba(109, 53, 242, 0.10);
    color: var(--bm-text);
}


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

.bm-footer__main {
    display: grid;
    grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(150px, 1fr));
    gap: 60px;
    padding: 42px 0 35px;
}


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

.bm-footer__brand {
    max-width: 285px;
}

.bm-footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.bm-footer__logo {
    display: block;
    width: 190px;
    height: auto;
    margin-bottom: 20px;
}

.bm-footer__description {
    max-width: 260px;
    margin: 0 0 22px;
    color: #65708a;
    font-size: 13.5px;
    font-weight: 450;
    line-height: 1.75;
}


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

.bm-footer__social {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .bm-footer__social a {
        width: 37px;
        height: 37px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(109, 53, 242, 0.16);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.72);
        color: #5d4a8d;
        font-size: 15px;
        text-decoration: none;
        transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

        .bm-footer__social a:hover {
            transform: translateY(-2px);
            color: #fff;
            border-color: transparent;
            background: var(--bm-gradient);
            box-shadow: 0 6px 17px rgba(109, 53, 242, 0.17);
        }


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

.bm-footer__column h5 {
    position: relative;
    margin: 5px 0 25px;
    padding-bottom: 12px;
    color: var(--bm-text);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.3px;
}

    .bm-footer__column h5::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 27px;
        height: 2px;
        border-radius: 10px;
        background: var(--bm-gradient);
    }

.bm-footer__column nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .bm-footer__column nav a {
        width: fit-content;
        color: #5f6880;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.16s ease, transform 0.16s ease;
    }

        .bm-footer__column nav a:hover {
            color: var(--bm-primary);
            transform: translateX(2px);
        }


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

.bm-footer__bottom {
    border-top: 1px solid rgba(109, 53, 242, 0.10);
    background: rgba(255, 255, 255, 0.45);
}

.bm-footer__bottom-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.bm-footer__bottom p {
    margin: 0;
    color: #758097;
    font-size: 12px;
}


/* ==========================================================
   VALUES
   ========================================================== */

.bm-footer__values {
    display: flex;
    align-items: center;
    gap: 27px;
}

    .bm-footer__values span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #566078;
        font-size: 12px;
        font-weight: 550;
    }

    .bm-footer__values i {
        color: var(--bm-primary);
        font-size: 15px;
    }


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

@media (max-width: 991.98px) {

    .bm-footer__main {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 40px;
    }

    .bm-footer__column:last-child {
        grid-column: 2 / 4;
    }
}


@media (max-width: 767.98px) {

    .bm-footer {
        margin-top: 40px;
    }

    .bm-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
        padding: 42px 0 35px;
    }

    .bm-footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .bm-footer__column:last-child {
        grid-column: auto;
    }

    .bm-footer__bottom-inner {
        padding-top: 18px;
        padding-bottom: 18px;
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 480px) {

    .bm-footer__main {
        grid-template-columns: 1fr;
    }

    .bm-footer__values {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
}
