/* Modern Footer Styles - High Specificity to Prevent Overrides */
.tms-footer-wrapper.modern-footer,
.modern-footer.tms-footer-wrapper {
    background: linear-gradient(135deg, #0d4d66 0%, #126082 50%, #08405a 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.tms-footer-wrapper.modern-footer::before,
.modern-footer.tms-footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="footer-grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
    opacity: 0.5;
}

.tms-footer-wrapper .footer-content-wrapper {
    position: relative !important;
    z-index: 2 !important;
}

.tms-footer-wrapper .footer-section {
    padding: 60px 0 !important;
}

.tms-footer-wrapper .footer-column {
    margin-bottom: 40px !important;
}

.tms-footer-wrapper .footer-main-row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.tms-footer-wrapper .footer-category {
    padding-left: 30px !important;
    padding-right: 30px !important;
    position: relative !important;
}

.tms-footer-wrapper .footer-category:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 10%, 
        rgba(255, 255, 255, 0.15) 90%, 
        transparent 100%);
}

.tms-footer-wrapper .footer-category-group {
    padding-left: 50px !important;
    padding-right: 50px !important;
    position: relative !important;
}

.tms-footer-wrapper .footer-category-group:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 10%, 
        rgba(255, 255, 255, 0.15) 90%, 
        transparent 100%) !important;
}

.tms-footer-wrapper .footer-main-row .footer-column:last-child {
    padding-left: 50px !important;
}

.tms-footer-wrapper .footer-category-title {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
    padding-bottom: 15px !important;
}

.tms-footer-wrapper .footer-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FF7B07 0%, #ff9800 100%);
    border-radius: 2px;
}

.tms-footer-wrapper .footer-sub-column {
    padding-left: 0 !important;
    padding-right: 15px !important;
}

.tms-footer-wrapper .footer-sub-column strong {
    display: block !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.tms-footer-wrapper .footer-column h3 {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
    padding-bottom: 15px !important;
}

.tms-footer-wrapper .footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FF7B07 0%, #ff9800 100%);
    border-radius: 2px;
}

.tms-footer-wrapper .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tms-footer-wrapper .footer-links li {
    margin-bottom: 12px !important;
}

.tms-footer-wrapper .footer-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 0 !important;
}

.tms-footer-wrapper .footer-links a::before {
    content: '→' !important;
    opacity: 0 !important;
    transform: translateX(-10px) !important;
    transition: all 0.3s ease !important;
    color: #FF7B07 !important;
    font-weight: 700 !important;
}

.tms-footer-wrapper .footer-links a:hover {
    color: #fff !important;
    transform: translateX(5px) !important;
    padding-left: 5px !important;
}

