/*
CTC Separate Stylesheet
Updated: 2025-02-03 08:25:17
*/

.menu-header .menu-item .elementor-item {
    border-radius: 999px;
    border: 1px solid transparent;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.menu-header .menu-item .elementor-item.elementor-item-active,
.menu-header .menu-item .elementor-item:hover,
.menu-header .menu-item.active .elementor-item {
    border-color: #0000001a;
}

.menu-header .menu-item .elementor-item.elementor-item-active:after,
.menu-header .menu-item .elementor-item:hover:after,
.menu-header .menu-item.active .elementor-item:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 50%;
    margin: 0 auto;
    height: 1px;
    background-color: transparent !important;
    background-image: linear-gradient(to right, transparent, #42bfb5, transparent);
    opacity: 1 !important;
}

.submenu-project.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: all;
}

.submenu-project:not(.active) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
}

.menu-header .menu-item.menu-project .elementor-item:before {
    content: "";
    width: 12px;
    height: 12px;
    right: 12px;
    background-color: transparent !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg>') center;
    background-size: contain;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .2s;
    animation-duration: .2s;
    opacity: 1 !important;
}

.menu-header .menu-item.menu-project .elementor-item {
    padding-right: 28px !important;
}

.menu-header .menu-item.menu-project .elementor-item:hover:before,
.menu-header .menu-item.menu-project.active .elementor-item:before {
    transform: translate(0, 0) rotate(180deg) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.container-sharp .sharp {
    background-image: linear-gradient(to right, #22d3ee99, transparent);
    width: 550px;
    height: 130px;
    backdrop-filter: blur(24px);
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 32px 0 rgba(0, 0, 0, 0.12);
    background-size: 200% 200%;
    background-position: 15.3286% 50%;
    border: 1px solid rgb(255 255 255/.25);
    border-radius: 99px;
    top: 25%;
    left: -4%;
    position: absolute;
    transform: rotate(8deg);
    opacity: .85;
    animation: rotateSoft 6s ease-in-out infinite;
    transform-origin: center center;
}

.container-sharp.elementor-widget {
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.container-sharp .sharp.sharp-2 {
    transform: rotate(-12deg);
    top: 70%;
    right: -2%;
    left: auto;
    width: 480px;
    height: 115px;
    background-image: linear-gradient(to right, rgb(251 191 36/0.6), transparent);
    animation-name: rotateSoft2;
}

.container-sharp .sharp.sharp-3 {
    transform: rotate(15deg);
    top: auto;
    right: auto;
    left: 12%;
    bottom: 12%;
    width: 320px;
    height: 85px;
    background-image: linear-gradient(to right, rgb(251 146 60/0.6), transparent);
    animation-name: rotateSoft3;
}

.container-sharp .sharp.sharp-4 {
    transform: rotate(-20deg);
    top: 18%;
    right: 18%;
    left: auto;
    width: 240px;
    height: 70px;
    background-image: linear-gradient(to right, rgb(45 212 191/0.6), transparent);
    animation-name: rotateSoft4;
}

.container-welcome:has(.button-color-2.active) .container-sharp .sharp-1 {
    background-image: linear-gradient(to right, #06b6d4b3, transparent);
}

.container-welcome:has(.button-color-2.active) .container-sharp .sharp-2 {
    background-image: linear-gradient(to right, rgb(245 158 11/0.7), transparent);
}

.container-welcome:has(.button-color-2.active) .container-sharp .sharp-3 {
    background-image: linear-gradient(to right, rgb(249 115 22/0.7), transparent);
}

.container-welcome:has(.button-color-2.active) .container-sharp .sharp-4 {
    background-image: linear-gradient(to right, rgb(20 184 166/0.7), transparent);
}

.box-button-color {
    position: relative;
    display: flex;
    background-color: rgb(255 255 255/.4);
    padding: 4px;
    gap: 4px;
    border-radius: 99px;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0/0.25);
    backdrop-filter: blur(64px);
    border: 1px solid rgb(255 255 255/.25);
}

.box-button-color>div {
    padding: 8px 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 600;
    width: 115px;
    text-align: center;
    z-index: 1;
    transition-property: all;
    transition-timing-function: cubic-bezier(0, 0, .2, 1);
    transition-duration: .5s;
    cursor: pointer;
}

.box-button-color:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 115px;
    height: calc(100% - 8px);
    border-radius: 99px;
    background-image: linear-gradient(to right, rgb(251 113 133/0.95), rgb(34 211 238 / 0.95));
    z-index: 0;
    transition-property: all;
    transition-timing-function: cubic-bezier(0, 0, .2, 1);
    transition-duration: .5s;
}

.box-button-color:has(.button-color-2.active):before {
    left: calc(50% + 2px);
    background-image: linear-gradient(to right, #25ff80, #ffd000);
}

.box-button-color>div.active {
    color: #fff;
}

.title-welcome span {
    background-image: linear-gradient(to right, #f9a8d4, #67e8f9, #fde68a);
    background-size: 200% 200%;
    color: transparent;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    transform: translateZ(0px);
    line-height: 105px;
}

.container-welcome:has(.button-color-2.active) .title-welcome span {
    background-image: linear-gradient(to right, #bef264, #34d399, #5eead4);
}

.elementor-widget-html:has(>.box-scroll-down) {
    width: 80px;
    height: 150px;
    text-align: center;
    transform: translateX(-50%);
}

.box-scroll-down>p {
    font-size: 14px;
    line-height: 20px;
    color: #00000066;
    animation: moveUpDown 1s ease-in-out infinite alternate;
}

.box-scroll-down {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    /* Tên animation */
    /* Thời gian một chu kỳ */
    /* Lặp vô hạn */
    /* Đi lên rồi xuống */
}

.box-scroll-down .line-vertical {
    width: 1px;
    height: 64px;
    background-image: linear-gradient(to bottom, transparent, rgb(0 0 0/0.2), transparent);
    animation: moveUpDown 0.9s ease-in-out infinite alternate;
}

.box-scroll-down .mouse {
    border: 2px solid #00000033;
    padding: 8px;
    border-radius: 99px;
    width: 24px;
    height: 40px;
    position: relative;
    animation: moveUpDown-mouse 4s ease-in-out infinite alternate;
}

.box-scroll-down .mouse .mouse-scroll {
    width: 4px;
    height: 8px;
    background-color: #00000066;
    border-radius: 99px;
    animation: moveUpDown-scroll 0.75s ease-in-out infinite alternate;
}

.box-scroll-down:hover>p {
    color: #00000099;
}

.box-scroll-down:hover .mouse {
    border-color: #00000066;
}

.title-animation span {
    display: block;
    line-height: 58px;
    background-image: linear-gradient(to right, #2563eb, #9333ea, #2563eb);
    background-clip: text;
    background-size: 200% 100%;
    color: transparent;
    animation: gradient-x 3s ease-in-out infinite;
}

.slide-logo .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media screen and (max-width: 767px) {
    .container-sharp .sharp.sharp-1 {
        top: 20%;
        left: -8%;
    }

    .container-sharp .sharp.sharp-2 {
        top: 65%;
        right: -6%;
    }

    .container-sharp .sharp.sharp-3 {
        left: 8%;
        bottom: 8%;
    }

    .container-sharp .sharp.sharp-4 {
        top: 12%;
        right: 12%;
    }

    .box-button-color>div {
        padding: 8px 12px;
        width: 100px;
    }

    .box-button-color:before {
        width: 100px;
    }

    .title-welcome span {
        line-height: 52px;
    }
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(12px);
    }
}

@keyframes moveUpDown-mouse {
    0% {
        transform: translateY(0px);
    }

    20% {
        transform: translateY(12px);
    }

    40% {
        transform: translateY(4px);
    }

    65% {
        transform: translateY(12px);
    }

    80% {
        transform: translateY(12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes moveUpDown-scroll {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(12px);
        opacity: .4;
    }
}

@keyframes gradient-x {

    0%,
    100% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotateSoft {
    0% {
        transform: rotate(8deg);
    }

    50% {
        transform: rotate(12deg);
    }

    100% {
        transform: rotate(8deg);
    }
}

@keyframes rotateSoft2 {
    0% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(-12deg);
    }
}

@keyframes rotateSoft3 {
    0% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(11deg);
    }

    100% {
        transform: rotate(15deg);
    }
}

@keyframes rotateSoft4 {
    0% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(-26deg);
    }

    100% {
        transform: rotate(-20deg);
    }
}