/* Root & Responsive Base */
/* FAQ Background */
#faq {
    background: linear-gradient(to right, #0f172a, #1e293b);;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


.wave-footer-transition-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
    line-height: 0;
    box-shadow: inset 0px 10px 20px rgba(0, 0, 0, 0.25);
    /* ✅ soft shadow bottom edge */
}
/* Fill the top behind the curve with FAQ color */
.faq-bg-fill {
    background: linear-gradient(to right, #0f172a, #1e293b);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Curve svg */
.wave-footer-transition-wrapper svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}


.wave-footer-transition-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    /* ✅ subtle line */
}
/* Footer style */
footer {
    background-color: #0f172a;
    color: #cbd5e1;
    font-size: 0.95rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

footer a {
    transition: color 0.2s ease;
}

footer a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

footer hr {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Language switcher and inputs */
footer select,
footer input[type="email"] {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #fff;
}

footer select:focus,
footer input[type="email"]:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

/* Button styles */
footer .btn-primary {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border: none;
    color: white;
}

footer .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #9333ea);
}

/* Social Icons */
footer .social-icons a {
    color: #94a3b8;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
    color: #38bdf8;
    transform: translateY(-2px);
}

/* Chat Link */
.chat-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.chat-link i {
    color: #38bdf8;
}

/* Scroll to Top */
.scroll-top-btn {
    background-color: #0f172a;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #38bdf8;
    color: #0f172a;
}

/* Badge Styles */
footer img[src*="badges/"],
footer img[src*="payments/"] {
    filter: brightness(1.2) saturate(1.2);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

footer img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Dark mode */
.dark footer {
    background-color: #0f172a;
    color: #cbd5e1;
}

.dark footer a {
    color: #cbd5e1;
}

.dark footer a:hover {
    color: #38bdf8;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    footer .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    footer .social-icons {
        justify-content: flex-start;
    }

    .scroll-top-btn {
        right: 10px;
        bottom: 10px;
    }
}