.footer-modern {
    background: linear-gradient(135deg, #1b1b1b, #333);
    color: #fff;
    padding: 40px 20px;
    position: relative;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left;
    flex-wrap: wrap; /* This allows wrapping on smaller screens */
}

.footer-column {
    flex: 1; /* Equal width for each column */
    min-width: 150px; /* Ensures a minimum width for responsive design */
    margin: 10px;
}

.footer-column h3 {
    color: #8576FF;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
}


.footer-links {
    margin-bottom: 20px;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.quick-links li {
    margin: 5px 0; /* Stack links vertically */
}

.quick-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social {
    text-align: left;
    max-width: 100px;
}

.footer-social a {
    margin: 0 10px;
    color: #bbb;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.footer-social a:hover {
    color: #1DA1F2;
    transform: scale(1.2);
}

.footer-social .tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer-social a:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    color: #bbb;
    padding: 20px 0;
    border-top: 1px solid #444;
    margin-top: 20px;
}

.back-to-top {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background-color: #8576FF;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 1.25rem;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
    background-color: #8576FF;
    transform: translateY(-5px);
}

.currency-selector {
    display: flex;
    justify-content: start;
    margin-top: 10px;
}

#currency-selector {
    background-color: #222;
    color: #bbb;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #444;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#currency-selector:hover {
    background-color: #444;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-links .currency-selector {
    order: 2; /* Ensure it appears neatly after quick links */
}

.payment-icons {
  display: flex;
  justify-content: start;
  gap: 18px;
  flex-wrap: wrap;
}

.payment-icons img {
  height: 32px;
  transition: transform 0.25s ease, filter 0.3s ease;
}

.payment-icons img:hover {
  transform: translateY(-3px);
}

