.sns-section {
    padding: 80px 20px 120px;
    text-align: center;
    background-color: #000;
}

.sns-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.sns-logo path{
    fill: #fff;
}

.sns-logo svg {
    width: 45px;
    height: auto;
}
.sns-title {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: normal;
}

.sns-links-container {
    display: flex;
    flex-wrap: wrap; /* Cho phép xuống dòng nếu cần */
    justify-content: center;
    gap: 15px; /* Khoảng cách giữa các ô */
    max-width: 600px;
    margin: 0 auto;
}

.sns-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 280px; /* Chiều rộng của mỗi ô */
    padding: 20px 20px;
    border: 1px solid #333; /* Viền mỏng màu xám đậm */
    border-radius: 0; /* Không bo góc */
    transition: background-color 0.2s;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.sns-link-box .abs{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.5s ease;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    color: #000;
    padding-left: 60px;
    font-size: 12px;
    text-align: left;
    display: flex;
    align-items: center;
}

.sns-link-box:hover {
    background-color: #fff;
    color: #000
}

.sns-link-box:hover .fa-chevron-right {
    opacity: 0;
}

.sns-link-box:hover span {
    opacity: 0;
}

.sns-link-box:hover .abs {
    opacity: 1;
    transform: translateY(0);
}


.sns-link-box i:first-child {
    font-size: 1.5em;
    margin-right: 15px; /* Khoảng cách giữa icon và chữ */
}

.sns-link-box i:last-child {
    font-size: 0.8em;
}

.sns-link-box span {
    flex-grow: 1;
    text-align: left;
}


/* ==================================== */
/* CHÂN TRANG (FOOTER) */
/* ==================================== */

.footer {
    background-color: #242424; /* Màu nền tối cho footer */
    padding: 145px 20px 100px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Căn trên các cột */
}

.footer-content .item{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 0;
    width: 100%;
    padding: 0;
}

.footer-content .item li{
    list-style: none;
    padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,1);
}

.footer-content a{
    text-decoration: none;
    font-size: 0.9em;
    color: #ddd;
    transition: all 0.5s ease;
}

.footer-content a:hover{
    opacity: .5;
}

.footer-content .item li:last-child{
    border-right: none;
}

.coppy{
    text-align: center;
    margin: 20px 0 0;
    font-size: 0.7em;
    color: #ddd;
    width: 100%;
}

/* Thiết lập cho logo footer */
.footer-logo-area {
    width: 25%; /* Khoảng 1/4 chiều rộng cho logo */
}

.footer-logo {
    text-align: center;
}
.footer-logo img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    max-width: 70%;
}

.logo-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo-text {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo-subtext {
    font-size: 0.7em;
    color: #aaa;
}


/* Thiết lập cho các cột liên kết */
.footer-links-area {
    width: 75%; /* Khoảng 3/4 chiều rộng cho các liên kết */
    display: flex;
    justify-content: space-between;
    padding-left: 7.5%;
}

.footer-column {
    flex: 1; /* Mỗi cột chiếm phần bằng nhau */
}

.footer-column ul{
    margin: 0;
    padding: 0;
}

.footer-column h4 {
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.footer-column .child{
    padding-left: 15px;
    font-size: 14px;
}

.footer-column li {
    font-size: 0.9em;
    line-height: 2.2; /* Khoảng cách dòng lớn hơn */
    color: #ddd;
    list-style: none;

}

.footer-links-area {
    position: relative;
}

.footer-links-area::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 95%;
    background-color: rgba(255, 255, 255, 1);
}

.nth2{
    display: flex;
    flex-direction: column;
}

/* ==================================== */
/* Responsive cho thiết bị di động (Tùy chọn) */
/* ==================================== */

@media (max-width: 768px) {
    .footer {
        padding: 50px 0px;
    }
    .footer-content {
        flex-direction: column; /* Xếp logo và links chồng lên nhau */
        align-items: center;
        text-align: center;
    }
    .footer-links-area {
        width: 100%;
        padding-left: 0;
    }
    .footer-links-area::before {
        display: none;
    }

    .footer-logo-area {
        width: 100%;
        margin-bottom: 30px;
    }


    .footer-content .item {
        flex-direction: column;
        align-items: center;
        margin: 20px 0 0;
    }

    .footer-content .item li{
        margin-bottom: 10px;
        border-right: none;
    }


    .footer-column {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer-column h4 {
        text-align: center;
    }

    .footer-column ul {
        display: flex; /* Cho phép các mục liệt kê nằm ngang trên mobile */
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-column li {
        margin: 0 10px;
        width: 100%;
    }
}
