﻿/* =========================================
   FOOTER FOUNDATION
========================================= */

.footer {
    background: linear-gradient(135deg,#5c4fa3,#6e60c8);
    color: #ffffff;
    margin-top: 40px;
}

.footer-wrap {
    padding: 28px 0 12px;
}

/* =========================================
   BRAND / LOGO
========================================= */

.footer-logo {
    margin-bottom: 8px;
}

    .footer-logo img {
        height: 36px;
    }

/* Brand title (if used instead of logo) */

.footer-brand {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 6px;
    color: #ffffff;
}

/* =========================================
   TEXT
========================================= */

.footer-infor {
    max-width: 420px;
}

    .footer-infor p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 4px;
        color: #ffffff;
    }

/* =========================================
   CONTACT INFO
========================================= */

.footer-info {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

    .footer-info li {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
        font-size: 13px;
        color: #ffffff;
    }

    .footer-info p {
        margin: 0;
        color: #ffffff;
    }

    .footer-info i {
        font-size: 14px;
        color: #ffffff;
    }

/* =========================================
   SOCIAL ICONS
========================================= */

.tf-social-icon {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

    .tf-social-icon li a {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(255,255,255,.18);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tf-social-icon i {
        font-size: 14px;
        color: #ffffff;
    }

    /* Remove hover effects */

    .tf-social-icon li a:hover {
        background: rgba(255,255,255,.18);
        color: #ffffff;
        transform: none;
    }

/* =========================================
   LINKS
========================================= */

.footer a {
    color: #ffffff;
    text-decoration: none;
}

    .footer a:hover {
        color: #ffffff;
    }

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.18);
    padding: 8px 0;
}

.footer-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom .text-caption-1 {
    font-size: 12px;
    margin: 0;
    color: #ffffff;
}

/* =========================================
   PAYMENT METHODS
========================================= */

.tf-payment {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .tf-payment ul {
        list-style: none;
        display: flex;
        gap: 6px;
        padding: 0;
        margin: 0;
    }

    .tf-payment img {
        height: 22px;
        background: #ffffff;
        padding: 2px 6px;
        border-radius: 4px;
    }

/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width:768px) {

    .footer-wrap {
        padding: 20px 0 8px;
    }

    .footer-infor {
        text-align: center;
        margin: auto;
    }

    .footer-info li {
        justify-content: center;
    }

    .tf-social-icon {
        justify-content: center;
    }

    .footer-bottom-wrap {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .tf-payment {
        justify-content: center;
    }
}
/* Footer text color fix */

.footer .footer-infor p,
.footer .footer-info p,
.footer .footer-info li,
.footer .footer-info i,
.footer .footer-infor a {
    color: #ffffff !important;
}

/* remove opacity that makes text look faded */
.footer .footer-infor p,
.footer .footer-info p {
    opacity: 1 !important;
}

/* ensure icons also stay white */
.footer .footer-info i {
    color: #ffffff !important;
}
.tf-payment {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .tf-payment ul.payment-list {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tf-payment ul li {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* Payment icons */
        .tf-payment ul li img {
            height: 24px;
            width: auto;
            object-fit: contain;
        }

        /* Cash on delivery badge */
        .tf-payment ul li.cod span {
            font-family: 'Cairo', sans-serif;
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 6px;
            background-color: var(--primary);
            color: #fff;
            white-space: nowrap;
        }
@media (max-width: 480px) {
    .tf-payment ul li img {
        height: 20px;
    }
}
/* Container */
.footer-download {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 220px; /* ✅ fixed width like screenshot */
    width: 100%;
}

/* Alignment */
html[dir="rtl"] .footer-download {
    align-items: flex-end;
}

html:not([dir="rtl"]) .footer-download {
    align-items: flex-start;
}

/* Title */
.footer-download h6 {
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Buttons container */
.app-download {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

    /* Each button */
    .app-download a {
        display: block;
        width: 100%;
    }

    /* Image (badge) */
    .app-download img {
        width: 100%; /* ✅ forces equal width */
        height: auto; /* ✅ keeps correct ratio */
        display: block;
        transition: transform 0.2s ease;
    }

    /* Hover */
    .app-download a:hover img {
        transform: translateY(-2px);
    }
.modern-social {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .modern-social li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: #fff;
        opacity: 0.9;
        transition: all 0.25s ease;
    }

        .modern-social li a svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .modern-social li a:hover {
            opacity: 1;
            transform: translateY(-2px);
        }