/* Footer Styles */
.footer {
    position: sticky;
    bottom: 0;
    background-color: var(--text-primary);
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 400;
    margin-top: auto;
}

.footer__top {
    padding: 80px 10%;
}

.footer__col {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .footer__col {
        margin-bottom: 40px;
    }
}

@media (min-width: 1200px) {
    .footer__col {
        margin-bottom: 0;
    }
}

/* Vertical separators */
@media (min-width: 992px) {
    .footer__col {
        border-right: 1px solid var(--white-10);
    }

    .footer__col:last-child {
        border-right: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer__col:nth-child(4) {
        border-right: none;
    }
}

.footer__title {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    margin-top: 0;
}

.footer__text {
    line-height: 24px;
    margin-bottom: 20px;
}

.footer__payment-img {
    max-width: 100%;
    height: auto;
    margin-top: 5px;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list li:last-child {
    margin-bottom: 0;
}

.footer__link {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--white);
}

.footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer__contact-list li:last-child {
    margin-bottom: 0;
}

.footer__contact-icon {
    margin-top: 4px;
    margin-right: 10px;
    color: var(--text-tertiary);
    width: 14px;
    text-align: center;
}

.footer__contact-text {
    flex: 1;
}

.footer__social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.footer__social-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: var(--white);
}

.footer__form .input-group {
    background-color: var(--offblack-2f);
    border-radius: 0;
}

.footer__input {
    background-color: var(--transparent) !important;
    border: none;
    color: var(--text-tertiary);
    font-size: 13px;
    padding: 12px 20px;
    box-shadow: none !important;
}

.form-control:focus {
    color: var(--text-tertiary);
}

.footer__input::placeholder {
    color: var(--text-muted-888);
}

.footer__btn {
    background-color: var(--transparent);
    border: none;
    color: var(--text-tertiary);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 12px 20px;
    box-shadow: none !important;
    transition: color 0.3s ease;
}

.footer__btn:hover {
    color: var(--white);
}

.footer__btn i {
    margin-left: 5px;
}

.footer__bottom {
    padding: 25px 20px;
    border-top: 1px solid var(--white-10);
}

.footer__bottom .container {
    position: relative;
}

.footer__copyright {
    color: var(--text-tertiary);
}

.footer__scroll-up {
    position: fixed;
    right: 20px;
    bottom: 70px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    z-index: 10;
}

.footer__scroll-up .fa-arrow-down {
   position: relative;
   top: 0;
    transition: top 0.3s ease;
}

.footer__scroll-up:hover {
    color: var(--gold-color);
}

.footer__scroll-up:hover .fa-arrow-down {
    top: 8px;
}

/* Responsive adjustments */
@media (max-width: 1023.98px) {
    .footer {
        position: static;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer__newsletter {
        margin-top: 20px;
    }

    .footer__newsletter .footer__form {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .footer__contact-list li {
        justify-content: center;
    }

    .footer__contact-text {
        flex: none;
    }

    .footer__social-icons {
        justify-content: center;
    }
}