/* Enhanced Footer Styling - Fixed Version */

footer {
    position: relative;
    clear: both;
    margin-top: 60px;
    overflow: visible;
    display: block;
    width: 100%;
}

.site-footer {
    position: relative;
    display: block;
    width: 100%;
    background: #0c2340;
}

.footer-area {
    position: relative;
    padding: 40px 3px 180px;
    background-color: #041e42;
    color: #fff;
    overflow: visible;
    background: #0c2340;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('http://localhost/yati-express/assets/img/pattern.png');
    opacity: 0.03;
    z-index: 0;
}

/* Containers & Row Fixes */
.footer-area .container {
    position: relative;
    z-index: 1;
}

.footer-area .row {
    margin-bottom: 15px;
}

/* Widget Styling */
.footer-widget {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    min-height: 250px;
    height: 100%;
}

.footer-widget-title {
    margin-bottom: 20px;
}

.footer-widget-title h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    text-transform: capitalize;
    padding-bottom: 10px;
}

.footer-widget-title h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #4169e1;
}

.footer-widget p {
    color: #c5c5c5;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Social Links */
.footer-social-link {
    margin-top: 25px;
}

.footer-social-link ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social-link ul li {
    margin-right: 15px;
}

.footer-social-link ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-link ul li a:hover {
    background-color: #4169e1;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-widget-link ul, 
.footer-widget-link-2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-link ul li,
.footer-widget-link-2 li {
    margin-bottom: 12px;
}

.footer-widget-link ul li a,
.footer-widget-link-2 li a {
    color: #c5c5c5;
    font-size: 15px;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
    display: block;
}

.footer-widget-link ul li a::before,
.footer-widget-link-2 li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4169e1;
}

.footer-widget-link ul li a:hover,
.footer-widget-link-2 li a:hover {
    color: #fff;
    padding-left: 25px;
}

/* Map Styling */
.footer-map {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.footer-map iframe {
    width: 100%;
    min-height: 220px;
    height: 220px;
    border: none;
    border-radius: 8px;
}

/* Footer Bottom */
.footer-menu-area {
    /*position: fixed;*/
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #0c2340;
    color: #fff;
    min-height: 44px;
    padding: 10px 0 8px 0;
    text-align: center;
    font-size: 15px;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
    border-top: 1px solid #18315a;
}

.footer-social-links-bar {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 110;
}

.footer-social-links-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 14px;
}

.footer-social-links-bar li {
    display: inline-block;
}

.footer-social-links-bar a {
    color: #fff;
    font-size: 18px;
    transition: color 0.2s;
}

.footer-social-links-bar a:hover {
    color: #16BE45;
}

/* Right Side Fixed Elements */
.right_side {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 99;
    flex-direction: column;
    display: none;
}

.right_side ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.right_side ul li {
    margin-bottom: 10px;
}

.right_side ul li a {
    display: block;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.right_side ul li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.right_side ul li a i {
    margin-right: 5px;
}

/* Bottom Script Cleanup */
footer + script,
footer + script + script {
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-widget {
        min-height: 230px;
    }
    
    .footer-widget-title h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-map {
        height: 180px;
    }
    
    .footer-area {
        padding: 30px 3px 160px;
    }
    .footer-map iframe {
        min-height: 180px;
        height: 180px;
    }
}

@media (max-width: 767px) {
    .footer-widget {
        min-height: auto;
        padding-bottom: 20px;
    }
    
    .footer-widget-title h4 {
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    .footer-map {
        height: 150px;
    }
    
    .footer-social-link ul li a {
        width: 35px;
        height: 35px;
    }
    
    .footer-menu-area {
        font-size: 13px;
        min-height: 38px;
        padding: 7px 0 6px 0;
    }
    
    .footer-area {
        padding: 20px 3px 120px;
    }
    .footer-map iframe {
        min-height: 140px;
        height: 140px;
    }
}

@media (max-width: 575px) {
    footer {
        margin-top: 40px;
    }
    
    .footer-widget {
        padding-bottom: 15px;
    }
    
    .footer-widget-title h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-widget p {
        font-size: 14px;
    }
    
    .footer-widget-link ul li a,
    .footer-widget-link-2 li a {
        font-size: 14px;
    }
    
    .footer-map {
        height: 130px;
    }
    
    .footer-social-links-bar {
        position: static;
        transform: none;
        justify-content: flex-end;
        margin-top: 8px;
    }
    .footer-social-links-bar ul {
        gap: 10px;
    }
}
