.project-card-modern {
    background: #0D1117;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(13, 110, 253, 0.3);
}

.badge-glass-blur {
    background: rgba(10, 29, 55, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.8) 0%, transparent 100%);
}

.bg-white-5 {
    background: rgba(255, 255, 255, 0.03);
}

.border-white-10 {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-luxury-ring {
    position: relative;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #198754;
    border: 2px solid #0D1117;
    border-radius: 50%;
}

.btn-navy-modern {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.btn-navy-modern:hover {
    background: white;
    color: #0D1117;
}

.btn-primary-modern {
    background: #0d6efd;
    color: white;
    border: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.btn-primary-modern:hover {
    background: #0b5ed7;
    transform: scale(1.05);
    color: white;
}

.fw-900 {
    font-weight: 900;
}

.tracking-tight {
    letter-spacing: -0.5px;
}

.tracking-wider {
    letter-spacing: 1px;
}

.tracking-tighter {
    letter-spacing: -0.5px;
}

.text-white-40 {
    color: rgba(255, 255, 255, 0.4);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.extra-small {
    font-size: 0.7rem;
}

.featured-prev,
.featured-next,
.main-prev,
.main-next {
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    color: #0A1D37 !important;
    border: 1px solid rgba(10, 29, 55, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 100 !important;
    box-shadow: 0 10px 20px rgba(10, 29, 55, 0.1) !important;
}

.featured-prev,
.main-prev {
    left: -60px !important;
}

.featured-next,
.main-next {
    right: -60px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0A1D37 !important;
    color: white !important;
    transform: scale(1.15) !important;
    box-shadow: 0 15px 30px rgba(10, 29, 55, 0.25) !important;
    border-color: #0A1D37 !important;
}

/* CSS for text truncation and line clamp */
.text-truncate-card {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.2rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description-clamped {
    font-size: 0.8rem;
    min-height: 2.4rem;
    /* Cố định chiều cao cho 2 dòng văn bản */
    margin-bottom: 1rem !important;
}