/* ========================================
   GLK Medical - Footer Elegant Corporate
   Premium, Sophisticated Design
   Variables inherited from style.css
   ======================================== */

/* Footer Main */
footer.site-footer {
    background: var(--dark);
    color: var(--white);
    font-size: 14px;
    position: relative;
}

footer.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.footer-main {
    padding: 80px 0 48px;
}

.footer-widget {
    margin-bottom: 32px;
}

.footer-widget h4 {
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 28px;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 14px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 2px;
    background: rgba(255,255,255,0.25);
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 24px;
}

.company-info p {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    margin-bottom: 10px;
    line-height: 1.75;
}

.company-info p strong {
    color: var(--primary);
    font-weight: 500;
}

/* Social Links - Elegant Square */
.social-links {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    gap: 10px;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: var(--white);
    font-size: 15px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.social-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    transform: scale(0);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links li a i {
    position: relative;
    z-index: 1;
}

.social-links li a:hover {
    border-color: var(--primary);
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 8px 20px rgba(244, 176, 46, 0.3);
}

.social-links li a:hover::before {
    transform: scale(1);
}

.social-links li a:hover i {
    color: var(--dark);
}

/* Footer Menu - Corporate */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 14px;
    position: relative;
}

.footer-menu li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.footer-menu li a::before {
    content: "▸";
    margin-right: 12px;
    color: var(--primary);
    font-size: 10px;
    transition: all 0.25s ease;
}

.footer-menu li a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-menu li a:hover::before {
    margin-right: 8px;
}

/* Facebook Widget */
.fb-page-wrapper {
    background: var(--white);
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.gov-logo {
    max-width: 160px;
    margin-top: 16px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.gov-logo:hover {
    opacity: 1;
}

/* Footer Copyright */
.footer-copyright {
    background: rgba(0,0,0,0.35);
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copyright p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-copyright a {
    color: var(--primary);
    font-weight: 500;
    transition: all 0.25s ease;
}

.footer-copyright a:hover {
    color: var(--white);
}

/* Fixed Buttons - Premium Square */
.fixed-buttons {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.7cm;
}

.facebook-btn,
.zalo-btn,
.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.facebook-btn::before,
.zalo-btn::before,
.phone-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.facebook-btn {
    background: #1877f2;
    color: var(--white);
    animation: pulse-facebook 1.2s ease-out infinite;
}

@keyframes pulse-facebook {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.9);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(24, 119, 242, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
    }
}

.facebook-btn i {
    font-size: 24px;
}

.zalo-btn {
    background: #0068ff;
    color: var(--white);
    animation: pulse-zalo 1.2s ease-out infinite;
    animation-delay: 0.2s;
}

@keyframes pulse-zalo {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.9);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 104, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
    }
}

.phone-btn {
    background: #25d366;
    color: var(--white);
    animation: pulse-phone 1.2s ease-out infinite;
    animation-delay: 0.4s;
}

@keyframes pulse-phone {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.9);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.facebook-btn:hover,
.zalo-btn:hover,
.phone-btn:hover {
    transform: translateY(-8px) scale(1.1);
}

.facebook-btn:hover::before,
.zalo-btn:hover::before,
.phone-btn:hover::before {
    opacity: 0.4;
    transform: scale(1.1);
}

.facebook-btn:active,
.zalo-btn:active,
.phone-btn:active {
    transform: translateY(-3px) scale(1.05);
}

.zalo-btn img,
.phone-btn img {
    width: 26px;
    height: 26px;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-widget h4 {
        margin-bottom: 22px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 52px 0 36px;
    }

    .footer-widget h4 {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }

    .social-links li a {
        width: 40px;
        height: 40px;
    }

    .fixed-buttons {
        bottom: 24px;
        left: 24px;
    }

    .zalo-btn,
    .phone-btn {
        width: 48px;
        height: 48px;
    }

    .zalo-btn img,
    .phone-btn img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 575px) {
    footer.site-footer::before {
        height: 3px;
    }

    .footer-main {
        padding: 44px 0 30px;
    }

    .footer-widget h4 {
        font-size: 0.8125rem;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .footer-widget h4::after {
        width: 36px;
    }

    .footer-menu li a {
        font-size: 0.875rem;
    }

    .company-info p {
        font-size: 0.8125rem;
    }

    .social-links {
        gap: 8px;
        margin-top: 22px;
    }

    .social-links li a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .footer-copyright {
        padding: 18px 0;
    }

    .footer-copyright p {
        font-size: 0.8125rem;
    }

    .fixed-buttons {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }

    .zalo-btn,
    .phone-btn {
        width: 46px;
        height: 46px;
    }

    .zalo-btn::before,
    .phone-btn::before {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
    }

    .zalo-btn img,
    .phone-btn img {
        width: 22px;
        height: 22px;
    }
}
