/* Footer */
.codecare-landing-footer {
    background: #000018;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    padding: 60px 0 30px;
    color: var(--cc-text-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
    opacity: 0.6;
}

.footer-column h4 {
    font-family: 'Instrument sans';
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--cc-text-white);
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.footer-link-group ul li {
    margin-bottom: 12px;
}

.footer-link-group ul li a {
    color: var(--cc-text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: normal;
    font-family: 'Instrument Sans';
}

.footer-link-group ul li a:hover {
    color: var(--cc-text-white);
}

.footer-contacts .contact-item {
    margin-bottom: 14px;
}
.contact-item-phone {
    border: none;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    text-decoration-color: transparent !important;
    -webkit-text-decoration-color: transparent !important;
}
.footer-contacts .contact-item strong {
    display: block;
    color: var(--cc-text-white);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contacts .contact-item p {
    color: var(--cc-text-gray);
    font-size: 14px;
    margin: 5px 0;
    line-height: 140%;
    font-weight: normal;
    font-family: 'Instrument Sans';
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    text-decoration-color: transparent !important;
    -webkit-text-decoration-color: transparent !important;
}

.footer-contacts .contact-item a {
    color: var(--cc-text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts .contact-item a:hover {
    color: var(--cc-text-white);
}

.footer-logo {
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
    justify-items: self-end;
}
.footer-logo-icon {
    margin-bottom: 56px;
    justify-items: self-end;
    display: flex;
    justify-content: flex-end;
}
.footer-logo-icon img{
    filter: brightness(0) invert(1);
    max-width: 180px;
}
.footer-logo .contact-item {
    font-size: 16px;
    font-family: 'Instrument Sans';
    justify-items: end;
}
.contact-item a{
    color: #FFFFFF;
}
.contact-line {
    border-bottom: 1px solid;
    width: 45px;
    height: 3px;
    display: block;
}
.contact-line {
    margin-bottom: 24px;
}
.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--cc-text-white);
    margin-bottom: 20px;
}


.scroll-to-top:hover {
    background: var(--cc-blue-light);
    transform: translateY(-3px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: left;
    opacity: 0.6;
    display: flex;
    justify-content: space-between;
}

.copyright {
    color: var(--cc-text-gray);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .footer-links {
        order: 1;
    }  
    .footer-contacts {
        order: 3;
        grid-column: 1 / -1;
    }
    .footer-logo {
        order: 2;
    }   
}

@media (max-width: 768px) {
    .codecare-landing-footer {
        padding-top: 30px;
    }
    .footer-content {
        grid-template-columns: none;
    }
    
    /* .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    } */
    .footer-link-group-legal {
        order: -1;
    }
    .footer-contacts {
        padding-right: 20px;
    }
}

@media (max-width: 650px) {
    .hero-headline {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .keyword-large {
        font-size: 24px;
        text-align: center;
    }
    .footer-logo {
        order: 4;
    }
    .footer-logo,
    .footer-logo .contact-item {
        justify-items: start;
    }
    .footer-logo-icon {
        justify-content: flex-start;
        margin-bottom: 24px;
    }
    .footer-content{
        margin-bottom: 24px;
    }
}

