* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url(../font/SVN-Gilroy-SemiBold.otf) format('opentype');
    font-weight: 700;
    font-style: normal;
}
html body {
    font-family: 'SVN-Gilroy', sans-serif;
}
.container {
    width: 100%;
    max-width: auto;
}
.nav-item {
    padding-left: 30px;
    /* padding-right: 30px; */
}
.nav-link.active {
    color: #269AF2 !important;
}

.black {
    color: #333333;
}
.black-2{
    color: #000000;
}
.bg-grey {
    background-color: #F3F3F3;
}
.bg-grey-3 {
    background: #F4F4F4;
}
.orange {
    color: #FE7814;
}
.white {
    color: #ffffff;
}
.grey {
    color: #707C8E;
}
.grey-4{
    color: #B9B9B9
;}
.grey-3 {
    color:#F4F4F4
}
.blue {
    color : #269AF2;
}
.font-snv {
    font-family: 'SVN-Gilroy', sans-serif;
}
.font-10 {
    font-size: 10px;
}
.font-12 {
    font-size: 12px;
}
.font-14 {
    font-size: 14px;
}
.font-16 {
    font-size: 16px;
}
.font-18 {
    font-size: 18px;
}
.font-20 {
    font-size: 20px;
}
.font-22 {
    font-size: 22px;
}
.font-24 {
    font-size: 24px;
}
.font-30 {
    font-size: 30px;
}

.font-32 {
    font-size: 32px;
}
.font-40 {
    font-size: 40px;
}
.font-48 {
    font-size: 48px;
}
.font-50 {
    font-size: 50px;
}
.font-55 {
    font-size: 55px;
}
.font-65 {
    font-size: 65px;
}
.font-400 {
    font-weight: 400;
} 
.font-500 {
    font-weight: 500;
} 
.font-600 {
    font-weight: 600;
} 
.font-700 {
    font-weight: 700;
} 
.letter-0 {
    letter-spacing: 0%;
}
.line-18 {
    line-height: 18px;
}
.line-20 {
    line-height: 20px;
}
.line-22 {
    line-height: 22px;
}
.line-25 {
    line-height: 25px;
}
.line-30 {
    line-height: 30px;
}
.line-40 {
    line-height: 40px;
}
.line-50 {
    line-height: 50px;
}
.line-55 {
    line-height: 55px;
}
.line-60 {
    line-height: 60px;
}
.line-65 {
    line-height: 65px;
}
.line-100 {
    line-height: 100px;
}
.border-blue {
    border: 1px solid #269AF2;
}
.border-bottom-grey {
    border-bottom: 1px #686E72 solid;
}
.border-bottom-orange {
    border-bottom: 1px solid #FE7814;
}
.bg-blue {
    background: #269AF2
}
.bg-grey-2 {
    background: #EAF6FF;
}

.padding-left-right-100 {
    padding-left: 100px;
    padding-right: 100px;
}
.w-100 {
    width: 100%;
}
.w-90 {
    width: 90%;
}
.w-85 {
    width: 85%;
}
.w-50 {
    width: 50%;
}
.w-45 {
    width: 45%;
}
.h-100 {
    height: 100%;
}
.btn-filter {
    border: 1px solid #D8EEFF;
    border-radius: 30px;
}
.active-filter {
    background-color: #D8EEFF;
}
/* Trang About: luôn nạp qua main.css để deploy không phụ thuộc abount.css */
.about-body-text {
    text-align: justify;
    text-justify: inter-word;
}

/* Header cố định khi scroll trên mọi trang */
.site-header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header-nav.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* Phần bù chiều cao header cố định – set tự động qua JS bằng biến CSS */
body {
    padding-top: var(--site-header-height, 0px);
}

