/*
Theme Name: AP Nexus Digital Pro
Theme URI: https://anphatproduction.com/
Author: An Phat Team
Description: Theme đa năng động dành cho Agency Marketing, VPS và Công nghệ. Tuỳ biến 100% từ Admin.
Version: 2.0
Text Domain: nexus
*/
[x-cloak] { display: none !important; }
.nexusNewsSwiper {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.nexusNewsSwiper .swiper-slide {
    height: auto;
    transform: translate3d(0, 0, 0);
}
.news-card-premium {
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), 
                box-shadow 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}
.nexusNewsSwiper:not(.swiper-transitioning) .news-card-premium:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}
.news-card-premium img {
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1);
}
.news-card-premium:hover img {
    transform: translate3d(0, 0, 0) scale(1.05);
}
.nexus-pagination .page-numbers {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nexus-pagination .current {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}
.nexus-pagination .page-numbers:hover:not(.current) {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}
.cta-pulse {
    animation: pulse-blue 2s infinite;
}
@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
.heroSwiper h2 { text-wrap: balance; }
.nexus-fixed-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: auto;
}
.nexus-moving-content {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    background: #f8f9fb;
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.5);
}
header, nav {
    z-index: 1000 !important;
}
@media (max-width: 1024px) {
    .nexus-fixed-hero {
        position: relative;
        height: auto;
    }
    .nexus-moving-content {
        margin-top: 0;
    }
}
@media (min-width: 1025px) {
    /* Ghim Hero ở nền */
    .nexus-hero-fixed-layer {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1; 
    }
    .nexus-main-content-layer {
        position: relative;
        z-index: 10;
        background-color: #ffffff; 
        box-shadow: 0 -30px 100px rgba(0,0,0,0.3);
    }
}
@media (max-width: 1024px) {
    .nexus-hero-fixed-layer {
        position: relative !important;
        height: auto !important;
        min-height: 600px;
        z-index: 1;
    }
    .nexus-main-content-layer {
        position: relative;
        margin-top: 0 !important;
        z-index: 2;
    }
    .nexus-hero-fixed-layer h2 span {
        font-size: 45px !important;
        line-height: 1.1 !important;
    }
}
html, body {
    overflow-x: hidden;
    background: #ffffff;
}
footer {
    background-color: #ffffff !important;
    position: relative !important;
    z-index: 50 !important; 
    margin-top: -1px;
}
@media (min-width: 1025px) {
    .nexus-main-content-layer {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    footer {
        margin-top: auto;
    }
}
.testi-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.testi-pagination .swiper-pagination-bullet-active {
    width: 30px;
    background: #2563eb;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
body:not(.home) .nexus-hero-fixed-layer {
    display: none !important;
}
body:not(.home) .nexus-main-content-layer {
    margin-top: 0 !important;
}
.nexus-landing-wrapper {
    position: relative;
    z-index: 100;
    min-height: 100vh;
}
body:not(.home) .nexus-hero-fixed-layer { display: none !important; }
body:not(.home) .nexus-main-content-layer { margin-top: 0 !important; }

.nexus-landing-pro-content {
    padding-top: 100px;
    background: white;
    min-height: 100vh;
    position: relative;
    z-index: 100;
}
.testi-pagination-landing .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.testi-pagination-landing .swiper-pagination-bullet-active {
    width: 30px !important;
    background: #2563eb !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.bg-primary, 
.bg-blue-600,
.bg-blue-500,
.bg-anphat { 
    background-color: var(--primary-color) !important; 
}
.text-primary, 
.text-blue-600, 
.text-blue-500,
.text-anphat { 
    color: var(--primary-color) !important; 
}
.border-primary, 
.border-blue-600,
.border-anphat { 
    border-color: var(--primary-color) !important; 
}
.hover\:bg-blue-700:hover, 
.hover\:bg-primary:hover,
.hover\:bg-blue-600:hover { 
    filter: brightness(90%); 
}
.decoration-blue-600 { 
    text-decoration-color: var(--primary-color) !important; 
}
.testi-pagination .swiper-pagination-bullet-active,
.news-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}
body { 
    font-family: 'Be Vietnam Pro', sans-serif; 
    scroll-behavior: smooth; 
}
[x-cloak] { display: none !important; }
.transform-gpu { 
    backface-visibility: hidden; 
    perspective: 1000px; 
    will-change: transform;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.custom-logo-link img {
    height: 3rem !important;
    width: auto !important;
    object-fit: contain;
}
.bg-primary, 
.bg-blue-600, 
.bg-blue-500,
.pricing-tab-active,
.nexus-pagination .current,
.swiper-pagination-bullet-active,
footer h4 span.w-8,
#news div.w-20 { 
    background-color: var(--primary-color) !important; 
}
.text-primary, 
.text-blue-600, 
.text-blue-500,
#pricing h3,
#pricing .text-3xl,
#pricing .text-4xl,
#news h2,
#news h3 a,
footer i,
footer span.text-blue-500 { 
    color: var(--primary-color) !important;
    background-color: transparent !important;
}
h1, h2, h3, h4, h5, h6,
h1 span, h2 span, h3 span {
    background-color: transparent !important;
}
#pricing button[class*="py-"]:hover,
#pricing a[class*="py-"]:hover,
nav a.bg-primary:hover,
.hover\:bg-primary:hover {
    background-color: var(--primary-hover) !important;
    color: #ffffff !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}
#pricing button:not([class*="py-"]):hover,
#news h3 a:hover,
footer a:hover,
nav a:not(.bg-primary):hover {
    color: var(--primary-hover) !important;
    background-color: transparent !important;
}
.border-primary, 
.border-blue-600,
.border-blue-500 { 
    border-color: var(--primary-color) !important; 
}
#payment i.fas {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}
#payment .bg-white\/5 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
#payment .group:hover div[class*="bg-white/5"] {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
#payment .group:hover i.fas {
    color: #ffffff !important;
}
#payment .text-blue-600 {
    color: var(--primary-color) !important;
}
#payment .border-blue-600 {
    border-bottom-color: var(--primary-color) !important;
}
nav a[href^="tel:"],
.fixed.bottom-10 a[href^="tel:"],
a[href^="tel:"].bg-primary {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
    transition: all 0.3s ease-in-out !important;
}
nav a[href^="tel:"]:hover,
.fixed.bottom-10 a[href^="tel:"]:hover,
a[href^="tel:"].bg-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}
a[href^="tel:"] i {
    color: #ffffff !important;
}
[class*="partner-card"], 
[class*="aspect-video"], 
[class*="aspect-[3/2]"] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
}
.partner-img-premium {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important; 
    object-fit: contain !important;
    border-radius: 35px !important;
    border: 1.5px solid rgba(0,0,0,0.1) !important;
    background-color: #ffffff !important;
    padding: 15px !important; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}
