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

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --fs-color-primary: ;
    --fs-color-secondary: ;
    --fs-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    --fs-20: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
	--fs-title: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem);
    --rounded-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
    --rounded-sm: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --rounded-md: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    --rounded-lg: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    --rounded-xl: 1.5rem;
    --rounded-2xl: 1.75rem;
    --rounded-3xl: 2rem;
}

body{
    font-family: "Montserrat", sans-serif;
    line-height: normal;
}

p{
    margin-bottom: 1rem;
}

p:last-of-type{
	margin-bottom: 0;
}

strong{
    font-weight: 700;
}

.row-clear:after{
    content: unset;
}

.row > .col > .col-inner{
	height: 100%;
}

.row-slider .flickity-slider > .col{
	padding-bottom: 0 !important;
}

.w-100{
    width: 100%;
}

.h-100{
    height: 100%;
}

.button, button, input[type=button], input[type=reset], input[type=submit]{
    min-height: unset;
    padding: 0.625rem 1rem;
    line-height: normal;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 5px;
}

.button span{
    line-height: inherit;
}

.button.white{
    border-color: var(--color-logo-green);
    color: var(--color-logo-green) !important;
}

.button.is-large{
    font-size: var(--fs-18);
}

.button.is-larger{
    font-size: var(--fs-20);
}

.button.is-outline{
    border-width: 1px;
    line-height: inherit;
}

.icon-angle-right:before{
    content: "\f178";
    font-family: "Font Awesome 6 Pro";
}

.icon-envelop:before{
    content: "\f0e0";
    font-family: "Font Awesome 6 Pro";
}

.rounded-lg > .col-inner,
.rounded-lg > .img-inner{
    border-radius: var(--rounded-lg);
    overflow: hidden;
}

.rounded-3xl > .col-inner,
.rounded-3xl > .img-inner{
    border-radius: var(--rounded-3xl);
    overflow: hidden;
}

.svg-clip-path {
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
}

.has-gradient .section-bg:after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, #ffffff 100%);
}

.wpcf7-form{
    margin-bottom: 0;
}

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

.wpcf7 .wpcf7-not-valid-tip{
    position: absolute;
    margin-top: -1rem;
    font-size: 0.75rem;
    z-index: 1;
}

.social-icons a.button.icon{
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

.social-icons a i{
    top: unset;
}


.icon-box-img img, .icon-box-img svg{
    padding-top: 0;
}



/*====*/
.header-nav{

}

.header-nav > li.menu-item{
    margin: 0 0.25rem;
}

.header-nav > li.menu-item a{
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
}


.html.custom{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem;
    font-size: 0.875rem;
}

.html.custom.html_top_right_text{
    flex-basis: 100%;
    height: 0;
}

.cart-item a.header-cart-link{
    padding-top: 0;
    padding-bottom: 0;
}


.header-search.header-search-lightbox a{
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    padding: 0;
}

#search-lightbox{
    font-size: 1rem;
}

.searchform-wrapper .flex-col{
    padding: 0 !important;
}

.searchform-wrapper.form-flat .flex-col:last-of-type{
    /*margin-left: -2.5rem;*/
}

.searchform-wrapper input[type=search]{
    height: unset;
    padding: 0.75rem 1.5rem;
}

.searchform-wrapper button[type="submit"]{
    margin: 0;
    padding: 0;
}


/*===*/
.wrapper-button-outside{
    .swiper-button-next{
        right: -3rem;
    }
    .swiper-button-prev{
        left: -3rem;
    }
}

.swiper-button-next,
.swiper-button-prev{
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--fs-color-secondary);
    border-radius: 50rem;
}

.swiper-button-next:after,
.swiper-button-prev:after{
    color: #fff;
    font-weight: 400;
    font-size: 1.25rem;
}

.dark .wrapper-slide{
    .swiper-button-next:after{
        color: #fff;
    }
    .swiper-button-prev:after{
        color: #fff;
    }
}

