* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    cursor: none; 
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none; /* Cực kỳ quan trọng: Đảm bảo con trỏ không chặn click chuột */
    z-index: 9999; /* Đảm bảo nó luôn nằm trên cùng */
    /* Dùng translate thay vì top/left để GSAP tối ưu hóa chuyển động */
    will-change: transform; 
}

/* 1. Con trỏ chính (Chấm đen) */
.dot-cursor {
    width: 6px; /* Kích thước chấm đen */
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    /* Căn giữa chính xác tại vị trí con trỏ (dịch chuyển 50% kích thước) */
    transform: translate(-50%, -50%); 
}

body.dark-bg-active .circle-cursor {
    border: 1px solid #fff; 
}

/* 2. Con trỏ theo sau (Vòng tròn rỗng) */
.circle-cursor {
    width: 25px; /* Kích thước vòng tròn */
    height: 25px;
    border: 1px solid #000;
    border-radius: 50%;
    /* Căn giữa */
    transform: translate(-50%, -50%); 
}

body.dark-bg-active .dot-cursor {
    /* Đổi màu chấm đen thành trắng */
    background-color: #fff; 
}

/* Hiệu ứng khi con trỏ đi qua các phần tử tương tác (ví dụ: liên kết) 
a:hover ~ .circle-cursor,
.slot-card.available:hover ~ .circle-cursor,
.open-project-btn:hover ~ .circle-cursor,
.footer-contact-btn:hover ~ .circle-cursor {
    /* Khi hover vào, vòng tròn sẽ to lên hoặc thay đổi màu sắc 
    transform: translate(-50%, -50%) scale(1.5); /* Phóng to vòng tròn
    background-color: rgba(0, 0, 0, 0.1); /* Thêm nền mờ 
    border-color: transparent; /* Ẩn viền 
    mix-blend-mode: difference; /* Tùy chọn: tạo hiệu ứng màu sắc tương phản 
}*/

body {
    font-family: 'Space Mono', sans-serif;
    color: #000;
    background-color: #f5f5f5; 
    line-height: 1.4;
    overflow-x: hidden;
}

/* ------------------------------------------ */
/* THIẾT LẬP CHUNG */
/* ------------------------------------------ */

section {
    padding: 100px 5vw; 
}

/* Định dạng chữ to, đậm */
h1 {
    font-size: 2.8vw;
    line-height: 1.1;
    text-transform: 700;
}
h2 {
    font-size: 2.8vw;
    text-transform: 600;
}

/* Kích thước chữ trên di động */
@media (max-width: 768px) {
    h1 { font-size: 8vw; }
    h2 { font-size: 5vw; }
}


/* ------------------------------------------ */
/* THANH ĐIỀU HƯỚNG (NAVBAR) */
/* ------------------------------------------ */

.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px; /* Sửa padding để căn chỉnh đúng */
    z-index: 100; 
    transition: transform 0.3s ease-out, opacity 0.3s;
    background-color: transparent;
}

.navbar-hidden {
    /* Ẩn khi cuộn xuống */
    transform: translateY(-150%); /* Sửa để ẩn hoàn toàn */
    opacity: 0;
}

