/*
Theme Name: Vietcomm
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

@import url('./assets/fonts/BeautiqueDisplayCondensed/stylesheet.css');
@import url('./assets/fonts/BeautiqueDisplay/stylesheet.css');

@import url('./assets/css/page-contact.css');
@import url('./assets/css/archive-post.css');
@import url('./assets/css/about-us.css');

:root {
    --wp-admin-bar-height: 0px;
}

/* WordPress tự động thêm class .admin-bar */
.admin-bar {
    --wp-admin-bar-height: 32px;
}

@media screen and (max-width: 48em) {
    .admin-bar {
        --wp-admin-bar-height: 46px;
    }
}


#masthead .nav>li>a {
    color: #001F78;
}

#masthead .nav>li.active>a {
    color: #FFC713;
}

#masthead .nav-spacing-xlarge>li {
    margin: 0 25px;
}

#masthead .header-nav-main {
    padding-right: 80px;
}

.language-option.active {
    color: #FFC713;
}

/* Menu */
.menu__button {
    position: fixed;
    top: calc(20px + var(--wp-admin-bar-height, 0px));
    right: 70px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFD101;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu__button:hover {
    transform: scale(1.1);
}

.menu__button--active {
    background-color: #333;
}

.menu-header {
    height: 90px;
    margin-top: calc(var(--wp-admin-bar-height, 0px));
}

/* Icons */
.menu__icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.menu__icon--open {
    opacity: 1;
    transform: scale(1);
}

.menu__icon--close {
    opacity: 0;
    transform: scale(0);
}

.menu__button--active .menu__icon--open {
    opacity: 0;
    transform: scale(0);
}

.menu__button--active .menu__icon--close {
    opacity: 1;
    transform: scale(1) rotate(180deg);
}

/* Overlay */
.menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFC713;
    z-index: 9999;
    visibility: hidden;
    overflow: hidden;
}

.menu__content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.ux-menu-961310362 .ux-menu-link__link {
    color: #000;
}

.ux-menu-961310362 .ux-menu-link__link:hover::after {}

.menu__content .vc-contact__address .ux-menu-link__text {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.menu__content .vc-contact__label {
    color: #000 !important;
    font-weight: 600;
}

.menu__content .text-7700102 {
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .vc-brand {
        flex-direction: column;
    }

    .vc-brand .vc-brand__title {
        font-size: 40px;
        line-height: 50px;
    }

    .menu__button {
        right: 15px !important;
    }

    .menu-header {
        margin-top: 0;
    }
}

#main {
    z-index: 10;
}

.vc-brand {
    display: flex;
    align-items: center;
    justify-content: space-between
}

@media only screen and (min-width: 48em) {
    .vc-brand__content {
        width: 60%;
    }

    .col-1724753928 {
        padding-left: 0 !important;
    }
}

.vc-brand__title {
    color: #002899;
    font-family: 'Beautique Display Condensed';
    font-size: 70px;
    line-height: 80px;
    font-style: normal;
    font-weight: 500;
}

.vc-brand svg {
    width: auto;
    height: 50px;
}

.section-footer .icon-circle {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    width: 80% !important;
    height: auto;
    transform: translateY(-60%);
}

.f-title {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}

.section-footer a {
    color: #474747;
    font-size: 15px;
}

.section-footer a:hover {
    color: #969696 !important;
}

.vc-contact .vc-contact__label,
.vc-contact__address .vc-contact__label {
    color: #969696;
    margin-right: 8px;
    /* width: 80px; */
}

.vc-contact__address .ux-menu-link__link {
    flex-direction: column;
    margin-bottom: 10px;
}

.vc-contact__address .vc-contact__label {
    margin-bottom: 6px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #969696;
}

.newsletter-form .newsletter-submit {
    margin: 0;
    background: transparent;
    color: #969696;
    border: none;
    text-transform: none;
    font-weight: 500;
    padding: 0;
}

.newsletter-form .newsletter-submit:hover {
    box-shadow: none;
    color: #969696;
}

.newsletter-form .wpcf7-spinner {
    display: none;
}

.newsletter-form .newsletter-input {
    box-shadow: none;
    margin-bottom: 0;
    background: transparent;
    border: none;
    padding-left: 0;
}

.newsletter-form .newsletter-input::placeholder {
    color: #969696;
}

.newsletter-form .newsletter-input:focus {
    box-shadow: none;
    border: none;
    background-color: transparent;
}

.vc-contact__social .social-list {
    list-style: none;
    display: flex;
    margin-bottom: 0;
}

.vc-contact__social .social-list li {
    margin-bottom: 0;
}

.vc-contact__social .social-list li:first-child {
    margin-left: 0;
}

.vc-contact__social .social-list a {
    display: flex;
}

.vc-contact__social .social-list svg {
    width: 20px;
    height: 20px;
}

.vc-contact__social .vc-contact__label {
    font-size: 15px;
    color: #717171;
    font-weight: 500;
    width: 50%;
}

.vc-contact__social .ux-menu-link__link {
    align-items: center;
}

.text-capacity {
    color: #002899 !important;
    font-weight: 700;
    text-decoration: underline;
}

.absolute-footer {
    display: none;
}

.opacity-0 {
    opacity: 0 !important;
}

.mfp-container {
    padding: 0 !important;
}

.brand-showcase {
    margin: auto !important;
}

.brand-showcase .mfp-close {
    position: relative;
    opacity: 1;
    mix-blend-mode: normal;
}

