.main-footer {
    background:
       radial-gradient(circle at 10% 50%, #1a0b3b 0, var(--text-black) 100%);
    color: white;
    padding: 72px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 3rem;
    padding-right: 3rem;
}

.max-w-7xl {
    max-width: 1480px;
}

.brand-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 26px;
    max-width: 300px;
}

.footer-meta {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.social-item {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 👈 3 per row */
    gap: 8px;
    align-items: center;
}




/* Navigation Columns (static headings, no collapse/accordion) */
.footer-title-btn {
    background: none;
    border: none;
    color: white;
    padding: 0;
    margin-bottom: 16px;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    pointer-events: none;
}

.footer-title-btn .ft-title {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-title-btn .ft-sub {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
}

.badge-free {
    background: #8b6cff;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    letter-spacing: 0.05em;
}

/* Bottom bar "We accept" label */
.pay-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

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

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: 0.2s;
    /* display: flex; */
    align-items: center;
    gap: 5px;
}




.footer-links a:hover {
    color: white;
}

.footer-links a:hover::before {
    opacity: 1;
}

.badge-hiring {
    background: #10b981;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    letter-spacing: 0.05em;
}

/* Bottom Bar */
.copyright {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}



.payment-grid img {
    width: 100%;
    height: 30px;
    object-fit: contain;
    /* 👈 logo distort nahi hoga */
    background: #fff;
    /* padding: 6px 8px; */
    border-radius: 6px;
    background: transparent;
    mix-blend-mode: screen;
}

/* --- Ultra Clean Region Dropdown --- */

.region-wrapper {
    display: block;
    width: 100%;
}

.region-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: white;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.region-select-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.region-select-btn>i.fa-globe {
    font-size: 13px;
}

.region-select-btn .r-text {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
}

.r-selected {
    font-size: 12px;
    font-weight: 500;
}

.r-arrow {
    font-size: 10px !important;
    margin-left: 2px;
    transition: 0.3s;
}

/* Jab dropdown khulega to arrow rotate hogi */
.show>.region-select-btn .r-arrow {
    transform: rotate(180deg);
}

.region-dropdown-menu {
    margin-top: 0 !important;
    min-width: 200px;
    padding: 6px !important;
    background-color: #2b1c63 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px rgba(12, 7, 40, 0.45) !important;
    z-index: 9999 !important;
}

.region-dropdown-menu .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: #ffffff !important;
}

.region-dropdown-menu .dropdown-item img {
    width: 20px;
    border-radius: 3px;
}

.region-dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.10) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .region-dropdown-menu {
        width: 200px !important;
    }
}

/* Remove default bootstrap arrow icon */
.region-select-btn::after {
    display: none !important;
}

/* Responsive adjustment for very small screens */
@media (max-width: 400px) {

    .region-select-btn .r-text,
    .r-selected {
        font-size: 13px;
    }
}

/* Position the region menu cleanly just below the button (overrides
   Popper's inline inset/transform so there's no stray gap) */
.main-footer .dropdown-menu.show {
    inset: auto !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    width: auto !important;
    border-radius: 14px !important;
}

/* Bottom bar (copyright + payment logos) responsive */
@media (max-width: 767.98px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }

    .footer-bottom .copyright {
        margin-bottom: 0 !important;
    }

    .payment-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* let each logo keep its aspect ratio so they wrap into neat rows */
    .payment-grid img {
        width: auto;
        height: 21px;
    }

    .main-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .brand-desc{
        max-width:100%;
    }
}

@media (max-width: 400px) {
    .payment-grid img {
        height: 22px;
    }
}