.group:hover .partner-img-premium {
    transform: translateY(-10px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.15) !important;
}
.partners-mode-dark .title-dynamic { color: #0f172a !important; }
.partners-mode-dark .subtitle-dynamic { color: #64748b !important; }
.partners-mode-dark .swiper-pagination-bullet { background: #000000 !important; opacity: 0.15; }
.partners-mode-light .title-dynamic { color: #ffffff !important; }
.partners-mode-light .subtitle-dynamic { color: rgba(255, 255, 255, 0.7) !important; }
.partners-mode-light .partner-img-premium { border-color: rgba(255,255,255,0.1) !important; }
.partners-mode-light .swiper-pagination-bullet { background: #ffffff !important; opacity: 0.3; }
.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
    width: 10px !important;
    border-radius: 20% !important;
    opacity: 1 !important;
}
@media (max-width: 768px) {
    .partner-img-premium {
        border-radius: 20px !important;
        padding: 10px !important;
    }
}
.team-card-v2 {
    text-align: center;
    transition: all 0.4s ease;
}
.team-img-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50% !important;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}
.team-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card-v2:hover .team-img-circle {
    border-color: var(--primary-color);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.team-content .team-name {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: #1e293b;
    margin-bottom: 5px;
    italic: italic;
    letter-spacing: -1px;
}
.team-content .team-rank {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}
.team-btn-v2 {
    display: inline-block;
    padding: 10px 25px;
    background: #f8fafc;
    color: #64748b;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.team-card-v2:hover .team-btn-v2 {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}
.partners-mode-light .team-name { color: #ffffff !important; }
.partners-mode-light .team-rank { color: var(--primary-color) !important; filter: brightness(1.2); }
.partners-mode-light .team-img-circle { border-color: rgba(255,255,255,0.1); }
.portfolio-card-premium {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translate3d(0,0,0);
}
.portfolio-card-premium:hover {
    box-shadow: 0 40px 80px -15px var(--primary-color);
}
@media (max-width: 768px) {
    .portfolio-card-premium {
        aspect-ratio: 1 / 1.2;
        border-radius: 40px;
    }
}