/*
Theme Name: Chuyên Làm Bằng Đại Học Gốc - Ngọc Bích Edition
Theme URI: https://bangdaihocuytin.com/
Description: Giao diện WordPress hoàn chỉnh, tối ưu chuyển đổi, chuẩn SEO phối màu Xanh Ngọc Bích chủ đạo.
Version: 1.1.0
Author: WP Developer
Text Domain: clb-theme
*/

/* --- RESET & CHUNG --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background: #f9f9f9; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* --- HEADER --- */
/* Đổi màu nền từ xanh cyan nhạt sang màu xanh ngọc bích nhạt dịu mắt */
.top-bar { background: #45b6d6; color: #760F13; padding: 8px 0; text-align: center; font-size: 14px; font-weight: bold; }
.top-bar a { color: #760F13; text-decoration: underline; }
.main-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 999; }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
/* Logo sử dụng màu Ngọc Bích đậm quý phái */
.logo a { color: #0f766e; font-size: 24px; font-weight: 800; text-transform: uppercase; }
.nav-menu ul { display: flex; list-style: none; gap: 20px; }
.nav-menu ul li a { color: #444; font-weight: 600; font-size: 15px; }
.nav-menu ul li a:hover { color: #0d9488; }
/* Nút Hotline giữ màu xanh lá/zalo đặc trưng để tối ưu click hành động */
.header-cta .btn-header { background: #25d366; color: #fff; padding: 10px 20px; border-radius: 5px; font-weight: bold; font-size: 14px; }
.header-cta .btn-header:hover { background: #128c7e; }

/* --- TRANG CHỦ / HERO --- */
.hero-section { background: linear-gradient(rgba(15, 118, 110, 0.75), rgba(11, 63, 59, 0.85)), url('https://picsum.photos/1920/600') no-repeat center center/cover; padding: 100px 0; color: #fff; text-align: center; }
/* Tiêu đề chính đổi sang màu ngọc bích sáng vô cùng nổi bật trên nền tối */
.hero-section h1 { font-size: 38px; font-weight: 800; margin-bottom: 15px; color: #2dd4bf; text-transform: uppercase; }
.hero-section p { font-size: 18px; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
/* Nút hành động chính: Ngọc bích đậm hoàng gia */
.btn-main { background: #0d9488; color: #fff; padding: 12px 30px; font-weight: bold; border-radius: 5px; font-size: 16px; }
.btn-main:hover { background: #0f766e; }
/* Nút hành động phụ: Tông xanh bạc hà mint tươi mát tương phản */
.btn-sub { background: #14b8a6; color: #fff; padding: 12px 30px; font-weight: bold; border-radius: 5px; font-size: 16px; }
.btn-sub:hover { background: #0d9488; }

/* --- BẢNG GIÁ --- */
.section-title { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 40px; text-transform: uppercase; color: #111827; position: relative; }
/* Thanh gạch dưới tiêu đề đổi sang màu Ngọc Bích chủ đạo */
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: #0d9488; margin: 10px auto 0; }
.pricing-section { padding: 70px 0; background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { border: 1px solid #eee; padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.02); transition: transform 0.3s; background: #fff; position: relative; overflow: hidden; }
.price-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(13, 148, 136, 0.15); border-color: #0d9488; }
.price-card.featured { border: 2px solid #0d9488; }
.price-card .badge { position: absolute; top: 15px; right: -30px; background: #0d9488; color: #fff; padding: 5px 30px; transform: rotate(45deg); font-size: 11px; font-weight: bold; text-transform: uppercase; }
.price-card h3 { font-size: 20px; color: #333; margin-bottom: 15px; }
/* Giá tiền hiển thị màu Ngọc Bích đậm tạo cảm giác uy tín, không bị chói như màu đỏ cũ */
.price-card .amount { font-size: 32px; color: #0f766e; font-weight: bold; margin-bottom: 20px; }
.price-card ul { list-style: none; margin-bottom: 25px; text-align: left; padding-left: 10px; }
.price-card ul li { margin-bottom: 10px; font-size: 14px; color: #555; }
.price-card ul li::before { content: '✔'; color: #0d9488; margin-right: 8px; font-weight: bold; }

/* --- QUY TRÌNH & CAM KẾT --- */
.process-section { padding: 70px 0; background: #f0fdfa; } /* Nền khu vực quy trình đổi sang màu mint nhạt */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.process-step { background: #fff; padding: 25px; border-radius: 6px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
/* Số thứ tự các bước đổi sang màu Ngọc Bích */
.process-step .step-number { width: 50px; height: 50px; background: #0d9488; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 20px; font-weight: bold; }
.process-step h4 { margin-bottom: 10px; color: #0f766e; }

/* --- FORM ĐĂNG KÝ --- */
.contact-section { padding: 70px 0; background: #fff; }
.form-container { max-width: 700px; margin: 0 auto; background: #f8f9fa; padding: 40px; border-radius: 8px; border-top: 4px solid #0d9488; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #0d9488; outline: none; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; }
.form-submit { text-align: center; margin-top: 20px; }
.form-submit button { background: #0d9488; color: #fff; border: none; padding: 12px 40px; font-size: 16px; font-weight: bold; border-radius: 4px; cursor: pointer; width: 100%; transition: background 0.3s; }
.form-submit button:hover { background: #0f766e; }

/* --- NỘI DUNG SEO / BLOG & ĐỊNH DẠNG CHI TIẾT BÀI VIẾT --- */
.seo-section { padding: 60px 0; background: #f9f9f9; }
.seo-content { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

/* --- ĐỊNH DẠNG HEADING (H2, H3, H4) CHUẨN SEO MỚI --- */
.seo-content h2, .entry-content h2 {
    color: #0f766e;
    font-size: 24px;
    font-weight: 700;
    margin: 35px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f7f4;
    position: relative;
    line-height: 1.4;
}
.seo-content h2::after, .entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 65px;
    height: 2px;
    background: #0d9488;
}

.seo-content h3, .entry-content h3 {
    color: #115e59;
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #0d9488;
    line-height: 1.4;
}

.seo-content h4, .entry-content h4 {
    color: #134e4a;
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 12px;
    line-height: 1.4;
    display: flex;
    align-items: center;
}
/* Dấu chấm tròn của H4 chuyển từ màu vàng cũ sang xanh mint ngọc bích sáng */
.seo-content h4::before, .entry-content h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* --- TỐI ƯU PHÂN CẤP DANH SÁCH (UL, LI) CHUẨN SEO --- */
.entry-content ul {
    list-style: none;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Cấp 1: Biểu tượng dấu tích xanh ngọc bích */
.entry-content > ul > li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #334155;
}
.entry-content > ul > li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d9488;
    font-weight: bold;
}

/* Cấp 2: Danh sách con lồng bên trong - Dấu gạch ngang màu ngọc bích nhạt */
.entry-content ul ul {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 20px;
}
.entry-content ul ul li {
    font-size: 15px;
    color: #4a5568;
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}
.entry-content ul ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #99f6e4;
}

/* Cấp 3: Danh sách con sâu hơn - Dấu chấm tròn nhỏ màu Mint */
.entry-content ul ul ul li {
    font-size: 14px;
    padding-left: 15px;
}
.entry-content ul ul ul li::before {
    content: "•";
    color: #2dd4bf;
}

/* --- FOOTER --- */
/* Nền đen xanh thẫm (Deep Emerald Slate) cực kỳ sang trọng */
footer { background: #0b2e2b; color: #9ca3af; padding: 50px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; text-transform: uppercase; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: #0d9488; }
.footer-col p { margin-bottom: 10px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #115e59; color: #6b7280; }

/* --- NÚT ĐIỆN THOẠI & ZALO CHẠY NỔI --- */
.quick-contact { position: fixed; bottom: 20px; left: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.qc-btn { display: flex; align-items: center; color: #fff; font-weight: bold; padding: 10px 15px; border-radius: 50px; font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); animation: pulse 2s infinite; }
/* Nút phone đổi sang màu ngọc bích đậm để đồng bộ thương hiệu */
.qc-phone { background: #0d9488; }
.qc-zalo { background: #0068ff; } /* Zalo giữ màu thương hiệu gốc */
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* --- RESPONSIVE MOBILE --- */
@media(max-width: 768px) {
    .nav-menu, .header-cta { display: none; }
    .hero-section h1 { font-size: 26px; }
    .hero-section p { font-size: 15px; }
    .form-container { padding: 20px; }
    
    .seo-content h2, .entry-content h2 { font-size: 20px; margin: 25px 0 12px; }
    .seo-content h3, .entry-content h3 { font-size: 18px; margin: 22px 0 10px; }
    .seo-content h4, .entry-content h4 { font-size: 16px; margin: 18px 0 8px; }

    .seo-content p, .entry-content p,
    .seo-content ul li, .entry-content ul li {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle { display: block !important; order: 3; }
    
    #mobile-menu-container {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        z-index: 1000;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    #mobile-menu-container.active { display: block; }
    #mobile-menu-container ul { flex-direction: column; gap: 15px; }
}

/* --- CSS TỐI ƯU HÌNH ẢNH CHUẨN SEO & RESPONSIVE --- */
.entry-content img, 
.seo-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.1); /* Thay bóng đổ xám thành bóng ngọc bích nhẹ đồng điệu */
}

.entry-content img:hover, 
.seo-content img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .entry-content img, 
    .seo-content img {
        margin: 15px auto;
    }
}