/* ========================================
   KORTEX & PRODEX - FOOTER STYLES
   ======================================== */

/* Footer wrapper fix */
.footer {
    position: relative !important;
    z-index: 10 !important;
    overflow: visible !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    padding: 40px 0 0;
    margin-top: auto;
    color: #1e293b !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.footer * {
    color: #1e293b !important;
}

.footer .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.footer .container-fluid {
    position: relative !important;
    z-index: 20 !important;
}

.footer-section {
    position: relative !important;
    z-index: 30 !important;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

.footer-section:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.95);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.footer a, .footer-link, .social-link {
    position: relative !important;
    z-index: 40 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.footer *, .footer-section *, .footer a, .footer-link, .social-link, .contact-value {
    pointer-events: auto !important;
    z-index: 999 !important;
    position: relative !important;
}

.footer ul, .footer li {
    list-style: none !important;
    pointer-events: auto !important;
}

/* Footer link hover effects */
.footer-nav a:hover, .footer-link:hover {
    color: #1e293b !important;
    text-decoration: underline !important;
}

.social-link:hover {
    color: #1e293b !important;
    transform: scale(1.1);
}

/* Footer overlay */
.footer-overlay {
    display: none !important;
}

/* Footer Brand */
.footer-brand {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1e293b !important;
}

.brand-kortex {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-prodex {
    background: linear-gradient(135deg, #48bb78, #38a169);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Text */
.footer-description {
    color: #475569 !important;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-title {
    color: #1e293b !important;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, #4299e1, #48bb78);
    border-radius: 2px;
}

/* Footer Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-link {
    color: #475569 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color 0.2s;
    position: relative;
    z-index: 1;
}

.footer-link:hover {
    color: #1e293b !important;
    text-decoration: underline !important;
}

.footer-link i {
    font-size: 0.75rem;
    color: #64748b !important;
    margin-right: 8px;
}

.footer-link:hover i {
    color: #1e293b !important;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #1e293b !important;
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateX(3px);
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4299e1, #48bb78);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.75rem;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-value {
    color: #1e293b !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #3b82f6 !important;
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    background: #1e293b !important;
    margin-top: 30px;
    padding: 20px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

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

.footer-bottom-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.copyright {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 3px 0;
}

.footer-bottom-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4299e1, #48bb78);
    transition: width 0.3s ease;
}

.footer-bottom-link:hover {
    color: #ffffff !important;
}
