﻿.box_QuyTrinh {
	padding: 60px 0;
}

.content-wrapper {
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: center;
    position: relative;
	padding-top: 40px;
}

/* --- PHẦN BÊN TRÁI: LOGO HÌNH THOI --- */
.left-section {
    position: relative;
    width: 350px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 30%;
}

/* Khối hình thoi bao ngoài (Màu xanh trang trí) */
.diamond-blue-bg {
    position: absolute;
    width: 260px;
    height: 260px;
    background-color: #1a428a;
    transform: rotate(45deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    /* Dịch chuyển nhẹ để tạo hiệu ứng viền xanh 1 bên */
    left: 65px;
}

/* Khối hình thoi màu trắng (Chính) */
.diamond-white {
    position: absolute;
    width: 260px;
    height: 260px;
    background-color: #fff;
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Đẩy lên trên đè lên khối xanh */
    left: 85px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

/* Nội dung bên trong hình thoi (Logo + Tên) */
.logo-container {
    transform: rotate(-45deg); /* Xoay ngược lại để chữ thẳng */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	width: 140px;
}

/* Vẽ biểu tượng GS bằng CSS */
.logo-symbol {
    width: 90px;
    height: 90px;
    position: relative;
    margin-bottom: 15px;
}

    /* Nửa trên logo (màu xám đậm) */
    .logo-symbol::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 80%;
        height: 55%;
        border-top: 12px solid #333;
        border-left: 12px solid #333;
        border-bottom: 12px solid #333;
    }

    /* Nửa dưới logo (màu xanh) */
    .logo-symbol::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80%;
        height: 55%;
        border-bottom: 12px solid #205098;
        border-right: 12px solid #205098;
        border-top: 12px solid #205098;
    }

.brand-name {
    font-size: 16px;
    font-weight: 900;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* --- PHẦN BÊN PHẢI: QUY TRÌNH (LIST) --- */
.right-section {
    position: relative;
    /* flex: 1; */
    height: 600px;
    margin-left: -50px; /* Kéo nội dung lại gần hình thoi */
    width: 70%;
}

    /* Vẽ đường cong đứt nét (Dashed Line Arc) */
    .right-section:before {
        content: '';
        position: absolute;
        top: 0;
        left: -72px;
        width: 300px;
        height: 600px;
        pointer-events: none;
        z-index: 1;
        background-image: url("/assets/images/lineCircle.svg");
        background-repeat: no-repeat;
        background-size: 100% 100%; /* Ép SVG fit đúng hình ellipse */
        background-position: center;
    }

/* Container cho từng bước (Step) */
.step-item {
    position: absolute;
    display: flex;
    align-items: flex-start;
    width: 100%;
    transition: all 0.3s ease;
}

    .step-item:hover {
        /* transform: translateX(10px); */
    }

/* Nút tròn số (01, 02...) */
.step-number {
    width: 50px;
    height: 50px;
    background-color: #103e85;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffeb3b; /* Màu vàng */
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 0 0 5px #091F38; /* Tạo viền giả trùng màu nền để cắt đường dashed */
    z-index: 2;
    cursor: pointer;
}

.step-item:hover .step-number {
    /* background-color: #2563eb; */
    /* color: #fff; */
}

/* Phần nội dung văn bản */
.step-content {
    padding-top: 5px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #fff;
}

.step-desc {
    font-size: 14px;
    color: #b0c4de; /* Màu chữ xám xanh nhạt cho dễ đọc */
    line-height: 1.4;
    max-width: 700px;
}

/* --- ĐỊNH VỊ VỊ TRÍ TỪNG BƯỚC (Theo hình vòng cung) --- */
/* Tính toán vị trí top/left để tạo hình cong lồi ra */

/* Bước 1 */
.step-1 {
    top: 50px;
    left: 50px;
    /* width: 600px; */
}

/* Bước 2 */
.step-2 {
    top: 160px;
    left: 100px;
}

/* Bước 3 (Ở giữa - Lồi ra nhất) */
.step-3 {
    top: 275px; /* Giữa chiều cao */
    left: 115px;
}

/* Bước 4 */
.step-4 {
    top: 390px;
    left: 95px;
}

/* Bước 5 */
.step-5 {
    top: 500px;
    left: 40px;
}

/* Responsive Mobile cơ bản (nếu màn hình nhỏ) */
@media (max-width: 900px) {
	.box_QuyTrinh {
		padding: 60px 0 0;
	}
    .content-wrapper {
        flex-direction: column;
    }
	.diamond-blue-bg, .diamond-white {
		width: 200px;
		height: 200px;
	}
    .left-section {
        margin-bottom: 50px;
        width: 100%;
        height: 240px;
    }

    .right-section {
        height: auto;
        margin-left: 0;
        width: 100%;
    }

    .right-section:before  {
        content: none; /* Ẩn đường cong trên mobile */
    }

    .step-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        margin-bottom: 20px;
        width: 100%;
    }
}
