#footer {
    color: #bdc1c6;
    font-size: 14px;
    line-height: 1.6;
    padding: 0px;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .footer-bottom {
    background-color: #000000;
    padding: 30px 0;
    color: #a0aec0;
}

#footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    margin-bottom: 20px;
}

#footer .footer-left {
    flex: 1;
}

#footer .footer-logo {
    height: 80px;
    width: auto;
    transition:
        height 0.15s ease,
        filter 0.1s ease;
}

#footer .footer-logo:hover {
    filter: brightness(0) saturate(100%) invert(18%) sepia(88%) saturate(5168%)
        hue-rotate(351deg) brightness(106%) contrast(105%);
}

#footer .footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

#footer .social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

#footer .social-links a {
    display: block;
    transition: opacity 0.1s ease;
}

#footer .social-links a:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(88%) saturate(5168%)
        hue-rotate(351deg) brightness(106%) contrast(105%);
}

#footer .social-icon {
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.1s ease;
}

#footer .footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#footer .cta-button {
    background-color: #000;
    color: #fff;
    padding: 8px 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.1s ease;
    border: 1px solid #d0cece;
    position: relative;
    overflow: hidden;
}

#footer .cta-button:hover {
    background-color: #d00909;
    text-decoration: none;
}

#footer .cta-button:hover::after {
    opacity: 1;
    color: #ffffff;
}

#footer .footer-legal {
    border-top: 1px solid #333333;
    padding-top: 30px;
    text-align: center;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

#footer .legal-info {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.4;
}

#footer .legal-info a {
    color: #a0aec0;
}

#footer .legal-info a:hover {
    color: #d00909;
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    #footer .footer-content {
        padding: 0 20px;
        margin-bottom: 25px;
    }

    #footer .footer-logo {
        height: 70px;
    }

    #footer .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    #footer .footer-legal {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer .legal-info {
        font-size: 12px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    #footer .footer-bottom {
        padding: 25px 0;
    }

    #footer .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        margin-bottom: 25px;
        gap: 15px;
    }

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

    #footer .footer-center {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    #footer .footer-right {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    #footer .footer-logo {
        height: 50px;
    }

    #footer .social-links {
        gap: 15px;
    }

    #footer .social-icon {
        height: 22px;
    }

    #footer .cta-button {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    #footer .footer-legal {
        padding-top: 25px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer .legal-info {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    #footer .footer-bottom {
        padding: 20px 0;
    }

    #footer .footer-content {
        padding: 0 15px;
        margin-bottom: 20px;
        gap: 10px;
    }

    #footer .footer-logo {
        width: 40%;
    }

    #footer .social-links {
        gap: 12px;
    }

    #footer .social-icon {
        height: 20px;
    }

    #footer .cta-button {
        padding: 6px 12px;
        white-space: nowrap;
        font-size: 0;
    }

    #footer .cta-button::after {
        content: "PROJECT IN MIND?";
        font-size: 9px;
    }

    #footer .footer-legal {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    #footer .legal-info {
        font-size: 11px;
        line-height: 1.6;
    }

    #footer .footer-left {
        width: 35%;
    }

    #footer .footer-center {
        width: 30%;
    }

    #footer .footer-right {
        width: 35%;
    }

    #footer .footer-logo {
        width: 100%;
        height: auto;
    }
}
