#footer3 {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}
#footer3 a {
    color: var(--footer-link-color);
}
#footer3 a:hover {
    color: var(--footer-link-color-hover);
}
#footer3 .footer-content {
    width: 1550px;
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem 0.5rem 2rem;
}
#footer3 .footer-content .footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
#footer3 .footer-content .footer-links .block {
    width: 700px;
    max-width: 100%;
}
#footer3 .footer-content .footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--secondary-font);
    color: var(--info-color);
}
#footer3 .footer-content .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 0.25rem;
}
#footer3 .footer-content .footer-links ul li {
    width: 300px;
    max-width: 100%;
}
#footer3 .footer-content .footer-links a {
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
}
#footer3 .footer-content .footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: var(--footer-link-color);
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
}
#footer3 .footer-content .footer-links a:hover::after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
}
#footer3 .footer-content .footer-links a:hover {
    color: var(--footer-link-color);
}
#footer3 .footer-content .footer-links .socials {
    margin-top: 2rem;
    display: flex;
    gap: 0.5rem;
}
#footer3 .footer-content .footer-links .socials a {
    background-color: rgba(var(--footer-text-rgb), 0.15);
    color: var(--footer-text);
    font-size: 0.8rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}
#footer3 .footer-content .footer-links .socials a::after {
    display: none;
}
#footer3 .footer-content .footer-links .socials a:hover {
    background-color: var(--footer-link-color-hover);
    color: var(--footer-bg);
}

#footer3 .footer-cqc {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 0.25rem;
}
#footer3 .footer-cqc .cqc-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: rgba(var(--footer-text-rgb), 0.15);
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    color: var(--footer-text);
}
#footer3 .footer-cqc .cqc-holder img {
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
#footer3 .footer-cqc .cqc-holder span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 5px;
    font-family: var(--tertiary-font);
}

#footer3 .footer-content .footer-locations {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 8rem;
}
#footer3 .footer-content .footer-locations .block {
    width: 300px;
    max-width: 100%;
}
#footer3 .footer-content .footer-locations h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--secondary-font);
    color: var(--info-color);
}
#footer3 .footer-content .footer-locations p, #footer3 .footer-content .footer-locations address {
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
    font-weight: 400;
}
#footer3 .footer-content .footer-documents {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    width: 600px;
    max-width: 100%;
    margin-bottom: 1rem;
}
#footer3 .footer-content .footer-documents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
#footer3 .footer-content .footer-documents ul li a {
    background-color: rgba(var(--footer-text-rgb), 0.075);
    color: var(--footer-text);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}
#footer3 .footer-content .footer-documents ul li a:hover {
    background-color: var(--footer-link-color);
    color: var(--footer-bg);
}

#footer3 .footer-content .footer-legal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
#footer3 .footer-content .footer-legal p {
    margin-bottom: 0;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(var(--footer-text-rgb), 0.7);
}
#footer3 .footer-content .footer-legal a {
    color: var(--footer-text);
    font-weight: 500;
}
#footer3 .footer-content .footer-legal a:hover {
    color: var(--footer-link-color-hover);
}
