.footer {
    background: var(--up17-buttton-bg);
    color: var(--white);
}

.footer .footer-top {
    background: #f4f5f5;
    padding: 40px 0 30px;
    border-top: 1px solid #dedede;
}

.footer .footer-top h4 {
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    color: #000;
}

.footer .footer-top h4:after {
    content: "";
    position: absolute;
    display: block;
    width: 20px;
    height: 2px;
    background: var(--up17-buttton-bg);
    bottom: 0;
    left: 0;
}

.footer .footer-top .footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer .footer-top .footer-links ul li {
    line-height: 24px;
}

.footer .footer-top .footer-links ul a {
    color: #000000;
    transition: .3s;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

.footer .footer-top .footer-links ul a:hover {
    color: rgba(0, 0, 0, 0.8);
}

.footer .footer-top .footer-info,
.footer .footer-top .footer-newsletter,
.footer .footer-top .footer-links {
    margin-bottom: 0px;
}

.footer .footer-newsletter p {
    color: #000000;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
}

.footer .footer-top .footer-info ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer .footer-top .footer-info ul li {
    color: #000000;
    display: flex;
    font-size: 13px;
    line-height: 24px;
    margin-bottom: 0;
    font-weight: 400;
    margin-bottom: 6px;
}

.footer .footer-top .footer-info ul li a {
    color: #000000;
}

.footer .footer-top .footer-info ul li a:hover {
    color: var(--second-bg-color);
}

.footer .footer-top .footer-info ul li i {
    font-size: 16px;
    width: 20px;
    margin-right: 5px;
    margin-top: 3px;
}

.footer .footer-newsletter form .newsletterform {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 2px 15px #0000000f;
    text-align: left;
    border: 1px solid #dedede;
}

.footer .footer-newsletter form .newsletterform input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% + 0px);
}

.footer .footer-newsletter form .newsletterform button {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 14px;
    padding: 0 20px;
    background: var(--up17-buttton-bg);
    color: var(--up17-buttton-txt);
    transition: .3s;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 15px #0000001a;
}

.footer .footer-newsletter form .newsletterform button:hover {
    background: var(--up17-buttton-bg1);
    color: var(--white);
}

.footer .footer-bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #ffffff;
}

.footer .copyright {
    float: left;
}

.footer .social-links {
    float: right;
    font-size: 13px;
}

.footer .social-links a {
    font-size: 18px;
    display: inline-block;
    color: #ffffff;
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    transition: 0.3s;
}


@media only screen and (max-width : 991px) {

    .footer .footer-top .footer-info,
    .footer .footer-top .footer-newsletter,
    .footer .footer-top .footer-links {
        margin-bottom: 30px;
    }

    .footer .footer-top .footer-newsletter:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {

    .footer .copyright,
    .footer .social-links {
        text-align: center;
        float: none;
    }

    .footer .social-links {
        padding-top: 4px;
    }
}

/* ---- lifted from wl_footerpage-7.php for browser caching ---- */
/* ============================================
   TRICOLOR THEME - #FF9933 (Saffron), #138808 (Green), #000080 (Navy)
   ============================================ */

:root {
    --tricolor-saffron: #FF9933;
    --tricolor-green: #138808;
    --tricolor-navy: #000080;
    --tricolor-saffron-light: #fff3e6;
    --tricolor-green-light: #e6f5e4;
    --tricolor-navy-light: #e6e6f2;
    --tricolor-white: #ffffff;
    --tricolor-dark: #1a1a2e;
    --tricolor-gray: #6c757d;
    --tricolor-light-gray: #f8f9fa;
}

/* ============ ALERT / MESSAGE ============ */
.tricolor-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tricolor-saffron), var(--tricolor-green));
    color: var(--tricolor-white);
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    cursor: pointer;
    animation: tricolorSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.tricolor-alert--dismissed {
    animation: tricolorSlideOut 0.4s ease-in forwards;
}

.tricolor-alert__icon {
    font-size: 22px;
    animation: tricolorPulseIcon 2s ease-in-out infinite;
}

