﻿/* =========================================================
   PREMIUM FOOTER
   Scoped only to .footer-premium
   Bootstrap 5 Compatible
========================================================= */

.footer-premium {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #091426 0%, #0d1728 55%, #0b1424 100%);
    color: #cbd5e1;
    overflow: hidden;
    font-family: 'Vazir', sans-serif;
    border-top: 1px solid rgba(59, 130, 246, 0.08);
}


    /* =========================================================
   BACKGROUND DECORATION
========================================================= */

    .footer-premium::before {
        content: "";
        position: absolute;
        top: -180px;
        left: -180px;
        width: 390px;
        height: 390px;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.045);
        pointer-events: none;
    }

    .footer-premium::after {
        content: "";
        position: absolute;
        right: -220px;
        bottom: -250px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.035);
        pointer-events: none;
    }


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-premium__main {
    position: relative;
    z-index: 1;
    padding: 58px 0 48px;
}


/* =========================================================
   COMPANY
========================================================= */

.footer-premium__company {
    height: 100%;
}

.footer-premium__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-premium__logo {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    object-fit: contain;
    border-radius: 12px;
}

.footer-premium__brand-info {
    min-width: 0;
}

.footer-premium__company-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.7;
}

.footer-premium__company-subtitle {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    direction: ltr;
}

.footer-premium__description {
    max-width: 430px;
    margin: 0 0 22px;
    color: #aebaca;
    font-size: 0.94rem;
    line-height: 2.15;
}


/* =========================================================
   TECHNOLOGY TAGS
========================================================= */

.footer-premium__technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-premium__technology {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 53px;
    padding: 5px 14px;
    border: 1px solid rgba(37, 99, 235, 0.65);
    border-radius: 50rem;
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.025);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

    .footer-premium__technology:hover {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
        transform: translateY(-2px);
    }


/* =========================================================
   SECTION TITLES
========================================================= */

.footer-premium__title {
    position: relative;
    margin: 0 0 23px;
    padding-right: 14px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.8;
}

    .footer-premium__title::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 3px;
        height: 22px;
        border-radius: 10px;
        background: #2563eb;
        transform: translateY(-50%);
    }


/* =========================================================
   DYNAMIC LINKS
========================================================= */

.footer-premium__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-premium__links li {
        margin-bottom: 11px;
    }

.footer-premium__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aebaca;
    font-size: 0.92rem;
    line-height: 1.9;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .footer-premium__link i {
        color: #3b82f6;
        font-size: 0.65rem;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .footer-premium__link:hover {
        color: #ffffff;
        transform: translateX(-4px);
    }

        .footer-premium__link:hover i {
            color: #60a5fa;
            transform: translateX(-3px);
        }


/* =========================================================
   CONTACT
========================================================= */

.footer-premium__contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-premium__contact-item {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
    color: #aebaca;
    font-size: 0.91rem;
    line-height: 1.9;
}

    .footer-premium__contact-item > span,
    .footer-premium__contact-item > a {
        min-width: 0;
    }

    .footer-premium__contact-item a {
        color: #aebaca;
        text-decoration: none;
        word-break: break-word;
        transition: color 0.2s ease;
    }

        .footer-premium__contact-item a:hover {
            color: #ffffff;
        }

.footer-premium__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(37, 99, 235, 0.5);
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.035);
    color: #60a5fa;
    font-size: 0.9rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-premium__contact-item:hover .footer-premium__contact-icon {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   SOCIAL NETWORKS
========================================================= */

.footer-premium__social-description {
    margin: -5px 0 18px;
    color: #8090a6;
    font-size: 0.88rem;
    line-height: 1.9;
}

.footer-premium__social-grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
}


/* =========================================================
   SOCIAL LINK
========================================================= */

.footer-premium__social-link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 7px 10px;
    gap: 10px;
    border: 1px solid rgba(59, 130, 246, 0.38);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
    color: #aebaca;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}


/* =========================================================
   SOCIAL ICON
========================================================= */

.footer-premium__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.10);
    color: #60a5fa;
    font-size: 1.05rem;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}


/* =========================================================
   SOCIAL NAME
========================================================= */

