/* ==========================================================================
   PREMIUM FOOTER STYLING
   ========================================================================== */

/* 
 * Base Footer Structure
 * Sets the foundation for the premium footer experience
 */
 
.premium-footer {
    background-color: #080c14;
    background-image: linear-gradient(to bottom, #0c1018, #080c14 85%);
    box-shadow: inset 0 15px 25px -15px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    padding-top: 70px;
    position: relative;
    z-index: 10;
}

/* Animated Top Border */
.premium-footer::before {
    animation: borderPulse 6s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
    background: linear-gradient(90deg, rgba(0, 192, 192, 0.3), #00c0c0 50%, rgba(0, 192, 192, 0.3));
    box-shadow: 0 0 15px rgba(0, 192, 192, 0.4);
    content: '';
    height: 3px;
    left: 0;
    opacity: 0.9;
    position: absolute;
    top: 0;
    width: 100%;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.95; }
}

/* 
 * Footer Logo Area
 * Centered logo with decorative elements
 */
.footer-logo-showcase {
    padding: 0 0 20px;
    position: relative;
    text-align: center;
    z-index: 2;
}

.logo-container {
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.logo-container::after {
    background: linear-gradient(90deg, transparent, rgba(0, 192, 192, 0.3), transparent);
    bottom: -8px;
    content: '';
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 40%;
}

.main-footer-logo {
    filter: brightness(1.1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    height: 60px;
    transition: all 0.4s ease;
}

.main-footer-logo:hover {
    filter: brightness(1.3) drop-shadow(0 4px 10px rgba(0, 192, 192, 0.4));
    transform: translateY(-3px);
}

/* 
 * Decorative Divider
 * Subtle separator with accent dots
 */
.footer-divider {
    background: rgba(255, 255, 255, 0.04);
    height: 1px;
    margin: 22px auto;
    max-width: 280px;
    overflow: visible;
    position: relative;
    width: 90%;
}

.footer-divider span {
    background: linear-gradient(90deg, 
        rgba(0, 192, 192, 0), 
        rgba(0, 192, 192, 0.5), 
        rgba(0, 192, 192, 0));
    height: 1px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 70px;
}

.footer-divider::before,
.footer-divider::after {
    background: rgba(0, 192, 192, 0.3);
    border-radius: 50%;
    content: '';
    height: 5px;
    position: absolute;
    top: -2px;
    width: 5px;
}

.footer-divider::before { 
    left: calc(50% - 50px); 
}

.footer-divider::after { 
    right: calc(50% - 50px); 
}

/* 
 * Footer Navigation Structure
 * Main container for navigation links
 */
.footer-navigation {
    padding: 5px 0 30px;
}

/* 
 * Footer Links Styling
 * Enhanced interactive navigation links
 */
.footer-links {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    font-size: 0.92rem;
    padding: 2px 0;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Elegant Underline Effect */
.footer-links a::after {
    background-color: var(--primary);
    bottom: 0;
    content: '';
    height: 1px;
    left: 0;
    opacity: 0.7;
    position: absolute;
    transition: width 0.3s ease;
    width: 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Active Link Indicator */
.footer-links a.active-link {
    color: var(--primary);
    font-weight: 500;
}

.footer-links a.active-link::before {
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 192, 192, 0.6);
    content: '';
    height: 4px;
    left: -12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
}

/* Link Category Indicators */
.footer-links .company-link::after,
.footer-links .industry-link::after,
.footer-links .legal-link::after {
    background-color: var(--primary);
}

/* 
 * Footer Column Styling
 * Section headers and structure
 */
.footer-column {
    padding-bottom: 15px;
}

.footer-column h5 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    position: relative;
}

.footer-column h5::after {
    background: linear-gradient(90deg, var(--primary), rgba(0, 192, 192, 0.5));
    border-radius: 1px;
    bottom: 0;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    width: 30px;
}

/* 
 * Contact Information Styling
 * Enhanced contact methods with icons
 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-link, 
.address-info {
    align-items: center;
    background: rgba(0, 192, 192, 0.07);
    border: 1px solid rgba(0, 192, 192, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    font-size: 0.95rem;
    padding: 10px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    text-align: left;
}

.contact-link i, 
.address-info i {
    align-items: center;
    background: linear-gradient(145deg, rgba(0, 192, 192, 0.2), rgba(0, 192, 192, 0.1));
    border: 1px solid rgba(0, 192, 192, 0.2);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    display: flex;
    flex-shrink: 0;
    font-size: 14px;
    height: 34px;
    justify-content: center;
    margin-right: 14px;
    min-width: 34px;
    transition: all 0.3s ease;
    width: 34px;
}

.contact-link span, 
.address-info span {
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 
 * Footer Bottom Section
 * Copyright and client login area
 */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -5px 15px -5px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    position: relative;
}

/* Subtle Background Pattern */
.footer-bottom::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='none'/%3E%3Ccircle cx='10' cy='10' r='0.15' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    content: '';
    height: 100%;
    left: 0;
    opacity: 0.6;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Copyright Text */
.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 0;
}

/* Client Login Button */
.client-access-btn {
    align-items: center;
    background: linear-gradient(to bottom, 
        rgba(0, 192, 192, 0.12), 
        rgba(0, 192, 192, 0.08));
    border: 1px solid rgba(0, 192, 192, 0.2);
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.client-access-btn i {
    font-size: 12px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.client-access-btn:hover {
    background: linear-gradient(to bottom, 
        rgba(0, 192, 192, 0.2), 
        rgba(0, 192, 192, 0.15));
    border-color: rgba(0, 192, 192, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 
                0 0 15px rgba(0, 192, 192, 0.15);
    color: white;
    transform: translateY(-2px);
}

.client-access-btn:hover i {
    transform: rotate(10deg) translateX(-1px);
}

.client-access-btn:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

/* Footer Contact Section Fixes */
.premium-footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.premium-footer .contact-link, 
.premium-footer .address-info {
    align-items: center;
    background: rgba(0, 192, 192, 0.07);
    border: 1px solid rgba(0, 192, 192, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    font-size: 0.9rem;
    padding: 6px 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.premium-footer .contact-link i, 
.premium-footer .address-info i {
    align-items: center;
    background: linear-gradient(145deg, rgba(0, 192, 192, 0.2), rgba(0, 192, 192, 0.1));
    border: 1px solid rgba(0, 192, 192, 0.2);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    flex-shrink: 0;
    font-size: 12px;
    height: 26px;
    justify-content: center;
    margin-right: 8px;
    min-width: 26px;
    transition: all 0.3s ease;
    width: 26px;
}

.premium-footer .contact-link span, 
.premium-footer .address-info span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile-specific fixes */
@media (max-width: 767px) {
    .premium-footer .contact-info {
        max-width: 90%;
        margin: 0 auto;
        align-items: center;
    }
    
    .premium-footer .contact-link, 
    .premium-footer .address-info {
        border-radius: 10px;
        min-height: 42px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .premium-footer .contact-link span, 
    .premium-footer .address-info span {
        white-space: nowrap;
        font-size: 12px;
    }
    
    /* Further optimization for extra small screens */
    @media (max-width: 374px) {
        .premium-footer .contact-link i, 
        .premium-footer .address-info i {
            height: 24px;
            width: 24px;
            min-width: 24px;
            font-size: 11px;
            margin-right: 6px;
        }
    }
}