.logo {
    font-weight: 550;
    font-size: 2rem;
    text-transform: uppercase;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

.nav-links-wrapper {
    position: relative;
    background-color: #fff;
    border-radius: 50px;
    padding: 2px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.hover-highlight {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e3e3e3; 
    border-radius: 50px;
    height: 100%; 
    width: 0; 
    opacity: 0;
    pointer-events: none; /* Rất quan trọng: Đảm bảo highlight không chặn click chuột vào các liên kết */
    z-index: 1; 
    transition: opacity 0.3s ease; /* Transition mờ dần khi chuột ra */
}

.nav-links-wrapper nav a {
    position: relative;
    z-index: 2; 
    padding: 7px 15px; /* Tăng padding để tạo khoảng cách cho khối highlight */
    margin: 0 0; /* Loại bỏ margin-left/right cũ, dùng padding */
}

.navbar a {
    text-decoration: none;
    color: #000;
    margin: 0 10px; /* Sửa margin để căn chỉnh trong khối bo tròn */
    text-transform: uppercase;
    font-size: 1rem;
    padding: 5px 0;
    transition: color 0.2s ease-in-out;
}

.navbar a:hover {
    color: #555;
}


/* ------------------------------------------ */
/* PHẦN GIỚI THIỆU (HERO SECTION) */
/* ------------------------------------------ */
hero-top-info { 
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; /* Căn chỉnh lên trên */
    margin-bottom: 80px; 
}

/* Đồng hồ thời gian */
.time-widget p {
    font-size: 1.1rem; 
    line-height: 1.4;
    color: #555; 
}

/* Nút liên hệ */
.btn-contact {
    font-size: 1rem;
    color: #555;
    text-decoration: underline;
    text-transform: uppercase;
    transition: color 0.3s;
}

.btn-contact-footer {
    position: relative;
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 35px; 
    /*padding-left: 40px;*/
    line-height: 1;
    border-radius: 50px; 
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8em;
    cursor: none; 

    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-contact-footer:hover {
    background-color: #333; 
  
}

.custom-cursor {
    z-index: 9999;
}

.dot-in-btn {
    position: absolute;
    left: 15px; 
    top: 50%;
    transform: translateY(-50%);
    width: 8px; 
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0; /* Ban đầu ẩn đi */
    transition: opacity 0.3s ease;
}

/* ------------------------------------------ */
/* GIÁ TRỊ CỐT LÕI (VALUES SECTION) */
/* ------------------------------------------ */
#values {
    padding-top: 50px;
}

.value-list {
    margin-top: 60px;
}

.value-item {
    padding: 20px 0;
    border-top: 1px solid #ccc;
    display: flex;
    align-items: center; 
}

.value-item:last-child {
    border-bottom: 1px solid #ccc;
}

.value-number {
    font-size: 1rem;
    font-weight: bold;
    margin-right: 40px;
}

.value-text {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .value-text {
        font-size: 1.5rem;
    }
}

.value-description {
    /* Thêm khoảng cách trên để tách khỏi mục giá trị cuối cùng */
    margin-top: 30px; 
    padding-left: 5vw; 
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ------------------------------------------ */
/* DỰ ÁN (WORK SECTION) */
/* ------------------------------------------ */
.slot-section {
    padding: 100px 5vw;
    background-color: #f5f5f5;
    text-align: center;
}

.slot-section .small-text {
    font-size: 0.7em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 10px;
    display: block; /* Đảm bảo nó là một khối riêng biệt */
    width: fit-content; /* Chỉ rộng bằng nội dung */
    margin: 0 auto 5px auto; /* Căn giữa tiêu đề phụ */
}

.slot-section .section-title {
    font-size: 1.5vw; 
    line-height: 1.25;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.slot-cards-grid {
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    display: inline-grid; 
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.slot-card {
    position: relative;
    height: 130px;
    opacity: 0; 
    transform: translateY(50px);
    font-size: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 15px;
    font-weight: 400;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0s;
    will-change: transform, opacity;
}

.slot-card:hover {
    transform: translateY(0px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slot-number {
    font-size: 1.2em;
    text-transform: uppercase;
    z-index: 2;
    font-weight: 700;
}

/* Slot Booked */
.slot-card.booked {
    background-color: #fff;
    color: #ccc; /* Chữ màu xám */
    border: 1px solid #eee;
}

.slot-card.booked .status {
    font-size: 0.6em;
    text-transform: uppercase;
    z-index: 2;
}

.slot-card.booked .diagonal-line {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(
            to bottom right,
            transparent calc(50% - 1px), 
            #eee calc(50% - 1px), 
            #eee calc(50% + 1px), 
            transparent calc(50% + 1px)
        );
    transform: rotate(45deg);
    z-index: 1;
}

/* Slot Available */
.slot-card.available {
    background-color: #007bff; /* Màu xanh dương cho Available */
    color: #fff;
}

.slot-card.available .status-indicator {
    font-size: 0.8em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.slot-card.available .status-indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 8px;
}

/* Responsive cho Slot Cards */
@media (max-width: 1024px) {
    .slot-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Tự động điều chỉnh cột */
        gap: 8px;
    }
    .slot-section .section-title {
        font-size: 3.5vw;
    }
}

@media (max-width: 768px) {
    .slot-cards-grid {
        grid-template-columns: 1fr 1fr; /* 2 cột trên di động */
    }
    .slot-section .section-title {
        font-size: 5vw;
    }
}

@media (max-width: 480px) {
    .slot-cards-grid {
        grid-template-columns: 1fr; /* 1 cột trên di động */
    }
}

/* Thêm media query cho màn hình cực lớn */
@media (min-width: 1600px) {
    .slot-section .section-title {
        /* Đặt giới hạn cứng cho kích thước chữ để nó không bị quá to trên màn hình lớn */
        font-size: 24px; /* Khoảng 1.5vw trên màn hình 1600px */
    }
}

.project-grid {
    display: none
}

/* Tắt định dạng Project Grid cũ nếu có */
.project-grid {
    display: none; 
}

/* Định dạng section chứa Carousel */
.project-carousel-section {
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Tiêu đề "See our work" */
.project-carousel-section .section-title {
    /* Thêm padding ngang để căn chỉnh với lề chung (5vw) */
    padding: 0 5vw; 
    margin-bottom: 30px;
}

/* Container chính của các slide */
.project-carousel-container {
    flex-grow: 1; 
    position: relative;
    overflow: hidden; 
    height: calc(100vh - 80px - 60px); /* 80px là chiều cao controls, 60px là chiều cao h2 + margin */
    padding: 0 5vw; /* Thêm padding ngang để hình ảnh không sát mép màn hình */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Định dạng từng Slide (Dự án) */
.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*opacity: 0;
    transition: opacity 0.5s; /* Dùng JS/GSAP cho chuyển động mượt hơn */
    transform: translateX(100%);
}

/*.project-slide.active {
    opacity: 1;
    z-index: 5;
}*/

.slide-background-image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background-color: #000; 
}

.slide-nav-area {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%; /* Mỗi vùng chiếm 50% chiều rộng */
    z-index: 10; /* Đặt trên các slide nhưng dưới các controls khác */
    opacity: 0; /* Ẩn vùng này đi, chỉ giữ lại con trỏ */
    /* border: 1px solid red; /* Dùng tạm để test vị trí */
}

.slide-nav-left {
    left: 0;
    /* Áp dụng con trỏ tùy chỉnh cho slide trước */
    cursor: url('assets/cursors/arrow-left.png'), w-resize; /* Dùng con trỏ hình mũi tên trái */
}

.slide-nav-right {
    right: 0;
    /* Áp dụng con trỏ tùy chỉnh cho slide sau */
    cursor: url('assets/cursors/arrow-right.png'), e-resize; /* Dùng con trỏ hình mũi tên phải */
}

.slide-nav-left {
    /* Thay 'arrow-left.png' bằng đường dẫn đến file mũi tên trái của bạn */
    cursor: url('images/arrow-left.png'), auto; 
}

.slide-nav-right {
    /* Thay 'arrow-right.png' bằng đường dẫn đến file mũi tên phải của bạn */
    cursor: url('images/arrow-right.png'), auto; 
}

/* FALLBACK: Dùng con trỏ có sẵn nếu hình ảnh không load được */
.slide-nav-left:hover {
    cursor: w-resize; 
}
.slide-nav-right:hover {
    cursor: e-resize; 
}

/* Thanh Điều hướng Dự án (Project Controls) */
.project-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5vw; /* Padding ngang 5vw để căn lề */
    background-color: #f5f5f5; /* Nền mờ nếu cần */
    border-top: 1px solid #ccc; /* Đường kẻ trên mỏng */
    height: 80px; /* Chiều cao cố định */
}

.open-project-btn {
    /* Định dạng nút OPEN PROJECT giống trong hình */
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.arrow-icon {
    /* Định dạng mũi tên trong nút */
    display: inline-block;
    border: 1px solid #000;
    border-radius: 50%;
    padding: 5px;
    margin-right: 10px;
    font-size: 0.7em;
    line-height: 1;
}

.pagination-bar-wrapper {
    display: flex;
    align-items: flex-end; /* Quan trọng: căn chỉnh các thanh từ dưới lên */
    gap: 5px; /* Khoảng cách giữa các thanh */
    height: 30px; /* Chiều cao tối đa của thanh cao nhất */
}

/* Thanh chỉ mục mỏng (Pagination Bar) - chỉ cần cho CSS tạo hiệu ứng */
.pagination-bar {
    width: 2px; /* Độ dày của thanh */
    height: 10px; /* Chiều cao mặc định */
    background-color: rgba(0, 0, 0, 0.4); /* Màu xám mờ */
    cursor: pointer;
    transition: background-color 0.2s, height 0.3s ease-out;
}

.pagination-bar.active {
    background-color: #000; /* Màu đen đậm */
    height: 25px; /* Chiều cao tăng lên */
}

/* Hiệu ứng trượt ngang cho Slide (CSS cho GSAP) */
.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Thêm thuộc tính transform cho GSAP hoạt động */
    transform: translateX(100%); 
}

.project-slide.active {
    opacity: 1;
    z-index: 5;
    transform: translateX(0);
}

.pagination-index {
    font-family: 'Space Mono', monospace; 
    font-size: 0.8em;
}

.project-card {
    height: 400px;
    background-color: #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    overflow: hidden;
}


/* ------------------------------------------ */
/* FORM ĐA BƯỚC (APPLICATION FORM) */
/* ------------------------------------------ */

.form-section {
    padding: 10vh 5vw;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#project-form {
    width: 100%;
    max-width: 700px;
    margin-top: 50px;
}

.form-step {
    display: none;
    padding: 30px 0;
}

.form-step.active {
    display: block;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.form-option {
    background: none;
    border: 1px solid #000;
    padding: 20px 30px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
}

.form-option:hover, .form-option.selected {
    background-color: #000;
    color: #fff;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 15px 0;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1.1em;
    outline: none;
    background-color: transparent;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.next-step-btn-manual, .submit-btn {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    float: right;
    margin-top: 20px;
}

.footer {
    padding-top: 70px; 
    padding-bottom: 100px;
    padding-left: 5vw;
    padding-right: 5vw; 
    background-color: #f5f5f5; 
    color: #000;
}

.footer-top-line {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    /* 3 cột, cột cuối cùng lớn hơn */
    grid-template-columns: 1fr 1fr 1.5fr; 
    gap: 40px; 
    align-items: flex-start;
}

.footer-col p {
    margin-bottom: 5px;
    font-size: 0.6rem;
    line-height: 1.3;
}

#hero {
    position: relative; /* Đặt hero làm tham chiếu */

}

.hero-top-info {
    position: absolute;
    top: 150px; /* Vị trí dưới Navbar */
    left: 5vw; /* Đẩy sát lề trái */
    width: 90%; /* Chiếm 100% không gian trừ padding (90% là 100% - 5vw - 5vw) */
    
    /* Dùng Flexbox để phân chia các khối theo chiều ngang */
    display: flex;
    justify-content: space-between; 
    align-items: flex-end; 
}

.hero-top-info .info-column,
.hero-top-info .date-block {
    /* Đặt chiều rộng cố định cho 2 cột đầu tiên để chúng không bị quá rộng */
    width: 200px; 
}
.footer-link,
.footer-link:visited {
    color:#000;
    text-decoration:underline;
    font-size: 0.6rem;
    transition: color 0.3s;
    cursor: none;
}

.footer-link:hover {
    color: #333;
    text-decoration: none;
}

.footer-col-right {
    text-align: right; /* Căn phải cho cột cuối cùng */
}

.footer-about-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột như mẫu */
    gap: 40px;
    padding-top: 50px;
}
.footer-col h4 {
    text-transform: uppercase;
    font-size: 1em;
    margin-bottom: 400px;
    font-weight: 700;
}
/* Các chi tiết khác (Instagram, Behance) cần thêm biểu tượng mũi tên */
.footer-social-link {
    display: block;
    text-decoration: none;
    margin-bottom: 5px;
}

.btn-contact-footer {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 3px 5px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 0.7em;
    transition: background-color 0.3s;
}

.btn-contact-footer:hover {
    background-color: #333;
}

/* Responsive cho Footer (trên điện thoại) */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 cột trên di động */
        gap: 60px;
    }

    .footer-col-right {
        text-align: left; /* Căn trái trên di động */
        margin-top: 40px;
    }

    .btn-contact-footer {
        width: 100%;
        text-align: center;
    }
}


.footer2 {
    padding: 100px 5vw; 
    min-height: 150px;
    background-color: #000; 
    color: #fff; /* Chữ trắng */
    position: relative; /* Giữ relative cho bước đầu */
    z-index: 99; 
    bottom: auto;
}

.footer-header {
    display: flex;
    /* Đẩy logo (trái) và nút (phải) ra hai đầu */
    justify-content: space-between; 
    align-items: flex-end; /* Căn chỉnh đáy chữ (baseline) */
    margin-bottom: 50px; 
    z-index: 10;
}

.footer-logo {
    font-size: 3em; 
    font-weight: 700;
    color: #fff !important;
    display: block !important;
    line-height: 1; 
    text-transform: uppercase;
    position: relative; /* Giữ relative */
    z-index: 10;
}

.footer-contact-btn {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem; 
    line-height: 1; 
    
    
    transition: color 0.2s, border-color 0.2s;
}

.footer-contact-btn:hover {
    color: #fff;
    border-color: #fff;
}

/* Các thành phần khác cần điều chỉnh màu chữ */
.footer-link2, .footer-about-text2 {
    color: #ccc; 
    border-color: #ccc;
}
.footer-col2 p{
    font-size: 13px; 
    line-height: 1.5;
    margin-bottom: 1px; 
    font-weight: 400;
}

.footer-col p:first-of-type { 
    /* Dùng font-size cố định (px) để dễ kiểm soát với Monospace */
    font-size: 12px; 
    line-height: 1.6; /* Tăng line-height cho dễ đọc */
    font-weight: 400; /* Giữ độ mảnh */
}

.footer-top-line2 {
    /* Đổi màu đường kẻ cho dễ nhìn trên nền đen */
    background-color: #333; 
}
/* Đảm bảo các liên kết khác cũng có màu trắng/sáng */
.footer a {
    color: #fff;
}

/* THÊM CẤU TRÚC CHO FOOTER OPEN PROJECT */
.footer-links-grid {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 100;
    display: grid;
    grid-template-columns: 1.3fr 1fr auto auto auto; /* 4 cột như mẫu */
    gap: 100px;
    padding-top: 50px;
}

.footer-col p{
    font-size: 0.6rem;
    line-height: 1.3; 
}

.footer-links-grid > .footer-col:first-child {
    text-align: left;
}

.footer-col h4 {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
}
/* Các chi tiết khác (Instagram, Behance) cần thêm biểu tượng mũi tên */
.footer-social-link {
    font-size: l2px; 
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
    color: #999; 
    transition: color 0.2s;
    font-weight: 400;
}

.footer-social-link:hover, .footer-col p a:hover {
    color: #fff;
    font-size: 10px;
    margin-bottom: 10px;
    font-weight: 400;
}

.copyright {
    font-size: 0.7rem; 
    color: #666;
    text-align: left;
    margin-top: 50px;
}

/* --- Project Detail Modal Overlay --- */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222 !important; 
    color: var(--color-secondary); /* Trắng */
    z-index: 2000; /* Cao hơn mọi thứ khác */
    opacity: 0; /* Ban đầu ẩn đi */
    visibility: hidden; /* Ban đầu ẩn đi khỏi cây DOM */
    transform: translateY(100%);
    overflow-y: scroll; /* Cho phép cuộn bên trong modal */
    padding: 0 5vw;
    
}

body.modal-open .circle-cursor {
    /* FIX: Chỉ đổi màu viền, không đổi màu nền */
    border-color: #fff !important; 
    background-color: transparent !important; /* Đảm bảo nền trong suốt */
}

body.modal-open .dot-cursor {
    /* FIX: Chỉ đổi màu nền cho chấm nhỏ */
    background-color: #fff !important; 
}

/* Đảm bảo vòng tròn không bị ẩn khi hover trên nền đen */
body.modal-open a:hover ~ .circle-cursor {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 0px !important;
}

/* Header của Project */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    border-bottom: 2px solid rgb(255, 255, 255);
    position: relative;
}

.project-title {
    font-size: clamp(1.8rem, vw, 1.5rem);
    font-weight: 700;
}

.project-meta-info {
    font-size: 0.8rem;
    text-align: right;
    line-height: 1.4;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute; 
    right: 0;
    bottom: -50px; 
    z-index: 10;
}

.modal-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--color-secondary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 2010;
}