.nav-link {
    font-family: 'SVN-Gilroy', sans-serif;
    font-size: 18px;                   
    font-weight: 500;    
    line-height: 1;              
    letter-spacing: 0;                  
    
    padding-left: 20px ;
    padding-right: 20px;
    
    color: #ffffff; 
    transition: color 0.3s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

.site-header-nav .nav-link:hover {
    color: #269AF2 !important;
    transform: translateY(-4px);
    text-shadow: 0 10px 22px rgba(38, 154, 242, 0.45);
}

/* Áp dụng cho cả cụm bên phải */
.navbar-right-group {
    font-family: 'SVN-Gilroy', sans-serif;
    font-size: 16px; 
    font-weight: 500;        
    line-height: 22px;     
    letter-spacing: 0;
}

/* Offcanvas menu mobile */
/* Offcanvas mobile menu – C22 */
#mainMenuOffcanvas {
    max-width: 320px;
    border-radius: 0 24px 24px 0;
    border: none;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
    background-color: #ffffff;
}

#mainMenuOffcanvas .offcanvas-header {
    padding: 1.25rem 1.5rem 0.5rem;
}

#mainMenuOffcanvas .offcanvas-title {
    font-family: 'SVN-Gilroy', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

#mainMenuOffcanvas .offcanvas-body {
    padding: 0.75rem 1.5rem 1.5rem;
    gap: 0.35rem;
}

#mainMenuOffcanvas .nav-link {
    font-family: 'SVN-Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    padding: 0.55rem 0;
    border-bottom: none;
    text-transform: none;
}

#mainMenuOffcanvas .nav-link:hover {
    color: #FE7814;
}

#mainMenuOffcanvas .nav-link:first-child {
    margin-top: 0.25rem;
}

#mainMenuOffcanvas .nav-link:last-child {
    border-bottom: none;
}

#mainMenuOffcanvas hr {
    display: none;
}


.navbar-right-group .login-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-right-group .btn-download {
    background-color: #00B2FF;
    color: white;
    border: none;
    padding: 8px 20px;     
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-right-group .btn-download:hover {
    background-color: #008ecc;
    color: white;
}

.img-banner-main {
    width: 100%;
    height: auto;
    display: block;
}

.main-footer {
    background-color: #1a222d;
    color: #ffffff;
    font-size: 14px;
    padding: 60px;
}

.footer-cta-text {
    font-weight: 400;
    font-size: 24px;
}

.btn-consult {
    background-color: #007bff;
    color: white;
    border-radius: 8px;
    padding: 10px 24px;
    border: none;
    font-weight: 500;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
    opacity: 1;
}

.footer-title {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'SVN-Gilroy', sans-serif;
}

.footer-contact-info p {
    margin-bottom: 8px;
    color: #adb5bd;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #adb5bd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #ffffff;
}

.main-footer.c22-footer-ready .footer-top,
.main-footer.c22-footer-ready .footer-divider,
.main-footer.c22-footer-ready .row,
.main-footer.c22-footer-ready .footer-legal-box {
    opacity: 1;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, filter 0.3s ease;
    will-change: opacity, transform;
}

.main-footer.c22-footer-ready .footer-top.c22-footer-visible,
.main-footer.c22-footer-ready .footer-divider.c22-footer-visible,
.main-footer.c22-footer-ready .row.c22-footer-visible,
.main-footer.c22-footer-ready .footer-legal-box.c22-footer-visible {
    opacity: 1;
    transform: translateY(0);
}

.main-footer .btn-consult,
.main-footer .footer-links li a,
.main-footer .download-apps img,
.main-footer .social-icons i,
.main-footer .footer-logo img,
.main-footer .dmca img,
.main-footer .footer-legal-box {
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.main-footer .btn-consult:hover,
.main-footer .download-apps a:hover img,
.main-footer .social-icons a:hover i,
.main-footer .footer-logo img:hover,
.main-footer .dmca img:hover {
    transform: translateY(-6px) scale(1.04);
    filter: drop-shadow(0 16px 24px rgba(38, 154, 242, 0.24));
}

.main-footer .footer-links li a:hover {
    display: inline-block;
    transform: translateX(6px);
    color: #ffffff;
}

.main-footer .footer-legal-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.footer-legal-box {
    background-color: #2C374A;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.legal-highlight {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.legal-text {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 13px;
    margin-bottom: 0;
}

/* Icons & Bottom */
.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    opacity: 0.82;
    text-decoration: none;
}

.social-icons i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: #adb5bd;
    font-size: 24px;
    line-height: 1;
}

