.bk-footer::after,
.bk-footer::before {
    content: "";
    position: absolute;
    inset: 0;
}
.footer-main,
.footer-main .row {
    direction: rtl;
}
.bk-footer {
    position: relative;
    background: #000a19;
    color: #fff;
    padding: 58px 0 22px;
    overflow: hidden;
}
.bk-footer::before {
    background: radial-gradient(circle at 50% 12%, #000a19, transparent 34%),
        radial-gradient(circle at 82% 60%, rgba(255, 255, 255, 0.045), transparent 26%),
        linear-gradient(180deg, #030d1c 0, #020814 100%);
    z-index: 1;
}
.bk-footer::after {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.22;
    z-index: 2;
}
.bk-footer .container {
    position: relative;
    z-index: 3;
}
.footer-app {
    text-align: center;
    margin-bottom: 72px;
}
.footer-slider-dark {
    position: relative;
    width: 100%;
    height: 340px;
    margin-bottom: 22px;
    overflow: visible;
}
.bkm-footer-2026-show-on-mobile,
.footer-ghost-card::after,
.footer-slider-dark::after {
    display: none !important;
}
.footer-slider-dark .carousel-inner {
    position: relative;
    height: 340px;
    overflow: visible;
    z-index: 5;
}
.footer-slider-dark .carousel-item {
    height: 340px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.footer-slider-dark .carousel-item.active {
    opacity: 1;
}
.footer-active-slide {
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-active-slide img {
    position: relative;
    z-index: 8;
    max-height: 390px;
    max-width: 330px;
    object-fit: contain;
    filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.7));
}
.footer-slider-ghosts {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.footer-ghost-card {
    position: absolute;
    top: 50%;
    width: 225px;
    height: 285px;
    transform: translateY(-50%) scale(0.88);
    border-radius: 28px;
    overflow: hidden;
    opacity: 0.38;
    transition: 0.35s;
    background: 0 0 !important;
}
.footer-ghost-right {
    right: calc(50% + 25px);
}
.footer-ghost-left {
    left: calc(50% + 25px);
}
.footer-ghost-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: blur(0.3px);
}
.footer-slider-dark .carousel-control-next,
.footer-slider-dark .carousel-control-prev,
.footer-slider-dark .carousel-indicators {
    display: none;
}
.footer-app h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}
.footer-app p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    margin-bottom: 20px;
}
.download-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.download-btn,
.social-links a {
    display: inline-flex;
    transition: 0.25s;
    text-decoration: none;
}
.download-btn {
    margin: 5px;
    border-radius: 11px;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
.download-btn:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}
.download-btn.blue {
    background: #1c39bb;
    border-color: #1c39bb;
}
.footer-main {
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right;
}
.footer-col {
    margin-bottom: 25px;
}
.footer-brand h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}
.contact-info,
.footer-brand p,
.footer-col h4 {
    margin-bottom: 18px;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 2.1;
    max-width: 470px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-right: 4px;
}
.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.social-links a {
    width: 34px;
    height: 34px;
    margin-left: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.social-links a:hover {
    background: #1c39bb;
    border-color: #1c39bb;
    color: #fff;
    transform: translateY(-2px);
}
.contact-info span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    margin-bottom: 6px;
}
.contact-info a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}
.footer-qr {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}
.footer-qr img {
    max-width: 100px;
    max-height: 100px;
    opacity: 0.85;
}
.footer-bottom {
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}
@media (max-width: 991px) {
    .bk-footer {
        padding-top: 45px;
    }
    .footer-app {
        margin-bottom: 48px;
    }
    .footer-brand p {
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .footer-active-slide,
    .footer-slider-dark,
    .footer-slider-dark .carousel-inner,
    .footer-slider-dark .carousel-item {
        height: 275px;
    }
    .footer-active-slide img {
        max-height: 255px;
        max-width: 265px;
    }
    .footer-ghost-card {
        width: 170px;
        height: 220px;
        opacity: 0.32;
        transform: translateY(-50%) scale(0.86);
    }
    .footer-ghost-right {
        right: calc(50% + 12px);
    }
    .footer-ghost-left {
        left: calc(50% + 12px);
    }
}
@media (max-width: 575px) {
    .bk-footer {
        padding-top: 35px;
    }
    .footer-active-slide,
    .footer-slider-dark,
    .footer-slider-dark .carousel-inner,
    .footer-slider-dark .carousel-item {
        height: 235px;
    }
    .footer-active-slide img {
        max-height: 250px;
        max-width: 230px;
    }
    .footer-ghost-card {
        width: 135px;
        height: 180px;
        opacity: 0.25;
        transform: translateY(-50%) scale(0.84);
    }
    .footer-ghost-right {
        right: calc(50% + 2px);
    }
    .footer-ghost-left {
        left: calc(50% + 2px);
    }
    .footer-app h3 {
        font-size: 18px;
    }
    .footer-app p {
        font-size: 12px;
        padding: 0 14px;
    }
    .download-btn {
        width: calc(50% - 10px);
        min-width: unset;
        padding: 0 8px;
    }
    .download-btn span {
        font-size: 10px;
    }
    .download-btn strong,
    .footer-brand p {
        font-size: 12px;
    }
    .footer-brand h2 {
        font-size: 23px;
    }
    .footer-qr {
        width: 64px;
        height: 82px;
    }
}
.footer-main .contact-info,
.footer-main .contact-info a,
.footer-main .contact-info span,
.footer-main .footer-brand,
.footer-main .footer-brand h2,
.footer-main .footer-brand p,
.footer-main .footer-col,
.footer-main .footer-col h4,
.footer-main .footer-col ul,
.footer-main .footer-col ul li,
.footer-main .footer-col ul li a {
    text-align: right !important;
}
.footer-main .footer-brand p,
.footer-main .footer-qr {
    margin-right: 0;
    margin-left: auto;
}
.footer-main .footer-col ul {
    padding-right: 0;
    padding-left: 0;
}
.footer-main .footer-col ul li a {
    display: inline-block;
}
.footer-main .social-links {
    justify-content: flex-start;
    direction: rtl;
}
.bkm-footer-2026-hide-on-mobile {
    display: inline-flex !important;
}
@media (max-width: 767px) {
    .footer-main .contact-info,
    .footer-main .footer-brand,
    .footer-main .footer-brand h2,
    .footer-main .footer-brand p,
    .footer-main .footer-col,
    .footer-main .footer-col h4,
    .footer-main .footer-col ul,
    .footer-main .footer-col ul li {
        text-align: right !important;
    }
    .footer-main .footer-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 28px;
    }
    .download-btn {
        width: 100% !important;
        max-width: 240px !important;
        height: 48px !important;
        margin: 6px 0 !important;
    }
    .download-btn img,
    .download-btn svg {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }
    .bkm-footer-2026-hide-on-mobile {
        display: none !important;
    }
    .bkm-footer-2026-show-on-mobile {
        display: inline-flex !important;
    }
    .download-buttons {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .download-btn.bkm-footer-2026-show-on-mobile {
        width: 100% !important;
        max-width: 373px !important;
        height: 48px !important;
        margin: 6px 0 !important;
        padding: 0 !important;
    }
    .download-btn.bkm-footer-2026-show-on-mobile img,
    .download-btn.bkm-footer-2026-show-on-mobile svg {
        width: 100% !important;
        height: 48px !important;
        display: block !important;
    }
}
