/* 
   MỘC TÂM - PREMIUM THEME CSS
   Color scheme based on user's logo (Deep Red, Cream/Off-white, Dark text)
*/

:root {
    /* Color Palette */
    --primary-red: #c01a18;
    --primary-dark: #8b0c0a;
    --primary-light: #e63230;
    --bg-light: #f9f6f0;
    --bg-white: #ffffff;
    --text-main: #2c1e1e;
    --text-muted: #6b5c5c;
    --border-color: #e5dac8;
    --gold: #d4af37;
    --gold-light: #f3e5ab;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 10px rgba(192, 26, 24, 0.05);
    --shadow-md: 0 10px 30px rgba(44, 30, 30, 0.08);
    --shadow-lg: 0 20px 40px rgba(192, 26, 24, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(192, 26, 24, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 26, 24, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-light {
    background-color: var(--bg-light);
    color: var(--primary-red);
}

.btn-light:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(249, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-red);
    line-height: 1;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at top right, #fffdf8, var(--bg-light));
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23c01a18" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.8;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text-box {
    flex: 1;
    max-width: 600px;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitle::before {
    content: '';
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.hero-title {
    font-size: 4rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-red);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circle-decoration {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.circle-decoration::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    border: 1px dashed rgba(192, 26, 24, 0.3);
    animation: rotate 20s linear infinite;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(192, 26, 24, 0.2);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 20px auto 0;
    border-radius: 2px;
}

.divider.left {
    margin-left: 0;
}

/* Services */
.services {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-red);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background-color: #fff;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(192, 26, 24, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-red);
    color: #fff;
    transform: rotateY(360deg);
}

.service-name {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 500;
}

.service-link:hover {
    gap: 12px;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.decor-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    z-index: 0;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary-red);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-red));
    padding: 80px 0;
    color: white;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #1a1111;
    color: #e5dac8;
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-icon-img {
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.footer-desc {
    margin-top: 20px;
    opacity: 0.7;
    max-width: 300px;
}

.footer h3 {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--primary-red);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #0f0a0a;
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .subtitle, .hero-actions {
        justify-content: center;
    }
    
    .hero-desc {
        margin: 0 auto 35px;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .circle-decoration {
        width: 350px;
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .circle-decoration {
        width: 300px;
        height: 300px;
    }
    
    /* Responsive adjustments for logo if needed */
}

/* Extracted Page-Specific Styles */

/* From gioi-thieu.html */

        .page-header {
            padding: 140px 0 60px;
            background: linear-gradient(135deg, #1a1111, var(--primary-dark));
            color: white;
            text-align: center;
        }
        
        .page-header .section-title {
            color: white;
            margin-bottom: 15px;
        }

        .page-header p {
            opacity: 0.8;
            max-width: 600px;
            margin: 0 auto;
        }
    

/* From dich-vu.html */

        .page-header {
            padding: 140px 0 60px;
            background: linear-gradient(135deg, #1a1111, var(--primary-dark));
            color: white;
            text-align: center;
        }
        
        .page-header .section-title {
            color: white;
            margin-bottom: 15px;
        }

        .page-header p {
            opacity: 0.8;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Detailed Services Styling */
        .service-detail-section {
            padding: 80px 0;
            background-color: var(--bg-white);
        }

        .service-detail-section:nth-child(even) {
            background-color: var(--bg-light);
        }

        .service-detail-container {
            display: flex;
            align-items: center;
            gap: 60px;
        }

        .service-detail-container.reverse {
            flex-direction: row-reverse;
        }

        .service-detail-content {
            flex: 1;
        }

        .service-detail-image {
            flex: 1;
            position: relative;
        }

        .service-detail-image img {
            border-radius: 8px;
            box-shadow: var(--shadow-md);
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        .service-detail-title {
            font-size: 2rem;
            color: var(--primary-dark);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .service-detail-icon {
            color: var(--primary-red);
            font-size: 2rem;
        }

        .service-detail-content p {
            margin-bottom: 15px;
            color: var(--text-muted);
            font-size: 1.05rem;
        }
        
        .service-features {
            list-style: none;
            padding: 0;
            margin-top: 25px;
            margin-bottom: 30px;
        }

        .service-features li {
            margin-bottom: 12px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--text-main);
        }

        .service-features i {
            color: var(--primary-red);
            margin-top: 5px;
        }

        @media (max-width: 992px) {
            .service-detail-container, .service-detail-container.reverse {
                flex-direction: column;
                gap: 40px;
            }
        }
    

/* From kien-thuc.html */

        .page-header {
            padding: 140px 0 70px;
            background: linear-gradient(135deg, #1a1111, var(--primary-dark));
            color: white;
            text-align: center;
        }
        .page-header .section-title { color: white; margin-bottom: 15px; }
        .page-header p { opacity: 0.8; max-width: 600px; margin: 0 auto; }

        .blog-section { padding: 80px 0; background-color: var(--bg-light); }

        .blog-filter {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 50px;
        }
        .filter-btn {
            padding: 10px 24px;
            border: 1.5px solid var(--primary-red);
            border-radius: 50px;
            background: transparent;
            color: var(--primary-red);
            font-family: var(--font-sans);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .filter-btn:hover, .filter-btn.active {
            background-color: var(--primary-red);
            color: #fff;
        }

        /* Featured Post */
        .featured-post {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            margin-bottom: 60px;
            border: 1px solid var(--border-color);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .featured-post:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
        .featured-post-image { position: relative; overflow: hidden; min-height: 380px; }
        .featured-post-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
        .featured-post:hover .featured-post-image img { transform: scale(1.05); }
        .featured-label {
            position: absolute; top: 20px; left: 20px;
            background-color: var(--primary-red); color: #fff;
            padding: 6px 16px; border-radius: 50px;
            font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
        }
        .featured-post-content { padding: 50px 45px; display: flex; flex-direction: column; justify-content: center; }
        .post-category { font-size: 0.8rem; font-weight: 700; color: var(--primary-red); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
        .featured-post-title { font-family: var(--font-serif); font-size: 1.9rem; color: var(--primary-dark); line-height: 1.35; margin-bottom: 16px; }
        .post-excerpt { color: var(--text-muted); line-height: 1.7; margin-bottom: 25px; }
        .post-meta { display: flex; align-items: center; gap: 20px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 25px; flex-wrap: wrap; }
        .post-meta span { display: flex; align-items: center; gap: 6px; }
        .post-meta i { color: var(--primary-red); }
        .read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-red); font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: gap 0.3s ease; }
        .read-more:hover { gap: 14px; }

        /* Blog Layout */
        .blog-main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
        .blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
        .blog-card-image { position: relative; overflow: hidden; height: 200px; }
        .blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .blog-card:hover .blog-card-image img { transform: scale(1.08); }
        .post-category-badge { position: absolute; top: 15px; left: 15px; background-color: var(--primary-red); color: white; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
        .blog-card-body { padding: 22px 22px 18px; display: flex; flex-direction: column; flex: 1; }
        .blog-card-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--primary-dark); line-height: 1.45; margin-bottom: 10px; font-weight: 700; }
        .blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }
        .blog-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border-color); }
        .post-date { font-size: 0.8rem; color: var(--text-muted); }

        /* Sidebar */
        .sidebar { position: sticky; top: 100px; }
        .sidebar-widget { background: #fff; border-radius: 12px; padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 25px; }
        .sidebar-widget h3 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-red); display: inline-block; }

        .popular-post-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-color); text-decoration: none; }
        .popular-post-item:last-child { border-bottom: none; }
        .popular-post-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
        .popular-post-item h4 { font-size: 0.87rem; color: var(--primary-dark); line-height: 1.45; margin-bottom: 5px; font-weight: 600; transition: color 0.2s; }
        .popular-post-item:hover h4 { color: var(--primary-red); }
        .popular-post-item span { font-size: 0.78rem; color: var(--text-muted); }

        .sidebar-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
        .tag { padding: 6px 14px; background-color: var(--bg-light); border: 1px solid var(--border-color); border-radius: 50px; font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: all 0.25s; }
        .tag:hover { background-color: var(--primary-red); color: white; border-color: var(--primary-red); }

        .sidebar-cta { background: linear-gradient(135deg, var(--primary-dark), #8b1a18); border-radius: 12px; padding: 30px; text-align: center; color: white; }
        .sidebar-cta h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 12px; border-bottom: none; padding-bottom: 0; color: white; display: block; }
        .sidebar-cta p { font-size: 0.88rem; opacity: 0.85; margin-bottom: 20px; line-height: 1.6; }

        /* Pagination */
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
        .page-btn { width: 40px; height: 40px; border: 1.5px solid var(--border-color); background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--text-main); cursor: pointer; transition: all 0.3s; text-decoration: none; }
        .page-btn:hover, .page-btn.active { background-color: var(--primary-red); border-color: var(--primary-red); color: white; }

        @media (max-width: 1000px) {
            .blog-main-layout { grid-template-columns: 1fr; }
            .sidebar { position: static; }
            .blog-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .featured-post { grid-template-columns: 1fr; }
            .featured-post-image { min-height: 250px; }
        }
        @media (max-width: 560px) {
            .blog-grid { grid-template-columns: 1fr; }
        }
    

/* From lap-la-so.html */

        /* Page-specific styles for Lập Lá Số */
        .page-header {
            padding: 140px 0 60px;
            background: linear-gradient(135deg, #1a1111, var(--primary-dark));
            color: white;
            text-align: center;
        }
        
        .page-header .section-title {
            color: white;
            margin-bottom: 15px;
        }

        .page-header p {
            opacity: 0.8;
            max-width: 600px;
            margin: 0 auto;
        }

        .tool-section {
            padding: 80px 0;
            background-color: var(--bg-light);
            min-height: 40vh;
        }

        .form-container {
            max-width: 800px;
            margin: 0 auto;
            background: var(--bg-white);
            padding: 50px;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-color);
            position: relative;
        }

        /* Decorative corners */
        .form-container::before, .form-container::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 40px;
            border: 2px solid var(--primary-red);
            opacity: 0.5;
        }
        .form-container::before {
            top: 15px;
            left: 15px;
            border-right: none;
            border-bottom: none;
        }
        .form-container::after {
            bottom: 15px;
            right: 15px;
            border-left: none;
            border-top: none;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
        }

        .form-group {
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            text-align: left;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--primary-dark);
            font-family: var(--font-serif);
            font-size: 1.1rem;
        }

        .form-control {
            padding: 14px 18px;
            border: 1px solid #dccbba;
            border-radius: 6px;
            font-family: var(--font-sans);
            font-size: 1rem;
            color: var(--text-main);
            background-color: #fcfbfa;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-red);
            box-shadow: 0 0 0 3px rgba(192, 26, 24, 0.1);
            background-color: var(--bg-white);
        }

        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c01a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 15px;
        }

        .submit-btn-wrapper {
            margin-top: 30px;
            text-align: center;
            grid-column: 1 / -1;
        }
        
        .submit-btn {
            font-size: 1.2rem;
            padding: 15px 50px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            border: none;
            cursor: pointer;
        }

        /* Chart section styles */
        #tuvi-chart-section {
            background-color: #f5f2ea;
            padding: 60px 0;
            border-top: 1px solid var(--border-color);
        }

        #standaloneTuViGrid {
            background: #fff;
            max-width: 1000px;
            margin: 0 auto;
        }

        /* Fallback fixes for TuVi engine if missing styles removed as we now load tuvi.css */
        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
            .form-container {
                padding: 30px 20px;
            }
        }
    
