/* === SECTION: BANNER === */
.banner {
    position: relative;
}

.banner .banner__image {
    width: 100%;
    height: 425px;
    object-fit: cover;
}

.banner .breadcrumb-container { 
    margin: auto;
    max-width: 1440px;
    width: 100%;
}
.swiper-slide-projectdetail{
    margin-right:20px;
}
.banner .breadcrumb {
    position: fixed;
    top: 110px;
    background: url("/assets/img/Projects/detail/breadcrumb-bg.png") no-repeat center center;
    background-size: 100% 100%;
    padding: 16px 32px;
    margin: 0 0 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--white-color);
    z-index: 99;
}
.project-content .content span {
    font-weight: 300;
    color: var(--teal-500);
    font-size: 24px;
    line-height: 140%;
    margin-bottom: 20px;
    display:inline-block;
}
.banner .breadcrumb img {
    transition: all 0.3s ease;
}

.banner .breadcrumb:hover img {
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* === SECTION: PROJECT SUMMARY === */
.project-summary {
    position: relative;
    color: var(--white-color);
}
.quick-link a{
    display:flex;
}

.project-summary:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--blue-vibrant1-500);
    z-index: 2;
}

.project-summary__container {
    max-width: 900px;
    width: 100%;
    margin: auto;
    padding: 40px 0;
    display: flex;
    flex-flow: column;
    gap: 40px;
    position: relative;
}

.project-summary h2 {
    color: var(--white-color);
    font-size: 36px;
    line-height: 130%;
    z-index: 3;
    text-transform: unset;
}

.project-summary__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.project-summary__item-border {
    width: 1px;
    height: 24px;
    background-color: var(--white-color);
}

.project-summary__item .title {
    color: var(--blue-100);
    margin-bottom: 12px;
}

.project-summary .special-character {
    position: absolute;
    right: 0;
    bottom: -90px;
}

.project-summary .n-1 {
    position: relative;
    z-index: 1;
}

.project-summary .n-2 {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
}

@media screen and (max-width: 1280px) {
    .project-summary .special-character {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .banner .banner__image {
        height: 345px;
    }

        .banner .breadcrumb {
            padding: 16px;
            left: 20px;
            background: url("/assets/img/Projects/detail/breadcrumb-bg-mb.png") no-repeat center center;
            top: 16px;
            margin: 0;
            position: absolute;
        }

    .project-summary h2 {
        font-size: 24px;
        line-height: 130%;
    }

    .project-summary__container {
        padding: 40px 20px;
    }

    .project-summary__info {
        flex-flow: column;
        align-items: initial;
        gap: 12px;
    }

    .project-summary__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .project-summary__item-border {
        width: 100%;
        height: 1px;
    }

    .project-summary__item .title {
        margin-bottom: 0;
    }

    .project-summary__item .value {
        font-size: 18px;
    }
}

/* === SECTION: PROJECT CONTENT === */
.project-content {
    margin: auto;
    max-width: 1440px;
    position: relative;
}

.project-content__grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    padding: 0 40px 40px;
}

.project-content .quick-link {
    display: flex;
    flex-flow: column;
    gap: 24px;
    padding-top: 140px;
    box-sizing: border-box;
}

.project-content a {
    color: var(--blue-vibrant1-500);
}

.project-content a svg {
    transition: all 0.3s ease;
    opacity: 0;
    margin-left: 12px;
}

.project-content a:hover svg {
    transition: all 0.3s ease;
    opacity: 1;
}

.project-content .content {
    max-width: 900px;
    padding-top: 80px;
    display: flex;
    flex-flow: column;
    gap: 100px;
}

.project-content .content h5 {
    font-weight:300;
    color: var(--teal-500);
    font-size: 24px;
    line-height: 140%;
    margin-bottom: 24px;
}

.project-content .content p {
    color: var(--blue-500);
}

.project-content .content .main-image {
    width: 900px;
    height: 675px;
    max-width: 100%;
    object-fit: cover;
}

.project-content .content .features__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-content .content .features__item {
    display: flex;
    flex-flow: column;
    color: var(--black-color);
}

.project-content .content .features__item .value {
    color: var(--blue-vibrant1-500);
    font-size: 40px;
    line-height: 120%;
}

.project-content .content .achievements__info {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.project-content .content .achievements__item {
    display: flex;
    flex-flow: column;
    gap: 16px;
    width: 100%;
}

.project-content .content .achievements__item-border {
    width: 1px;
    height: 112px;
    background: var(--blue-vibrant1-50);
}

.project-content #media {
    grid-column-start: 2;
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
}

.project-content #media .swiper-slide {
    width: 640px;
    height: 480px;
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


    .video-wrapper video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain; 
    }
.video__thumb__hover .hover-icon {
    width: 60px; /* chỉnh kích thước icon */
    height: 60px;
    pointer-events: auto; /* đảm bảo click được */
}
.video__thumb__hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: none; /* để click xuyên qua tới video */
}

