/* Modern Footer Design */
footer {
    margin-top: 60px;
	color: var(--footer-color);	
    background: linear-gradient(135deg, var(--footer-backcolor) 0%, var(--powered-backcolor) 100%);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

footer h5 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--footer-color);
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--brighter-color);
    border-radius: 2px;
    animation: slide-line 10s ease-in-out infinite;
}

/* Animation for the sliding line effect */
@keyframes slide-line {
    0% {
        left: 0;
        width: 10px;
    }
    25% {
        left: calc(var(--text-width, 100px) / 2 - 20px);
        width: 40px;        
    }
    50% {
        left: calc(var(--text-width, 100px) - 10px);
        width: 10px;
    }
    75% {
        left: calc(var(--text-width, 100px) / 2 - 20px);
        width: 40px;        
    }    
    100% {
        left: 0;
        width: 10px;
    }
}

footer a, 
footer li {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--brighter-color);
    text-decoration: none;
}

footer ul {
    padding: 0;
    margin: 0;
}

footer ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer ul li:last-child {
    border-bottom: none;
}

footer .box svg {
    fill: #fff;
    height: 1.5em;
    width: auto;    
}
footer .box.payment-methods svg {
    padding: 10px!important;
}
footer .box.payment-methods svg,
footer .box .icon {
    border: none;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    margin: 0 8px 12px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    transition: all 0.3s ease;
    object-fit: contain;
    text-decoration:none;
}
footer .box a.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
footer .box.payment-methods svg:hover,
footer .box .icon:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

footer .payment-icon-wrapper {
    display: inline-block;
    position: relative;
    cursor: help;
}

footer .payment-icon-wrapper svg,
footer .payment-icon-wrapper .icon {
    display: block;
}

footer .container-fluid .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding-top: 20px;
}

footer .container-fluid .row::before,
footer .container-fluid .row::after {
    display: none !important;
    content: none !important;
}

footer .container-fluid .row .box-container,
footer .container-fluid .row .box-subsidiary-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;    
}
footer .container-fluid .row .box-container {
    flex-basis: 500px;
}
footer .container-fluid .row .box-subsidiary-container {
    flex-basis: 1000px;
}

footer .container-fluid .row .box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

footer .container-fluid .row .box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

footer .container-fluid .row .payment-methods, 
footer .container-fluid .row .shipping-methods,
footer .container-fluid .row .networks {
    min-width: 250px;
    flex: 1;
}   
footer .container-fluid .row .payment-methods {
    flex-basis: 500px;
}
footer .container-fluid .row .shipping-methods,
footer .container-fluid .row .networks {
    flex-basis: 250px;
}


footer .payment-methods ul, 
footer .shipping-methods ul,
footer .networks ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

footer .payment-methods ul li, 
footer .shipping-methods ul li,
footer .networks ul li {
    border: none;
    background: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;    
}

footer .contact,
footer .information {
    min-width: 250px;
    flex: 1;
    flex-basis: 500px;
}
footer .contact.subsidiary {
    flex-basis: 400px;
}

footer .contact ul li,
footer .information ul li {
    display: flex;
    align-items: center;
    padding: 12px 6px;
    border-radius: 5px;
}
footer .contact ul li svg+span,
footer .information ul li svg+span {
    margin-left: 10px;
}
footer .contact ul li a,
footer .information ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

footer .contact ul li:has(a:hover),
footer .information ul li:has(a:hover) {
    background-color: rgba(255, 255, 255, 0.1);
}

footer .contact ul li a:hover,
footer .information ul li a:hover {
    transform: translateX(8px);
}

footer .contact ul li i,
footer .information ul li i {
    width: 20px;
    margin-right: 15px;
    font-size: 1.2em;
    color: var(--brighter-color);
}


/* POWERED */
footer .powered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--footer-color);
    backdrop-filter: blur(10px);
    font-size: 0.9em;
    gap: 8px;
}

footer .powered img {
    max-height: 20px;
}
footer .powered .tendeo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 100px;
    padding-left: 70px;
}   
footer .powered .copyright {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    text-align: right;
    font-size: 0.9em;
    min-width: 250px;
    padding-right: 70px;
}
footer .powered .tendeo span {
    margin-right: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
   
    footer .powered .tendeo span {
        display: none;
    }
    footer .powered .tendeo {
        justify-content: center;
        padding-left: 0;
    }
    footer .powered .copyright {
        justify-content: center;
        padding-right: 0;
    }
}

/* WHATSAPP */