/* Khu vực Mô tả */
.project-description-area {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Chia 1/3 cho tiêu đề, 2/3 cho mô tả */
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 20px;
}

.project-summary {
    grid-column: 2 / 3; /* Chỉ chiếm cột thứ hai */
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.9;
    text-align: right;
    margin: 0;
}

.btn-live-site {
    /* Nút LIVE SITE tương tự như nút Contact Us */
    grid-column: 2 / 3;
    display: flex;
    width: fit-content;
    color: var(--color-secondary);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--color-secondary);
    padding: 3px 9px;
    border-radius: 50px;
    margin-left: auto;
    transition: background-color 0.3s, color 0.3s;
}

.btn-live-site .arrow-icon-small {
    margin-left: 5px; 
    font-size: 1em; 
}

.btn-live-site:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

/* Khu vực hình ảnh */
.project-visuals {
    padding-top: 50px;
    padding-bottom: 0 !important; 
    min-height: 1px; /* Đảm bảo nó không bị collapse */
    height: auto;
    margin-bottom: 0 !important;
}
.visual-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.visual-img {
    max-height: 80vh; 
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.visual-item {
    height: auto !important; /* Quan trọng */
}

.ux-concept-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}
/* Giả định visual-item là các phần tử lớn trong lưới */
.visual-item:first-child {
    flex: 1; 
}
.visual-item:last-child {
    flex: 2;
}

