﻿/* =============================================
   PREMIUM FOOTER STYLES
   ============================================= */

.footer-premium {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #2d2a5c 100%);
    position: relative;
    overflow: hidden;
    margin-top: 120px;
    color: #fff;
}

/* ---------- Wave Divider ---------- */
.wave-divider {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-divider svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 80px;
    }

    .wave-divider .shape-fill {
        fill: #0a0e27;
    }

/* ---------- Top Trust Strip ---------- */
.footer-trust-strip {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    position: relative;
    z-index: 2;
}

.footer-trust-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

    .trust-pill i {
        color: #667eea;
    }

/* ---------- Main Content ---------- */
.footer-content {
    position: relative;
    z-index: 2;
}

.footer-widget {
    position: relative;
}

/* ---------- Logo ---------- */
.footer-logo .logo-orb {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .footer-logo .logo-orb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }

.logo-text h3 {
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #a8c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin: 0;
}

.tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Status Badge ---------- */
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* ---------- Contact Info ---------- */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: inherit;
    transition: transform 0.3s;
}

    .contact-item:hover {
        transform: translateX(5px);
    }

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8c0ff;
    flex-shrink: 0;
}

.contact-text h6 {
    color: #ffffff;
    margin-bottom: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

/* ---------- Widget Titles & Links ---------- */
.widget-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .widget-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        border-radius: 2px;
    }

.accordion-icon {
    display: none;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    transition: transform 0.3s;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }

        .footer-links a i {
            font-size: 0.7rem;
            color: #667eea;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: #a8c0ff;
            transform: translateX(5px);
        }

/* ---------- Newsletter ---------- */
.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    transition: all 0.3s;
}

    .newsletter-input-group:focus-within {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    }

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 10px 14px;
    font-size: 0.85rem;
    outline: none;
}

    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

.newsletter-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .newsletter-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

.newsletter-msg {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: none;
}

    .newsletter-msg.success {
        display: block;
        color: #4ade80;
    }

    .newsletter-msg.error {
        display: block;
        color: #ff6b6b;
    }

/* ---------- Social ---------- */
.social-links-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-footer {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-footer.facebook {
        background: #1877f2;
    }

    .social-footer.whatsapp {
        background: #25d366;
    }

    .social-footer.youtube {
        background: #ff0000;
    }

    .social-footer.linkedin {
        background: #0077b5;
    }

    .social-footer.instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .social-footer:hover {
        transform: translateY(-3px) rotate(-5deg);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        color: white;
    }

/* ---------- Footer Bottom ---------- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        font-size: 0.85rem;
    }

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

    .payment-icon i {
        font-size: 0.9rem;
    }

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 0.85rem;
}

    .footer-legal a {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-legal a:hover {
            color: #fff;
        }

    .footer-legal span {
        color: rgba(255, 255, 255, 0.3);
    }

/* ---------- Floating Elements ---------- */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(102, 126, 234, 0.2);
    font-size: 1.2rem;
    animation: floatRandom 15s infinite linear;
}

.ele-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.ele-2 {
    top: 45%;
    left: 8%;
    animation-delay: 2s;
}

.ele-3 {
    top: 70%;
    left: 3%;
    animation-delay: 4s;
}

.ele-4 {
    top: 25%;
    right: 8%;
    animation-delay: 6s;
}

.ele-5 {
    top: 55%;
    right: 5%;
    animation-delay: 8s;
}

.ele-6 {
    top: 80%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatRandom {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* ---------- Back to Top ---------- */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

    .back-to-top-btn.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    /* Mobile Accordion */
    .footer-accordion .widget-title {
        cursor: pointer;
        margin-bottom: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

        .footer-accordion .widget-title::after {
            display: none;
        }

    .footer-accordion .accordion-icon {
        display: block;
    }

    .footer-accordion .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-accordion.open .footer-links {
        max-height: 400px;
        padding-top: 15px;
    }

    .footer-accordion.open .accordion-icon {
        transform: rotate(180deg);
    }

    .footer-legal {
        justify-content: center;
        margin-top: 10px;
    }

    .payment-methods {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .wave-divider {
        top: -40px;
    }

        .wave-divider svg {
            height: 40px;
        }

    .footer-trust-items {
        gap: 15px;
    }

    .trust-pill {
        font-size: 0.75rem;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
    }
}
