/* ============================================
   ENHANCED HEADER STYLES - CENTERED BUTTONS
   ============================================ */

/* Banner Section Improvements */
.banner-section {
    position: relative;
    padding: 100px 0 60px;
    min-height: auto;
}



/* ============================================
   IMPROVED FOOTER - HIGH CONTRAST & VISIBLE
   ============================================ */

.main-footer {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    padding: 70px 0 0;
    overflow: hidden;
}

/* Subtle pattern overlay */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05)),
        linear-gradient(150deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05)),
        linear-gradient(30deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05)),
        linear-gradient(150deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05));
    background-size: 80px 140px;
    opacity: 0.5;
}

.main-footer .pattern-layer,
.main-footer .pattern-layer-two {
    opacity: 0.08;
    filter: brightness(2);
}

/* Widgets Section */
.main-footer .widgets-section {
    position: relative;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Footer Widget Styling - HIGH CONTRAST */
.main-footer .footer-widget {
    position: relative;
}

.main-footer .footer-widget h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.main-footer .footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

/* Logo Widget */
.main-footer .logo-widget .logo {
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-footer .logo-widget .logo img {
    max-width: 160px;
    height: auto;
    filter: brightness(1.2);
}

.main-footer .logo-widget .text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.95;
}

/* Social Box - HIGH CONTRAST */
.main-footer .social-box {
    margin: 25px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.main-footer .social-box a {
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 17px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-footer .social-box a:hover {
    background: #fbbf24;
    color: #1e3c72;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
    border-color: #fbbf24;
}

/* Links Widget - HIGH CONTRAST */
.main-footer .links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer .links-widget li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}

.main-footer .links-widget li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-size: 16px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-footer .links-widget li:hover::before {
    left: 4px;
}

.main-footer .links-widget li a {
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    opacity: 0.95;
}

.main-footer .links-widget li a:hover {
    color: #fbbf24;
    padding-left: 4px;
    opacity: 1;
}

/* Copyright Section - HIGH CONTRAST */
.main-footer .copyright {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    padding: 22px 0;
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Bottom Decoration */
.main-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #fbbf24 0%, 
        #f59e0b 25%, 
        #fbbf24 50%, 
        #f59e0b 75%, 
        #fbbf24 100%);
}

/* Responsive Footer Styles */
@media (max-width: 991px) {
    .main-footer {
        padding: 60px 0 0;
    }
    
    .main-footer .widgets-section {
        padding-bottom: 40px;
    }
    
    .main-footer .footer-column {
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    .main-footer {
        padding: 50px 0 0;
    }
    
    .main-footer .footer-widget h4 {
        font-size: 18px;
        margin-bottom: 18px;
        text-align: center;
    }
    
    .main-footer .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .main-footer .social-box {
        justify-content: center;
    }
    
    .main-footer .logo-widget {
        text-align: center;
    }
    
    .main-footer .logo-widget .text {
        text-align: center;
    }
    
    .main-footer .links-widget {
        text-align: center;
    }
    
    .main-footer .links-widget li {
        padding-left: 0;
        display: inline-block;
        margin: 0 10px 10px 10px;
    }
    
    .main-footer .links-widget li::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-footer .footer-widget h4 {
        font-size: 17px;
    }
    
    .main-footer .social-box a {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 15px;
    }
    
    .main-footer .copyright {
        font-size: 13px;
        padding: 18px 10px;
    }
    
    .main-footer .logo-widget .text {
        font-size: 13px;
    }
}

/* Ensure all text is readable */
.main-footer *,
.main-footer a,
.main-footer p,
.main-footer div {
    color: inherit;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve overall readability */
.main-footer * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}