/* Responsive cho Modal */
@media (max-width: 1024px) {
    .project-description-area {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .project-summary {
        grid-column: 1 / -1;
    }
    .project-modal {
        padding: 0 20px;
    }
    .modal-close-btn {
        right: 20px;
    }
}

:root {
    --color-primary: #000; /* Màu đen */
    --color-secondary: #fff; /* Màu trắng */
    --font-mono: 'Space Mono', monospace; /* Đảm bảo font được sử dụng */
}

/* --- PHẦN MORE TO EXPLORE (MODAL FOOTER) --- */

.more-to-explore-section {
    width: 100%;
    padding-top: 0 !important;
    margin-top: 50px;
     /* Thêm padding dưới để tạo không gian cuộn */
    padding-bottom: 50px;
    background-color: transparent !important; 
}

.explore-content-box {
    /* FIX 3: Thiết lập Khung Đen Bo Tròn */
    background-color: var(--color-primary); /* Sử dụng màu đen (#000) */
    border-radius: 15px; /* Bo tròn góc */
    
    /* Thêm padding bên trong để nội dung không sát mép */
    padding: 60px 40px 40px 40px; 
    
    /* Căn giữa và giới hạn chiều rộng nếu cần */
    max-width: 1400px; 
    margin: 0 auto; 
}

.more-explore-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.explore-grid {
    display: grid;
    /* Bố cục 3 cột đều nhau */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}


.explore-item:hover .explore-img {
    transform: scale(1.05); /* Hiệu ứng zoom nhẹ khi hover */
}

/* --- HIỆU ỨNG BLUR OVERLAY CHO PROJECT ITEMS --- */

.explore-item {
    position: relative; /* Quan trọng: Để định vị lớp phủ tuyệt đối */
    display: block;
    overflow: hidden; 
    text-align: center;
    padding-bottom: 70px;
    height: auto; 
    min-height: 470px;
}

.explore-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Quan trọng: Đảm bảo hình ảnh lấp đầy và cắt bớt nếu cần */
    display: block;
    transition: transform 0.5s ease;
}