/* WhatsApp specific link styles */
footer .contact ul li a[href*="wa.me"] {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 4px 0;
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

footer .contact ul li a[href*="wa.me"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

footer .contact ul li a[href*="wa.me"]:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white !important;
}

footer .contact ul li a[href*="wa.me"]:hover:before {
    left: 100%;
}

footer .contact ul li a[href*="wa.me"] svg {
    fill: white !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

footer .contact ul li a[href*="wa.me"] span {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* WhatsApp icon pulse animation */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

footer #btnwhatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
}
footer #btnwhatsapp a:focus {
    outline: none;
}
footer #btnwhatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    position: fixed; 
    bottom: 20px;
    right: 20px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: float-whatsapp 3s ease-in-out infinite;
}

/* Floating animation for WhatsApp button */
@keyframes float-whatsapp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

footer #btnwhatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

footer #btnwhatsapp.left{
    left: 20px;
}
footer #btnwhatsapp.right{
    right: 20px;
}
footer #btnwhatsapp a svg {
    fill: #fff;
    height: 45px;
    width: 45px;
    padding: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Special glow effect for all WhatsApp elements */
footer .contact ul li:has(a[href*="wa.me"]) {
    position: relative;
}

footer .contact ul li:has(a[href*="wa.me"]):before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #25D366, #128C7E, #25D366);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

footer .contact ul li:has(a[href*="wa.me"]):hover:before {
    opacity: 0.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer #btnwhatsapp {
        bottom: 30px;
        right: 30px;
    }
    
    footer #btnwhatsapp.left {
        left: 30px;
    }
    
    footer .contact ul li a[href*="wa.me"] {
        padding: 10px 12px;
    }
    
}

/* SUBSCRIPTION */

.subscription-container {
    margin: -11px 0 0 -20px;
    padding: 20px 0 50px 0;
    width: calc(100% + 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-bottom: 1px solid var(--menu--bordercolor);
}
.subscription-container h1 {
    font-weight: 600;
    color: var(--darkgrey-color);
    padding: 0 10px;
    text-align: center;
}
.subscription-container h6 {
    margin-bottom: 1em;
    color: var(--darkgrey-color);
    text-align: center;
    padding: 0 10px;
}
.subscription-content {
    width: 100%;
    max-width: 520px;
    height: 40px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, .2);
    border-radius: 60px;
    overflow: hidden;
}
  
.subscription {
    position: relative;
    width: 100%;
    height: 100%;
}

.subscription .add-email{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 20px;
    color: var(--black-color);
}

.subscription .submit-email {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 600;
    height: calc(100% - 2px);
    width: 120px;
    border: none;
    border-radius: 60px;
    outline: none;
    margin: 1px;
    padding: 0 20px;
    cursor: pointer;
    background: var(--lightgreen-color);
    color: #FFFFFF;
    transition: width .35s ease-in-out,
        background .35s ease-in-out;
}

.subscription.done .submit-email {
    width: calc(100% - 2px);
    background: var(--lightgreen-color);
}

.subscription .submit-email .before-submit,
.subscription .submit-email .after-submit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 38px;
    transition: visibility .35s ease-in-out,
        opacity .35s ease-in-out;
}

.subscription.done .submit-email .before-submit,
.subscription:not(.done) .submit-email .after-submit {
    visibility: hidden;
    opacity: 0;
}

.subscription .submit-email .after-submit {
    transition-delay: .35s;
}

.subscription:not(.done) .submit-email .before-submit,
.subscription.done .submit-email .after-submit {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 540px) {
    .subscription-content {
        max-width: calc(100% - 20px);
    }
}

@media (min-width: 992px) {
    
    .subscription-container {
        margin: -11px 0 0 -50px;
        width: calc(100% + 100px);
    }
}

/* Back to Top Button */
footer .back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

footer .back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

footer .back-to-top button {
    background: linear-gradient(135deg, var(--brighter-color) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

footer .back-to-top button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

footer .back-to-top button:hover::before {
    transform: translateX(100%);
}

footer .back-to-top button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--brighter-color) 0%, rgba(255, 255, 255, 1) 100%);
}

footer .back-to-top button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

footer .back-to-top button svg {
    color: var(--footer-backcolor);
    transition: all 0.3s ease;
    z-index: 1;
}

footer .back-to-top button:hover svg {
    color: var(--footer-backcolor);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer .back-to-top {
        bottom: 30px;
        left: 30px;
    }
}

/* Animation for smooth appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Subtle floating animation */
footer .back-to-top.visible button {
    animation: subtle-float 3s ease-in-out infinite;
}

@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

