/*
==============================================
BẢO NGUYÊN SOFT - OPTIMIZED CSS
==============================================
*/

@import url('https://cdn.jsdelivr.net/npm/tailwindcss@3.4.1/dist/tailwind.min.css');

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-blue: #1e4d8b;
    --light-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --dark-blue: #1e3a8a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    background-image: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: #e2e8f0;
}

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-blue {
    background: linear-gradient(135deg, #1e4d8b 0%, #3b82f6 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.animated-gradient {
    background: linear-gradient(-45deg, #1e4d8b, #2563eb, #3b82f6, #60a5fa);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
    max-width: 250px;
}

.custom-logo-link img,
.site-branding img {
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-title a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* Menu */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li.menu-button a {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.nav-links li.menu-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.nav-links li.menu-button a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.decoration-1 {
    width: 500px;
    height: 500px;
    background: #2563eb;
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
}

.decoration-2 {
    width: 400px;
    height: 400px;
    background: #7c3aed;
    bottom: -50px;
    right: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1.2s ease;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
    background: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ============================================
   SECTIONS - COMMON STYLES
   ============================================ */
.services,
.projects {
    padding: 8rem 2rem;
}

.services {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.projects {
    background: #0f172a;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title p {
    font-size: 1.25rem;
    color: #94a3b8;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    color: #f8fafc;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   STATS
   ============================================ */
.stats {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.stat-item h3,
.stat-item h3.counter {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

.project-image {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #1e293b;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #f8fafc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.8rem;
}

.project-content p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    margin-top: auto;
}

.project-tag:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    padding: 6rem 2rem;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    justify-items: center;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
        gap: 1.5rem;
        align-items: stretch;
}

.partner-item {
    width: 100%;
    /*height: 120px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}

.partner-item:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.2);
}

.partner-item img {
    width: auto;
    height: auto;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;

    filter: grayscale(100%) opacity(0.8);
    transition: all 0.4s ease;
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.partner-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #1e4d8b 0%, #3b82f6 50%, #8b5cf6 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.contact h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.contact p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact .btn-primary {
    background: white;
    color: #1e4d8b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #051b3b;
    color: #e2e8f0;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    padding: 5rem 0 3rem;
}

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.brand-col .footer-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: justify;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-li svg {
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-company-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.1);
}

.footer-company-info h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.footer-company-info p {
    color: #94a3b8;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.footer-bottom {
    background: #02122b;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* ============================================
   CONTENT PAGES (SINGLE, PAGE, ARCHIVE)
   ============================================ */
.site-main {
    padding-top: 140px !important;
    padding-bottom: 80px;
    min-height: 100vh;
    background-color: #0f172a;
    color: #e2e8f0;
    position: relative;
    z-index: 1;
}

.content-wrapper,
.entry-content,
.max-w-7xl {
    max-width: 1200px;
    padding: 0 1.5rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Single Post */
.single .entry-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.single .entry-category {
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.single .entry-category a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.single .entry-category a:hover {
    color: #3b82f6;
}

.single .entry-title {
    color: #ffffff;
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.single .entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.single .entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single .entry-meta svg,
.single .entry-meta .icon {
    width: 16px;
    height: 16px;
    color: #3b82f6;
    flex-shrink: 0;
}

/* Post Thumbnail */
.post-thumbnail {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.thumbnail-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
}

.thumbnail-wrapper img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
}

/* Responsive - ảnh nhỏ hơn trên mobile */
@media (max-width: 768px) {
    .thumbnail-wrapper {
        max-height: 300px;
    }

    .thumbnail-wrapper img {
        max-height: 300px;
    }
}

/* Entry Tags */
.entry-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-tags .tags-label {
    color: #60a5fa;
    font-weight: 700;
    margin-right: 0.5rem;
}

.entry-tags a {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.25rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.entry-tags a:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation-wrapper {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-previous,
.nav-next {
    display: block;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.nav-title {
    display: block;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
    color: #60a5fa;
}

.single .entry-content {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.8;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.single .entry-content p {
    margin-bottom: 1.5rem;
}

.single .entry-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
}

.single .entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single .entry-content ul,
.single .entry-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.single .entry-content ul {
    list-style: disc;
}

.single .entry-content ol {
    list-style: decimal;
}

.single .entry-content li {
    margin-bottom: 0.5rem;
}

.single .entry-content blockquote {
    font-style: italic;
    color: #cbd5e1;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.single .entry-content a {
    color: #60a5fa;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s;
}

.single .entry-content a:hover {
    color: #fff;
}

/* Comments Section */
#comments {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 3rem 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#comments>h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Comment List */
.commentlist,
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.commentlist>li,
.comment-list>li {
    margin-bottom: 2rem;
}

.comment-body,
#div-comment-1 {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Comment Author */
.comment-author {
    margin-bottom: 1rem;
}

.comment-author .avatar {
    float: left;
    margin-right: 1rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.comment-author .fn,
.comment-author .fn a {
    font-weight: 700;
    color: #60a5fa !important;
    font-size: 1.1rem;
    font-style: normal;
    text-decoration: none;
}

.comment-author .fn a:hover {
    color: #3b82f6 !important;
}

.comment-author .says {
    color: #64748b;
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Comment Metadata */
.comment-meta,
.comment-metadata {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    clear: both;
    padding-top: 0.5rem;
}

.comment-metadata a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.comment-metadata a:hover {
    color: #94a3b8;
}

.comment-metadata .edit-link {
    margin-left: 1rem;
}

.comment-edit-link {
    color: #60a5fa !important;
    font-weight: 600;
}

.comment-edit-link:hover {
    color: #3b82f6 !important;
}

/* Comment Content */
.comment-content {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-content a {
    color: #60a5fa;
    text-decoration: underline;
}

.comment-content a:hover {
    color: #3b82f6;
}

/* Reply Button */
.reply {
    margin-top: 1rem;
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.comment-reply-link:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Navigation */
.navigation {
    margin: 2rem 0;
}

/* Comment Form */
#respond,
.comment-respond {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#reply-title,
.comment-reply-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

#reply-title small,
.comment-reply-title small {
    font-size: 0.875rem;
    font-weight: 400;
    margin-left: 1rem;
}

#reply-title small a,
.comment-reply-title small a {
    color: #60a5fa;
    text-decoration: none;
}

.logged-in-as,
.comment-notes,
.required-field-message {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.logged-in-as a {
    color: #60a5fa;
    text-decoration: none;
}

.logged-in-as a:hover {
    color: #3b82f6;
}

.required {
    color: #ef4444;
}

/* Form Fields */
#commentform,
.comment-form {
    margin: 0;
}

.comment-form-comment,
.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

#comment,
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

#comment:focus,
.comment-form textarea:focus,
.comment-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#comment {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.form-submit {
    margin-bottom: 0;
}

#submit,
.form-submit .submit {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#submit:hover,
.form-submit .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Page */
.page .entry-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page .entry-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.page .entry-content {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Archive, Category, Search */
.archive .archive-header,
.search .archive-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.archive .archive-title,
.search .page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.archive .archive-description {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.archive .grid,
.search .grid,
.blog .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.archive article,
.search article,
.blog article {
    display: flex;
    flex-direction: column;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.archive article:hover,
.search article:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.25);
    border-color: rgba(96, 165, 250, 0.5);
}

.archive .project-image,
.archive .post-thumbnail-wrapper {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #1e293b;
    position: relative;
}

.archive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.archive article:hover img {
    transform: scale(1.1);
}

.archive .project-content,
.archive .entry-summary {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive .text-xs,
.archive .entry-date {
    color: #60a5fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.archive h2,
.archive .entry-title,
.search .entry-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 0;
}

.archive h2 a,
.archive .entry-title a,
.search .entry-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s;
}

.archive h2 a:hover,
.archive .entry-title a:hover {
    color: #60a5fa !important;
}

.archive .text-gray-400,
.archive .entry-excerpt,
.archive p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive .read-more-link,
.archive a.inline-flex {
    margin-top: auto;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.archive .read-more-link:hover,
.archive a.inline-flex:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

/* Pagination */
.pagination-glass {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.pagination-glass .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: all 0.3s;
}

.pagination-glass .page-numbers.current,
.pagination-glass .page-numbers:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

/* ============================================
   UTILITIES - BACK TO TOP
   ============================================ */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-main .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        animation: slideIn 0.5s forwards;
    }

    .nav-links li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-links li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-links li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav-links li:nth-child(5) {
        animation-delay: 0.5s;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #e2e8f0;
    }

    .hero {
        min-height: 90vh;
        padding: 6rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services,
    .projects {
        padding: 4rem 1.5rem;
    }

    .services-grid,
    .projects-grid,
    .archive .grid,
    .search .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-main .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col {
        text-align: left;
    }

    .archive .archive-title {
        font-size: 2rem;
    }
}

/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

/* Page Entry Header */
.page .entry-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.page .entry-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page Thumbnail */
.page .post-thumbnail {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.page .thumbnail-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 400px;
}

.page .thumbnail-wrapper img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* Page Content */
.page .content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page .entry-content {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.8;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

/* Page Content Typography */
.page .entry-content p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4 {
    color: #60a5fa;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page .entry-content h2 {
    font-size: 1.5rem;
}

.page .entry-content h3 {
    font-size: 1.25rem;
}

.page .entry-content ul,
.page .entry-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.page .entry-content li {
    margin-bottom: 0.5rem;
}

.page .entry-content strong {
    color: #fff;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .page .entry-content {
        padding: 1.5rem;
    }

    .page .thumbnail-wrapper {
        max-height: 250px;
    }

    .page .thumbnail-wrapper img {
        max-height: 250px;
    }
}