/* ===== OVAKIL CUSTOM FOOTER STYLES ===== */

.ovakil-footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #3730a3 50%, #1e40af 75%, #1e3a8a 100%);
    color: #ffffff;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.ovakil-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.ovakil-footer-content {
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 2;
}

.ovakil-footer-section {
    height: 100%;
}

/* Footer Logo */
.ovakil-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.ovakil-footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ovakil-footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Footer Headings */
.ovakil-footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.ovakil-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    border-radius: 1px;
}

/* Footer Links */
.ovakil-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ovakil-footer-links li {
    margin-bottom: 0.5rem;
}

.ovakil-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.ovakil-footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.ovakil-footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
    text-decoration: none;
}

.ovakil-footer-links a:hover::before {
    color: #a855f7;
    transform: translateX(2px);
}

/* Social Links */
.ovakil-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ovakil-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ovakil-social-link:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.ovakil-social-link i {
    font-size: 1rem;
}

/* Contact Information */
.ovakil-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ovakil-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.ovakil-contact-item i {
    width: 18px;
    color: #8b5cf6;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer Bottom */
.ovakil-footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ovakil-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.ovakil-footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.ovakil-footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.ovakil-footer-legal a:hover {
    color: #8b5cf6;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ovakil-footer-content {
        padding: 2rem 0 1.5rem;
    }
    
    .ovakil-footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .ovakil-footer-text {
        text-align: center;
    }
    
    .ovakil-footer-heading {
        text-align: center;
    }
    
    .ovakil-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ovakil-footer-links {
        text-align: center;
    }
    
    .ovakil-footer-links a {
        padding-left: 0;
    }
    
    .ovakil-footer-links a::before {
        display: none;
    }
    
    .ovakil-footer-social {
        justify-content: center;
    }
    
    .ovakil-footer-contact {
        align-items: center;
        text-align: center;
    }
    
    .ovakil-contact-item {
        justify-content: center;
    }
    
    .ovakil-footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .ovakil-copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ovakil-footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .ovakil-footer-social {
        gap: 0.5rem;
    }
    
    .ovakil-social-link {
        width: 35px;
        height: 35px;
    }
}

/* Override any existing footer styles */
footer.ovakil-footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #3730a3 50%, #1e40af 75%, #1e3a8a 100%) !important;
    color: #ffffff !important;
}

/* Ensure footer is always visible */
.ovakil-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Remove any default Odoo footer margins */
#wrapwrap .ovakil-footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
