/*===================================*/
/* QAAICB FOOTER */
/*===================================*/

.qaaicb-footer {
    width: 100%;
    margin: 0;
    background: #111827;
    color: #d1d5db;
}

.qaaicb-footer-main {
    width: 100%;
}

.qaaicb-footer-main > .container {
    padding-top: 45px;
    padding-bottom: 45px;
}

.footer-column {
    width: 100%;
    min-width: 0;
}


/*===================================*/
/* FOOTER TITLE */
/*===================================*/

.footer-title {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 13px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.footer-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 38px;
    height: 3px;

    background: var(--primary-color);

    border-radius: 3px;
}


/*===================================*/
/* FOOTER DESCRIPTION */
/*===================================*/

.footer-description {
    margin: 0 0 22px;

    color: #9ca3af;

    font-size: 13px;
    line-height: 1.8;
}


/*===================================*/
/* FOOTER NEWS TICKER */
/*===================================*/

.footer-news-ticker {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

.footer-news-stage {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.footer-news-track {
    display: flex;
    flex-direction: column;

    width: 100%;

    transform: translateY(0);

    will-change: transform;
}

.footer-news-item {
    position: relative;

    flex: 0 0 78px;

    width: 100%;
    height: 78px;
    min-height: 78px;

    display: flex;
    align-items: flex-start;

    gap: 4px;

    padding: 4px 4px 4px 0;

    box-sizing: border-box;

    color: inherit;

    text-decoration: none;

    opacity: 1;

    cursor: pointer;
}


/*===================================*/
/* NEWS DOT */
/*===================================*/

.footer-news-dot {
    flex: 0 0 8px;

    width: 8px;
    height: 8px;

    margin-top: 7px;

    border-radius: 50%;

    background: var(--secondary-color);

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--secondary-color) 12%,
            transparent
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-news-item:hover .footer-news-dot {
    transform: scale(1.25);

    box-shadow:
        0 0 0 4px
        color-mix(
            in srgb,
            var(--secondary-color) 18%,
            transparent
        );
}


/*===================================*/
/* NEWS CONTENT */
/*===================================*/

.footer-news-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.footer-news-text {
    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;

    color: #ffffff;

    transition: color 0.25s ease;
}

.footer-news-item:hover .footer-news-text {
    color: var(--secondary-color);
}


/*===================================*/
/* EMPTY NEWS STATE */
/*===================================*/

.footer-news-ticker-empty {
    height: auto;
    min-height: 50px;

    -webkit-mask-image: none;
    mask-image: none;
}

.footer-news-ticker-empty .footer-news-stage {
    height: 50px;
}

.footer-news-ticker-empty .footer-news-item {
    height: 50px;
    min-height: 50px;
}


/*===================================*/
/* FOOTER CONTACT */
/*===================================*/

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 19px;

    color: #9ca3af;

    font-size: 13px;
    line-height: 1.7;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border: 1px solid
        color-mix(
            in srgb,
            var(--primary-color) 18%,
            transparent
        );

    border-radius: 7px;

    background:
        color-mix(
            in srgb,
            var(--primary-color) 8%,
            transparent
        );

    color: var(--primary-color);

    font-size: 15px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 2px;
}

.footer-contact-label {
    color: #6b7280;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.footer-contact-value {
    display: block;

    color: #d1d5db;

    font-size: 13px;
    line-height: 1.6;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-contact-value:hover {
    color: var(--primary-color);
}


/*===================================*/
/* FOOTER CONTACT FORM */
/*===================================*/

.footer-contact-form {
    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 11px;

    margin-bottom: 10px;
}

.footer-form-group {
    width: 100%;

    margin: 0;
    padding: 0;
}

.footer-contact-form .form-control {
    display: block;

    width: 100%;
    min-height: 43px;

    margin: 0;
    padding: 10px 13px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 6px;

    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;

    box-shadow: none;
    outline: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.footer-contact-form textarea.form-control {
    min-height: 68px;

    resize: vertical;
}

.footer-contact-form .form-control::placeholder {
    color: #6b7280;

    opacity: 1;
}

.footer-contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.07);

    border-color: var(--primary-color);

    color: #ffffff;

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--primary-color) 10%,
            transparent
        );
}


/*===================================*/
/* FOOTER SUBMIT BUTTON */
/*===================================*/

.footer-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
    min-height: 43px;

    margin: 1px 0 0;
    padding: 10px 16px;

    border: 0;
    border-radius: 6px;

    background: var(--primary-color);

    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.footer-submit-btn i {
    font-size: 13px;
}

.footer-submit-btn:hover {
    background: var(--secondary-color);

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 5px 15px
        color-mix(
            in srgb,
            var(--primary-color) 18%,
            transparent
        );
}

.footer-submit-btn:active {
    transform: translateY(0);

    box-shadow: none;
}


/*===================================*/
/* FOOTER LINKS */
/*===================================*/

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0 0 10px;
    padding: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #9ca3af;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-links a i {
    color: var(--primary-color);

    font-size: 9px;

    transition: transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;

    padding-left: 4px;
}

.footer-links a:hover i {
    transform: translateX(2px);
}


/*===================================*/
/* FOOTER SOCIAL */
/*===================================*/

.footer-social {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 24px;
}

.footer-social a {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.04);

    color: #9ca3af;

    font-size: 14px;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary-color);

    border-color: var(--primary-color);

    color: #ffffff;

    transform: translateY(-2px);
}


/*=========================================================
   BOTTOM FOOTER
=========================================================*/

.qaaicb-footer-bottom {
    width: 100%;

    background: #0b1120;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.qaaicb-footer-bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: #6b7280;

    font-size: 12px;
}

.footer-copyright {
    line-height: 1.6;
}


/*=========================================================
   RESPONSIVE
=========================================================*/

@media (max-width: 991px) {

    .qaaicb-footer-main > .container {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .footer-news-ticker {
        height: 210px;
    }
}


@media (max-width: 767px) {

    .qaaicb-footer-main > .container {
        padding-top: 42px;
        padding-bottom: 30px;
    }

    .footer-column {
        margin-bottom: 5px;
    }

    .footer-title {
        margin-bottom: 18px;
    }

    .footer-news-ticker {
        height: 205px;
    }

    .footer-bottom-inner {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 10px;
    }
}


@media (max-width: 480px) {

    .qaaicb-footer-main > .container {
        padding-top: 35px;
        padding-bottom: 25px;
    }

    .footer-news-ticker {
        height: 195px;
    }

    .footer-news-item {
        padding: 11px 0;
    }

    .footer-news-text {
        font-size: 12px;
    }

    .footer-description {
        font-size: 12px;
    }
}


/*=========================================================
   REDUCED MOTION
=========================================================*/

@media (prefers-reduced-motion: reduce) {

    .footer-news-track {
        animation: none !important;
        transform: none !important;
    }

    .footer-news-item,
    .footer-submit-btn,
    .footer-social a,
    .footer-links a {
        transition: none !important;
    }
}