footer {
    background-color: var(--color-2);
}

.footer-top {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .95);
    z-index: 0;
}

.footer-top__row {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    max-width: 200px;
}

.footer-address h2 {
    font-size: 18px;
    color: var(--color-3);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-top ul {
    margin-left: 18px;
}

.footer-top ul li {
    line-height: 26px;
}

.footer-address .social ul li {
    list-style: none;
}

.footer-address .social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.footer-address .social h3 {
    display: flex;
}

.footer-address .social h3 img {
    width: 100px !important;
}

.footer-address .social ul li img {
    width: 30px;
}

.footer-address .social ul {
    display: flex;
    gap: 10px;
}

.footer-address .social ul a {
    display: flex;
}

.footer-content h2 {
    text-transform: uppercase;
    font-size: 18px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.footer-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 65px;
    height: 2px;
    border-radius: 30px;
    background-color: #0d0558;
}

.footer-content.contact {
    margin-top: 30px;
}

.footer-content.contact h2 {
    margin-bottom: 20px;
}

.person-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 50px;
}

.person-contact .item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.person-contact .item img {
    width: 31px;
}

.person-contact .item .sdt {
    color: var(--color-5);
    font-weight: 700;
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.footer-bottom .tag {
    background-color: #eaeaea;
    border-radius: 5px;
    display: block;
    text-align: center;
    padding: 5px;
}

.footer-bottom .tag:hover {
    background-color: var(--color-3);
    color: var(--color-2);
}

.copyright {
    background-color: #eaeaea;
    padding: 10px 0;
}

.copyright .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 40px;
}

.copyright .inner p {
    position: relative;
}

.copyright .inner p:first-child::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -23px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #000;
}

.backtotop {
    cursor: pointer;
    background: #666666;
    bottom: 10px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    height: 40px;
    padding: 2px;
    position: fixed;
    right: 20px;
    text-align: center;
    text-transform: uppercase;
    width: 40px;
    z-index: 3;
    border-radius: 4px;
}

.backtotop svg {
    width: 28px;
    height: 22px;
    margin-bottom: -8px;
}

.backtotop svg path {
    stroke: #fff;
}

#button-contact-vr {
    bottom: 50%;
    margin: -10px;
    transform: scale(0.8) translateY(50%);
    margin-bottom: 0px !important;
    position: fixed;
    z-index: 3;
    right: 26px;
}

#gom-all-in-one {
    display: none;
}

#gom-all-in-one #viber-vr {
    transition: 1.3s all;
    -moz-transition: 1.3s all;
    -webkit-transition: 1.3s all;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility 0.5s;
    left: 0;
    bottom: 0;
    display: block;
}

.phone-vr-circle-fill {
    width: 70px;
    height: 70px;
    top: 6px;
    left: 6px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all 0.5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

#viber-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196f3;
    background-color: rgba(33, 150, 243, 0.7);
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 60px;
    height: 60px;
    line-height: 40px;
    top: 12px;
    left: 12px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

#viber-vr .phone-vr-img-circle {
    background-color: #2196f3;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle svg {
    fill: #ffffff;
    width: 38px;
    height: 44px;
    margin-top: 8px;
}

.phone-vr-img-circle svg path {
    stroke: #fff;
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

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

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

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

.wrap-button-fixed {
    /* position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background: #f5f6fa;
    width: 300px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 40px 10px 20px;
    display: none; */
}

.wrap-button-fixed.active {
    display: block;
}

.wrap-button-fixed .close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    display: none;
}

.wrap-button-fixed .close svg {
    width: 20px;
    height: 20px;
}

.wrap-button-fixed .link .icon {
    line-height: 0;
}

.wrap-button-fixed .link .icon:before {
    position: absolute;
    left: -10%;
    top: -10%;
    width: 120%;
    height: 120%;
    content: "";
    border-radius: 50%;
    background: red;
    animation: pulse-ripple 2s .5s infinite ease-out;
}

.wrap-button-fixed .link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* overflow: hidden; */
    position: relative;
    justify-content: center;
    z-index: 1;
}

@-webkit-keyframes ani-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

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

@keyframes pulse-ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

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

.wrap-button-fixed .link:nth-child(2),
.wrap-button-fixed .link:nth-child(2) .icon:before {
    background: #3390eb;
}

.wrap-button-fixed .link:nth-child(3) {
    background: #2866ff;
}

.wrap-button-fixed .link:nth-child(3) .icon:before {
    background: #2866ff;
}

.wrap-button-fixed .link:nth-child(4) {
    background: #E91E63;
}

.wrap-button-fixed .link:nth-child(4) .icon:before {
    background: #E91E63;
}


.wrap-button-fixed .link img {
    width: 34px;
    height: 34px;
    animation: ani-circle-fill 2s infinite ease-out;
}

.wrap-button-fixed .link .text {
    font-size: 18px;
    display: none;
}

.footer-container {
    /* Header Section */
    /* Main Content */
    /* Partner Websites */
    /* Copyright */
    /* Responsive */
    background: #fff;
}

.footer-container footer {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.footer-container .footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-container .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-container .logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 59px;
}

.footer-container .logo-circle::after {
    content: '';
}

