footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    background: #ffffff;
}

.CTA {
    width: 100%;
    height: auto;
    position: relative;
    opacity: 0.9;
    padding: 6.4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 50%, #f5f9ff 100%);
    border-top: 0.1rem solid rgba(2, 123, 255, 0.08);
}

.CTA h1 {
    z-index: 44;
    font-size: 4.8rem;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    color: #101828;
}

.CTA p {
    z-index: 44;
    font-size: 2.4rem;
    font-weight: 500;
    color: #475467;
}

.experience.bottom {
    cursor: pointer;
    z-index: 3;
    width: 25.2rem;
    height: 5.6rem;
    border-radius: 1.2rem;
    background-color: #375DFA;
    border: 0.1rem solid #FFFFFF;
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 0 0.3rem 0.1rem rgba(255, 255, 255, 0.4);
}

.experience:hover.bottom {
    background-color: #1744fa;
}

.experience.bottom {
    left: 0;
}

.main-footer {
    width: 124.8rem;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
}

.logo-footer {
    width: 14rem;
    height: 4.8rem;
}

.logo-footer img {
    width: 7rem;
    margin-left: -1.5rem;
}

.logo-footer h1 {
    font-size: 2.4rem;
    color: #101828;
}

.left-main-footer {
    width: 32rem;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    font-weight: 500;
    line-height: 2.4rem;
}

.left-main-footer p {
    font-size: 1.6rem;
    color: #475467;
}

.footer-download-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