.swiper-pagination-bullet{
    width: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    height: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    border-radius: 50rem;
    background-color: var(--fs-color-primary);
    transition: all .3s ease-in-out;
}

.swiper-pagination-bullet-active{
    width: 2rem;
}

.wrapper-pagination-normal .swiper-pagination{
    position: unset;
    bottom: unset;
    margin-top: 1rem;
}


.uxb-wrapper .swiper .swiper-wrapper,
.swiper .uxb-wrapper--flatsome_swiper_wrapper > .swiper-wrapper > .uxb-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.uxb-wrapper .swiper .swiper-wrapper > .swiper-slide,
.swiper .swiper-wrapper > .uxb-wrapper.uxb-wrapper--flatsome_swiper_slide{
    width: 30%;
}


/*===*/
.banner-page .banner-page-title{
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 1.15rem + 1.7500000000000002vw, 3.25rem);
    font-weight: 700;
    line-height: normal;
    color: #fff;
}

.banner-page .banner-page-description{
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

.rank-math-breadcrumb p{
    margin-bottom: 0.75rem;
    color: var(--color-logo-green);
}

.rank-math-breadcrumb p span,
.rank-math-breadcrumb p a{
    color: inherit !important;
    font-weight: 700;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

.rank-math-breadcrumb span.last{
}


/*====*/
.font-weight-100 { font-weight: 100; }
.font-weight-200 { font-weight: 200; }
.font-weight-300 { font-weight: 300; }
.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }
.font-weight-800 { font-weight: 800; }
.font-weight-900 { font-weight: 900; }


.heading-title h1,
.heading-title h2,
.heading-title h3,
.heading-title h4,
.heading-title h5,
.heading-title h6{
    margin-bottom: 0;
    font-weight: 500;
    font-size: var(--fs-title);
    line-height: 1.2;
}

.text-inherit > *{
    font-size: inherit;
}

.banner h1, .banner h2, .banner h3, .banner p{
    margin-top: 0;
    line-height: normal;
    font-size: inherit;
    color: inherit;
}

.banner .text-box.res-text{
    font-size: normal !important;
}

.banner .text-box.res-text .text-box-content{
    font-size: 1rem !important;
}

.text-stroke{
    text-shadow: 6px 0 0px var(--fs-color-primary);
}


/*===*/
.section-about .section-bg :is(img,picture,video){
    object-fit: contain;
    object-position: left top;
}

.ux-shape-divider--bottom{
    bottom: 0;
}

/*===*/
.icon-box-wcu{
    height: 100%;
    padding: clamp(2rem, 1.8rem + 1vw, 3rem);
    border-radius: var(--rounded-sm);
    background-color: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}

.icon-box-wcu .icon-box-img{
    width: 3rem !important;
    height: 3rem;
    padding: 0.5rem;
    border-radius: var(--rounded-xs);
    background-color: rgba(0, 76, 158, 0.05);
}

.icon-box-wcu .icon-box-text h3{
    margin-bottom: 1rem;
    font-size: var(--fs-18);
    font-weight: 600;
}


/*===*/
.ux-course-card{
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    border-radius: var(--rounded-lg);
    padding: 1.5rem;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    transition: all .4s ease;
}

.ux-course-card:hover{
    transform: translateY(-0.5rem);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}

.ux-course-card:before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #fff;
    border-radius: inherit;
}

.ux-course-card:after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--course-color);
    border-radius: inherit;
    opacity: 0.05;
}

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

.ucc-title {
    margin: 0;
    font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
    font-weight: 700;
}

.ucc-badge-icon{
    width: clamp(2rem, 1.8rem + 1vw, 3rem);
    height: clamp(2rem, 1.8rem + 1vw, 3rem);
    flex-shrink: 0;
}

.ucc-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ucc-meta-info {
    display: flex;
    justify-content: space-between;
}

.ucc-meta-item {
    font-size: 15px;
}

.ucc-meta-item i {
    margin-right: 6px;
}