.footer-container .logo-text {
    color: white;
    font-size: 22px;
    font-weight: bold;
    font-style: italic;
}

.footer-container .brand-info h1 {
    font-size: 26px;
    font-weight: bold;
    color: #0d0558;
    margin-bottom: 2px;
}

.footer-container .brand-info p {
    font-size: 14px;
    color: #3b82f6;
}

.footer-container .social-icons {
    display: flex;
    gap: 12px;
}

.footer-container .social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
}

.footer-container .social-icon:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-container .social-icon.zalo {
    /* background: #3b82f6; */
}

.footer-container .social-icon.youtube {
    background: #dc2626;
}

.footer-container .social-icon.tiktok {
    background: #000;
}

.footer-container .social-icon.facebook {
    background: #0d0558;
}

.footer-container .social-icon svg {
    width: 24px;
    height: 24px;
}

.footer-container .footer-content {
    padding: 40px 30px;
}

.footer-container .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-container .footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 20px;
}

.footer-container .footer-column ul {
    list-style: none;
}

.footer-container .footer-column li {
    margin-bottom: 12px;
    list-style: disc;
    margin-left: 17px;
}

.footer-container .footer-column a {
    color: #060606;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-container .footer-column a:hover {
    color: var(--color-2);
}

.footer-container .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-container .contact-item svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-container .contact-item .phone-number {
    color: #0d0558;
    font-weight: 600;
    margin-left: 5px;
}

.footer-container .contact-item a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-container .dmca-badge {
    margin-top: 20px;
}

.footer-container .dmca-badge img {
    height: 64px;
}

.footer-container .partner-section {
    padding: 30px;
    border-top: 1px solid #e5e7eb;
}

.footer-container .partner-section h3 {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 20px;
}

.footer-container .partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.footer-container .partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 40px;
}

.footer-container .partner-link:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-container .partner-link span {
    font-size: 18px;
    font-weight: bold;
}

.footer-container .partner-link .brand {
    color: #0d0558;
}

.footer-container .partner-link .divider {
    color: #9ca3af;
}

.footer-container .partner-link .vn {
    color: #f97316;
}

.footer-container .copyright {
    padding: 10px 30px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.footer-container .copyright p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.footer-container .copyright a {
    color: #0d0558;
    text-decoration: none;
}

.footer-container .copyright a:hover {
    text-decoration: underline;
}

.footer-column.media-footer ul li {
    list-style: none;
    margin-left: 0px;
    display: flex;
    gap: 0px 10px;
}

.footer-column.media-footer ul {
    margin-top: 10px;
}

.footer-column.media-footer ul li img {
    height: 25px !important;
}

.footer-container .social-icons span {
    display: none;
}

.social-icons ul {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icons ul li {
    list-style: none;
}

.footer-header .logo-title h2 {
    color: #0d024c;
    font-size: 24px;
}

.footer-header .logo-title p {
    color: #2e3192;
    font-size: 18px;
}

.doi-tac-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.doi-tac-box .title-separator {
    margin-bottom: 24px;
}

.doi-tac-box-ttl {
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
}

.footer-row {
    gap: 20px 0;
}

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

@media (max-width: 768px) {
    .footer-container .footer-header {
        flex-direction: column;
        text-align: center;
    }

    .footer-container .logo-section {
        flex-direction: column;
    }

    .footer-container .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-container .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container .brand-info h1 {
        font-size: 22px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-container .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container .partner-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {
    .footer-container .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container .partner-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 992px) {

    .footer-container .footer-content {
        padding: 20px 0px;
    }

    .footer-container .footer-header {
        padding: 20px 0px;
    }

    .footer-content {
        margin-top: 15px;
    }

    .doi-tac-slider {
        padding-bottom: 30px;
    }

    .doi-tac-slider .slick-dots {
        bottom: -5px;
    }

    .backtotop {
        bottom: 70px;
        right: 10px;
    }

    .copyright {
        padding-bottom: 55px;
    }

    .copyright .inner p:first-child::before {
        display: none;
    }
    
}

@media (max-width: 768px) {
    .footer-bottom {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content h2 {
        font-size: 14px;
    }

    #button-contact-vr {
        display: none;
    }

    .contact-mobile-bottom {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        background: #3590ce;
        right: 0;
        z-index: 999;
        padding: 6px 15px;
    }

    .contact-mobile-bottom ul {
        margin: 0;
        display: flex;
        list-style: none;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        text-align: center;
        font-size: 12px;
        font-weight: 500;
    }

    .contact-mobile-bottom ul li {
        margin: 0;
    }

    .contact-mobile-bottom a {
        color: #fff;
    }

    .contact-mobile-bottom ul img {
        max-width: 26px;
        margin-bottom: 3px;
    }

    .contact-mobile-bottom span {
        display: block;
    }

    .footer-container .copyright {
        padding-bottom: 70px;
    }
}

@media (max-width: 550px) {
    .person-contact {
        gap: 15px;
        justify-content: space-around;
    }

    .footer-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .person-contact .info h3 {
        text-align: center;
    }

    .copyright .inner p {
        text-align: center;
        font-size: 13px;
    }

    .doi-tac-box-ttl {
        font-size: 24px;
    }
}