/* =============================================
   FRONTEND FOOTER STYLES
   Public-facing footer component
   ============================================= */

.site-footer {
    padding: 60px 0 0;
    margin-top: auto;
}

.footer-container {
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Content - Brand Left, Columns Right */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;
    padding-bottom: 40px;
}

/* Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.75;
    margin: 16px 0 0;
}

/* Newsletter */
.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
    opacity: 0.9;
}

.newsletter-form {
    margin: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 14px;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: inherit;
    opacity: 0.5;
}

.newsletter-input-group button {
    padding: 12px 16px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-input-group button:hover {
    background: rgba(255,255,255,0.25);
}

/* Social Icons */
.footer-social {
    margin-top: 24px;
}

/* Navigation Columns Grid */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
}

.footer-nav-column h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column li {
    margin-bottom: 10px;
}

.footer-nav-column a {
    font-size: 14px;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: inline-block;
}

.footer-nav-column a:hover {
    opacity: 1;
}

/* Social Icons Bottom */
.footer-social-bottom {
    padding: 24px 0;
    border-top: 1px solid;
    display: flex;
    justify-content: center;
}

/* Copyright */
.footer-copyright {
    padding: 24px 0;
    border-top: 1px solid;
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-description {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-newsletter {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(4, 1fr);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .footer-main {
        gap: 32px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group button {
        padding: 14px;
    }
}




/* ===== PADDING SIZES ===== */
.footer-padding-small {
    padding: 6px 0 0;
}

.footer-padding-medium {
    padding: 60px 0 0;
}

.footer-padding-large {
    padding: 80px 0 0;
}

/* ===== MINIMAL LAYOUT ===== */
.footer-minimal .footer-copyright {
    padding: 20px 0;
    border-top: none;
}

/* ===== COMPACT LAYOUT ===== */
.footer-compact .footer-main {
    padding-bottom: 30px;
}

/* ===== CONTACT INFO ===== */
.footer-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-contact-item:hover {
    opacity: 1;
}

.footer-contact-item i {
    width: 16px;
    text-align: center;
}

/* ===== APP BADGES ===== */
.footer-app-badges {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-badge img {
    height: 40px;
    width: auto;
    transition: transform 0.2s;
}

.app-badge:hover img {
    transform: scale(1.05);
}

/* ===== CTA BUTTON ===== */
.footer-cta {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.footer-cta-primary {
    background: #016db7;
    color: white;
}

.footer-cta-primary:hover {
    background: #025e9c;
    transform: translateY(-2px);
}

.footer-cta-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
}

.footer-cta-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.footer-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.footer-cta-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

/* ===== PAYMENT BADGES ===== */
.footer-payment-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-badge {
    font-size: 32px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.payment-badge:hover {
    opacity: 1;
}

/* ===== TRUST BADGES ===== */
.footer-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.7;
}

.trust-badge i {
    font-size: 16px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 100;
}

.back-to-top:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-padding-small {
        padding: 20px 0 0;
    }
    
    .footer-padding-medium {
        padding: 40px 0 0;
    }
    
    .footer-padding-large {
        padding: 60px 0 0;
    }
    
    .footer-payment-badges {
        gap: 12px;
    }
    
    .payment-badge {
        font-size: 28px;
    }
    
    .footer-trust-badges {
        gap: 16px;
    }
    
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}


/* =============================================
   BACK-TO-TOP BUTTON VARIATIONS
   Usage: Enter class name in "Custom CSS Class" field
   ============================================= */

/* ----- Style 1: btn-gradient ----- */
/* Modern gradient with glow effect */
footer.site-footer.btn-gradient .back-to-top {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #016db7 0%, #0ea5e9 100%) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(1, 109, 183, 0.4) !important;
    bottom: 32px !important;
    right: 32px !important;
}

footer.site-footer.btn-gradient .back-to-top:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(1, 109, 183, 0.5) !important;
}

/* ----- Style 2: btn-rounded-square ----- */
/* Rounded square, minimal style */
footer.site-footer.btn-rounded-square .back-to-top {
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(8px) !important;
    bottom: 28px !important;
    right: 28px !important;
}

footer.site-footer.btn-rounded-square .back-to-top:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* ----- Style 3: btn-outline ----- */
/* Outline style with fill on hover */
footer.site-footer.btn-outline .back-to-top {
    width: 46px !important;
    height: 46px !important;
    background: transparent !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    opacity: 0.7 !important;
    bottom: 30px !important;
    right: 30px !important;
}

footer.site-footer.btn-outline .back-to-top:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* ----- Style 4: btn-pill ----- */
/* Pill shape with text-ready width */
footer.site-footer.btn-pill .back-to-top {
    width: 52px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 21px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    bottom: 24px !important;
    right: 24px !important;
}

footer.site-footer.btn-pill .back-to-top:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px) !important;
}

/* ----- Style 5: btn-large ----- */
/* Extra large prominent button */
footer.site-footer.btn-large .back-to-top {
    width: 56px !important;
    height: 56px !important;
    background: #016db7 !important;
    border-radius: 16px !important;
    font-size: 22px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    bottom: 36px !important;
    right: 36px !important;
}

footer.site-footer.btn-large .back-to-top:hover {
    background: #0284c7 !important;
    transform: translateY(-4px) rotate(360deg) !important;
    transition: all 0.4s ease !important;
}

/*
## Quick Reference

| Class Name | Style |
|------------|-------|
| `btn-gradient` | Blue gradient with glow |
| `btn-rounded-square` | Glass-like square |
| `btn-outline` | Outline, fills on hover |
| `btn-pill` | Horizontal pill shape |
| `btn-large` | Big button with spin effect |
*/