.social-icons a:hover {
    opacity: 1;
}

.download-apps img,
.dmca img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    image-rendering: auto;
    backface-visibility: hidden;
}

.copyright {
    color: #ffffff;
    font-size: 16px;
}
.c22-floating-contact {
    position: fixed;
    left: 20px;
    bottom: 50px;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

@keyframes c22FloatingShake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    20% {
        transform: translateX(-2px) rotate(-5deg);
    }
    40% {
        transform: translateX(2px) rotate(5deg);
    }
    60% {
        transform: translateX(-1px) rotate(-3deg);
    }
    80% {
        transform: translateX(1px) rotate(3deg);
    }
}

.c22-floating-contact__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
    transform-origin: bottom center;
}

.c22-floating-contact__link,
.c22-floating-contact__toggle {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(55, 98, 180, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.c22-floating-contact__link i,
.c22-floating-contact__toggle i {
    font-size: 24px;
    line-height: 1;
}

.c22-floating-contact__link--phone i,
.c22-floating-contact__link--messenger i {
    animation: c22FloatingShake 1.8s ease-in-out infinite;
    transform-origin: center;
}

.c22-floating-contact__link--messenger i {
    animation-delay: 0.2s;
}

.c22-floating-contact__link--phone {
    background: linear-gradient(180deg, #2ef084 0%, #13c96a 100%);
}

.c22-floating-contact__link--messenger {
    background: linear-gradient(180deg, #35a8ff 0%, #1371ff 100%);
}

.c22-floating-contact__toggle {
    background: linear-gradient(180deg, #d197ea 0%, #ab80e0 100%);
    cursor: pointer;
    position: relative;
}

.c22-floating-contact__toggle-icon {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.c22-floating-contact__toggle-icon--open {
    opacity: 0;
    transform: scale(0.7);
}

.c22-floating-contact.is-collapsed .c22-floating-contact__actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.9);
    max-height: 0;
    overflow: hidden;
}

.c22-floating-contact.is-collapsed .c22-floating-contact__toggle-icon--close {
    opacity: 0;
    transform: scale(0.7);
}

.c22-floating-contact.is-collapsed .c22-floating-contact__toggle-icon--open {
    opacity: 1;
    transform: scale(1);
}

.c22-floating-contact__link:hover,
.c22-floating-contact__toggle:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 20px 36px rgba(30, 58, 138, 0.24);
    filter: saturate(1.06);
}

.c22-floating-contact__link:hover i,
.c22-floating-contact__toggle:hover i {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .c22-floating-contact__link--phone i,
    .c22-floating-contact__link--messenger i {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .padding-left-right-100 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .w-45,
    .w-50 {
        width: 100%;
    }

    .line-100 {
        line-height: 1.4;
    }

    .font-65 {
        font-size: 36px;
    }

    .font-55 {
        font-size: 32px;
    }

    .font-40 {
        font-size: 24px;
    }

    .font-48 {
        font-size: 32px;
    }

    .line-65 {
        line-height: 1.25;
    }

    .line-60 {
        line-height: 1.3;
    }

    .line-50 {
        line-height: 1.3;
    }

    .main-footer {
        padding: 24px 16px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-cta-text {
        font-size: 20px;
    }

    .footer-top,
    .footer-bottom {
        gap: 12px;
    }

    .social-icons a {
        margin: 0 6px;
    }
    .c22-floating-contact {
        left: 14px;
        bottom: 96px;
        gap: 12px;
    }

    .c22-floating-contact__actions {
        gap: 12px;
    }

    .c22-floating-contact__link,
    .c22-floating-contact__toggle {
        width: 52px;
        height: 52px;
    }

    .c22-floating-contact__link i,
    .c22-floating-contact__toggle i {
        font-size: 21px;
    }
}

/* Livewire full-page: cần 1 root DOM.
   Trước đây dùng display:contents để "không ảnh hưởng layout", nhưng có thể gây lỗi responsive trên mobile.
   Giữ display:block để đảm bảo layout ổn định. */
.lw-page-root {
    display: block;
    width: 100%;
}