.explore-caption {
    position: absolute;
    bottom: 0; /* Căn xuống đáy của Explore Item */
    left: 0;
    width: 100%;
    padding: 10px 15px; /* Padding nội bộ của phần chữ */
    display: flex;
    justify-content: space-between; /* Đẩy hai mục ra hai bên */
    align-items: center;
    /* Đảm bảo chữ nằm trên nền đen */
    background-color: var(--color-primary); 
    
    /* Giữ màu chữ trắng */
    color: var(--color-secondary); 
}

.caption-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-left: 0;
}

.caption-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 0;
    padding-left: 0;
}

.explore-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Thiết lập ban đầu: Ẩn/Trong suốt */
    background-color: rgba(0, 0, 0, 0.1); /* Nền hơi tối */
    opacity: 0;
    visibility: hidden;
    
    /* FIX QUAN TRỌNG: Tạo hiệu ứng mờ cho lớp phủ */
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
    
    /* Căn giữa nút Explore */
    display: flex;
    justify-content: center;
    align-items: center;
    
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* HIỂN THỊ KHI HOVER */
.explore-item:hover .explore-overlay {
    opacity: 1;
    visibility: visible;
}

.explore-btn {
    /* Thiết lập nút EXPLORE */
    color: var(--color-secondary); /* Trắng */
    background-color: rgba(0, 0, 0, 0.5); /* Nền tối mờ */
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--color-secondary);
    
    /* Hiệu ứng mờ dần (tùy chọn) */
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.explore-item:hover .explore-btn {
    transform: scale(1); /* Phóng to nhẹ khi hover */
}