.video__thumb__hover .hover-icon {
    width: 80px; /* icon play nằm giữa */
    height: 80px;
    object-fit: contain;
    pointer-events: auto;
}
    .video__thumb__hover .hover-icon {
        width: 64px;
        height: 64px;
        opacity: 0.9;
    }
.project-content #media .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content #media .media__heading {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    justify-content: space-between;
}

.project-content #media .media__heading h5 {
    color: var(--teal-500);
    font-size: 24px;
    line-height: 140%;
    font-weight:300;
}

.project-content #media .media__swiper-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    height: 22px;
}

.project-content #media .media__swiper-button .swiper-button-prev,
.project-content #media .media__swiper-button .swiper-button-next {
    position: relative;
    padding: initial;
    width: 24px;
    height: 100%;
}

.project-content #media .media__swiper-button .swiper-button-prev:after,
.project-content #media .media__swiper-button .swiper-button-next:after {
    content: "";
    display: none;
}

@media screen and (max-width: 768px) {
    .project-content__grid {
        grid-template-columns: 100%;
        padding: 40px 20px;
    }

    .project-content .quick-link {
        display: none;
    }

    .project-content .content {
        gap: 56px;
        max-width: 100%;
        padding-top: 0;
    }

    .project-content .content .main-image {
        max-width: 100%;
        height: auto;
    }

    .project-content .content h5 {
        font-size: 20px;
        line-height: 140%;
        font-weight:300;
    }

    .project-content .content .features__info {
        flex-flow: column;
        align-items: inherit;
        gap: 40px;
    }

    .project-content .content .achievements__info {
        flex-flow: column;
        gap: 24px;
    }

    .project-content .content .achievements__item-border {
        width: 100%;
        height: 1px;
    }

    .project-content #media {
        grid-column-start: unset;
        margin-top: 56px;
    }

    .project-content #media .swiper-slide {
        width: 400px;
        max-width: 100%;
        height: 300px;
    }

    .project-content #media .media__swiper-button {
        gap: 40px;
    }
}

/* === SECTION: OTHER PROJECTS === */
.other-projects {
    background-color: #F7F6F5;
}

.other-projects__container {
    width: 1440px;
    max-width: 100%;
    display: flex;
    flex-flow: column;
    gap: 30px;
    padding: 80px 40px;
    margin: auto;
}

.other-projects h3 {
    color: var(--black-color);
    font-size: 40px;
    line-height: 120%;
        font-weight: 400;
}

.projects .project-item .project-img__container {
    position: relative;
    overflow: hidden;
}

.projects .project-item .project-thumb {
    transition: all 0.5s ease;
}

.projects .project-item:hover .project-thumb {
    transform: scale(1.1);
    transition: all 0.5s ease;
}

.other-projects .projects .project-item {
    width: auto;
    height: max-content;
        margin-right: 80px;
}

.other-projects .projects .project-item img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.other-projects .projects .project-item h6 {
    color: var(--black-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
    margin-top: 12px;
}

.other-projects .projects .project-item .project__info {
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    gap: 8px;
    color: var(--white-color);
    margin-top: 24px;
}

.other-projects .projects .project-item .project__info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 40px;
    background: var(--main-color);
}

.other-projects .projects .project-item .project__info-item img {
    width: 18px;
    height: 18px;
}

.other-projects .projects .project-item .project__info-item p {
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
}

.projects .project-item .img-hover-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.projects .project-item:hover .img-hover-container {
    transition: all 0.3s ease;
    opacity: 1;
}

.projects .project-item .img-hover {
    position: relative;
}

.projects .project-item .img-hover .img-hover__bg {
    height: 42px;
    width: auto;
}

.projects .project-item .img-hover .img-hover__icon {
    height: 24px;
    width: 24px;
    position: absolute;
    transition: all 0.3s ease;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    color: var(--white-color);
}

.projects .project-item .img-hover:hover .img-hover__icon {
    transform: rotate(45deg);
    transition: all 0.3s ease;
    color: var(--teal-500);
}

@media screen and (min-width: 769px) {
    .other-projects .projects {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-flow: row wrap;
    }
}

@media screen and (max-width: 768px) {
    .other-projects__container {
        padding: 20px;
    }

    .other-projects h3 {
        font-size: 32px;
        line-height: 120%;
    }

    .other-projects .projects .project-item img {
        width: 100%;
    }

    .other-projects__swiper {
        width: 100%;
    }

    .other-projects__swiper-pagination {
        text-align: center;
        margin-top: 40px;
    }

    .other-projects__swiper-pagination .swiper-pagination-bullet {
        width: 40px;
        height: 2px;
        border-radius: 0;
        background: #CFCECB;
    }

    .other-projects__swiper-pagination .swiper-pagination-bullet.active {
        background: #605F5E;
    }
}
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

.other-projects__swiper-pagination{
    margin:0px;
}

.swiper-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    margin-top: 40px;
}

.swiper-pagination-bullet {
    width: 40px;
    height: 2px;
    border-radius: 2px;
    background: #d9d9d9;
    opacity: 1;
    margin: 0px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #605F5E; 
    width: 40px; 
}