.tricolor-alert__close {
    margin-left: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tricolor-alert__close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

@keyframes tricolorSlideIn {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes tricolorSlideOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes tricolorPulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ============ FOOTER ============ */
.tricolor-footer {
    background: linear-gradient(180deg, var(--tricolor-dark) 0%, #0d0d1a 100%);
    position: relative;
    overflow: hidden;
}

.tricolor-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tricolor-saffron) 0%, var(--tricolor-saffron) 33%, var(--tricolor-white) 33%, var(--tricolor-white) 66%, var(--tricolor-green) 66%, var(--tricolor-green) 100%);
    animation: tricolorStripShimmer 3s ease-in-out infinite;
}

@keyframes tricolorStripShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Animated floating particles */
.tricolor-footer__particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.tricolor-footer__particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.15;
    animation: tricolorFloat 15s infinite ease-in-out;
}

.tricolor-footer__particle:nth-child(1) {
    background: var(--tricolor-saffron);
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.tricolor-footer__particle:nth-child(2) {
    background: var(--tricolor-green);
    left: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
    width: 8px;
    height: 8px;
}

.tricolor-footer__particle:nth-child(3) {
    background: var(--tricolor-white);
    left: 50%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.tricolor-footer__particle:nth-child(4) {
    background: var(--tricolor-saffron);
    left: 70%;
    animation-delay: 1s;
    animation-duration: 16s;
    width: 10px;
    height: 10px;
}

.tricolor-footer__particle:nth-child(5) {
    background: var(--tricolor-green);
    left: 90%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.tricolor-footer__particle:nth-child(6) {
    background: var(--tricolor-navy);
    left: 20%;
    animation-delay: 5s;
    animation-duration: 13s;
    width: 4px;
    height: 4px;
}

@keyframes tricolorFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Footer Main Content Area */
.tricolor-footer__main {
    position: relative;
    z-index: 2;
    padding: 60px 0 30px;
}

/* Footer Column Headings */
.tricolor-footer__heading {
    color: var(--tricolor-saffron);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.tricolor-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--tricolor-saffron), var(--tricolor-green));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.tricolor-footer__col:hover .tricolor-footer__heading::after {
    width: 70px;
}

/* Footer Links */
.tricolor-footer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tricolor-footer__nav-item {
    margin-bottom: 10px;
}

.tricolor-footer__nav-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding-left: 0;
}

.tricolor-footer__nav-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 2px;
    background: var(--tricolor-saffron);
    transition: width 0.35s ease;
    flex-shrink: 0;
}

.tricolor-footer__nav-link:hover {
    color: var(--tricolor-saffron);
    padding-left: 6px;
    transform: translateX(4px);
}

.tricolor-footer__nav-link:hover::before {
    width: 16px;
}

/* Contact Section */
.tricolor-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tricolor-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.tricolor-footer__contact-item:hover {
    color: rgba(255, 255, 255, 0.95);
}

.tricolor-footer__contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(19, 136, 8, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tricolor-saffron);
    font-size: 15px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.tricolor-footer__contact-item:hover .tricolor-footer__contact-icon {
    background: linear-gradient(135deg, var(--tricolor-saffron), var(--tricolor-green));
    color: var(--tricolor-white);
    transform: rotateY(180deg);
    border-color: transparent;
}

.tricolor-footer__contact-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tricolor-footer__contact-link:hover {
    color: var(--tricolor-saffron);
}

/* Newsletter Section */
.tricolor-footer__newsletter-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tricolor-newsletter-form {
    position: relative;
}

.tricolor-newsletter-form__wrapper {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 153, 51, 0.2);
    transition: all 0.4s ease;
}

.tricolor-newsletter-form__wrapper:focus-within {
    border-color: var(--tricolor-saffron);
    box-shadow: 0 4px 30px rgba(255, 153, 51, 0.2);
}

.tricolor-newsletter-form__input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--tricolor-white);
    outline: none;
    min-width: 0;
}

.tricolor-newsletter-form__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.tricolor-newsletter-form__btn {
    border: none;
    padding: 14px 24px;
    background: var(--tricolor-navy);
    color: var(--tricolor-white);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tricolor-newsletter-form__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.tricolor-newsletter-form__btn:hover {
    background: #0000b3;
    box-shadow: 0 0 20px rgba(0, 0, 128, 0.5);
}

.tricolor-newsletter-form__btn:hover::before {
    left: 100%;
}

.tricolor-newsletter-form__error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 8px;
}

/* Footer Bottom Bar */
.tricolor-footer__bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.tricolor-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.tricolor-footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.tricolor-footer__copyright-brand {
    color: var(--tricolor-saffron);
    font-weight: 700;
}