.brand-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-showcase__gallery .col-inner {
    max-height: 450px;
    overflow-y: scroll;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Custom scrollbar */
.brand-showcase__gallery .col-inner::-webkit-scrollbar {
    width: 10px;
}

.brand-showcase__gallery .col-inner::-webkit-scrollbar-track {
    background: #393939;
    position: relative;
}

.brand-showcase__gallery .col-inner::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #474747;
}

.brand-showcase__gallery .col-inner::-webkit-scrollbar-button:vertical:start:decrement {
    position: relative;
    background: #393939 url("/wp-content/uploads/2025/06/Arrow_Drop_Up.svg") no-repeat center/30px 30px;
    border-radius: 8px 8px 0 0;
}

.brand-showcase__gallery .col-inner::-webkit-scrollbar-button:vertical:end:increment {
    position: relative;
    background: #393939 url("/wp-content/uploads/2025/06/Arrow_Drop_Down.svg") no-repeat center/15px 15px;
    border-radius: 0 0 8px 8px;
}

.brand-showcase__video .box-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.brand-showcase__video .video-button-wrapper a {
    margin: 0;
}

.brand-showcase__video .video-button-wrapper {
    position: relative;
    display: inline-block;
}

.brand-showcase__video .button.open-video {
    position: relative;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(209, 209, 209, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 5;
    background: rgba(209, 209, 209, 0.88);
}

.brand-showcase__video .button.open-video:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.brand-showcase__video .icon-play {
    font-size: 1.2em !important;
    color: #717171;
}

/* Ripple Animation */
.brand-showcase__video .button.open-video::before,
.brand-showcase__video .button.open-video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(209, 209, 209, 0.88);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: ripple 2s infinite ease-out;
    z-index: -1;
}

.brand-showcase__video .button.open-video::after {
    animation-delay: 1s;
}

/* Thêm ripple thứ 3 */
.brand-showcase__video .video-button-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: ripple 2s infinite ease-out;
    animation-delay: 0.5s;
    z-index: -1;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Hover effect - tạm dừng animation */
.button.open-video:hover::before,
.button.open-video:hover::after,
.video-button-wrapper:hover::before {
    animation-play-state: paused;
}

.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer !important;
}

.brand-showcase__title {
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 1.3em;
    color: #fff;
}

.brand-showcase__description,
.brand-showcase__description li {
    color: #C7CFE8 !important;
    font-size: 16px;
    font-style: normal;
    line-height: normal;
}

.brand-showcase__description strong,
.brand-showcase__description li {
    color: #fff !important;
}

.brand-showcase__meta-label,
.brand-showcase__nav-title {
    font-weight: 700;
}

.brand-showcase__nav-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
}

.brand-showcase__navigation .brand-showcase__nav-thumb img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-showcase__nav-item {
    display: flex;
    gap: 10px;
    padding-top: 10px;
}

.brand-showcase__next .brand-showcase__nav-item {
    justify-content: end;
}

.brand-showcase__nav-subtitle {
    font-size: 14px;
}

.brand-showcase__pre,
.brand-showcase__next {
    margin-bottom: 10px;
    width: 50%;
}

.brand-showcase__pre i {
    padding-right: 6px;
}

.brand-showcase__next i {
    padding-left: 6px;
}

.mfp-wrap {
    height: 100vh;
    background: rgba(0, 11, 43, 0.88);
}

.brand-showcase__nav-info {
    color: #fff;
}

.brand-showcase__gallery .img {
    margin-bottom: 0 !important;
}

.brand-showcase__description {
    max-height: 290px;
    overflow-y: scroll;
}

.project-item img {
    border-radius: 8px;
}

.project-item-1 .image img,
.project-item-2 .image img,
.project-item-6 .image img,
.project-item-7 .image img .project-item-8 .image img .project-item-9 .image img .project-item-10 .image img {
    height: 390px;
}

.project-item-3 .image img,
.project-item-4 .image img .project-item-5 .image img {
    height: 195px;
}

/* Popup Styles */
.portfolio-lightbox {
    background: rgba(0, 11, 43, 0.88);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-lightbox .close-btn {
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 48em) {
    .brand-showcase {
        max-height: 100vh;
        overflow-y: auto;
    }

    .brand-showcase__navigation .stack {
        flex-direction: column;
    }

    .text-right .brand-showcase__nav-item {
        justify-content: end;
    }

    .brand-showcase__pre,
    .brand-showcase__next {
        width: 100% !important;
    }
}

/* ==============================Services================================ */
.text-884483681 h3 {
    color: #002899;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.text-884483681 h2 {
    color: #000;
    font-family: "Beautique Display";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}

.h-s_title {
    display: flex;
    margin-bottom: 60px;
}

.h-s_title h2 {
    color: #001F78;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.h-s_title .number {
    color: #FFBB01;
    font-size: 68px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.text-2170195556 h4 {
    color: #000;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}

.text-2170195556 p {
    color: #717171;
    font-size: 16px;
    font-style: normal;
    line-height: normal;
}

.section-title-container.h-s_title {
    margin-bottom: 30px;
}

.section-title-container.h-s_title .section-title-main {
    border-bottom: none;
    color: #FFF;
    text-align: justify;
    font-family: "Beautique Display";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
}

.section-title-container.h-s_title .section-title-normal {
    border: none;
}

.section-title-container.h-s_title .icon-angle-right:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 16px;
    background-image: url('/wp-content/uploads/2025/07/icon-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

#slider-duan .splide__pagination {
    display: block !important;
    height: 2px;
    text-align: center;
    bottom: -30px;
}

#slider-duan .splide__pagination__page {
    width: 60px;
    height: 2px !important;
    background: #fff;
    border-radius: 2px;
    min-height: auto;
    transform: scale(1);
}

#slider-duan .splide__pagination__page.is-active {
    background: #FFC713;
}