#ft{
    background: #020403;
    padding: 20px 0 40px;
}
#ft .container{
    max-width: 1596px;
    width: 84%;
    margin: 0 auto;
}

/* Footer Top */
.ft_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 28px;
}

.ft_top_r{
    display: flex;
    gap: 24px;
}


.ft_nav{
    display: flex;
    gap: 8px;
}

.ft_nav a{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s;
    position: relative;
}

.ft_nav a:hover{
    opacity: 0.7;
}
.ft_nav span{
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
}

.ft_nav span:not(:last-child)::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 1px;
    height: 12px;
    background: #ADB6BD;
}

.ft_sns{
    display: flex;
    gap: 12px;
    align-items: center;
}

.ft_sns .sns_link{
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.ft_sns .sns_link:hover{
    opacity: 0.7;
}

.ft_sns .sns_link img{
    width: 24px;
    height: 24px;
}

.ft_family{
    position: relative;
    width: 220px;
}

.ft_family .family_btn{
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.3s;
    max-width: 220px;
    width: 100%;
}

.ft_family .family_btn:hover{
    background: #808080;
}

.ft_family .family_btn.active img{
    transform: rotate(180deg);
}

.ft_family .family_btn img{
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.ft_family .family_dropdown{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #2E2E2E;
    border: 1px solid #fff;
    border-bottom: none;
    display: none;
    flex-direction: column;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
}

.ft_family .family_dropdown.active{
    display: flex;
}

.ft_family .family_dropdown .family_link{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
    white-space: nowrap;
}

.ft_family .family_dropdown .family_link:hover{
    background: #3E3E3E;
}

/* Footer Bottom */
.ft_bottom{
    display: flex;
    justify-content: space-between;
}

.ft_info_wrap{
    flex: 1;
}

.ft_logo {
    display: block;
    margin-right: 40px;
}
.ft_logo img{
    height: 67px;
}

.ft_info .info_text{
    font-weight: 500;
    color: #ADB6BD;
    font-size: 14px;
    margin-bottom: 4px;
}

.ft_info .info_text .bar{
    margin: 0 10px;
}

.ft_info .copyright{
    color: #ADB6BD;
    font-size: 14px;
    font-weight: 500;
}

.ft_links{
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.ft_links a{
    color: #ADB6BD;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;

    word-break: keep-all;
}

.ft_links a:hover{
    font-weight: 800;
    color: #F4F5F7;
}
.ft_links span{
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
}

.ft_links span:not(:last-child)::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 1px;
    height: 12px;
    background: #ADB6BD;
}

.ft_certifications{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cert_badge{
  display:block;
}
.ft_certifications .cert_badge img{
    height: 60px;
}

@media screen and (max-width: 1596px) {
    #ft .container{
        max-width: 83.125%;
    }
}
@media screen and (max-width: 1440px) {
    .ft_top{
        flex-direction: column;
        gap: 20px;
    }
}
@media screen and (max-width: 900px) {
    #ft .container{
        max-width: calc(100% - 32px);
        width: 100%;
    }
    .ft_bottom{
        flex-direction: column;
    }
    .ft_logo{
        /* width: 29.866%; */
        width: 112px;
        margin-bottom: 40px;
    }
    .ft_nav{
        flex-wrap: wrap;
        justify-content:center;
        gap: 2px;
    }
    .ft_family{
        display: none;
    }
    .ft_links{
        flex-wrap: wrap;
        margin-top: 33px;
    }
    .ft_links a{
        margin-top: 0;
    }
    .ft_logo img{
        height: auto;
        width: 100%;
    }
    .ft_certifications{
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-top: 46px;
    }
    .ft_certifications .cert_badge img{
        height: auto;
    }
}
@media screen and (max-width: 580px) {
    .ft_links{
        gap: 0px;
    }
}
