﻿.blue-card {
    width: 100%;
    padding: 18px 24px;
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.5;
    background: linear-gradient(180deg, #6faee3, #3f87c5);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

    .blue-card.small {
        min-height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .blue-card.large {
        min-height: 80px;
        font-size: 1.15rem;
        font-weight: 500;
    }

/* CSS riêng cho trang Kỹ thuật Xây dựng */
.construction-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.construction-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header riêng cho trang */
.construction-header {
    text-align: center;
    padding: 40px 0 30px;
    background: #FF9999;
    color: white;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

    .construction-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #ffd700, #ff9800);
    }

    .construction-header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .construction-header .tagline {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }

.highlight {
    color: #ffd700;
    font-weight: bold;
}

/* Thanh trượt điều hướng mới */
.modern-scroll-nav {
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-scroll-track {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    width: 100px;
    transition: all 0.4s ease;
    z-index: 1;
    border-radius: 3px;
}

.modern-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

    .modern-nav-container a {
        flex: 1;
        text-decoration: none;
        color: #555;
        font-weight: 600;
        padding: 18px 10px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
        border: none;
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
    }

        .modern-nav-container a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #3498db, #2980b9);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .modern-nav-container a:hover {
            color: white;
        }

            .modern-nav-container a:hover::before {
                opacity: 1;
            }

        .modern-nav-container a.active {
            color: white;
        }

            .modern-nav-container a.active::before {
                opacity: 1;
            }

.nav-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.modern-nav-container a:hover .nav-icon,
.modern-nav-container a.active .nav-icon {
    transform: translateY(-3px);
}

.nav-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Info cards */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    transition: transform 0.3s ease;
    border-top: 4px solid #2980b9;
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .info-card i {
        font-size: 2.5rem;
        color: #2980b9;
        margin-bottom: 15px;
    }

    .info-card h3 {
        margin-bottom: 10px;
        color: #1a5276;
        font-size: 1.3rem;
    }

    .info-card p {
        color: #555;
        line-height: 1.5;
    }

/* Section styling */
.construction-section {
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    scroll-margin-top: 100px;
}

    .construction-section h2 {
        color: blue;
        border-left: 4px solid #2980b9;
        padding-left: 15px;
        margin-bottom: 25px;
        font-size: 1.8rem;
        position: relative;
    }

        .construction-section h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 15px;
            width: 80px;
            height: 3px;
            background: #3498db;
        }

/* Specialties grid */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.specialty-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .specialty-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #2980b9;
    }

    .specialty-card:hover {
        border-color: #2980b9;
        box-shadow: 0 8px 20px rgba(41, 128, 185, 0.1);
        transform: translateY(-3px);
    }

    .specialty-card h4 {
        color: blue;
        margin-bottom: 10px;
        font-size: 1.2rem;
        min-height: 10px;
        
    }
    .specialty-card h3 {
        margin-bottom: 10px;
        font-size: 1rem;
        min-height: 10px;
    }

    .specialty-card:hover h3 {
        font-size: 1.5rem;
        transform: translateY(-2px);
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
.hieuungover:hover {
    color: blue !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.specialty-card p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.badge {
    display: inline-block;
    background: red;
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;

}

    .badge.new {
        background: #ffebee;
        color: white;
    }
    .badge:hover {
        background: red;
        color: white;
        width: auto;
        font-weight: 800;
    }

/* Kiến thức và kỹ năng */
.knowledge-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.knowledge-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

    .knowledge-card .icon {
        font-size: 2.5rem;
        color: #2980b9;
        margin-bottom: 15px;
    }

    .knowledge-card h3 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .knowledge-card ul {
        list-style: none;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .knowledge-card li {
        padding: 8px 0;
        border-bottom: 1px dashed #ddd;
        position: relative;
        padding-left: 25px;
        line-height: 1.4;
    }

        .knowledge-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #27ae60;
            font-weight: bold;
        }

/* ===== Hiệu ứng hover toàn khối ===== */
.knowledge-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .knowledge-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    }

    /* ===== Hiệu ứng hover từng dòng – trượt ngang ===== */
    .knowledge-card li {
        transition: all 0.3s ease;
        border-radius: 4px;
    }

        /* Hover: trượt ngang + nền sáng */
        .knowledge-card li:hover {
            /*background: slategray;*/
            padding-left: 35px; /* di chuyển ngang */
            color: blue;
        }

            /* Dấu ✓ đổi màu khi hover */
            .knowledge-card li:hover::before {
                color: #1f6fb2;
            }

    /* Làm mờ các dòng khác để tập trung */
    .knowledge-card ul:hover li {
        opacity: 0.55;
    }

    .knowledge-card ul li:hover {
        opacity: 1;
    }

    /* Icon nổi nhẹ khi hover card */
    .knowledge-card:hover .icon {
        transform: scale(1.1);
        color: #1f6fb2;
        transition: all 0.35s ease;
    }

/*hết kiến thức và kỹ năng*/


/* Career opportunities */
.career-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.career-sector {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

    .career-sector:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.sector-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

    .sector-header .icon {
        font-size: 1.8rem;
        color: #2980b9;
    }

    .sector-header h4 {
        margin: 0;
        color: #2980b9;
        font-size: 1.2rem;
    }

.career-sector ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-sector li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 20px;
}

    .career-sector li::before {
        content: '→';
        position: absolute;
        left: 0;
        color: #3498db;
        font-weight: bold;
    }

/* Gallery */
.gallery-container {
    margin-top: 25px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 180px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 82, 118, 0.35); /* Giảm opacity xuống 0.35 */
    color: white;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h5 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Thêm shadow cho chữ dễ đọc */
}

.gallery-caption p {
    font-size: 0.8rem;
    opacity: 0.95; /* Tăng độ rõ của chữ */
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Success story */
.success-story {
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: white;
    padding: 35px;
    border-radius: 15px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

    .success-story::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: rgba(255,255,255,0.05);
        transform: rotate(45deg);
    }

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.company-logo {
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255,255,255,0.9);
    letter-spacing: 2px;
    font-family: 'Arial Black', sans-serif;
}

.story-body {
    position: relative;
}

.achievements {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.achievement {
    text-align: center;
    min-width: 100px;
}

    .achievement .number {
        display: block;
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .achievement .label {
        font-size: 0.85rem;
        opacity: 0.9;
    }

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #3498db;
        transform: translateX(-50%);
    }

.timeline-item {
    margin: 30px 0;
    position: relative;
    width: 50%;
    padding: 0 30px;
}

    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
    }

.timeline-year {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .timeline-content h5 {
        color: #2980b9;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

/* Contact section */
.contact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info h3, .registration-form h3 {
    color: #1a5276;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 1.3rem;
    color: #3498db;
    min-width: 25px;
}

.registration-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group input, .form-group select {
        width: 100%;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        background: white;
        box-sizing: border-box;
    }

        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2980b9, #1a5276);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

    .submit-btn:hover {
        background: linear-gradient(135deg, #1a5276, #154360);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(26, 82, 118, 0.3);
    }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

    .back-to-top:hover {
        background: linear-gradient(135deg, #2980b9, #1a5276);
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(41, 128, 185, 0.6);
    }

    .back-to-top.show {
        display: flex;
        animation: fadeInUp 0.3s ease;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section active highlight */
.construction-section.active {
    animation: highlightSection 1s ease;
}

@keyframes highlightSection {
    0% {
        background-color: white;
    }

    50% {
        background-color: rgba(52, 152, 219, 0.1);
    }

    100% {
        background-color: white;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .construction-container {
        padding: 15px;
    }

    .construction-header h1 {
        font-size: 1.8rem;
    }

    .construction-header .tagline {
        font-size: 1rem;
    }

    .modern-nav-container {
        flex-direction: column;
        padding: 0;
    }

        .modern-nav-container a {
            width: 100%;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

            .modern-nav-container a:last-child {
                border-bottom: none;
            }

    .nav-scroll-track {
        display: none;
    }

    .construction-section {
        padding: 20px;
        scroll-margin-top: 150px;
    }

        .construction-section h2 {
            font-size: 1.5rem;
        }

    .specialties-grid,
    .knowledge-section,
    .career-opportunities,
    .gallery {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        padding-right: 15px;
    }

    .achievements {
        flex-direction: column;
        gap: 15px;
    }

    .contact-section {
        padding: 20px;
    }

    .info-cards {
        flex-direction: column;
        align-items: center;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/* Khối thông tin tuyển sinh nổi bật giữa trang */
.admission-highlight {
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #ffffff;
    height: 150px;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1.6;
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.35);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: softPulse 4s ease-in-out infinite;
}

    /* Hiệu ứng ánh sáng chớp nhẹ */
    .admission-highlight::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 30%, rgba(255, 255, 255, 0.25), transparent 70% );
        transform: translateX(-100%);
        animation: shineMove 6s ease-in-out infinite;
    }

    /* Hover đổi màu + nâng khối */
    .admission-highlight:hover {
        background: linear-gradient(135deg, #1565c0, #1e88e5);
        box-shadow: 0 22px 45px rgba(21, 101, 192, 0.45);
        transform: translateY(-4px);
    }

    /* Chữ đậm nổi bật */
    .admission-highlight strong {
        color: #fffde7;
        font-weight: 700;
    }

/* Pulse rất nhẹ – không gây khó chịu */
@keyframes softPulse {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(30, 136, 229, 0.35);
    }

    50% {
        box-shadow: 0 20px 45px rgba(66, 165, 245, 0.55);
    }
}

/* Ánh sáng quét */
@keyframes shineMove {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Mobile tối ưu */
@media (max-width: 768px) {
    .admission-highlight {
        font-size: 0.95rem;
        padding: 20px 18px;
    }
}
/*co giãn theo tỷ lệ màn hình cho toàn trang*/
/* =========================================================
   FLUID RESPONSIVE – SCALE THEO KÍCH THƯỚC MÀN HÌNH
   Áp dụng cho toàn trang – KHÔNG vỡ layout
========================================================= */

/* ===== 1. FONT GỐC SCALE THEO MÀN HÌNH ===== */
html {
    font-size: clamp(14px, 0.9vw, 18px);
}

/* ===== 2. BIẾN KHOẢNG CÁCH THEO TỶ LỆ ===== */
:root {
    --space-xs: clamp(6px, 0.6vw, 10px);
    --space-sm: clamp(10px, 1vw, 16px);
    --space-md: clamp(16px, 1.6vw, 26px);
    --space-lg: clamp(24px, 2.2vw, 36px);
    --space-xl: clamp(32px, 3vw, 52px);
}

/* ===== 3. HEADER SCALE CHUẨN ===== */
.construction-header {
    padding: var(--space-lg) var(--space-md);
}

    .construction-header h1 {
        font-size: clamp(1.6rem, 3vw, 2.8rem);
    }

    .construction-header h2 {
        font-size: clamp(1.3rem, 2.4vw, 2.1rem);
    }

    .construction-header h3 {
        font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    }

/* ===== 4. NAVIGATION SCALE ===== */
.nav-icon {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.nav-text {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
}

/* ===== 5. SECTION & KHOẢNG CÁCH ===== */
.construction-section {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

    .construction-section h2 {
        font-size: clamp(1.4rem, 2.2vw, 2rem);
    }

    .construction-section p,
    .construction-section li {
        font-size: clamp(0.95rem, 1.2vw, 1.1rem);
        line-height: 1.6;
    }

/* ===== 6. CARD SCALE ===== */
.info-card,
.knowledge-card,
.career-sector {
    padding: clamp(16px, 2vw, 28px);
}

    .info-card h3,
    .knowledge-card h3,
    .sector-header h4 {
        font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    }

    /* ===== 7. ICON SCALE ===== */
    .info-card i,
    .knowledge-card .icon i,
    .sector-header .icon i {
        font-size: clamp(2rem, 3vw, 2.8rem);
    }

/* ===== 8. GRID GAP SCALE ===== */
.info-cards {
    gap: var(--space-md);
}

.specialties-grid,
.knowledge-section,
.career-opportunities,
.gallery {
    gap: var(--space-md);
}

/* ===== 9. GALLERY SCALE ===== */
.gallery-item {
    height: clamp(160px, 20vw, 220px);
}

/* ===== 10. FORM & BUTTON ===== */
.form-group input,
.form-group select {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    padding: clamp(10px, 1.4vw, 14px);
}

.submit-btn {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    padding: clamp(12px, 1.5vw, 16px);
}

/* ===== 11. ADMISSION HIGHLIGHT ===== */
.admission-highlight {
    padding: var(--space-lg);
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

/* ===== 12. BACK TO TOP ===== */
.back-to-top {
    width: clamp(42px, 4vw, 50px);
    height: clamp(42px, 4vw, 50px);
    font-size: clamp(16px, 1.8vw, 20px);
}

/* ===== 13. MÀN HÌNH RẤT LỚN (DESKTOP / 4K) ===== */
@media (min-width: 1600px) {
    .construction-container {
        max-width: 1400px;
    }
}

/* ===== 14. MOBILE TINH GỌN ===== */
@media (max-width: 768px) {
    .construction-header {
        padding: var(--space-md);
    }

    .construction-section {
        padding: var(--space-md);
    }
}
/*hết nội dung co giãn theo tỷ lệ màn hình*/

/*Scale tiêu đề theo tỷ lệ màn hình */
.construction-header {
    background-color: antiquewhite;
    text-align: center;
    padding: clamp(16px, 3vw, 40px);
}
    /* Khoa */
    .construction-header h2 {
        color: blue;
        font-size: clamp(1.1rem, 2.2vw, 1.6rem);
        margin-bottom: 0.3em;
        font-weight: 600;
        font-family: "Times New Roman", Times, serif;
    }
    /* Ngành */
    .construction-header h1 {
        color: blue;
        font-size: clamp(1.4rem, 3vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 0.4em;
        font-weight: 700;
        font-family: "Times New Roman", Times, serif;
    }
    /* Khẩu hiệu */
    .construction-header h3 {
        color: #dc2626;
        font-size: clamp(1rem, 2vw, 1.4rem);
        font-weight: 600;
    }
    /*hết Scale*/


.form-groupXD {
    margin-bottom: 15px;
}

    .form-groupXD input, .form-groupXD select {
        width: 100%;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        background: white;
        box-sizing: border-box;
    }
        /* 👉 HIỆU ỨNG KHI RÊ CHUỘT (HOVER) */
        .form-groupXD input:hover,
        .form-groupXD select:hover {
            border-color: #5dade2;
            background-color: #f8fbff;
            box-shadow: 0 0 0 2px rgba(93, 173, 226, 0.15);
            cursor: text; /* thể hiện rõ là ô nhập chữ */
        }
        .form-groupXD input:focus, .form-groupXD select:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

.submit-btnXD {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2980b9, #1a5276);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

    .submit-btnXD:hover {
        background: linear-gradient(135deg, #1a5276, #154360);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(26, 82, 118, 0.3);
    }
/* ===== CSS Đồng ý luật bảo vệ thông tin cá nhân ===== */
.simple-consent-sectionXD {
    margin: 25px 0 15px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f7ff 100%);
    border-radius: 10px;
    border: 1px solid #e1e8ff;
}

/* Checkbox custom */
.consent-checkboxXD-wrapperXD {
    margin-bottom: 15px;
}

.checkbox-itemXD {
    position: relative;
}

    .checkbox-itemXD input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .checkbox-itemXD label {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 12px 15px;
        background: white;
        border: 2px solid #dc3545; /* Mặc định màu đỏ (chưa check) */
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

        .checkbox-itemXD label:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
        }

    .checkbox-itemXD input[type="checkbox"]:checked + label {
        border-color: #28a745;
        background: #f0fff4;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    }

.custom-checkboxXD {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #dc3545;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: transparent;
    font-size: 11px;
    transition: all 0.3s ease;
}

.checkbox-itemXD input[type="checkbox"]:checked + label .custom-checkboxXD {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.checkbox-contentXD {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.checkbox-titleXD {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.checkbox-descXD {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Links section */
.consent-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed #e1e5eb;
}

.details-link, .change-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2c80ff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

    .details-link:hover, .change-link:hover {
        color: #1a5fd8;
        background-color: rgba(44, 128, 255, 0.05);
        text-decoration: none;
    }

    .details-link i, .change-link i {
        font-size: 12px;
    }

/* Nút submit - Enable/Disable */
.submit-btnXD {
    background: linear-gradient(135deg, #2c80ff 0%, #1a5fd8 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
}

    .submit-btnXD:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(44, 128, 255, 0.4);
    }

    .submit-btnXD:disabled {
        background: #6c757d;
        cursor: not-allowed;
        opacity: 0.7;
        transform: none;
        box-shadow: none;
    }

/* Animation cho khi enable */
@keyframes enableButton {
    from {
        opacity: 0.7;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.submit-btnXD:not(:disabled) {
    animation: enableButton 0.3s ease;
}

/* ===== CSS CHO POPUP CHI TIẾT ===== */
.privacy-details-popupXD {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.details-overlayXD {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.details-containerXD {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 10vh auto;
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

.details-headerXD {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #2c80ff 0%, #1a5fd8 100%);
    color: white;
}

    .details-headerXD h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.btn-close-detailsXD {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .btn-close-detailsXD:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.details-contentXD {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.legal-infoXD {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

    .legal-infoXD p {
        margin-bottom: 20px;
    }

.info-pointsXD {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.pointXD {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 4px solid #2c80ff;
}

    .pointXD i {
        font-size: 18px;
        color: #2c80ff;
        margin-top: 3px;
    }

    .pointXD strong {
        display: block;
        margin-bottom: 8px;
        color: #333;
    }

    .pointXD ul {
        margin: 0;
        padding-left: 20px;
    }

    .pointXD li {
        margin-bottom: 5px;
        color: #555;
    }

.legal-linkXD {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e1e5eb;
}

    .legal-linkXD a {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #2c80ff;
        text-decoration: none;
        font-size: 14px;
    }

        .legal-linkXD a:hover {
            text-decoration: underline;
        }

.details-footerXD {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.btn-understoodXD {
    background: linear-gradient(135deg, #2c80ff 0%, #1a5fd8 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .btn-understoodXD:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(44, 128, 255, 0.3);
    }

/* Responsive */
@media (max-width: 768px) {
    .consent-linksXD {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .details-containerXD {
        width: 95%;
        margin: 5vh auto;
        max-height: 90vh;
    }

    .pointXD {
        flex-direction: column;
        gap: 10px;
    }

    .checkbox-itemXD label {
        padding: 10px 12px;
    }

    .submit-btnXD {
        padding: 12px 20px;
        font-size: 15px;
    }
}
/*Hết luật bảo vệ thông tin cá nhân*/

/* CSS để modal scale theo tỷ lệ màn hình */
.modalchung {
    display: none; /* Mặc định ẩn, sẽ được hiển thị bằng JS */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modalchung-content {
    background-color: #fefefe;
    margin: 5vh auto; /* Căn giữa theo chiều dọc với margin % viewport height */
    padding: 2.5vw; /* Padding theo % viewport width */
    border: 1px solid #888;
    border-radius: 12px;
    width: 85%; /* Chiếm 85% chiều rộng màn hình */
    max-width: 1000px; /* Giới hạn chiều rộng tối đa lớn hơn */
    min-width: 300px; /* Giới hạn chiều rộng tối thiểu */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    position: relative;
    max-height: 85vh; /* Giới hạn chiều cao tối đa */
    overflow: hidden; /* ĐỔI TỪ auto THÀNH hidden */
    display: flex;
    flex-direction: column;
}

/* Tùy chỉnh thanh cuộn - DI CHUYỂN XUỐNG DƯỚI */
.modalchung-body::-webkit-scrollbar {
    width: 8px;
}

.modalchung-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modalchung-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .modalchung-body::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.close-modalchung {
    color: #666;
    float: right;
    font-size: clamp(28px, 2.5vw, 32px); /* Font size co giãn */
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
    transition: color 0.2s;
}

    .close-modalchung:hover,
    .close-modalchung:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

/* HEADER CỐ ĐỊNH */
.modalchung-header {
    margin-bottom: 1.5vh;
    padding-right: 30px; /* Để tránh chồng lên nút close */
    flex-shrink: 0; /* KHÔNG cho header co lại */
    position: sticky;
    top: 0;
    background-color: #fefefe; /* Màu nền trùng với modal */
    z-index: 5; /* Để header luôn trên cùng */
    padding-bottom: 10px; /* Thêm padding dưới để tách biệt */
    border-bottom: 1px solid #eaeaea; /* Đường phân cách với body */
}

    .modalchung-header h3 {
        margin-top: 0;
        font-size: clamp(1.4rem, 2.8vw, 2.2rem); /* Font size lớn hơn cho màn hình lớn */
        color: #2c3e50;
        border-bottom: 3px solid #3498db;
        padding-bottom: 12px;
        font-weight: 600;
        line-height: 1.2;
    }

/* BODY CÓ THANH CUỘN */
.modalchung-body {
    flex: 1; /* Chiếm không gian còn lại */
    margin: 1.5vh 0;
    overflow-y: auto; /* THÊM DÒNG NÀY - cho phép cuộn */
    padding: 10px 0; /* Thêm padding cho đẹp */
}

.modalchung-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Cột rộng hơn */
    gap: clamp(20px, 3vw, 30px); /* Khoảng cách co giãn */
    margin-bottom: clamp(25px, 3vh, 35px);
    text-align: justify;
}

.info-sectionchung {
    background: #f8fafc;
    padding: clamp(15px, 2vw, 20px);
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto; /* Tự động ngắt từ khi cần */
}

    .info-sectionchung h4 {
        font-size: clamp(1.1rem, 2.2vw, 1.6rem); /* Chữ lớn hơn cho màn hình lớn */
        color: #2980b9;
        margin-bottom: 15px;
        padding-left: 10px;
        font-weight: 600;
        line-height: 1.3;
    }

    .info-sectionchung p {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem); /* Chữ lớn hơn cho màn hình lớn */
        line-height: 1.6;
        margin-bottom: 4px;
        word-break: keep-all; /* Giữ từ không bị tách */
        white-space: normal;
        padding-left: 0; /* Đảm bảo không có padding thừa */
    }

    .info-sectionchung strong {
        font-weight: 600;
        color: #2c3e50;
    }

/* Cấu trúc lại danh sách với icon riêng biệt */
.styled-listchung {
    padding-left: 0;
    margin: 0;
    list-style-type: none;
}

    .styled-listchung li {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 10px;
        padding-left: 30px; /* Khoảng cách cho icon */
        position: relative;
        word-break: keep-all;
        white-space: normal;
        text-align: left;
        display: block;
    }

/* Cấu trúc lại danh sách với icon riêng biệt */
.styled-listchung {
    padding-left: 0;
    margin: 0;
    list-style-type: none;
}

    .styled-listchung li {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 10px;
        padding-left: 30px; /* Khoảng cách cho icon */
        position: relative;
        word-break: keep-all;
        white-space: normal;
        text-align: left;
        display: block;
    }

/* Icon cho danh sách - TẤT CẢ ĐỀU MÀU XANH */
.list-iconchung {
    position: absolute;
    left: 0;
    top: 0;
    color: #3498db; /* Màu xanh duy nhất cho tất cả icon */
    font-weight: bold;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    width: 24px;
    text-align: center;
    display: inline-block;
}

.career-opportunitieschung li {
    line-height: 1.7;
}

/* FOOTER CỐ ĐỊNH */
.modalchung-footer {
    text-align: center;
    padding-top: clamp(15px, 2vh, 20px);
    border-top: 1px solid #e0e0e0;
    margin-top: auto; /* Đẩy footer xuống dưới cùng */
    flex-shrink: 0; /* KHÔNG cho footer co lại */
    position: sticky;
    bottom: 0;
    background-color: #fefefe; /* Màu nền trùng với modal */
    z-index: 5; /* Để footer luôn dưới cùng */
    padding-bottom: 10px; /* Thêm padding dưới */
    background: linear-gradient(to bottom, rgba(254, 254, 254, 0.9), #fefefe); /* Gradient để blend */
    backdrop-filter: blur(5px); /* Hiệu ứng mờ nền */
}

.applychung-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: clamp(12px, 2.2vw, 16px) clamp(25px, 4.5vw, 40px);
    font-size: clamp(1rem, 2vw, 1.3rem); /* Chữ nút lớn hơn cho màn hình lớn */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    min-height: 44px; /* Đảm bảo dễ touch trên mobile */
}

    .applychung-btn:hover {
        background: linear-gradient(135deg, #2980b9, #2471a3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
    }

    .applychung-btn:active {
        transform: translateY(0);
    }

/* Media queries cho responsive */
@media (max-width: 1200px) {
    .modalchung-content {
        width: 90%;
        padding: 3vw;
    }

    .modalchung-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .styled-listchung li {
        padding-left: 28px;
    }
}

@media (max-width: 768px) {
    .modalchung-content {
        width: 92%;
        padding: 4vw;
        margin: 3vh auto;
        max-height: 90vh;
    }

    .modalchung-info-grid {
        grid-template-columns: 1fr; /* 1 cột trên mobile */
        gap: 20px;
    }

    .info-sectionchung {
        padding: 18px;
    }

    .styled-listchung li {
        padding-left: 26px;
    }

    .close-modalchung {
        font-size: 26px;
        top: 10px;
        right: 15px;
    }

    /* Điều chỉnh padding cho mobile */
    .modalchung-header {
        padding-right: 40px; /* Tăng để tránh chồng nút close */
    }

    .modalchung-body {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .modalchung-content {
        width: 95%;
        padding: 5vw;
        margin: 2vh auto;
        border-radius: 8px;
    }

    .modalchung-header h3 {
        font-size: 1.3rem;
        padding-bottom: 8px;
    }

    .info-sectionchung h4 {
        font-size: 1.1rem;
    }

    .info-sectionchung p,
    .styled-listchung li {
        font-size: 0.95rem;
    }

    .styled-listchung li {
        padding-left: 24px;
    }

    .list-icon {
        font-size: 1.1rem;
        width: 20px;
    }

    .applychung-btn {
        width: 100%;
        padding: 14px;
        font-size: 1.1rem;
    }

    /* Giảm kích thước header/footer trên mobile */
    .modalchung-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .modalchung-footer {
        padding-top: 12px;
        padding-bottom: 5px;
    }
}

/* Đảm bảo không bị rớt dòng ở các kích thước */
@media (max-width: 350px) {
    .modalchung-content {
        width: 98%;
        padding: 4vw;
    }

    .info-sectionchung {
        padding: 15px 12px;
    }

    .styled-listchung li {
        font-size: 0.9rem;
        line-height: 1.5;
        padding-left: 22px;
    }

    .list-icon {
        font-size: 1rem;
        width: 18px;
    }
}

/* Hiệu ứng cho header và footer khi cuộn */
.modalchung-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #eaeaea, transparent);
}

.modalchung-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #eaeaea, transparent);
}
/*Hết Modal*/

/*Hiệu ứng text input*/
#hovaten {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fff;
}

/* Hiệu ứng hover - viền chuyển màu xanh */
#hovaten:hover {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Hiệu ứng khi focus (click vào) */
#hovaten:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.2);
}

/* Hoặc hiệu ứng gradient border */
#hovaten.gradient-border {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #ddd, #ddd) border-box;
    transition: all 0.3s ease;
}

    #hovaten.gradient-border:hover {
        background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #3498db, #2ecc71) border-box;
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
    }

/* Hoặc hiệu ứng border animation từ trái sang phải */
#hovaten.animate-border {
    position: relative;
    border: 2px solid #ddd;
    overflow: hidden;
}

    #hovaten.animate-border::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
        transition: left 0.5s ease;
        pointer-events: none;
        z-index: 1;
    }

    #hovaten.animate-border:hover::before {
        left: 100%;
    }

    #hovaten.animate-border:hover {
        border-color: #3498db;
    }