.box-download {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.download-caption {
    font-size: 1.35rem;
    color: #344054;
    margin: 0;
    line-height: 1.5;
    font-weight: 600;
}

.secondary-webapp-note {
    font-size: 1.3rem;
    color: #667085;
    margin: 0;
    line-height: 1.6;
    max-width: 32rem;
}

.secondary-webapp-note b {
    color: #344054;
}

.secondary-webapp-note a {
    color: #0055CC;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-webapp-note a:hover {
    text-decoration: underline;
}

.right-main-footer {
    width: 86.4rem;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    gap: 2rem
}

.right-main-footer>div>a:hover p {
    color: #027BFF;
}


.right-main-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.right-main-footer a:hover {
    color: #027BFF;
}

.right-main-footer p {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    color: #475467;
}

.right-main-footer h2 {
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
    color: #101828;
}

.right-main-footer div:nth-child(1),
.right-main-footer div:nth-child(2),
.right-main-footer div:nth-child(3),
.right-main-footer div:nth-child(4) {
    width: 19.2rem;
    height: 100%;
}

.right-main-footer div:nth-child(5) {
    width: 100%;
    height: 5.6rem;
}

.right-main-footer div:nth-child(5) h2 {
    margin: 0;
    margin-bottom: 0.5rem;
}

.main-bottom-footer {
    width: 124.8rem;
    height: 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475467;
    margin: 0 auto;
}

.bottom-footer {
    width: 100%;
    background-color: #F9FAFB;
    border-top: 0.1rem solid #EAECF0;
}

.main-bottom-footer p {
    color: #595959;
}

.icon-Social {
    width: 12rem;
    height: 2.4rem;
    font-size: 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-Social a,
.icon-Social span {
    width: 2.5rem;
    height: 2.5rem;
    color: #475467;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-Social a:hover {
    color: #027BFF;
}

.icon-Social svg {
    width: 2.4rem;
    height: 2.4rem;
}

.hyphen svg {
    width: 4rem;
    height: 2rem;
}

.hyphen {
    display: inline;
}

.box-download {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

body.is-mobile .download-caption,
body.is-tablet .download-caption,
body.is-mobile .box-download,
body.is-tablet .box-download,
body.is-mobile .secondary-webapp-note,
body.is-tablet .secondary-webapp-note {
    display: none !important;
}

.downMacOs,
.downWin {
    display: block;
    width: 15rem;
    height: 5.6rem;
    font-size: 1.8rem;
    border-radius: 1rem;
    border: none;
    color: rgb(0, 0, 0);
    background-color: white;
    display: flex;
    width: 15rem;
    height: 4.8rem;
    font-size: 1.5rem;
    border-radius: 0.8rem;
    border: 0.1rem solid #D0D5DD;
    color: #344054;
    background-color: white;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transition: all 0.35s ease-in-out;
}

.downWin svg {
    width: 2.5rem;
}

.downMacOs:hover,
.downWin:hover {
    background-color: #027BFF;
    color: #FFFFFF;
    border-color: #027BFF;
}

.downMacOs:hover svg {
    color: #FFFFFF;
}

.downMacOs svg {
    color: #101828;
    width: 3rem;
}


/* Floating buttons wrapper */
.floating-buttons-wrap {
    position: fixed;
    z-index: 997;
    right: 2rem;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.icon-phone-call {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #12B76A, #039855);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0.4rem 1.6rem rgba(18, 183, 106, 0.35);
    transition: all 0.3s ease;
    animation: phoneRing 2s ease-in-out infinite;
}

.icon-phone-call:hover {
    transform: scale(1.08);
    box-shadow: 0 0.4rem 2rem rgba(18, 183, 106, 0.5);
}

.icon-phone-call i {
    font-size: 1.8rem;
    color: #fff;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(-8deg); }
    10% { transform: rotate(8deg); }
    15% { transform: rotate(-6deg); }
    20% { transform: rotate(6deg); }
    25% { transform: rotate(0deg); }
}

/* Phone popup */
.phone-popup {
    position: absolute;
    right: calc(100% + 1rem);
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.phone-popup.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.phone-popup-inner {
    background: #fff;
    border-radius: 1rem;
    padding: 0.8rem 1.4rem;
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.12);
    border: 0.1rem solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.phone-popup-inner::after {
    content: "";
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-right: 0.1rem solid #e2e8f0;
    border-top: 0.1rem solid #e2e8f0;
}

.phone-popup-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phone-popup-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #12B76A;
    text-decoration: none;
    transition: color 0.2s;
}

.phone-popup-number:hover {
    color: #039855;
}

.icon-zalo-chat {
    width: 6rem;
    height: 6rem;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 50%;
    isolation: isolate;
    overflow: visible;
    position: relative;
}

.icon-zalo-chat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.icon-zalo-chat::before,
.icon-zalo-chat::after {
    content: "";
    position: absolute;
    inset: -0.6rem;
    border: 0.2rem solid rgba(2, 123, 255, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: zaloChatWave 2.2s ease-out infinite;
}

.icon-zalo-chat::after {
    animation: zaloChatWave 2.2s ease-out infinite 1.1s;
}

@keyframes pulseScaleIconZalo {
    0% {
        transform: scale(1) rotate(0deg);
    }

    40% {
        transform: scale(1.1) rotate(10deg);
    }

    50% {
        transform: scale(1.1) rotate(-10deg);
    }

    60% {
        transform: scale(1.1) rotate(10deg);
    }

    70% {
        transform: scale(1.1) rotate(-10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.icon-zalo-chat img {
    width: 100%;
    display: block;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    animation: zaloChatFloat 1.5s ease-in-out infinite;
}

@keyframes zaloChatWave {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }

    70% {
        opacity: 0.2;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

@keyframes zaloChatFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (width<=768px) {
    .footer-download-container {
        animation: pulseScale 1s ease-in-out infinite;
    }

    @media (max-width: 768px) {
        .box-download {
            display: none;
        }

        .downMacOs,
        .downWin {
            display: none;
        }

        footer {
            height: auto;
        }

        .CTA {
            min-height: 29.6rem;
            height: auto;
            padding: 4.8rem 2rem;
        }

        .CTA h1 {
            display: block;
            width: 100%;
            height: auto;
            text-align: center;
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.4;
            padding: 0;
        }

        .CTA p {
            font-size: 1.6rem;
            text-align: center;
            padding: 0;
        }

        .hyphen svg {
            display: none;
        }

        .experience.bottom {
            width: 100%;
            max-width: 28rem;
            height: 5.2rem;
            border-radius: 1.2rem;
            font-size: 1.5rem;
            font-weight: 600;
            padding: 0 2rem;
            white-space: nowrap;
        }

        .main-footer {
            width: 100%;
            height: auto;
            flex-direction: column;
            padding: 4.8rem 2rem;
            gap: 4rem;
        }

        .left-main-footer {
            width: 100%;
            height: auto;
        }

        .right-main-footer {
            width: 100%;
            height: auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3.2rem 2rem;
            margin-top: 0;
        }

        .right-main-footer div:nth-child(1),
        .right-main-footer div:nth-child(2),
        .right-main-footer div:nth-child(3),
        .right-main-footer div:nth-child(4) {
            width: 100%;
            height: auto;
        }

        .right-main-footer p {
            margin-bottom: 1.2rem;
            font-size: 1.4rem;
        }

        .right-main-footer h2 {
            font-size: 1.6rem;
            margin-bottom: 1.6rem;
        }

        .main-bottom-footer {
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: row;
            align-items: center;
            padding: 3.2rem 2rem;
            gap: 2.4rem;
            text-align: center;
        }

        .main-bottom-footer p {
            font-size: 1.4rem;
            order: 2;
        }

        .icon-Social {
            order: 1;
        }

        .logo-footer {
            width: auto;
            height: auto;
        }

        .logo-footer .logo {
            justify-content: flex-start;
        }

        .floating-buttons-wrap {
            right: 1.6rem;
            bottom: 2rem;
            gap: 1rem;
        }

        .icon-phone-call {
            width: 4.4rem;
            height: 4.4rem;
        }

        .icon-phone-call i {
            font-size: 1.5rem;
        }

        .icon-zalo-chat {
            width: 5.2rem;
            height: 5.2rem;
        }

        .icon-zalo-chat img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
}