/* --- CONTACT PAGE STYLES --- */
.page-content {
    /* Mặc định ẩn tất cả các trang nội dung */
    display: none; 
    padding: 0 5vw; /* Giữ padding ngang 5vw */
    min-height: 80vh; 
    padding-top: 150px; /* Thêm khoảng cách cho Navbar */
}

.page-content.active-page {
    /* Trang đang hoạt động sẽ được hiển thị */
    display: block; 
}

.contact-main-heading {
    /* Tiêu đề TOMORROW COMES EARLY */
    font-size: 3.5vw;
    font-weight: 700;
    margin-top: 50px; /* Thêm khoảng cách cần thiết sau contact-header */
    margin-bottom: 40px; 
}

#contact-page {
    padding-top: 100px !important; 
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: 1px solid #ccc;
    margin-bottom: 0px;
}

.contact-info-col {
    /* Đặt chiều rộng cố định cho các cột thông tin */
    width: 25%; 
    min-width: 150px;
}

.contact-info-col p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.contact-info-col p:first-child {
    font-weight: bold;
    color: #000;
}

.contact-info-col a {
    font-size: 0.8rem;
    color: #000;
    text-decoration: none;
}

/* Responsive cho Contact Header */
@media (max-width: 768px) {
    .contact-header {
        flex-wrap: wrap; /* Cho phép xuống dòng */
        gap: 20px;
    }
    .contact-info-col {
        width: 45%; 
    }
    .contact-main-heading {
        font-size: 8vw;
    }
}