.footer-premium__social-name {
    min-width: 0;
    flex: 1;
    color: inherit;
    font-size: 0.91rem;
    font-weight: 500;
    line-height: 1.7;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* =========================================================
   SOCIAL ARROW
========================================================= */

.footer-premium__social-arrow {
    flex: 0 0 auto;
    color: #526176;
    font-size: 0.72rem;
    transition: color 0.25s ease, transform 0.25s ease;
}


/* =========================================================
   SOCIAL - GENERAL HOVER
========================================================= */

.footer-premium__social-link:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.footer-premium__social-link:hover .footer-premium__social-name,
.footer-premium__social-link:hover .footer-premium__social-arrow {
    color: #ffffff !important;
}

.footer-premium__social-link:hover .footer-premium__social-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    transform: scale(1.05);
}

    .footer-premium__social-link:hover .footer-premium__social-icon {
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff;
        transform: scale(1.05);
    }

    .footer-premium__social-link:hover .footer-premium__social-arrow {
        color: #ffffff;
        transform: translateX(-4px);
    }


/* =========================================================
   INSTAGRAM
========================================================= */

.footer-premium__social-link--instagram:hover {
    background: linear-gradient( 135deg, #833ab4 0%, #e1306c 52%, #f77737 100% );
    border-color: #e1306c;
    box-shadow: 0 10px 28px rgba(225, 48, 108, 0.28);
}


/* =========================================================
   TELEGRAM
========================================================= */

.footer-premium__social-link--telegram:hover {
    background: #229ed9;
    border-color: #229ed9;
    box-shadow: 0 10px 28px rgba(34, 158, 217, 0.28);
}


/* =========================================================
   WHATSAPP
========================================================= */

.footer-premium__social-link--whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}


/* =========================================================
   LINKEDIN
========================================================= */

.footer-premium__social-link--linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 10px 28px rgba(10, 102, 194, 0.28);
}


/* =========================================================
   APARAT
========================================================= */

.footer-premium__social-link--aparat:hover {
    background: #ed145b;
    border-color: #ed145b;
    box-shadow: 0 10px 28px rgba(237, 20, 91, 0.28);
}
/* =========================================================
   FACEBOOK
========================================================= */

.footer-premium__social-link--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(24, 119, 242, 0.28);
}


/* =========================================================
   X / TWITTER
========================================================= */

.footer-premium__social-link--x:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   DEFAULT SOCIAL
========================================================= */

.footer-premium__social-link--default:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
}


/* =========================================================
   DIVIDER
========================================================= */

.footer-premium__divider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 1px;
    background: rgba(148, 163, 184, 0.13);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-premium__bottom {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.footer-premium__copyright {
    margin: 0;
    color: #718096;
    font-size: 0.86rem;
    line-height: 1.9;
}

.footer-premium__bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 13px;
}

    .footer-premium__bottom-links a {
        color: #718096;
        font-size: 0.85rem;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-premium__bottom-links a:hover {
            color: #60a5fa;
        }

    .footer-premium__bottom-links span {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #475569;
    }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .footer-premium__main {
        padding: 48px 0 40px;
    }

    .footer-premium__description {
        max-width: 100%;
    }

    .footer-premium__social-grid {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .footer-premium {
        text-align: center;
    }

    .footer-premium__main {
        padding: 40px 0 32px;
    }

    .footer-premium__brand {
        justify-content: center;
    }

    .footer-premium__description {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: 0.91rem;
        line-height: 2.05;
    }

    .footer-premium__technologies {
        justify-content: center;
    }

    .footer-premium__title {
        display: inline-block;
        padding-right: 13px;
        margin-bottom: 20px;
    }

        .footer-premium__title::before {
            right: 0;
        }

    .footer-premium__links {
        text-align: center;
    }

    .footer-premium__link {
        justify-content: center;
    }

    .footer-premium__contact-list {
        align-items: stretch;
        text-align: right;
    }

    .footer-premium__social-description {
        text-align: center;
    }

    .footer-premium__social-grid {
        width: 100%;
    }

    .footer-premium__bottom {
        padding: 18px 0;
    }

    .footer-premium__copyright {
        text-align: center;
    }

    .footer-premium__bottom-links {
        justify-content: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .footer-premium__main {
        padding: 34px 0 28px;
    }

    .footer-premium__logo {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .footer-premium__company-title {
        font-size: 1.2rem;
    }

    .footer-premium__company-subtitle {
        font-size: 0.69rem;
    }

    .footer-premium__description {
        font-size: 0.88rem;
    }

    .footer-premium__contact-item {
        font-size: 0.88rem;
    }

    .footer-premium__social-name {
        font-size: 0.89rem;
    }

    .footer-premium__copyright {
        font-size: 0.82rem;
    }

    .footer-premium__bottom-links a {
        font-size: 0.81rem;
    }
}
