/* Enhanced Footer Styles for Better SEO and Design */

/* Footer Social Links in Contact Section */
#footer .footer-contact .social-links {
    margin-top: 20px;
}

#footer .footer-contact .social-links a {
    font-size: 16px;
    display: inline-block;
    background: #1ea7dc;
    color: #fff;
    line-height: 1;
    padding: 10px;
    margin-right: 8px;
    border-radius: 50%;
    text-align: center;
    width: 40px;
    height: 40px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#footer .footer-contact .social-links a:hover {
    background: #1c84e3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(30, 167, 220, 0.3);
}

/* City-wise Services Section Styling */
#footer .border-top {
    border-top: 2px solid #e8f3fa !important;
}

#footer h4 {
    color: #2c4964;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

#footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #1ea7dc;
}

/* Footer Links Hover Effects */
#footer .footer-links ul a {
    color: #666;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
}

#footer .footer-links ul a:hover {
    color: #1ea7dc;
    padding-left: 5px;
    text-decoration: none;
}

/* Footer Meta Information */
#footer .footer-meta {
    font-size: 14px;
    color: #666;
}

#footer .footer-meta i {
    color: #1ea7dc;
    margin-right: 5px;
}

/* Copyright Section Enhancement */
#footer .copyright {
    font-size: 14px;
    color: #666;
}

/* Responsive Improvements */
@media (max-width: 768px) {

    #footer .footer-top .footer-contact,
    #footer .footer-top .footer-links {
        margin-bottom: 30px;
    }

    #footer h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    #footer .footer-links ul li {
        padding: 8px 0;
    }

    #footer .border-top {
        margin-top: 30px !important;
        padding-top: 30px !important;
    }

    #footer .footer-meta {
        margin-top: 15px;
    }

    /* City section responsive */
    #footer .city-services-section {
        padding: 20px 15px;
    }

    #footer .city-services-section h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    #footer .city-category-title {
        font-size: 15px;
        padding: 8px 12px;
    }

    #footer .city-pages-list li a {
        font-size: 13px;
    }
}

/* Additional SEO-friendly elements */
#footer .footer-top .footer-links ul li {
    padding: 8px 0;
}

#footer .footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

/* Better spacing for footer sections */
#footer .row {
    row-gap: 30px;
}

/* Link accessibility improvements */
#footer a {
    position: relative;
    outline: none;
}

#footer a:focus {
    outline: 2px solid #1ea7dc;
    outline-offset: 2px;
}

/* Strong tag in footer contact */
#footer .footer-contact strong {
    color: #2c4964;
    font-weight: 600;
}

#footer .footer-contact a {
    color: #1ea7dc;
    transition: 0.3s;
}

#footer .footer-contact a:hover {
    color: #1c84e3;
    text-decoration: none;
}

/* City wise section special styling */
#footer .city-services-section {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    padding: 30px 20px;
    border-radius: 10px;
    margin-top: 20px !important;
}

#footer .city-services-section h4 {
    color: #2c4964;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

#footer .city-services-section h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1ea7dc 0%, #1c84e3 100%);
    border-radius: 2px;
}

/* City Category Titles Styling */
#footer .city-category-title {
    color: #fff;
    background: linear-gradient(135deg, #1ea7dc 0%, #1c84e3 100%);
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(30, 167, 220, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#footer .city-category-title::before {
    content: '📍';
    margin-right: 8px;
    font-size: 14px;
}

#footer .city-category-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 167, 220, 0.3);
}

#footer .city-column .city-category-title:first-child {
    margin-top: 0;
}

/* City pages list styling */
#footer .city-pages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    background: #ffffff;
    border-radius: 6px;
    padding: 12px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

#footer .city-pages-list li {
    padding: 0;
    display: block;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

#footer .city-pages-list li:hover {
    background: #f8fbff;
    border-left-color: #1ea7dc;
}

#footer .city-pages-list li a {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
}

#footer .city-pages-list li:hover a {
    color: #1ea7dc;
    font-weight: 500;
    padding-left: 20px;
}

/* City column styling */
#footer .city-column {
    margin-bottom: 20px;
}

/* Improve chevron icons */
#footer .footer-links ul i.bx-chevron-right {
    color: #1ea7dc;
    font-size: 16px;
    transition: 0.3s;
}

#footer .footer-links ul li:hover i.bx-chevron-right {
    transform: translateX(3px);
}

/* Bottom border styling */
#footer .container .border-top {
    border-top: 1px solid #e8f3fa !important;
    margin-top: 30px;
}