/* ============================================
   FOOTER SECTION - REDESIGNED LAYOUT
   ============================================ */

.footer-advanced {
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.3) 0%, rgba(26, 31, 58, 0.3) 100%);
    backdrop-filter: blur(10px);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Ensure footer container is above backgrounds */
.footer-advanced .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER WAVE
   ============================================ */

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave svg path {
    fill: rgba(0, 212, 255, 0.1);
}

/* ============================================
   FOOTER GRID - 4 COLUMNS
   ============================================ */

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 60px 0 40px 0;
}

/* ============================================
   FOOTER BRAND - LEFT (LOGO)
   ============================================ */

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    filter: brightness(1.1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin: 0;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #9ca3af;
    margin-top: 15px;
    padding: 12px 0;
}

.footer-email i {
    color: #00d4ff;
    font-size: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: #00d4ff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* ============================================
   FOOTER LINKS - CENTER COLUMNS
   ============================================ */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

/* ============================================
   FOOTER PAYMENT - RIGHT SIDE
   ============================================ */

.footer-payment {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.payment-icons-grid img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    transition: all 0.05s ease;
    cursor: pointer;
    filter: brightness(1.1);
}

.payment-icons-grid img:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.3);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-copyright p,
.footer-powered p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .payment-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media screen and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
    
    .payment-icons-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-advanced {
        padding: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .payment-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .footer-logo-img {
        max-width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .footer-advanced {
        padding: 0;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-wave svg {
        height: 60px;
    }
    
    .payment-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .payment-icons-grid img {
        height: 35px;
    }
    
    .footer-logo-img {
        max-width: 130px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-description,
    .footer-links ul li a,
    .contact-item {
        font-size: 13px;
    }
}
