/* 1. Đặt màu nền body trùng màu section để xóa cảm giác bị hở */
body {
    background-color: transparent;
    /* Màu xanh đen giống trong ảnh của bạn */
    overscroll-behavior: none;
    /* Chặn hiệu ứng kéo nảy của trình duyệt */
}

/* 2. Đảm bảo section không có margin thừa */
.section {
    position: relative;
        /* Bắt buộc có dòng này */
        z-index: 2;
        /* Nổi lên trên Canvas 3D */
    margin: 0;
    padding: 0;
    /* Giữ nguyên các thuộc tính cũ */
}
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Section wrapper */
.section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* HERO SECTION ------------------------ */
.section-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-left: 8vw;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 45%;
    max-width: 600px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 4.4vw;
    line-height: 1.3;
    gap: 15px;
    letter-spacing: -0.01em;
    color: #fff;
}

.exp-title {
    /* 1. Cài đặt Flexbox để dùng được Gap */
    display: flex;
    flex-direction: column;

    /* 2. Copy thông số Gap và Line-height từ .hero-title qua để đồng nhất */
    gap: 15px;
    /* Khoảng cách giữa các dòng (Sửa số này giống Section 1) */
    line-height: 1.3;
    /* Chiều cao dòng (Sửa số này giống Section 1) */

    /* Các thuộc tính font chữ giữ nguyên của Section 2 */
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 4vw;
    /* Font size của section 2 thường nhỏ hơn section 1 xíu */
    color: #fff;
    margin: 0;
    /* Reset margin để Gap chuẩn xác hơn */
}
.hero-line-wrapper {
    overflow: hidden;
}

.hero-line {
    display: block;
    opacity: 0;
}

.hero-cta-group {
    margin-top: 4vh;
    display: flex;
    gap: 20px;
    opacity: 0;
}

.hero-btn {
    background: #ffffff14;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: white;
    border: 1px solid #ffffff33;
    transition: all .2s ease;
}

.hero-btn:hover {
    background: #ffffff22;
    border-color: #ffffff66;
}

/* Background parallax */
.bg-parallax-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.bg-parallax-img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    transform: translateY(0);
    transition: transform .4s ease;
}

/* EXPERIENCE SECTION */
.section-experience {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-left: 8vw;
    display: flex;
    align-items: center;
}

.exp-line {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 4vw;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #fff;
    opacity: 0;
}

.exp-content {
    position: relative;
    z-index: 3;
}

/* ===============================
   INDICATORS — your original CSS
   ===============================*/

.indicator-wrapper {
    position: absolute;
    right: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-svg {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    /* Xoay để bắt đầu vẽ từ đỉnh 12h */
}

.circle-progress {
    transform-origin: 50% 50%;
    stroke-linecap: round;
    /* Quan trọng: Đầu nét cắt bằng để khớp với chấm tròn */
}

/* Khung quay chấm tròn */
.dot-rotator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    display: none;
    /* Không xoay khung này ở CSS, để JS lo việc xoay 0 -> 360 */
}

/* Chấm tròn nhỏ: Đặt ở đỉnh (12h) để khớp với SVG đã xoay -90deg */
.rotating-dot {
    position: absolute;
    top: 0;
    /* Đính lên đỉnh */
    left: 50%;
    /* Giữa chiều ngang */
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    /* Căn tâm chính xác */
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    display: none;
}

/* ===================================================
   GLOBAL NAVIGATOR (THE RIGHT-SIDE CIRCLE + DOTS)
   =================================================== */

.global-navigator {
    position: fixed;
    right: 4vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    pointer-events: none;
}

.nav-tracker {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding: 30px 0;
}

.nav-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.nav-label {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #ffffffd0;
    letter-spacing: 0.12em;
    white-space: nowrap;
    line-height: 1;
    margin-top: 2px;
    opacity: 0;
}
.active-indicator {
    position: absolute;
    right: -19px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: none;
}


.section-hero .indicator-wrapper {
    display: none !important;
    /* FIX */
}

/* ======================================================
   FIX #2 — ensure navigator circle is centered properly
   ====================================================== */

.global-navigator .indicator-wrapper {
    position: relative;
    /* Bỏ absolute cũ đi */
    right: auto;
    top: auto;
    transform: none;
    width: 44px;
    height: 44px;
}

.global-navigator .circle-progress {
    transform-origin: 50% 50%;
}

.global-navigator .dot-rotator {
    position: absolute;
    inset: 0;
    /* Full 44x44 */
    transform-origin: 50% 50%;
    /* Chấm trắng sẽ nằm ở đỉnh vòng tròn */
}
.nav-tracker {
    /* Cho phép chuột tương tác lại với khu vực chứa các chấm */
    pointer-events: auto !important;
}

.nav-dot {
    cursor: pointer;
    /* Hiện bàn tay khi di chuột vào */
    pointer-events: auto;
    /* Đảm bảo nhận sự kiện click */
    transition: transform 0.2s ease;
    /* Hiệu ứng nhấn nhẹ */
}

.nav-dot:hover {
    transform: scale(1.5);
    /* Phóng to nhẹ khi hover để dễ bấm */
}