/* Social Links */
.tricolor-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tricolor-social__link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tricolor-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.tricolor-social__link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tricolor-saffron), var(--tricolor-green));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tricolor-social__link i {
    position: relative;
    z-index: 1;
}

.tricolor-social__link:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.3);
    color: var(--tricolor-white);
}

.tricolor-social__link:hover::before {
    opacity: 1;
}

/* ============ LOADER ============ */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tricolor-white);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

#loader::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--tricolor-saffron);
    border-right-color: var(--tricolor-green);
    border-radius: 50%;
    animation: tricolorSpin 1s linear infinite;
    top: calc(50% - 50px);
}

@keyframes tricolorSpin {
    to { transform: rotate(360deg); }
}

/* ============ MODALS ============ */
.tricolor-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.tricolor-modal .modal-header {
    background: linear-gradient(135deg, var(--tricolor-navy), #0000b3);
    color: var(--tricolor-white);
    border-bottom: none;
    padding: 20px 24px;
    position: relative;
}

.tricolor-modal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tricolor-saffron), var(--tricolor-green));
}

.tricolor-modal .modal-title {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tricolor-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tricolor-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.tricolor-modal .modal-body {
    padding: 24px;
}

/* Currency Section in Modal */
.tricolor-currency-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tricolor-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tricolor-saffron);
    display: inline-block;
}

.tricolor-currency-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    margin: 24px 0;
}

.tricolor-currency-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.tricolor-currency-card {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.35s ease;
    background: var(--tricolor-white);
}

.tricolor-currency-card:hover {
    border-color: var(--tricolor-saffron);
    background: var(--tricolor-saffron-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.15);
}

.tricolor-currency-card.tricolor-currency-card--active {
    border-color: var(--tricolor-green);
    background: var(--tricolor-green-light);
    box-shadow: 0 4px 15px rgba(19, 136, 8, 0.15);
}

.tricolor-currency-card.tricolor-currency-card--active .tricolor-currency-code {
    color: var(--tricolor-green);
}

.tricolor-currency-card--disabled {
    cursor: default;
}

.tricolor-currency-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tricolor-currency-code {
    font-weight: 700;
    font-size: 14px;
    color: var(--tricolor-navy);
}

.tricolor-currency-name {
    font-size: 13px;
    color: var(--tricolor-gray);
}

/* Language items */
.tricolor-lang-card {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.35s ease;
    background: var(--tricolor-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tricolor-lang-card:hover {
    border-color: var(--tricolor-green);
    background: var(--tricolor-green-light);
    transform: translateY(-2px);
}

.tricolor-lang-card.tricolor-lang-card--active {
    border-color: var(--tricolor-green);
    background: var(--tricolor-green-light);
    box-shadow: 0 4px 15px rgba(19, 136, 8, 0.15);
}

.tricolor-lang-flag {
    font-size: 20px;
}

.tricolor-lang-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--tricolor-dark);
}

/* ============ SCROLL TO TOP (BONUS) ============ */
.tricolor-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--tricolor-navy);
    color: var(--tricolor-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 128, 0.3);
}

.tricolor-scroll-top.tricolor-scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tricolor-scroll-top:hover {
    background: linear-gradient(135deg, var(--tricolor-saffron), var(--tricolor-green));
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
}

/* ============ ANIMATIONS ============ */
.tricolor-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tricolor-fade-up.tricolor-fade-up--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
    .tricolor-footer__main {
        padding: 40px 0 20px;
    }

    .tricolor-footer__heading {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .tricolor-footer__col {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .tricolor-alert {
        left: 15px;
        right: 15px;
        max-width: none;
        top: 10px;
        font-size: 13px;
        padding: 12px 16px;
    }

    .tricolor-footer__main {
        padding: 30px 0 10px;
    }

    .tricolor-footer__heading {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .tricolor-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .tricolor-social {
        justify-content: center;
    }

    .tricolor-newsletter-form__wrapper {
        flex-direction: column;
    }

    .tricolor-newsletter-form__btn {
        border-radius: 0 0 12px 12px;
    }

    .tricolor-currency-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .tricolor-footer__copyright {
        font-size: 12px;
    }

    .tricolor-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .tricolor-footer__col {
        margin-bottom: 24px;
    }

    .tricolor-currency-grid {
        grid-template-columns: 1fr;
    }

    .tricolor-social__link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