.contact-image-grid-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Định dạng lưới hình ảnh Contact */
.contact-image-grid {
    display: flex;
    overflow-x: hidden;
    /*scroll-snap-type: x mandatory; */
    scroll-behavior: smooth;
    gap: 10px;
    margin-bottom: 15px; /* Khoảng cách với footer đen */
   
}

/* Định nghĩa hai vùng click trái/phải */
.nav-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 20; /* Nằm trên hình ảnh */
}

.nav-zone.left {
    left: 0;
    cursor: w-resize; /* Hiện mũi tên sang trái */
}

.nav-zone.right {
    right: 0;
    cursor: e-resize; /* Hiện mũi tên sang phải */
}

.contact-image-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Thiết lập kích thước ngang, mỗi ảnh chiếm 1/4 màn hình (trừ gap) */
    flex: 0 0 calc(25% - 7.5px); /* Chiếm 1/4 (25%), trừ đi khoảng gap */
    width: calc(25% - 7.5px); /* Đảm bảo chiều rộng */

    height: 30vw;
    min-height: 200px;

    scroll-snap-align: start;
}

.contact-controls-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px; /* Khoảng cách với footer đen */
}

.image-caption {
    font-family: 'Space Mono', monospace; /* Giống font của bạn */
    font-size: 0.8rem;
    font-weight: 400;
}

/* Tái sử dụng/Điều chỉnh CSS cho thanh phân trang mỏng */
.contact-pagination {
    display: flex;
    gap: 5px; /* Khoảng cách giữa các thanh đứng */
}

.contact-pagination .pagination-bar {
    width: 1px;
    height: 10px;
    background-color: #000;
    opacity: 0.3; /* Màu mờ cho thanh không hoạt động */
    transition: height 0.3s ease, opacity 0.3s ease;
}

.contact-pagination .pagination-bar.active {
    opacity: 1; /* Thanh hoạt động màu đậm */
    height: 25px;
    background-color: #000;
}

