:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
}

.footer {
    background-color: #046AFD;
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
    font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
}

.footer .row {
    display: flex;
    align-items: stretch;
}

.footer-col-left {
    display: flex;
    flex-direction: column;
}

.footer-col-middle {
    display: flex;
    flex-direction: column;
}

.footer-col-left .footer-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-col-right-inner {
    width: 100%;
}

.footer-logo-img {
    width: 80%;
    height: auto;
}

@media screen and (max-width:768px) {
    .footer-logo-img {
        width: 55%;
    }
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.footer-list li a:hover {
    color: #ccc;
    text-decoration: underline;
}

.footer-title-contact {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    padding-top: 12px;
    line-height: 1;
}

.company-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-text {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-person {
    margin-top: 3rem;
}

.contact-person-t {
    margin-top: 3.6rem;
}

.person-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.qrcode-section {
    margin-bottom: 3rem;
}

.qrcode-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.qrcode-img {
    width: 156px;
    height: 156px;
    background-color: white;
    border-radius: 8px;
    padding: 5px;
    object-fit: contain;
}

.footer-title-qr {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

.social-section {
    margin-top: 6rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.social-link {
    color: white;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #ccc;
    transform: translateY(-2px);
}

.footer-title-social {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

.floating-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-toolbar.show {
    opacity: 1;
    visibility: visible;
}

.toolbar-item {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toolbar-item:hover {
    background-color: #0066FF;
    transform: translateX(-5px);
}

.toolbar-wechat {
    position: relative;
}

.wechat-qrcode {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

.toolbar-wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
}

.wechat-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-bottom-navbar {
    display: none;
}

@media (max-width: 992px) {
    .floating-toolbar {
        display: none !important;
    }

    .footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer .row {
        align-items: flex-start;
    }

    .qrcode-wrapper {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-bottom: 80px;
    }

    .mobile-bottom-navbar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #046AFD;
        padding: 0.5rem 0;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        flex: 1;
        min-height: 60px;
        transition: opacity 0.3s ease;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item:active {
        opacity: 0.8;
    }

    .mobile-nav-item i {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .mobile-nav-item span {
        font-size: 0.7rem;
        font-weight: 500;
    }

    .social-section {
        margin-top: 1rem;
    }
}