.ucc-footer{
    margin-top: auto;
    padding-top: 1rem;
}

.ucc-btn {
    display: block;
    text-align: center;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--rounded-xs);
    font-weight: 600;
    transition: opacity 0.3s ease;
}
.ucc-btn:hover {
    opacity: 0.9;
    color: #fff;
}



/*===*/
.icon-counter{
    height: 100%;
    padding: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    border-radius: var(--rounded-md);
    background-color: #FAFAFA;
    box-shadow: 2px 2px 0 var(--fs-color-primary);
    transition: all .3s ease;
}

.icon-counter:after{
    content: "";
    position: absolute;
    inset: 0;
}

.icon-counter:hover{
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--fs-color-primary);
}


/*===*/
.icon-career-opportunities{
    padding: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    background: linear-gradient(45deg, #FFFFFF 0%, #F4F5FB 100%);
    box-shadow: -2px 2px 0 var(--fs-color-primary);
    border-radius: var(--rounded-md);
    transition: all .3s ease;
}

.icon-career-opportunities .icon-box-img{
    width: clamp(3rem, 2.8rem + 1vw, 4rem) !important;
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    padding: 0.5rem;
    border-radius: var(--rounded-xs);
    background-color: rgba(0, 76, 158, 0.05);
}

.icon-career-opportunities:hover{
    transform: translate(4px, -4px);
    box-shadow: -4px 4px 0 var(--fs-color-primary);
}

.icon-career-opportunities h3{
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--fs-color-primary);
}

.section-career-opportunities .section-bg{
    top: 30%;
}




.wrapper-team{
    padding: 100px 20% 30px;
    background-color: #EDF3F9;
    clip-path: url('#clip-path-wrapper-team');
}

.instructor-card {
    display: block;
    position: relative;
    transition: all .3s ease;
}

.ic-image{
    padding-top: 120%;
    border-radius: var(--rounded-sm);
}

