.contact-fixed-layer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fixed-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.fixed-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.fixed-btn img {
    width: 35px;
    height: 35px;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.contact-panel {
    display: none;
    width: 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    background: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#closePanel {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.panel-item {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px dashed #eee;
}

.panel-item img {
    width: 28px;
    margin-right: 15px;
}

/* =====================
   FOOTER
===================== */
.footer-contact {
    color: rgba(255, 255, 255, 0.75);
}

.footer-about>img {
    height: 120px;
    width: 120px;
}

/* Mỗi item */
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* Icon */
.contact-item .icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-item .icon img {
    width: 13px;
    height: 13px;
}

/* Text */
.contact-text strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.contact-text p {
    margin: 0;
    line-height: 1.6;
}

.main-footer {
    background-color: #101828;
    color: #ffffff;
    padding: 90px 0 30px;
}

/* GRID */
.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding-bottom: 50px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Logo */
.f-logo {
    height: 60px;
    margin-bottom: 20px;
}

/* Description */
.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 25px;
}

/* Titles */
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

/* List */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: 0.3s;
    cursor: pointer;
}

.footer-col a:hover {
    color: #7e7e7e;
}

.footer-inner>.footer-col:nth-of-type(2)>ul {
    max-height: 300px;
    overflow-y: hidden;
    transition: overflow-y 0.8s ease;
    padding-right: 8px;
}

.footer-inner>.footer-col:nth-of-type(2):hover>ul {
    overflow-y: scroll;
}

.footer-inner>.footer-col:nth-of-type(2)>ul::-webkit-scrollbar {
    width: 6px;
}

.footer-inner>.footer-col:nth-of-type(2)>ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.footer-inner>.footer-col:nth-of-type(2)>ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.footer-inner>.footer-col:nth-of-type(2)>ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* CONTACT */
.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.contact-item img {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

/* SOCIAL */
.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: #3f8274;
}

.social-links img {
    width: 25px;
    height: 25px;
}

/* BOTTOM */
.footer-bottom {
    background: #0f1b2d;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.main-footer {
    background: #0f1b2d;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-mobile {
    display: none !important;
}


@media (max-width: 1024px) {

    /* FOOTER */
    .main-footer {
        padding: 0;
    }

    .footer-inner {
        display: none !important;
    }

    .footer-mobile {
        display: block !important;
        width: 100%;
        background: #0f1b2d;
        padding: 40px 20px;
        color: #ffffff;
    }

    .footer-mobile .footer-about {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-mobile .f-logo {
        width: 90px;
        height: auto;
        margin: 0 auto 15px;
    }

    .footer-mobile .footer-desc {
        font-size: 14px;
        line-height: 1.6;
        opacity: 0.8;
        margin-bottom: 20px;
    }

    .footer-mobile .social-links {
        justify-content: center;
    }

    .footer-accordion {
        margin-top: 20px;
    }

    .footer-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 15px 0;
    }

    .footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        color: #ffffff;
    }

    .footer-content {
        list-style: none;
        padding-top: 10px;
        display: none;
    }

    .footer-content li {
        margin-bottom: 8px;
    }

    .footer-content a {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
    }

    .footer-item.active .footer-content {
        display: block;
    }

    .arrow {
        font-size: 14px;
        transition: 0.3s;
    }

    .footer-item.active .arrow {
        transform: rotate(180deg);
    }

    .footer-accordion h4 {
        margin: 25px 0 15px;
        font-size: 16px;
        font-weight: 600;
    }

    .contact-item {
        display: flex;
        gap: 12px;
        margin-bottom: 18px;
    }

    .contact-item .icon {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-text p {
        margin: 2px 0;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
    }

    .footer-bottom {
        margin-bottom: 8px;
    }

}

@media (max-width: 768px) {
    .contact-fixed-layer {
        right: 20px;
    }

    /* FOOTER */
    .footer-inner {
        display: none !important;
    }

    .footer-mobile {
        display: block !important;
        width: 100%;
        background: #0f1b2d;
        padding: 40px 20px;
        color: #ffffff;
    }

    .footer-mobile .footer-about {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-mobile .f-logo {
        width: 90px;
        height: auto;
        margin: 0 auto 15px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-bottom a {
        font-size: 12px;
    }

    .footer-bottom {
        margin-bottom: 8px;
    }
}