/* Định dạng số ảnh */
.pagination-index {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Responsive cho bố cục ngang */
@media (max-width: 768px) {
    .contact-image-slide {
        flex: 0 0 calc(50% - 5px); /* Trên tablet chỉ hiện 2 cột */
        width: calc(50% - 5px);
    }
}

@media (max-width: 550px) {
    .contact-image-slide {
        flex: 0 0 90%; /* Trên mobile chỉ hiện gần 1 cột */
        width: 90%;
    }
}
body.contact-active .custom-cursor {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Container chứa 10 thanh */
.pagination-bar-wrapper {
    display: flex;
    align-items: flex-end; 
    gap: 6px;              
    height: 30px;          
}

/* Định dạng từng thanh gạch */
.pagination-bar {
    width: 2px;            
    height: 10px;          
    background-color: #000;
    opacity: 0.2;          
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Khi hình tương ứng được chọn - Thanh đứng cao lên */
.pagination-bar.active {
    height: 25px;          
    opacity: 1;           
    background-color: #000;
}

/* --- CAREER PAGE STYLES --- */
#career-page {
    background-color: transparent;
    color: #fff;
    min-height: 100vh;
    padding-bottom: 100px;
    padding: 0;
}

/* KHỐI ĐEN RIÊNG BIỆT */
.career-black-section {
    background-color: #0a0a0a;
    width: 94%;
    max-width: 1400px;
    padding: 80px 40px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 140px auto 20px auto;    /* Căn giữa khối đen */
    border-radius: 40px; /* Bo góc để giống ảnh mẫu image_139431.jpg */
    overflow: hidden;
    position: relative;
}

/* KHỐI SÁNG BÊN DƯỚI */
.career-info-light {
    background-color: #f5f5f5;
    padding: 80px 0;
    
}

.career-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px; 
    
}

.career-hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 50px;
}

.career-card {
    flex: 1;
    position: relative;
}

.career-card.side-image img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.7;
}

.career-card.center-content {
    flex: 1.5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panda-video-box {
    position: relative;
    width: 300px;
    margin-bottom: 30px;
}

.panda-video-box img {
    width: 100%;
    border-radius: 15px;
}

.join-us-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    border: 1px solid #fff;
}

.career-title {
    font-size: 4.5vw;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: -0.09em;
}

.find-job-btn {
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.find-job-btn:hover {
    transform: scale(1.05);
}

/* Info Bottom */
.career-footer-info {
    display: flex;
    justify-content: space-between;
    margin-top: 30px !important;  
    margin-left: 40px !important; 
    width: 100%;
}

/* Đảm bảo các tiêu đề trong khối đen luôn là trắng */
.career-black-section .career-title {
    color: #fff;
    font-size: 5vw; /* Điều chỉnh kích thước phù hợp */
    line-height: 1;
    text-transform: uppercase;
    font-weight: 300; /* Để font mảnh như 5AM gốc */
    letter-spacing: -0.05em;
    margin-bottom: 40px;
}

.info-left {
    display: flex;
    gap: 100px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    color: #000;
}

.stat-item .label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

.stat-item .value {
    font-size: 0.9rem;
}

.info-right {
    max-width: 450px;
    text-align: right;
    color: #000;
    margin-right: 60px !important;
}

.info-right p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000 !important;
}

.sub-label {
    color: #666;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .career-hero-grid {
        flex-direction: column;
    }
    .career-card.side-image {
        display: none;
    }
    .career-footer-info {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- STUDIO PAGE SPECIFIC --- */
#studio-page {
    padding-top: 100px !important;
    background-color: #f5f5f5;
}

.studio-divider {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0.4; 
}

.studio-container {
    max-width: 100%;
    margin: 0 auto;
}

.studio-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-col .label {
    font-size: 0.55rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.stat-col .value {
    font-size: 0.8rem;
    font-weight: 400;
}

.stat-col-right .studio-desc {
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: 340px;
    margin-left: auto; /* Đẩy sang phải */
    text-align: left;
    color: #333;
    font-weight: 400;
}

.studio-divider {
    width: 100%;
    height: 1px;
    background-color: #000;
    margin: 40px 0;
}

.studio-hero-title {
    margin-top: 80px;
    margin-bottom: 100px;
}

.studio-hero-title .small-label {
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.giant-text {
    font-size: 4vw;
    font-weight: 400;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

/* Service List Styles */
.studio-services-list {
    border-top: 1px solid #000;
}

.service-item {
    border-bottom: 1px solid #000;
    padding: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-item:hover {
    background-color: #ececec;
}

.service-main {
    display: flex;
    align-items: center;
}

.service-num {
    font-size: 0.8rem;
    margin-right: 30px;
    font-weight: bold;
}

.service-name {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 500;
    flex-grow: 1;
}

.plus-icon {
    font-size: 2.5rem;
    font-weight: 200;
}

/* Responsive */
@media (max-width: 768px) {
    .studio-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-col-right {
        grid-column: span 2;
    }
    .stat-col-right .studio-desc {
        max-width: 100%;     
        font-size: 0.9rem;
        margin-top: 20px;
    }
    .service-name { font-size: 2rem; }
}