.tms-footer-wrapper .footer-links a:hover::before {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.tms-footer-wrapper .footer-column strong {
    display: block !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.tms-footer-wrapper .footer-column .footer-links {
    margin-top: 10px !important;
}

.tms-footer-wrapper .footer-column .view-all-link,
.tms-footer-wrapper .footer-category-group .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff9800 !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    padding: 8px 15px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    background: rgba(0, 0, 0, 0);
    border-radius: 6px;
    /* border-left: 3px solid #ff9800; */
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.tms-footer-wrapper .footer-column .view-all-link:hover,
.tms-footer-wrapper .footer-category-group .view-all-link:hover {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(255, 123, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%) !important;
    transform: translateX(5px) !important;
    border-left-color: #ff9800 !important;
    box-shadow: 0 2px 8px rgba(255, 123, 7, 0.3) !important;
}

.tms-footer-wrapper .footer-column .view-all-link i,
.tms-footer-wrapper .footer-category-group .view-all-link i {
    color: #FF7B07 !important;
    transition: all 0.3s ease !important;
}

.tms-footer-wrapper .footer-column .view-all-link:hover i,
.tms-footer-wrapper .footer-category-group .view-all-link:hover i {
    color: #fff !important;
    transform: translateX(3px) !important;
}

.tms-footer-wrapper .newsletter-section {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    padding: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.tms-footer-wrapper .newsletter-section h3 {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.tms-footer-wrapper .newsletter-section h3::before {
    content: '📧';
    font-size: 24px;
}

.tms-footer-wrapper .newsletter-input-group {
    display: flex !important;
    gap: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 25px !important;
}

.tms-footer-wrapper .newsletter-input {
    flex: 1 !important;
    padding: 14px 18px !important;
    border: none !important;
    background: #fff !important;
    color: #495057 !important;
    font-size: 14px !important;
    border-radius: 10px 0 0 10px !important;
}

.tms-footer-wrapper .newsletter-input:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 123, 7, 0.2) !important;
}

.tms-footer-wrapper .newsletter-btn {
    padding: 14px 28px !important;
    border: none !important;
    background: linear-gradient(135deg, #FF7B07 0%, #ff9800 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 0 10px 10px 0 !important;
    white-space: nowrap !important;
    min-width: 140px !important;
}

.tms-footer-wrapper .newsletter-btn span {
    color: #fff !important;
}

.tms-footer-wrapper .newsletter-btn i {
    color: #fff !important;
}

.tms-footer-wrapper .newsletter-btn:hover {
    background: linear-gradient(135deg, #ff9800 0%, #FF7B07 100%) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(255, 123, 7, 0.4) !important;
    color: #fff !important;
}

.tms-footer-wrapper .social-icons {
    display: flex !important;
    gap: 15px !important;
    margin-top: 25px !important;
    flex-wrap: wrap !important;
}

.tms-footer-wrapper .social-icon {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.tms-footer-wrapper .social-icon:hover {
    background: linear-gradient(135deg, #FF7B07 0%, #ff9800 100%) !important;
    transform: translateY(-5px) scale(1.1) !important;
    border-color: #FF7B07 !important;
    box-shadow: 0 6px 20px rgba(255, 123, 7, 0.4) !important;
    color: #fff !important;
}

.tms-footer-wrapper .contact-info {
    margin-top: 25px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.tms-footer-wrapper .contact-info a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border-bottom: 2px solid transparent !important;
}

.tms-footer-wrapper .contact-info a:hover {
    color: #FF7B07 !important;
    border-bottom-color: #FF7B07 !important;
}

.tms-footer-wrapper .footer-bottom {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(6, 51, 69, 0.5) 100%) !important;
    backdrop-filter: blur(15px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 30px 0 !important;
    margin-top: 50px !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1) !important;
}

.tms-footer-wrapper .footer-bottom-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 25px !important;
}

.tms-footer-wrapper .footer-bottom-left {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

.tms-footer-wrapper .footer-logo-wrapper {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.tms-footer-wrapper .footer-logo {
    max-height: 45px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    transition: all 0.3s ease !important;
    opacity: 0.9 !important;
}

.tms-footer-wrapper .footer-logo-wrapper:hover .footer-logo {
    transform: scale(1.08) !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 123, 7, 0.6)) !important;
    opacity: 1 !important;
}

.tms-footer-wrapper .copyright {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    letter-spacing: 0.3px !important;
}

.tms-footer-wrapper .scroll-to-top {
    width: 45px !important;
    height: 45px !important;
    background: linear-gradient(135deg, #FF7B07 0%, #ff9800 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 123, 7, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.tms-footer-wrapper .scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(255, 123, 7, 0.5) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ff9800 0%, #FF7B07 100%) !important;
}

@media (max-width: 992px) {
    .tms-footer-wrapper .footer-column h3 {
        margin-top: 30px !important;
    }
    
    .tms-footer-wrapper .footer-column h3[style*="visibility: hidden"] {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .tms-footer-wrapper .footer-section {
        padding: 40px 0 !important;
    }
    
    .tms-footer-wrapper .footer-column {
        margin-bottom: 30px !important;
    }
    
    .tms-footer-wrapper .footer-column h3 {
        margin-top: 0 !important;
    }
    
    .tms-footer-wrapper .newsletter-section {
        padding: 20px !important;
        margin-top: 20px !important;
    }
    
    .tms-footer-wrapper .newsletter-input-group {
        flex-direction: column !important;
    }
    
    .tms-footer-wrapper .newsletter-input {
        border-radius: 10px 10px 0 0 !important;
    }
    
    .tms-footer-wrapper .newsletter-btn {
        border-radius: 0 0 10px 10px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .tms-footer-wrapper .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .tms-footer-wrapper .footer-bottom-left {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }
    
    .tms-footer-wrapper .footer-bottom {
        padding: 25px 0 !important;
        margin-top: 40px !important;
    }
    
    .tms-footer-wrapper .social-icons {
        justify-content: center !important;
    }
    
    .tms-footer-wrapper .row[style*="margin-top: 40px"] {
        margin-top: 30px !important;
        padding-top: 30px !important;
    }
}

