


footer {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

footer .container {
    height: 100%;
    width: 100%;
}

.footer {
    width: 100%;
    height: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.footer .left {
    width: 25%;
    background: var(--primary-color);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.footer .left .logo {
    height: 65px;
    width: auto;
}

.footer .left .logo img {
    max-width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.footer .left .logoSub {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}


.footer .left .logoSub h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer .left .logoSub p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}


.footer .left .contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 0.5rem;
}

.footer .left .contacts .contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.footer .left .contacts .contact .icon {
    background: var(--card-bg);
    border-radius: 5px;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

}


.footer .left .contacts .contact .icon i {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}


.footer .left .contacts .contact .text {
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.footer .left .contacts .contact .text a {
    color: var(--text-light-low);
    transition: all 0.3s ease;
}

.footer .left .contacts .contact .text a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.footer .socialMenu .social i {
    color: var(--text-light);
    font-size: 1.2rem;
}

.footer .menuList {
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 75%;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    gap: 3rem;
    padding-left: 7rem;
}

.footer .bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 100%;
    z-index: 0;
}

.footer .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer .socialMenu {
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    gap: 10px;
    padding: 10px 0;
    position: absolute;
    top: 10px;
    left: 10px;
}


.footer .socialMenu .social {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 5px;
    padding: 5px;
}



.footer .menuList .menuItem {
    display: flex;
    flex-direction: column;
    z-index: 10;
    
}

.footer .menuList .menuItem .menuItems {
    display: flex;
    flex-direction: column;
}

.footer .menuList .menuItem .menuTitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}


.footer .menuList .menuItem .menuItems a {
    color: var(--text-dark-low);
    padding: 0.2rem 0;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.footer .menuList .menuItem .menuItems a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer .menuList .developerLink {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.8rem;
    background: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer .menuList .developerLink i {
    margin-right: 5px;
    color: var(--text-light);
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 1px;
}

.footer .menuList .developerLink:hover {
    color: var(--text-light-low);
    text-decoration: none;
}

/* Footer Responsive */

@media (max-width: 1200px) {
    .footer {
        height: 280px;
    }
    
    .footer .menuList {
        padding-left: 5rem;
        gap: 2.5rem;
    }
    
    .footer .menuList .menuItem .menuTitle {
        font-size: 1.1rem;
    }
    
    .footer .menuList .menuItem .menuItems a {
        font-size: 0.9rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .footer .menuList .menuItem .menuItems a:hover {
        color: var(--primary-color);
    }
}

@media (max-width: 1024px) {
    .footer {
        height: 260px;
    }
    
    .footer .left {
        width: 30%;
        padding: 0.8rem;
    }
    
    .footer .left .logo {
        height: 55px;
    }
    
    .footer .left .logoSub h3 {
        font-size: 1.8rem;
    }
    
    .footer .left .logoSub p {
        font-size: 0.9rem;
    }
    
    .footer .menuList {
        width: 70%;
        padding: 1.5rem;
        padding-left: 4rem;
        gap: 2rem;
    }
    
    .footer .menuList .menuItem .menuTitle {
        font-size: 1rem;
    }
    
    .footer .menuList .menuItem .menuItems a {
        font-size: 0.85rem;
        padding: 0.15rem 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .footer .menuList .menuItem .menuItems a:hover {
        color: var(--primary-color);
    }
    
    .footer .menuList .developerLink {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    .footer {
        height: auto;
        flex-direction: column;
        min-height: 400px;
    }
    
    .footer .left {
        width: 100%;
        background: var(--primary-color);
        border-radius: 10px 10px 0 0;
        padding: 1.5rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .footer .left .logo {
        height: 50px;
        order: 1;
    }
    
    .footer .left .logoSub {
        margin-top: 0;
        order: 2;
        flex: 1;
        margin-left: 1rem;
    }
    
    .footer .left .logoSub h3 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .footer .left .logoSub p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .footer .left .contacts {
        order: 3;
        flex-basis: 100%;
        margin-top: 1rem;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .footer .left .contacts .contact {
        flex: 1;
        min-width: calc(50% - 4px);
        gap: 6px;
    }
    
    .footer .left .contacts .contact .icon {
        width: 25px;
        height: 25px;
        padding: 3px;
    }
    
    .footer .left .contacts .contact .icon i {
        font-size: 1rem;
    }
    
    .footer .left .contacts .contact .text a {
        font-size: 0.8rem;
    }
    
    .footer .menuList {
        width: 100%;
        padding: 1.5rem;
        gap: 2rem;
        padding-left: 1.5rem;
        padding-bottom: 3rem;
        background: var(--card-bg);
        border-radius: 0 0 10px 10px;
        min-height: 200px;
    }
    
    .footer .bg {
        width: 100%;
        opacity: 0.3;
    }
    
    .footer .socialMenu {
        top: 15px;
        right: 15px;
        left: unset;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: auto;
    }
    
    .footer .socialMenu .social {
        width: 28px;
        height: 28px;
    }
    
    .footer .socialMenu .social i {
        font-size: 1rem;
    }
    
    .footer .menuList .developerLink {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-top: 0;
        white-space: normal;
        width: auto;
        min-width: 280px;
        max-width: 90%;
        text-align: center;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .footer {
        min-height: 450px;
    }
    
    .footer .left {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer .left .logo {
        height: 45px;
        order: 1;
        align-self: center;
    }
    
    .footer .left .logoSub {
        margin-left: 0;
        margin-top: 0.5rem;
        order: 2;
        text-align: center;
        width: 100%;
    }
    
    .footer .left .logoSub h3 {
        font-size: 1.4rem;
    }
    
    .footer .left .logoSub p {
        font-size: 0.8rem;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer .left .contacts {
        order: 3;
        flex-direction: column;
        gap: 6px;
        margin-top: 1rem;
        width: 100%;
    }
    
    .footer .left .contacts .contact {
        min-width: 100%;
        justify-content: flex-start;
        padding: 0.3rem 0;
    }
    
    .footer .menuList {
        padding: 1rem;
        padding-bottom: 3.5rem;
        padding-top: 2rem;
        gap: 1.5rem;
        flex-direction: column;
        min-height: 180px;
    }
    
    .footer .menuList .menuItem {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    
    .footer .menuList .menuItem .menuTitle {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        width: 100%;
    }
    
    .footer .menuList .menuItem .menuItems {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }
    
    .footer .menuList .menuItem .menuItems a {
        font-size: 0.8rem;
        padding: 0.1rem 0;
        margin-right: 1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .footer .menuList .menuItem .menuItems a:hover {
        color: var(--primary-color);
    }
    
    .footer .socialMenu {
        top: 10px;
        right: 10px;
        left: unset;
        gap: 6px;
        flex-direction: column;
    }
    
    .footer .socialMenu .social {
        width: 26px;
        height: 26px;
        padding: 4px;
    }
    
    .footer .menuList .developerLink {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        padding: 5px 10px;
        margin-top: 0;
        text-align: center;
        width: max-content;
        min-width: 260px;
        max-width: 95%;
        align-self: unset;
        white-space: normal;
        line-height: 1.3;
        overflow: visible;
        text-overflow: unset;
    }

    .footer .menuList .developerLink i {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .footer .menuList .developerLink span {
        display: block;
        margin-top: 2px;
    }
}

@media (max-width: 350px) {
    .footer {
        min-height: 400px;
    }
    
    .footer .left {
        padding: 0.8rem;
    }
    
    .footer .left .logo {
        height: 40px;
    }
    
    .footer .left .logoSub h3 {
        font-size: 1.2rem;
    }
    
    .footer .left .logoSub p {
        font-size: 0.75rem;
        max-width: 250px;
        line-height: 1.2;
    }
    
    .footer .left .contacts .contact .icon {
        width: 22px;
        height: 22px;
        padding: 2px;
    }
    
    .footer .left .contacts .contact .icon i {
        font-size: 0.9rem;
    }
    
    .footer .left .contacts .contact .text a {
        font-size: 0.75rem;
    }
    
    .footer .menuList {
        padding: 0.8rem;
        padding-bottom: 2.5rem;
        padding-top: 1.5rem;
        gap: 1rem;
        min-height: 150px;
    }
    
    .footer .menuList .menuItem .menuTitle {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .footer .menuList .menuItem .menuItems a {
        font-size: 0.75rem;
        margin-right: 0.8rem;
    }
    
    .footer .socialMenu {
        top: 8px;
        right: 8px;
        left: unset;
        gap: 4px;
        flex-direction: column;
    }
    
    .footer .socialMenu .social {
        width: 24px;
        height: 24px;
        padding: 3px;
    }
    
    .footer .socialMenu .social i {
        font-size: 0.9rem;
    }
    
    .footer .menuList .developerLink {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.65rem;
        padding: 4px 8px;
        margin-top: 0;
        white-space: normal;
        min-width: 240px;
        max-width: 98%;
        text-align: center;
        line-height: 1.2;
        overflow: visible;
        text-overflow: unset;
    }
    
    .footer .menuList .developerLink i {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
}


