/* Footer Styles */

/* Contact Link Styling */
.contact-item-offset {
    margin-left: -10px !important;
}

.contact-link {
    color: var(--accent-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease;
}

.footer-contact .contact-link:hover {
    color: var(--heading-color);
    text-decoration: none;
}

.footer-contact .contact-link i {
    font-size: 1.1em;
}

/* Footer Layout Improvements */
#footer .footer-top .row {
    align-items: flex-start;
}

/* Push footer links to the far right edge */
#footer .footer-top .d-flex {
    position: relative;
}

#footer .footer-about {
    flex: 0 0 auto;
}

/* Push link columns to the absolute right edge */
.footer-links-container {
    display: flex;
    gap: 2rem;
    position: absolute;
    right: 0;
    top: 0;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .footer-links-container {
        position: static !important;
        margin-top: 1rem;
        justify-content: center;
        right: auto;
        top: auto;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .footer-links-container .footer-links {
        margin-bottom: 1rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #footer .footer-top .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        position: static !important;
    }
    
    .footer-links-container {
        position: static !important;
        margin-top: 2rem;
        justify-content: center;
        right: auto;
        top: auto;
    }
    
    #footer .footer-about {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    #footer .social-links {
        justify-content: center !important;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
    line-height: 1;
    margin-top: 10px;
    /*margin-bottom: 25px;*/
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-about .logo span {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

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

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}