.ic-info {
    position: relative;
    margin: -2rem auto 0;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    width: 90%;
    background-color: var(--fs-color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #fff;
    text-align: center;
}
.ic-role {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.ic-name {
    font-size: var(--fs-18);
    font-weight: 600;
    text-transform: uppercase;
}

/* Customize Flatsome Lightbox (.instructor-popup-box) */
.instructor-popup-box.lightbox-content {
    background-color: #f4f7fb;
    border-radius: var(--rounded-md);
    overflow: hidden;
}

.instructor-popup-box.lightbox-content .row{
    max-width: 100%;
}

.ipc-title {
    color: #0b4a99;
    font-size: var(--fs-title);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ipc-subtitle {
    margin-bottom: 20px;
}

.ipc-subtitle .ipc-role {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: var(--fs-color-primary);
    font-size: var(--fs-20);
    font-weight: 500;
}

.ipc-subtitle .ipc-name {
    color: var(--fs-color-primary);
    font-size: var(--fs-20);
    font-weight: 700;
    text-transform: uppercase;
}

.ipc-desc-builder {
    line-height: 1.4;
}


/*===*/
.ucr-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: var(--rounded-md);
    height: 100%;
    transition: all 0.3s ease;
}

/* Khu vực content thả builder vào */
.ucr-content {
    margin-bottom: 30px;
}

.ucr-user-box {
    margin-top: auto;
    padding-left: 20px; /* Chừa chỗ cho avatar lồi ra ngoài viền mảng xanh */
}

.ucr-user-badge {
    background: #e2e8f0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 4.25rem;
    position: relative;
    width: 100%;
}

.ucr-avatar {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: 3px solid var(--fs-color-primary);
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ucr-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ucr-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ucr-name {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
}
.ucr-meta {
    font-size: 0.875rem;
    color: #4A4A4A;
}



/*=== Footer*/
.col-footer h3{
    position: relative;
    margin-bottom: 1rem;
    font-size: var(--fs-20);
}

.col-footer p{
    margin-bottom: 0.325rem;
}

.col-footer .ux-menu .ux-menu-link + .ux-menu-link{
    margin-top: 0.5rem !important;
}

.col-footer .ux-menu .ux-menu-link__link{
    flex: unset;
    min-height: unset;
    padding: 0;
    transition: all .3s ease-in-out;
}

.col-footer .ux-menu .ux-menu-link__link:hover{
    transform: translateX(0.5rem);
    color: var(--fs-color-secondary) !important;
}

.map-footer{
    height: 120px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.map-footer iframe{
    width: 100%;
    height: 100%;
}

.social-icons.social-footer{
    display: inline-flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
    width: unset !important;
}

.social-icons.social-footer a.button.icon{
    margin: 0;
    padding: 0.25rem;
    width: 2.25rem;
    height: 2.25rem;
    min-width: unset;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    background-color: #fff;
    color: var(--fs-color-primary);
    font-size: 0.75rem;
}

.icon-info-footer{
    display: flex;
}

.icon-info-footer .icon-box-img{
    width: 14px !important;
}

.icon-info-footer.icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 0.5rem;
}

.absolute-footer{
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    display: none;
}

.back-to-top{
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0;
}


/*==== Page Contact*/
.box-map{
    overflow: hidden;
    height: 200px;
    min-height: 200px;
    border-radius: var(--rounded-sm);
}

.box-map iframe{
    width: 100%;
    height: 100%;
}

.box-shadow-2{
    box-shadow: 0 0 4px 0 rgba(0, 0, 0,  0.25);
}

.form-contact label{
    font-weight: 500;
    color: var(--fs-color-primary);
}

.form-contact .icon-input-wrapper{
    display: flex;
    padding: 0 1rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    border-radius: var(--rounded-xs);
}

.form-contact .icon-input-wrapper i{
    margin-top: 1rem;
}

.form-contact .wpcf7-form-control-wrap{
    flex: 1;
}

.form-contact .form-control{
    margin-bottom: 0;
    height: 3rem;
    box-shadow: none !important;
    border: 0;
    border-radius: var(--rounded-sm);
    background-color: rgba(255, 255, 255, 0.2);
    font-size: inherit;
    color: #000;
}

.form-contact .form-control::placeholder{
    color: #4A4A4A;
}

.form-contact input[type=submit]{  }



/*button contact*/
.button-contact-fixed{
    position: fixed;
    bottom: 8%;
    right: 0.25rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.box-ring {
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: visibility .5s;
    position: relative;
}

.box-ring-outline {
    position: absolute;
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid rgba(30, 30, 30, 0.5);
    background-color: transparent;
    border-radius: 50%;
    opacity: .5;
    transition: all .5s;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
}

.box-ring-inline {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .5s;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

.box-ring-image{
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #000;
    opacity: 1;
    animation: coccoc-alo-circle-img-anim 1s infinite ease-in-out;
}

.box-ring-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-ring-label{
	position: absolute;
	right: 2rem;
	height: 2.25rem;
	z-index: -1;
	padding: 0.25rem 3rem 0.25rem 1rem;
	border-radius: 50rem;
	white-space: nowrap;
	color: #fff;
	display: flex;
	align-items: center;
}

@keyframes coccoc-alo-circle-anim{
    0%{transform:scale(.5) translate(-50%,-50%);opacity:.1}
    30%{transform:scale(.7) translate(-50%,-50%);opacity:.5}
    100%{transform:scale(1) translate(-50%,-50%);opacity:.1}
}

@keyframes coccoc-alo-circle-fill-anim{
    0%,100%{transform:scale(.7) translate(-50%,-50%)}
    50%{transform:scale(1) translate(-50%,-50%)}
}

@keyframes coccoc-alo-circle-img-anim{
    0%,50%,100%{transform:rotate(0) scale(1)}
    10%,30%{transform:rotate(-25deg) scale(1)}
    20%,40%{transform:rotate(25deg) scale(1)}
}