﻿:root {
    /* NỀN TO BÊN NGOÀI (Giữ nguyên theo yêu cầu) */
    --bg-outer: #044aa3;
    /* NỀN BÊN TRONG: Đã được nâng sáng lên tông Xanh Hoàng Gia rất bắt mắt */
    --bg-inner: #1660c4;
    /* MÀU ĐIỂM NHẤN: Chuyển sang Vàng Hổ Phách tạo sự năng động, tươi sáng cho giáo dục */
    --tech-accent-gold: #ffcc00;
    --tech-dark-blue: #022b61;
}

/* 1. KHUNG NỀN TO BÊN NGOÀI (Tech-Grid Background) */
.tech-banner-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-color: var(--bg-outer);
    /* Lưới vi mạch mờ nhẹ */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 25px 25px;
    display: flex;
    align-items: center;
    padding: 50px 0;
    margin-top:40px;
}

    /* Hào quang góc phải */
    .tech-banner-section::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 45%;
        height: 100%;
        background: radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
        z-index: 1;
    }

/* 2. KHỐI TRONG VÁT NGHIÊNG ĐA LỚP (Được làm sáng lên) */
/* Sọc trang trí dọc màu Vàng Gold tương phản rực rỡ trên nền xanh */
.decor-stripe-left {
    position: absolute;
    left: 2%;
    top: 0;
    width: 35px;
    height: 100%;
    background-color: var(--tech-accent-gold);
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

/* Khối nền nội dung bên trong - Tone màu xanh sáng khỏe khoắn */
.skew-inner-container {
    position: relative;
    background-color: var(--bg-inner);
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 8px);
    padding: 35px 50px;
    z-index: 3;
    /* Đổ bóng mịn màng */
    box-shadow: 0 20px 40px rgba(2, 43, 97, 0.4);
    border-left: 6px solid #ffffff;
}

/* Áp dụng vát góc nghiêng cho màn hình lớn */
@media (min-width: 992px) {
    .decor-stripe-left {
        transform: skewX(-14deg);
    }

    .skew-inner-container {
        transform: skewX(-14deg);
        margin-left: 40px;
        margin-right: 20px;
    }

    .unskew-content {
        transform: skewX(14deg);
    }
}

/* 3. KHỐI HÌNH ẢNH MINH HỌA */
.avatar-wrapper {
    position: relative;
    text-align: center;
}

.img-tech-dev {
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 15px 20px rgba(2, 43, 97, 0.4));
    animation: technicalFloating 4s ease-in-out infinite;
}

@keyframes technicalFloating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 4. KHỐI TIÊU ĐỀ SLOGAN CHÍNH */
.title-main-holder {
    color: #ffffff;
}

.banner-main-title {
    font-size: 1vw;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    font-style: italic;
    color: #ffffff;
    text-shadow: 2px 2px 3px rgba(2, 43, 97, 0.5);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.banner-sub-philosophy {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tech-accent-gold); /* Chữ phụ đổi sang màu vàng tươi sáng rực rỡ */
    display: inline-block;
    position: relative;
    padding-top: 8px;
}

    .banner-sub-philosophy::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--tech-accent-gold);
    }

/* 5. KHỐI QUY TRÌNH ĐÀO TẠO MÀU TRẮNG NỔI BẬT */
.process-white-card {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 25px 20px;
    box-shadow: 0 15px 35px rgba(2, 43, 97, 0.3);
    position: relative;
}

.process-main-header {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: var(--tech-dark-blue);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    width:100%;
    text-align:center;
}

/* Cấu trúc dòng chảy các bước (Flow Step) */
.flow-diagram-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.diagram-node {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Bao bọc Icon Font Awesome */
.fa-icon-container {
    width: 46px;
    height: 46px;
    background-color: #edf4fc;
    border: 2px solid var(--bg-outer);
    color: var(--bg-outer);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 18px;
    box-shadow: 3px 3px 0px var(--tech-dark-blue);
    transition: all 0.2s ease;
}

/* Hiệu ứng Hover chuyển màu sang vàng cá tính */
.diagram-node:hover .fa-icon-container {
    background-color: var(--bg-outer);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 3px 3px 0px var(--tech-accent-gold);
}

.class-name-tag {
    font-family: monospace;
    font-size: 10px;
    color: #777;
    background: #f0f0f0;
    padding: 1px 4px;
    border-radius: 3px;
    display: block;
    width: fit-content;
    margin: 2px auto 6px auto;
}

.node-bold-text {
    font-size: 11px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}

.node-sub-desc {
    font-size: 9.5px;
    color: #555555;
    line-height: 1.2;
    display: block;
    margin-top: 3px;
}

/* Đường mũi tên nối giữa các bước */
.diagram-node:not(:last-child)::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: -10px;
    font-size: 11px;
    color: #cbd5e1;
    z-index: 10;
}

/* --- TỰ ĐỘNG RESPONSIVE CHO ĐIỆN THOẠI & TABLET --- */
@media (max-width: 991.98px) {
    .tech-banner-section {
        padding: 30px 10px;
    }

    .decor-stripe-left {
        display: none;
    }

    .skew-inner-container {
        padding: 30px 15px;
        border-left: none;
        border-top: 5px solid #ffffff;
    }

    .banner-main-title {
        font-size: 26px;
        text-align: center;
        margin-top: 20px;
    }

    .banner-sub-philosophy {
        font-size: 18px;
        display: block;
        text-align: center;
        margin-bottom: 25px;
    }

        .banner-sub-philosophy::before {
            left: 50%;
            transform: translateX(-50%);
        }

    .process-white-card {
        margin-top: 20px;
    }

    .diagram-node:not(:last-child)::after {
        display: none;
    }

    .flow-diagram-row {
        gap: 10px;
    }

    .node-bold-text {
        font-size: 10px;
    }
}
