/* ===== WBTS FOOTER NEW - COMPLETE REDESIGN ===== */
/* Hide old footer styles if they exist */
footer.wbts-footer:not(.wbts-footer-new),
.wbts-footer:not(.wbts-footer-new) {
    display: none !important;
}

/* Force override any existing footer styles */
footer.wbts-footer-new,
.wbts-footer-new {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wbts-footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.wbts-footer-wrapper {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

.wbts-footer-container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Override any container styles from index.html */
.wbts-footer-new .wbts-footer-container.container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

/* Prevent any container from limiting footer width */
.wbts-footer-new .container {
    max-width: 1600px !important;
    width: 100% !important;
}

.wbts-footer-grid-new {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
    grid-auto-flow: row !important;
    min-width: 0 !important;
    overflow: visible !important;
}

/* Ensure grid doesn't wrap */
@media (min-width: 1400px) {
    .wbts-footer-grid-new {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 2.5rem !important;
    }
}

/* Ensure all 5 columns are visible */
.wbts-footer-grid-new > * {
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: none !important;
}

/* Prevent columns from being hidden or collapsed */
.wbts-footer-grid-new > div {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Column Styles */
.wbts-footer-col-about,
.wbts-footer-col-programs,
.wbts-footer-col-quicklinks,
.wbts-footer-col-help,
.wbts-footer-col-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Ensure each column takes up space and is visible */
.wbts-footer-col-about { 
    grid-column: 1 / 2 !important; 
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.wbts-footer-col-programs { 
    grid-column: 2 / 3 !important; 
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.wbts-footer-col-quicklinks { 
    grid-column: 3 / 4 !important; 
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.wbts-footer-col-help { 
    grid-column: 4 / 5 !important; 
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.wbts-footer-col-contact { 
    grid-column: 5 / 6 !important; 
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Brand Section */
.wbts-footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wbts-footer-brand-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #f59e0b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wbts-footer-brand-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.wbts-footer-brand-text {
    display: flex;
    flex-direction: column;
}

.wbts-footer-brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f59e0b;
    margin: 0;
    line-height: 1.2;
}

.wbts-footer-brand-subtitle {
    font-size: 0.875rem;
    color: #b0b0b0;
    margin: 0;
}

.wbts-footer-about-text {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Social Media */
.wbts-footer-social {
    margin-top: 1rem;
}

.wbts-footer-social-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.wbts-footer-social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wbts-footer-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wbts-footer-social-icon:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    border-color:  #f59e0b;
}

/* Column Titles */
.wbts-footer-col-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid  #f59e0b;
    position: relative;
}

.wbts-footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f59e0b;
}

/* Column Lists */
.wbts-footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wbts-footer-col-item {
    margin: 0;
}

.wbts-footer-col-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.wbts-footer-col-link i {
    width: 20px;
    text-align: center;
    color: #f59e0b;
    transition: color 0.3s ease;
}

.wbts-footer-col-link:hover {
    color: #ffffff;
    padding-left: 0.5rem;
    background: rgba(74, 144, 226, 0.1);
}

.wbts-footer-col-link:hover i {
    color: #f59e0b;
}

/* Contact Section */
.wbts-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wbts-footer-contact-item {
    margin: 0;
}

.wbts-footer-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #d0d0d0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 8px;
}

.wbts-footer-contact-link i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wbts-footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wbts-footer-contact-label {
    font-size: 0.75rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wbts-footer-contact-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

.wbts-footer-contact-link:hover {
    background: rgba(74, 144, 226, 0.15);
    transform: translateX(4px);
}

.wbts-footer-contact-link:hover i {
    background: #f59e0b;
    color: #ffffff;
}

/* Footer Bottom */
.wbts-footer-bottom-new {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.wbts-footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wbts-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.wbts-footer-copyright {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
}

.wbts-footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.wbts-footer-legal-link {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.wbts-footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.wbts-footer-legal-link:hover {
    color: #f59e0b;
}

.wbts-footer-legal-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .wbts-footer-container,
    .wbts-footer-bottom-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1200px) {
    .wbts-footer-grid-new {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
    }
    
    .wbts-footer-col-about {
        grid-column: span 3 !important;
    }
}

@media (max-width: 768px) {
    .wbts-footer-wrapper {
        padding: 3rem 0 1.5rem;
    }
    
    .wbts-footer-container,
    .wbts-footer-bottom-container {
        padding: 0 1rem;
    }
    
    .wbts-footer-grid-new {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .wbts-footer-col-about,
    .wbts-footer-col-programs,
    .wbts-footer-col-quicklinks,
    .wbts-footer-col-help,
    .wbts-footer-col-contact {
        grid-column: 1 / -1 !important;
    }
    
    .wbts-footer-brand {
        justify-content: center;
        text-align: center;
    }
    
    .wbts-footer-social-icons {
        justify-content: center;
    }
    
    .wbts-footer-col-title {
        text-align: center;
    }
    
    .wbts-footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .wbts-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .wbts-footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wbts-footer-grid-new {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .wbts-footer-col-about,
    .wbts-footer-col-programs,
    .wbts-footer-col-quicklinks,
    .wbts-footer-col-help,
    .wbts-footer-col-contact {
        grid-column: 1 / -1 !important;
    }
    
    .wbts-footer-brand {
        justify-content: center;
        text-align: center;
    }
    
    .wbts-footer-social-icons {
        justify-content: center;
    }
    
    .wbts-footer-col-title {
        text-align: center;
    }
    
    .wbts-footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
